ARM: sunxi: dt: Use clocks property instead of clock-frequency for the UARTs
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 21 Feb 2013 01:41:33 +0000 (17:41 -0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Fri, 29 Mar 2013 08:17:26 +0000 (09:17 +0100)
It will be especially useful when we will have the clock definitions in
the device tree.

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

index dfbb98bbc4c249e982967629e847fa817af482a2..287deb79e515182c2bf71ade46cd3319550edec8 100644 (file)
                        interrupts = <1>;
                        reg-shift = <2>;
                        reg-io-width = <4>;
-                       clock-frequency = <24000000>;
+                       clocks = <&osc>;
                        status = "disabled";
                };
 
                        interrupts = <2>;
                        reg-shift = <2>;
                        reg-io-width = <4>;
-                       clock-frequency = <24000000>;
+                       clocks = <&osc>;
                        status = "disabled";
                };
        };