mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-12 03:23:02 -04:00
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>
This commit is contained in:
@@ -23,17 +23,6 @@ chosen {
|
||||
memory@8000000 {
|
||||
reg = <0x08000000 0x04000000>;
|
||||
};
|
||||
|
||||
clocks {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
clk32 {
|
||||
compatible = "fsl,imx-clk32", "fixed-clock";
|
||||
#clock-cells = <0>;
|
||||
clock-frequency = <32000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&cspi1 {
|
||||
|
||||
@@ -62,6 +62,14 @@ cpu@0 {
|
||||
};
|
||||
};
|
||||
|
||||
clocks {
|
||||
clk32 {
|
||||
compatible = "fsl,imx-clk32", "fixed-clock";
|
||||
#clock-cells = <0>;
|
||||
clock-frequency = <32000>;
|
||||
};
|
||||
};
|
||||
|
||||
soc {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
Reference in New Issue
Block a user