From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keerthy Date: Thu, 2 May 2019 11:14:19 +0530 Subject: [U-Boot] [PATCH v4 0/5] net: ethernet: ti: Introduce am654 gigabit eth switch subsystem driver In-Reply-To: References: <20190430062501.29266-1-j-keerthy@ti.com> Message-ID: <68a77474-1676-368d-36bb-f0455ea7d683@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de On 30/04/19 11:57 AM, Keerthy wrote: > > > On 30/04/19 11:54 AM, Keerthy wrote: >> Add new driver for the TI AM65x SoC Gigabit Ethernet Switch subsystem >> (CPSW >> NUSS). It has two ports and provides Ethernet packet communication for >> the >> device and can be configured as an Ethernet switch. CPSW NUSS >> features: the >> Reduced Gigabit Media Independent Interface (RGMII), Reduced Media >> Independent Interface (RMII), and the Management Data Input/Output (MDIO) >> interface for physical layer device (PHY) management. The TI AM65x SoC >> has >> integrated two-port Gigabit Ethernet Switch subsystem into device MCU >> domain named MCU_CPSW0. One Ethernet port (port 1) with selectable RGMII >> and RMII interfaces and an internal Communications Port Programming >> Interface (CPPI) port (Host port 0). >> >> Host Port 0 CPPI Packet Streaming Interface interface supports 8 TX >> channels and on RX channels operating by TI am654 NAVSS Unified DMA >> Peripheral Root Complex (UDMA-P) controller. >> >> Tested for tftp and booting to kernel on am654-evm. > > https://patchwork.ozlabs.org/patch/1090618/ > > Needs to be applied before trying the cpsw. Tom, Thanks for pulling this series and as pointed above please pull the patch [1] which will avoid udma accessing RT registers before channel config is done. Regards, Keerthy [1] https://patchwork.ozlabs.org/patch/1090618/ > >> >> Grygorii Strashko (4): >>    net: ethernet: ti: Introduce am654 gigabit eth switch subsystem driver >>    arm64: dts: k3-am654-base-board: add mcu cpsw nuss pinmux and phy defs >>    configs: am65x_evm_a53: enable networking >>    arm64: dts: ti: k3-am65: add mcu cpsw node >> >> Keerthy (1): >>    driver: net: ti: cpsw-mdio: use phys_addr_t for mdio_base addr >> >> Changes in v4: >> >>    * Patch1 caused dra7 config build warnings corrected them. >> >> Testing: >> >>    1) Build tested am3/4 and dra7. >>    2) Booted to kernel using cpsw tftp. >>   arch/arm/dts/k3-am65.dtsi                    |   2 + >>   arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 170 ++++ >>   configs/am65x_evm_a53_defconfig              |   7 + >>   drivers/net/ti/Kconfig                       |   8 + >>   drivers/net/ti/Makefile                      |   1 + >>   drivers/net/ti/am65-cpsw-nuss.c              | 794 +++++++++++++++++++ >>   drivers/net/ti/cpsw_mdio.c                   |   4 +- >>   drivers/net/ti/cpsw_mdio.h                   |   2 +- >>   8 files changed, 985 insertions(+), 3 deletions(-) >>   create mode 100644 drivers/net/ti/am65-cpsw-nuss.c >> > _______________________________________________ > U-Boot mailing list > U-Boot at lists.denx.de > https://lists.denx.de/listinfo/u-boot