summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2018-06-24 14:05:12 +0100
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2023-10-30 13:26:29 +0000
commitc6962139fc748aa528250f5283fc70ba27ca9e65 (patch)
treec59a58ea6afe4ff816b85bc9139cf2cfd66da172
parent3408ef26a44402a64475c498fb65ace792a3306d (diff)
ARM: dts: cubox: add LCD controller and TDA998x configurationdrm-armada-devel
Add DT configuration for the HDMI display output on the Dove Cubox. This adds support for the LCD0 controller which is connected to a TDA19988 HDMI encoder. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r--arch/arm/boot/dts/marvell/dove-cubox.dts37
-rw-r--r--arch/arm/boot/dts/marvell/dove.dtsi4
2 files changed, 39 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/marvell/dove-cubox.dts b/arch/arm/boot/dts/marvell/dove-cubox.dts
index bfde99486a87..9ef4dcb58e3c 100644
--- a/arch/arm/boot/dts/marvell/dove-cubox.dts
+++ b/arch/arm/boot/dts/marvell/dove-cubox.dts
@@ -60,6 +60,19 @@
gpu-subsystem {
status = "okay";
};
+
+ reserved-memory {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
+
+ framebuffer {
+ compatible = "marvell,armada-framebuffer";
+ size = <0x02000000>;
+ alignment = <0x02000000>;
+ no-map;
+ };
+ };
};
&uart0 { status = "okay"; };
@@ -117,6 +130,30 @@
silabs,pll-master;
};
};
+
+ tda998x: hdmi-encoder@70 {
+ compatible = "nxp,tda998x";
+ reg = <0x70>;
+ video-ports = <0x234501>;
+ interrupts-extended = <&gpio0 27 IRQ_TYPE_LEVEL_LOW>;
+
+ port {
+ tda998x_video: endpoint {
+ remote-endpoint = <&lcd0_rgb>;
+ };
+ };
+ };
+};
+
+&lcd0 {
+ status = "okay";
+ clocks = <&si5351 0>;
+ clock-names = "ext_ref_clk1";
+ lcd0_port: port {
+ lcd0_rgb: endpoint {
+ remote-endpoint = <&tda998x_video>;
+ };
+ };
};
&sdio0 {
diff --git a/arch/arm/boot/dts/marvell/dove.dtsi b/arch/arm/boot/dts/marvell/dove.dtsi
index 062c86361640..b0865d28a646 100644
--- a/arch/arm/boot/dts/marvell/dove.dtsi
+++ b/arch/arm/boot/dts/marvell/dove.dtsi
@@ -785,14 +785,14 @@
};
lcd1: lcd-controller@810000 {
- compatible = "marvell,dove-lcd";
+ compatible = "marvell,dove-lcd", "marvell,armada-lcdc";
reg = <0x810000 0x1000>;
interrupts = <46>;
status = "disabled";
};
lcd0: lcd-controller@820000 {
- compatible = "marvell,dove-lcd";
+ compatible = "marvell,dove-lcd", "marvell,armada-lcdc";
reg = <0x820000 0x1000>;
interrupts = <47>;
status = "disabled";