ARM: at91/dt: sama5d4: add hlcdc node
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Fri, 1 Aug 2014 07:43:11 +0000 (09:43 +0200)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Mon, 23 Mar 2015 15:04:00 +0000 (16:04 +0100)
Add HLCDC node.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
arch/arm/boot/dts/sama5d4.dtsi

index 3d91ca33313e2621734e2330d043c7910250435b..f525e7b1be4f30af221345e4611429f67fa66466 100644 (file)
                        #size-cells = <1>;
                        ranges;
 
+                       hlcdc: hlcdc@f0000000 {
+                               compatible = "atmel,sama5d4-hlcdc";
+                               reg = <0xf0000000 0x4000>;
+                               interrupts = <51 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";
+                                       pinctrl-names = "default";
+                                       pinctrl-0 = <&pinctrl_lcd_pwm>;
+                                       #pwm-cells = <3>;
+                               };
+                       };
+
                        dma1: dma-controller@f0004000 {
                                compatible = "atmel,sama5d4-dma";
                                reg = <0xf0004000 0x200>;