[PATCH] arm64: dts: rockchip: describe PCIe RTL8111 ethernet on Indiedroid Nova

Chris Morgan macroalpha82 at gmail.com
Thu Nov 19 07:28:47 PST 2026


From: Chris Morgan <macromorgan at hotmail.com>

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 <macromorgan at hotmail.com>
---
 .../boot/dts/rockchip/rk3588s-indiedroid-nova.dts | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-indiedroid-nova.dts b/arch/arm64/boot/dts/rockchip/rk3588s-indiedroid-nova.dts
index db6adeeb408e..d6254abe53c4 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588s-indiedroid-nova.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3588s-indiedroid-nova.dts
@@ -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 at 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 at 0,0 {
+			compatible = "pci10ec,8168";
+			reg = <0x410000 0 0 0 0>;
+		};
+	};
 };
 
 &pd_gpu {
-- 
2.53.0




More information about the Linux-rockchip mailing list