]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
arm: sunxi: use the right clock phandles for UARTs
authorEmilio López <emilio@elopez.com.ar>
Wed, 27 Mar 2013 21:20:39 +0000 (18:20 -0300)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 4 Apr 2013 21:42:05 +0000 (23:42 +0200)
All the UARTs are connected to clock gates; now that our clock driver
is able to handle them, make the switch.

Signed-off-by: Emilio López <emilio@elopez.com.ar>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun4i-a10.dtsi
arch/arm/boot/dts/sunxi.dtsi

index 68a27fc4491fbe6b909681493b21809bcce71fba..6b3a6b25f1f860382d97ddfcab8e35f7395b20d2 100644 (file)
@@ -54,7 +54,7 @@
                        interrupts = <1>;
                        reg-shift = <2>;
                        reg-io-width = <4>;
-                       clocks = <&osc>;
+                       clocks = <&apb1_gates 16>;
                        status = "disabled";
                };
 
@@ -64,7 +64,7 @@
                        interrupts = <3>;
                        reg-shift = <2>;
                        reg-io-width = <4>;
-                       clocks = <&osc>;
+                       clocks = <&apb1_gates 18>;
                        status = "disabled";
                };
 
@@ -74,7 +74,7 @@
                        interrupts = <17>;
                        reg-shift = <2>;
                        reg-io-width = <4>;
-                       clocks = <&osc>;
+                       clocks = <&apb1_gates 20>;
                        status = "disabled";
                };
 
@@ -84,7 +84,7 @@
                        interrupts = <18>;
                        reg-shift = <2>;
                        reg-io-width = <4>;
-                       clocks = <&osc>;
+                       clocks = <&apb1_gates 21>;
                        status = "disabled";
                };
 
@@ -94,7 +94,7 @@
                        interrupts = <19>;
                        reg-shift = <2>;
                        reg-io-width = <4>;
-                       clocks = <&osc>;
+                       clocks = <&apb1_gates 22>;
                        status = "disabled";
                };
 
                        interrupts = <20>;
                        reg-shift = <2>;
                        reg-io-width = <4>;
-                       clocks = <&osc>;
+                       clocks = <&apb1_gates 23>;
                        status = "disabled";
                };
        };
index 87b2cce11b1fdead13a3a198b5260ec4d2e7065b..a8d47e200f8703555a84ae61651ace74ff77b20d 100644 (file)
                        interrupts = <2>;
                        reg-shift = <2>;
                        reg-io-width = <4>;
-                       clocks = <&osc>;
+                       clocks = <&apb1_gates 17>;
                        status = "disabled";
                };
 
                        interrupts = <4>;
                        reg-shift = <2>;
                        reg-io-width = <4>;
-                       clocks = <&osc>;
+                       clocks = <&apb1_gates 19>;
                        status = "disabled";
                };
        };