From: Grygorii Strashko Date: Mon, 2 Dec 2019 13:40:40 +0200 Subject: [U-Boot] [PATCH v2 5/6] arm: dts: k3-j721e-common-proc-board: Add DMA and CPSW related DT nodes In-Reply-To: <20191202085920.30431-6-vigneshr@ti.com> References: <20191202085920.30431-1-vigneshr@ti.com> <20191202085920.30431-6-vigneshr@ti.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 02/12/2019 10:59, Vignesh Raghavendra wrote: > Add DT nodes related to DMA and CPSW to -u-boot.dtsi to get networking > up on J721e EVM. > > Signed-off-by: Vignesh Raghavendra > Acked-by: Joe Hershberger > --- > .../k3-j721e-common-proc-board-u-boot.dtsi | 239 ++++++++++++++++++ > 1 file changed, 239 insertions(+) > > diff --git a/arch/arm/dts/k3-j721e-common-proc-board-u-boot.dtsi b/arch/arm/dts/k3-j721e-common-proc-board-u-boot.dtsi > index 541da22c4889..f3857b9100bb 100644 > --- a/arch/arm/dts/k3-j721e-common-proc-board-u-boot.dtsi > +++ b/arch/arm/dts/k3-j721e-common-proc-board-u-boot.dtsi > @@ -3,11 +3,18 @@ > * Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/ > */ > > +#include > +#include > + > / { > chosen { > stdout-path = "serial2:115200n8"; > tick-timer = &timer1; > }; > + > + aliases { > + ethernet0 = &cpsw_port1; > + }; > }; > > &cbass_main{ > @@ -24,6 +31,184 @@ > clock-frequency = <25000000>; > u-boot,dm-spl; > }; > + [...] > +&davinci_mdio { > + phy0: ethernet-phy at 0 { > + reg = <0>; > + /* TODO: phy reset: TCA9555RTWR(i2c:0x21)[p04].GPIO_MCU_RGMII_RSTN */ Could you drop this TODO pls? > + ti,rx-internal-delay = ; > + ti,fifo-depth = ; > + }; > +}; > + > +&cpsw_port1 { > + phy-mode = "rgmii-rxid"; > + phy-handle = <&phy0>; > +}; > + > +&mcu_cpsw { > + reg = <0x0 0x46000000 0x0 0x200000>, > + <0x0 0x40f00200 0x0 0x2>; > + reg-names = "cpsw_nuss", "mac_efuse"; > + > + cpsw-phy-sel at 40f04040 { > + compatible = "ti,am654-cpsw-phy-sel"; > + reg= <0x0 0x40f04040 0x0 0x4>; > + reg-names = "gmii-sel"; > + }; > +}; > -- Best regards, grygorii