Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9692c191 authored by Stephen Warren's avatar Stephen Warren
Browse files

ARM: bcm2835: fix clock node aliasing in device tree



Both clock nodes in the current device tree are named "clock" and hence
end up being the same node. Rename the nodes to different names to avoid
this. In fact, fixed-clock uses the node name as the clock name, so name
the nodes after the clock they represent. Move the clocks into a
"clocks" sub-node to group them and avoid any possible naming conflicts
with other nodes also named after the device type.

Signed-off-by: default avatarStephen Warren <swarren@wwwdotorg.org>
parent 232fed48
Loading
Loading
Loading
Loading
+17 −9
Original line number Original line Diff line number Diff line
@@ -89,15 +89,23 @@
		};
		};
	};
	};


	clk_i2c: clock {
	clocks {
		compatible = "simple-bus";
		#address-cells = <1>;
		#size-cells = <0>;

		clk_mmc: mmc {
			compatible = "fixed-clock";
			compatible = "fixed-clock";
			reg = <0>;
			#clock-cells = <0>;
			#clock-cells = <0>;
		clock-frequency = <150000000>;
			clock-frequency = <100000000>;
		};
		};


	clk_mmc: clock {
		clk_i2c: i2c {
			compatible = "fixed-clock";
			compatible = "fixed-clock";
			reg = <1>;
			#clock-cells = <0>;
			#clock-cells = <0>;
		clock-frequency = <100000000>;
			clock-frequency = <150000000>;
		};
	};
	};
};
};