Skip to content

Commit

Permalink
dt: rp1: Use clk_sys for ethernet hclk and pclk
Browse files Browse the repository at this point in the history
hclk and pclk of the MAC are connected to clk_sys, so define
them as being connected accordingly, rather than having fake
fixed clocks for them.

Signed-off-by: Dave Stevenson <[email protected]>
  • Loading branch information
6by9 authored and pelwell committed Dec 2, 2024
1 parent 9f4a2b2 commit f8ba11b
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions arch/arm64/boot/dts/broadcom/rp1.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -982,7 +982,8 @@
#address-cells = <1>;
#size-cells = <0>;
interrupts = <RP1_INT_ETH IRQ_TYPE_LEVEL_HIGH>;
clocks = <&macb_pclk &macb_hclk
clocks = <&rp1_clocks RP1_CLK_SYS
&rp1_clocks RP1_CLK_SYS
&rp1_clocks RP1_CLK_ETH_TSU
&rp1_clocks RP1_CLK_ETH>;
clock-names = "pclk", "hclk", "tsu_clk", "tx_clk";
Expand Down Expand Up @@ -1230,18 +1231,6 @@
clock-output-names = "xosc";
clock-frequency = <50000000>;
};
macb_pclk: macb_pclk {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-output-names = "pclk";
clock-frequency = <200000000>;
};
macb_hclk: macb_hclk {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-output-names = "hclk";
clock-frequency = <200000000>;
};
sdio_src: sdio_src {
// 400 MHz on FPGA. PLL sys VCO on asic
compatible = "fixed-clock";
Expand Down

0 comments on commit f8ba11b

Please sign in to comment.