Signed-off-by: Tomi Valkeinen <tomi.valkei...@ti.com>
---
 arch/arm/boot/dts/omap4.dtsi | 58 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 58 insertions(+)

diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi
index a1e05853afcd..a9c0161d5368 100644
--- a/arch/arm/boot/dts/omap4.dtsi
+++ b/arch/arm/boot/dts/omap4.dtsi
@@ -705,5 +705,63 @@
                        dmas = <&sdma 117>, <&sdma 116>;
                        dma-names = "tx", "rx";
                };
+
+               dss@58000000 {
+                       compatible = "ti,omap4-dss", "simple-bus";
+                       reg = <0x58000000 0x80>;
+                       ti,hwmods = "dss_core";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+                       ranges;
+
+                       dispc@58001000 {
+                               compatible = "ti,omap4-dispc";
+                               reg = <0x58001000 0x1000>;
+                               interrupts = <0 25 0x4>;
+                               ti,hwmods = "dss_dispc";
+                       };
+
+                       dpi: encoder@0 {
+                               compatible = "ti,omap4-dpi";
+                       };
+
+                       rfbi: encoder@58002000  {
+                               compatible = "ti,omap4-rfbi";
+                               reg = <0x58002000 0x1000>;
+                               ti,hwmods = "dss_rfbi";
+                       };
+
+                       /*
+                        * Accessing venc registers cause a crash on omap4, so
+                        * this is disabled for now.
+                        */
+                       venc: encoder@58003000 {
+                               compatible = "ti,omap4-venc";
+                               reg = <0x58003000 0x1000>;
+                               ti,hwmods = "dss_venc";
+                               status = "disabled";
+                       };
+
+                       dsi1: encoder@58004000 {
+                               compatible = "ti,omap4-dsi";
+                               reg = <0x58004000 0x200>;
+                               interrupts = <0 53 0x4>;
+                               ti,hwmods = "dss_dsi1";
+                       };
+
+                       dsi2: encoder@58005000 {
+                               compatible = "ti,omap4-dsi";
+                               reg = <0x58005000 0x200>;
+                               interrupts = <0 84 0x4>;
+                               ti,hwmods = "dss_dsi2";
+                       };
+
+                       hdmi: encoder@58006000 {
+                               compatible = "ti,omap4-hdmi";
+                               reg = <0x58006000 0x1000>;
+                               interrupts = <0 101 0x4>;
+                               ti,hwmods = "dss_hdmi";
+                       };
+               };
        };
 };
-- 
1.8.3.2

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to