ARM: dts: atlas7: add lost PWM node
authorGuo Zeng <guo.zeng@csr.com>
Tue, 28 Jul 2015 07:56:34 +0000 (15:56 +0800)
committerBarry Song <Baohua.Song@csr.com>
Wed, 5 Aug 2015 14:44:20 +0000 (22:44 +0800)
this patch adds lost PWM node, and also fixes the ranges of its
parent node.

Signed-off-by: Guo Zeng <guo.zeng@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
arch/arm/boot/dts/atlas7.dtsi

index 9bad559cb86e1dafdfb8488904b2522c8ee8a3fe..456cf811d5c2623cc62b04c5408c3977c12ce028 100644 (file)
                        #address-cells = <1>;
                        #size-cells = <1>;
                        ranges = <0x18641000 0x18641000 0x3000>,
-                                        <0x18620000 0x18620000 0x1000>;
+                                        <0x18620000 0x18620000 0x1000>,
+                                       <0x18630000 0x18630000 0x10000>;
 
                        cgum@18641000 {
                                compatible = "sirf,nocfw-cgum";
                                #clock-cells = <1>;
                                #reset-cells = <1>;
                        };
+                       pwm: pwm@18630000 {
+                               compatible = "sirf,prima2-pwm";
+                               #pwm-cells = <2>;
+                               reg = <0x18630000 0x10000>;
+                               clocks = <&car 138>, <&car 139>, <&car 237>,
+                                       <&car 240>,  <&car 140>, <&car 246>;
+                               clock-names = "pwmc", "sigsrc0", "sigsrc1",
+                                       "sigsrc2", "sigsrc3", "sigsrc4";
+                       };
                };
 
                gnssm {