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 dfbb98b..287deb7 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";
                };
        };