Re: [PATCH v3 3/4] arm64: dts: fsd: Add Ethernet support for FSYS0 Block of FSD SoC
From: Andrew Lunn
Date: Mon Aug 14 2023 - 16:53:04 EST
> diff --git a/arch/arm64/boot/dts/tesla/fsd.dtsi b/arch/arm64/boot/dts/tesla/fsd.dtsi
> index 1c53c68efd53..9a991f021711 100644
> --- a/arch/arm64/boot/dts/tesla/fsd.dtsi
> +++ b/arch/arm64/boot/dts/tesla/fsd.dtsi
> @@ -32,6 +32,7 @@
> spi0 = &spi_0;
> spi1 = &spi_1;
> spi2 = &spi_2;
> + eth0 = ðernet_0;
> };
>
> cpus {
> @@ -984,6 +985,27 @@
> clocks = <&clock_fsys0 UFS0_MPHY_REFCLK_IXTAL26>;
> clock-names = "ref_clk";
> };
> +
> + ethernet_0: ethernet@15300000 {
> + compatible = "tesla,dwc-qos-ethernet-4.21";
> + reg = <0x0 0x15300000 0x0 0x10000>;
> + interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
> + clocks = <&clock_fsys0 FSYS0_EQOS_TOP0_IPCLKPORT_CLK_PTP_REF_I>,
> + <&clock_fsys0 FSYS0_EQOS_TOP0_IPCLKPORT_ACLK_I>,
> + <&clock_fsys0 FSYS0_EQOS_TOP0_IPCLKPORT_HCLK_I>,
> + <&clock_fsys0 FSYS0_EQOS_TOP0_IPCLKPORT_RGMII_CLK_I>,
> + <&clock_fsys0 FSYS0_EQOS_TOP0_IPCLKPORT_CLK_RX_I>;
> + clock-names = "ptp_ref", "master_bus", "slave_bus", "tx", "rx";
> + pinctrl-names = "default";
> + pinctrl-0 = <ð0_tx_clk>, <ð0_tx_data>, <ð0_tx_ctrl>,
> + <ð0_phy_intr>, <ð0_rx_clk>, <ð0_rx_data>,
> + <ð0_rx_ctrl>, <ð0_mdio>;
> + local-mac-address = [00 00 00 00 00 00];
> + fsd-rx-clock-skew = <&sysreg_fsys0 0x0>;
> + iommus = <&smmu_fsys0 0x0 0x1>;
> + phy-mode = "rgmii";
What is inserting the RGMII delays?
Andrew