Skip to content

Commit e4e06a5

Browse files
lpovlsenarndb
authored andcommitted
arm64: dts: sparx5: Add Sparx5 SoC DPLL clock
This adds a DPLL clock to the Sparx5 SoC. It is used to generate clock to misc peripherals, specifically the SDHCI/eMMC controller. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lars Povlsen <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]>
1 parent 39c8378 commit e4e06a5

File tree

1 file changed

+23
-16
lines changed

1 file changed

+23
-16
lines changed

arch/arm64/boot/dts/microchip/sparx5.dtsi

Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -72,20 +72,29 @@
7272
<GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>;
7373
};
7474

75-
clocks: clocks {
76-
#address-cells = <2>;
77-
#size-cells = <1>;
78-
ranges;
79-
ahb_clk: ahb-clk {
80-
compatible = "fixed-clock";
81-
#clock-cells = <0>;
82-
clock-frequency = <250000000>;
83-
};
84-
sys_clk: sys-clk {
85-
compatible = "fixed-clock";
86-
#clock-cells = <0>;
87-
clock-frequency = <625000000>;
88-
};
75+
lcpll_clk: lcpll-clk {
76+
compatible = "fixed-clock";
77+
#clock-cells = <0>;
78+
clock-frequency = <2500000000>;
79+
};
80+
81+
clks: clock-controller@61110000c {
82+
compatible = "microchip,sparx5-dpll";
83+
#clock-cells = <1>;
84+
clocks = <&lcpll_clk>;
85+
reg = <0x6 0x1110000c 0x24>;
86+
};
87+
88+
ahb_clk: ahb-clk {
89+
compatible = "fixed-clock";
90+
#clock-cells = <0>;
91+
clock-frequency = <250000000>;
92+
};
93+
94+
sys_clk: sys-clk {
95+
compatible = "fixed-clock";
96+
#clock-cells = <0>;
97+
clock-frequency = <625000000>;
8998
};
9099

91100
axi: axi@600000000 {
@@ -161,8 +170,6 @@
161170
pins = "GPIO_26", "GPIO_27";
162171
function = "uart2";
163172
};
164-
165173
};
166-
167174
};
168175
};

0 commit comments

Comments
 (0)