diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2019-12-18 10:20:25 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2021-01-21 11:38:01 +0100 |
commit | 823ba32a425715ef5e06de2b1e061063171f7f05 (patch) | |
tree | af11f7f3d9f24355b89fdea8b2af5f1505b728a1 | |
parent | 738d32c0f248bf6ecab8002e7f212c871b036954 (diff) | |
download | linux-mmp-lr/mmp-armada-drm-5.tar.gz |
ARM: dts: mmp3-dell-ariel: Add the display pipelinelr/mmp-armada-drm-5
Enable the LCDC, connect it to the encoder and the DVI connector.
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
-rw-r--r-- | arch/arm/boot/dts/mmp3-dell-ariel.dts | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/mmp3-dell-ariel.dts b/arch/arm/boot/dts/mmp3-dell-ariel.dts index fe6df364a9eb63..362212d5524328 100644 --- a/arch/arm/boot/dts/mmp3-dell-ariel.dts +++ b/arch/arm/boot/dts/mmp3-dell-ariel.dts @@ -31,6 +31,47 @@ device_type = "memory"; }; + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + display_reserved: framebuffer { + compatible = "marvell,mmp2-framebuffer", + "marvell,armada-framebuffer"; + size = <0x02000000>; + alignment = <0x02000000>; + no-map; + }; + }; + + dvi0-connector { + compatible = "dvi-connector"; + ddc-i2c-bus = <&twsi5>; + hpd-gpios = <&gpio 62 GPIO_ACTIVE_LOW>; + digital; + analog; + + port { + dvi0_in: endpoint { + remote-endpoint = <&encoder_out>; + }; + }; + }; + + dvi1-connector { + compatible = "dvi-connector"; + ddc-i2c-bus = <&twsi6>; + hpd-gpios = <&gpio 59 GPIO_ACTIVE_LOW>; + digital; + + port { + dvi1_in: endpoint { + remote-endpoint = <&hdmi0_out>; + }; + }; + }; + ec_input_spi: spi { compatible = "spi-gpio"; #address-cells = <1>; @@ -102,6 +143,30 @@ &twsi3 { status = "okay"; + + vga-dvi-encoder@76 { + compatible = "chrontel,ch7033"; + reg = <0x76>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + encoder_in: endpoint { + remote-endpoint = <&lcd0_out>; + }; + }; + + port@1 { + reg = <1>; + encoder_out: endpoint { + remote-endpoint = <&dvi0_in>; + }; + }; + }; + }; }; &twsi4 { @@ -117,6 +182,30 @@ }; }; +&twsi5 { + status = "okay"; +}; + +&twsi6 { + status = "okay"; +}; + +&twsi6 { + status = "okay"; +}; + +&lcd0 { + status = "okay"; +}; + +&lcd0_out { + remote-endpoint = <&encoder_in>; +}; + +&hdmi0_out { + remote-endpoint = <&dvi1_in>; +}; + &ssp1 { status = "okay"; cs-gpios = <&gpio 46 GPIO_ACTIVE_LOW>; |