[PATCH 2/7] ARM: sunxi: dt: Use clocks property instead of clock-frequency for the UARTs

From: Maxime Ripard
Date: Tue Mar 19 2013 - 06:37:36 EST


It will be especially useful when we will have the clock definitions in
the device tree.

Signed-off-by: Maxime Ripard <maxime.ripard@xxxxxxxxxxxxxxxxxx>
Acked-by: Emilio LÃpez <emilio@xxxxxxxxxxxxx>
Tested-by: Emilio LÃpez <emilio@xxxxxxxxxxxxx>
---
arch/arm/boot/dts/sunxi.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/sunxi.dtsi b/arch/arm/boot/dts/sunxi.dtsi
index 8b36abe..791c02a 100644
--- a/arch/arm/boot/dts/sunxi.dtsi
+++ b/arch/arm/boot/dts/sunxi.dtsi
@@ -65,7 +65,7 @@
interrupts = <1>;
reg-shift = <2>;
reg-io-width = <4>;
- clock-frequency = <24000000>;
+ clocks = <&osc>;
status = "disabled";
};

@@ -75,7 +75,7 @@
interrupts = <2>;
reg-shift = <2>;
reg-io-width = <4>;
- clock-frequency = <24000000>;
+ clocks = <&osc>;
status = "disabled";
};
};
--
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/