summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/imx1.dtsi
diff options
context:
space:
mode:
authorShawn Guo <shawnguo@kernel.org>2018-05-03 16:50:24 +0200
committerShawn Guo <shawnguo@kernel.org>2018-05-14 16:08:00 +0200
commit416fce8e943d5b4a962cd1590830ed7a1327fabe (patch)
tree16dd529ae102ec4c0ce63302b9da03de6b025f89 /arch/arm/boot/dts/imx1.dtsi
parentARM: dts: imx: drop unnecessary #address-cells/#size-cells (diff)
downloadlinux-416fce8e943d5b4a962cd1590830ed7a1327fabe.tar.xz
linux-416fce8e943d5b4a962cd1590830ed7a1327fabe.zip
ARM: dts: imx1: move clk32 clock into soc dtsi
The clk32 clock is an input clock to CCM module, and should be defined in soc dtsi rather than a board level dts. Let's move it into imx1.dtsi. While at it, let's drop unnecessary #address-cells/#size-cells from 'clocks' node to DTC warning avoid_unnecessary_addr_size seen with W=1 switch. Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx1.dtsi')
-rw-r--r--arch/arm/boot/dts/imx1.dtsi8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx1.dtsi b/arch/arm/boot/dts/imx1.dtsi
index f7b9edf93f5e..78cba9435f8e 100644
--- a/arch/arm/boot/dts/imx1.dtsi
+++ b/arch/arm/boot/dts/imx1.dtsi
@@ -62,6 +62,14 @@
};
};
+ clocks {
+ clk32 {
+ compatible = "fsl,imx-clk32", "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <32000>;
+ };
+ };
+
soc {
#address-cells = <1>;
#size-cells = <1>;