Parcourir la source

ARM: sunxi: dt: Use clocks property instead of clock-frequency for the UARTs

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>
Maxime Ripard il y a 12 ans
Parent
commit
4498578623
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      arch/arm/boot/dts/sunxi.dtsi

+ 2 - 2
arch/arm/boot/dts/sunxi.dtsi

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