[PATCH 3/3] ARM: dts: cubox: add LCD controller and TDA998x configuration
Russell King
rmk+kernel at arm.linux.org.uk
Tue Jul 10 10:24:24 UTC 2018
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 at arm.linux.org.uk>
---
arch/arm/boot/dts/dove-cubox.dts | 43 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/arch/arm/boot/dts/dove-cubox.dts b/arch/arm/boot/dts/dove-cubox.dts
index 580e3cbcfbf7..f6dd56f63d09 100644
--- a/arch/arm/boot/dts/dove-cubox.dts
+++ b/arch/arm/boot/dts/dove-cubox.dts
@@ -67,6 +67,25 @@
gpu-subsystem {
status = "okay";
};
+
+ reserved-memory {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
+
+ display_reserved: framebuffer {
+ compatible = "marvell,dove-framebuffer";
+ size = <0x02000000>;
+ alignment = <0x02000000>;
+ no-map;
+ };
+ };
+
+ display-subsystem {
+ compatible = "marvell,dove-display-subsystem";
+ memory-region = <&display_reserved>;
+ ports = <&lcd0_port>;
+ };
};
&uart0 { status = "okay"; };
@@ -117,6 +136,30 @@
silabs,pll-master;
};
};
+
+ tda998x: hdmi-encoder {
+ 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 {
--
2.7.4
More information about the dri-devel
mailing list