Commit 0c414b06 authored by Shawn Guo's avatar Shawn Guo
Browse files

ARM: dts: imx27: use label to override osc26m clock setting



Instead of copying the whole node hierarchy, let's define a label for
clock osc26m in soc dtsi and use it for overriding clock-frequency.

Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 416fce8e
Loading
Loading
Loading
Loading
+3 −10
Original line number Diff line number Diff line
@@ -22,18 +22,11 @@ / {
	memory@a0000000 {
		reg = <0xa0000000 0x04000000>;
	};
};

	clocks {
		#address-cells = <1>;
		#size-cells = <0>;

		osc26m {
			compatible = "fsl,imx-osc26m", "fixed-clock";
			#clock-cells = <0>;
&clk_osc26m {
	clock-frequency = <0>;
};
	};
};

&iomuxc {
	imx27-apf27 {
+1 −1
Original line number Diff line number Diff line
@@ -57,7 +57,7 @@ aitc: aitc-interrupt-controller@e0000000 {
	};

	clocks {
		osc26m {
		clk_osc26m: osc26m {
			compatible = "fsl,imx-osc26m", "fixed-clock";
			#clock-cells = <0>;
			clock-frequency = <26000000>;