Problems about NIC, PCIe and usb on RK3568 EVB
Johannes Zink
j.zink at pengutronix.de
Wed Apr 12 23:28:45 PDT 2023
Hi Doug,
On 4/13/23 07:55, Doug Brewer wrote:
> Hi,
>
> I tested Linux kernel 6.3-rc6 on my rk3568 evaluation board, it seems there
> are problems with Ethernet, PCIe and usb devices.
>
> First, NICs doesn't work.
>
> rk_gmac-dwmac fe010000.ethernet: IRQ eth_lpi not found
> rk_gmac-dwmac fe010000.ethernet: no regulator found
> rk_gmac-dwmac fe010000.ethernet: clock input or output? (output).
> rk_gmac-dwmac fe010000.ethernet: Can not read property: tx_delay.
> rk_gmac-dwmac fe010000.ethernet: set tx_delay to 0x30
> rk_gmac-dwmac fe010000.ethernet: Can not read property: rx_delay.
> rk_gmac-dwmac fe010000.ethernet: set rx_delay to 0x10
> rk_gmac-dwmac fe010000.ethernet: integrated PHY? (no).
> rk_gmac-dwmac fe010000.ethernet: init for RGMII_ID
> rk_gmac-dwmac fe010000.ethernet: User ID: 0x30, Synopsys ID: 0x51
> rk_gmac-dwmac fe010000.ethernet: DWMAC4/5
> rk_gmac-dwmac fe010000.ethernet: DMA HW capability register suppd
> rk_gmac-dwmac fe010000.ethernet: RX Checksum Offload Engine suppd
> rk_gmac-dwmac fe010000.ethernet: TX Checksum insertion supported
> rk_gmac-dwmac fe010000.ethernet: Wake-Up On Lan supported
> rk_gmac-dwmac fe010000.ethernet: TSO supported
> rk_gmac-dwmac fe010000.ethernet: Enable RX Mitigation via HW Watr
> rk_gmac-dwmac fe010000.ethernet: Enabled RFS Flow TC (entries=10)
> rk_gmac-dwmac fe010000.ethernet: TSO feature enabled
> rk_gmac-dwmac fe010000.ethernet: Using 32/32 bits DMA host/devich
> mdio_bus stmmac-1: MDIO device at address 0 is missing.
> rk_gmac-dwmac fe2a0000.ethernet: IRQ eth_lpi not found
> rk_gmac-dwmac fe2a0000.ethernet: no regulator found
> rk_gmac-dwmac fe2a0000.ethernet: clock input or output? (output).
> rk_gmac-dwmac fe2a0000.ethernet: Can not read property: tx_delay.
> rk_gmac-dwmac fe2a0000.ethernet: set tx_delay to 0x30
> rk_gmac-dwmac fe2a0000.ethernet: Can not read property: rx_delay.
> rk_gmac-dwmac fe2a0000.ethernet: set rx_delay to 0x10
> rk_gmac-dwmac fe2a0000.ethernet: integrated PHY? (no).
> rk_gmac-dwmac fe2a0000.ethernet: init for RGMII_ID
> rk_gmac-dwmac fe2a0000.ethernet: User ID: 0x30, Synopsys ID: 0x51
> rk_gmac-dwmac fe2a0000.ethernet: DWMAC4/5
> rk_gmac-dwmac fe2a0000.ethernet: DMA HW capability register suppd
> rk_gmac-dwmac fe2a0000.ethernet: RX Checksum Offload Engine suppd
> rk_gmac-dwmac fe2a0000.ethernet: TX Checksum insertion supported
> rk_gmac-dwmac fe2a0000.ethernet: Wake-Up On Lan supported
> rk_gmac-dwmac fe2a0000.ethernet: TSO supported
> rk_gmac-dwmac fe2a0000.ethernet: Enable RX Mitigation via HW Watr
> rk_gmac-dwmac fe2a0000.ethernet: Enabled RFS Flow TC (entries=10)
> rk_gmac-dwmac fe2a0000.ethernet: TSO feature enabled
> rk_gmac-dwmac fe2a0000.ethernet: Using 32/32 bits DMA host/devich
> mdio_bus stmmac-0: MDIO device at address 0 is missing.
> rk_gmac-dwmac fe010000.ethernet eth0: Register MEM_TYPE_PAGE_POO0
> rk_gmac-dwmac fe010000.ethernet eth0: __stmmac_open: Cannot atta)
>
> Second, running 'lspci' and 'lsusb' doesn't see any devices on PCIe and USB.
> I guess the device tree might be updated. Anyone has idea how to fix it?
> Thanks.
>
> - Doug
>
> _______________________________________________
> Linux-rockchip mailing list
> Linux-rockchip at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-rockchip
>
I've seen similar errors on other boards when the phy is not powered or
does not have a clock supplied. Could you check your DT if there is any
diffs in the phy-supply or any gpio-Hog pulling the enable of a
regulator that might enable the phy? Also you could check if you have
all the required regulator drivers available and probed.
Best regards
Johannes
--
Pengutronix e.K. | Johannes Zink |
Steuerwalder Str. 21 | https://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686| Fax: +49-5121-206917-5555 |
More information about the Linux-rockchip
mailing list