arm64: dts: rockchip: describe PCIe RTL8111 ethernet on Indiedroid Nova
Subsystems (2)
PATCH 1/1 arm64: dts: rockchip: describe PCIe RTL8111 ethernet on Indiedroid Nova
From: Chris Morgan <[email protected]>
The Indiedroid Nova carries an on-board Realtek RTL8111 NIC behind the pcie2x1l2 port.
Describe the PCI function nodes and attach ethernet0 aliases, so that U-Boot's fdt_fixup_ethernet() can fill in the MAC address from its ethaddr/eth1addr environment.
Signed-off-by Chris Morgan <[email protected]>
--- .../boot/dts/rockchip/rk3588s-indiedroid-nova.dts | 15 +++++++++++++++ 1 file changed, 15 insertions(+)
arch/arm64/boot/dts/rockchip/rk3588s-indiedroid-nova.dts +15 -0
@@ -43,6 +43,7 @@ button-recovery { }; aliases { + ethernet0 = &rtl_eth0; mmc0 = &sdhci; mmc1 = &sdmmc; mmc2 = &sdio;
@@ -493,6 +494,20 @@ &pcie2x1l2 { reset-gpios = <&gpio3 RK_PD1 GPIO_ACTIVE_HIGH>; vpcie3v3-supply = <&vcc_3v3_s3>; status = "okay"; + + pcie@0,0 { + reg = <0x400000 0 0 0 0>; + #address-cells = <3>; + #size-cells = <2>; + ranges; + device_type = "pci"; + bus-range = <0x41 0x4f>; + + rtl_eth0: ethernet@0,0 { + compatible = "pci10ec,8168"; + reg = <0x410000 0 0 0 0>; + }; + }; }; &pd_gpu {
Signature · 1 line
2.53.0