Commit 00950028 authored by Tony Lindgren's avatar Tony Lindgren
Browse files

ARM: dts: Add clksel node for am3 gfx



Let's add a clksel node for the component clocks to avoid devicetree
unique_unit_address warnings. The component clocks can now get IO address
from the parent clksel node.

Cc: Stephen Boyd <sboyd@kernel.org>
Cc: Tero Kristo <kristo@kernel.org>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
Message-Id: <20220204073333.18175-3-tony@atomide.com>
parent c2f26460
Loading
Loading
Loading
Loading
+20 −13
Original line number Diff line number Diff line
@@ -501,21 +501,28 @@ mmc_clk: mmc_clk {
		clock-div = <2>;
	};

	gfx_fclk_clksel_ck: gfx_fclk_clksel_ck@52c {
	clock@52c {
		compatible = "ti,clksel";
		reg = <0x52c>;
		#clock-cells = <2>;
		#address-cells = <0>;

		gfx_fclk_clksel_ck: clock-gfx-fclk-clksel {
			#clock-cells = <0>;
			compatible = "ti,mux-clock";
			clock-output-names = "gfx_fclk_clksel_ck";
			clocks = <&dpll_core_m4_ck>, <&dpll_per_m2_ck>;
			ti,bit-shift = <1>;
		reg = <0x052c>;
		};

	gfx_fck_div_ck: gfx_fck_div_ck@52c {
		gfx_fck_div_ck: clock-gfx-fck-div {
			#clock-cells = <0>;
			compatible = "ti,divider-clock";
			clock-output-names = "gfx_fck_div_ck";
			clocks = <&gfx_fclk_clksel_ck>;
		reg = <0x052c>;
			ti,max-div = <2>;
		};
	};

	sysclkout_pre_ck: sysclkout_pre_ck@700 {
		#clock-cells = <0>;