Re: [PATCH-next v1] arm64: dts: rockchip: Enable NVM Express PCIe controller on rock3a

From: Chukun Pan
Date: Tue Sep 27 2022 - 14:16:09 EST


Hi Anand,

On 27-09-22, 19:16, Anand Moon wrote:

> As per the schematic below pice support with 2 regulators
>
> VCC3V3_PCIE (SCT2250FPA)
> VCC3V3_PI6C_03 (PI6C557-03 is a spread spectrum clock generator
> supporting PCI Express and Ethernet requirements)

> [0] https://dl.radxa.com/rock3/docs/hw/3a/rock3a_v1.3_sch.pdf

Thanks for sharing, I rewrote this patch, can you try again?

> No, it did not work on my board, see bool logs.
> [0] https://pastebin.com/Lk93VFxg

>From the boot log, looks like ethernet is broken:
mdio_bus stmmac-0: MDIO device at address 0 is missing.
rk_gmac-dwmac fe010000.ethernet eth0: no phy at addr -1

Actually I had this problem too, and reusing the "snps, reset"
property solved it. What confuses me is am I doing something
wrong or there is something wrong with the device tree now?

Thanks,
Chukun

---
Chukun Pan (1):
arm64: dts: rockchip: Add PCIe v3 nodes to rock-3a

.../boot/dts/rockchip/rk3568-rock-3a.dts | 52 ++++++++++++++++++-
1 file changed, 51 insertions(+), 1 deletion(-)

--
2.25.1