ARM: berlin: add a PWM node on the BG2CD
authorAntoine Tenart <antoine.tenart@free-electrons.com>
Fri, 2 Oct 2015 14:59:50 +0000 (16:59 +0200)
committerSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Mon, 5 Oct 2015 18:09:26 +0000 (20:09 +0200)
This patch adds a PWM node in the Berlin BG2CD device tree, using the
newly added Berlin PWM driver.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
arch/arm/boot/dts/berlin2cd.dtsi

index 75b14211559a6d7db6a3dfe32b11ecd44795b388..b16df157214d0271b37515434bcd7f93772a6434 100644 (file)
                        status = "disabled";
                };
 
+               pwm: pwm@f20000 {
+                       compatible = "marvell,berlin-pwm";
+                       reg = <0xf20000 0x40>;
+                       clocks = <&chip_clk CLKID_CFG>;
+                       #pwm-cells = <3>;
+               };
+
                apb@fc0000 {
                        compatible = "simple-bus";
                        #address-cells = <1>;