dts: sunxi: add PWM node for sun50i
authorVasily Khoruzhick <anarsoul@gmail.com>
Mon, 14 May 2018 15:16:21 +0000 (08:16 -0700)
committerAnatolij Gustschin <agust@denx.de>
Tue, 15 May 2018 06:18:14 +0000 (08:18 +0200)
Add PWM definition to sun50i-a64.dtsi

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
arch/arm/dts/sun50i-a64.dtsi

index 65a344d9cea4519b94ef5bac6a2fa9b39e2dca89..a82a3d89af64a531c7a29af276827f27989b2ff2 100644 (file)
                        };
                };
 
+               pwm: pwm@01c21400 {
+                       compatible = "allwinner,sun50i-a64-pwm",
+                                    "allwinner,sun5i-a13-pwm";
+                       reg = <0x01c21400 0x8>;
+                       clocks = <&osc24M>;
+                       #pwm-cells = <3>;
+                       status = "disabled";
+               };
+
                uart0: serial@1c28000 {
                        compatible = "snps,dw-apb-uart";
                        reg = <0x01c28000 0x400>;