Devicetree
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: rockchip: describe PCIe RTL8111 ethernet on Indiedroid Nova
@ 2026-11-19 15:28 Chris Morgan
  0 siblings, 0 replies; only message in thread
From: Chris Morgan @ 2026-11-19 15:28 UTC (permalink / raw)
  To: linux-rockchip
  Cc: devicetree, shawn.lin, cristian.ciocaltea, heiko, conor+dt,
	krzk+dt, robh, Chris Morgan

From: Chris Morgan <macromorgan@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@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@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 {
-- 
2.53.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-19 15:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-19 15:28 [PATCH] arm64: dts: rockchip: describe PCIe RTL8111 ethernet on Indiedroid Nova Chris Morgan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox