ARM: dts: at91: sama5d2: add LCD controller
authorNicolas Ferre <nicolas.ferre@atmel.com>
Thu, 10 Mar 2016 13:25:16 +0000 (14:25 +0100)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Tue, 29 Mar 2016 14:32:33 +0000 (16:32 +0200)
Add LCD controller node that binds to the atmel_hlcdc DRM driver.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
arch/arm/boot/dts/sama5d2.dtsi

index 0e4471d1fc46f7101f05d52d4501b5d3c6830e86..12cc1d34097de1dab82005ecc9910bef60ebe824 100644 (file)
                        #size-cells = <1>;
                        ranges;
 
+                       hlcdc: hlcdc@f0000000 {
+                               compatible = "atmel,sama5d2-hlcdc";
+                               reg = <0xf0000000 0x2000>;
+                               interrupts = <45 IRQ_TYPE_LEVEL_HIGH 0>;
+                               clocks = <&lcdc_clk>, <&lcdck>, <&clk32k>;
+                               clock-names = "periph_clk","sys_clk", "slow_clk";
+                               status = "disabled";
+
+                               hlcdc-display-controller {
+                                       compatible = "atmel,hlcdc-display-controller";
+                                       #address-cells = <1>;
+                                       #size-cells = <0>;
+
+                                       port@0 {
+                                               #address-cells = <1>;
+                                               #size-cells = <0>;
+                                               reg = <0>;
+                                       };
+                               };
+
+                               hlcdc_pwm: hlcdc-pwm {
+                                       compatible = "atmel,hlcdc-pwm";
+                                       #pwm-cells = <3>;
+                               };
+                       };
+
                        ramc0: ramc@f000c000 {
                                compatible = "atmel,sama5d3-ddramc";
                                reg = <0xf000c000 0x200>;