summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorShawn Guo <shawnguo@kernel.org>2018-05-04 02:16:04 +0200
committerShawn Guo <shawnguo@kernel.org>2018-05-14 16:08:00 +0200
commit0c414b06ed10e634af43e765373be33f49849600 (patch)
tree5a4d1f3648f1a1c91a92df22c3f8c1f03197c30c /arch/arm
parentARM: dts: imx1: move clk32 clock into soc dtsi (diff)
downloadlinux-0c414b06ed10e634af43e765373be33f49849600.tar.xz
linux-0c414b06ed10e634af43e765373be33f49849600.zip
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: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/imx27-apf27.dts13
-rw-r--r--arch/arm/boot/dts/imx27.dtsi2
2 files changed, 4 insertions, 11 deletions
diff --git a/arch/arm/boot/dts/imx27-apf27.dts b/arch/arm/boot/dts/imx27-apf27.dts
index 66941cdbf244..3eddd805a793 100644
--- a/arch/arm/boot/dts/imx27-apf27.dts
+++ b/arch/arm/boot/dts/imx27-apf27.dts
@@ -22,17 +22,10 @@
memory@a0000000 {
reg = <0xa0000000 0x04000000>;
};
+};
- clocks {
- #address-cells = <1>;
- #size-cells = <0>;
-
- osc26m {
- compatible = "fsl,imx-osc26m", "fixed-clock";
- #clock-cells = <0>;
- clock-frequency = <0>;
- };
- };
+&clk_osc26m {
+ clock-frequency = <0>;
};
&iomuxc {
diff --git a/arch/arm/boot/dts/imx27.dtsi b/arch/arm/boot/dts/imx27.dtsi
index 389c9288b4ed..6c28b9cf802c 100644
--- a/arch/arm/boot/dts/imx27.dtsi
+++ b/arch/arm/boot/dts/imx27.dtsi
@@ -57,7 +57,7 @@
};
clocks {
- osc26m {
+ clk_osc26m: osc26m {
compatible = "fsl,imx-osc26m", "fixed-clock";
#clock-cells = <0>;
clock-frequency = <26000000>;