[U-Boot] [PATCH v5 26/27] ARM: tegra: Mark built-in Ethernet as default on Jetson TX2

Thierry Reding thierry.reding at gmail.com
Mon Apr 15 09:32:38 UTC 2019


From: Thierry Reding <treding at nvidia.com>

Add an "ethernet" alias that points to the default network interface,
which is the built-in EQoS on Jetson TX2.

Signed-off-by: Thierry Reding <treding at nvidia.com>
---
 arch/arm/dts/tegra186-p2771-0000.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/dts/tegra186-p2771-0000.dtsi b/arch/arm/dts/tegra186-p2771-0000.dtsi
index a1319dc4936f..7cda0b41f74b 100644
--- a/arch/arm/dts/tegra186-p2771-0000.dtsi
+++ b/arch/arm/dts/tegra186-p2771-0000.dtsi
@@ -9,6 +9,7 @@
 	};
 
 	aliases {
+		ethernet = "/ethernet at 2490000";
 		mmc0 = "/sdhci at 3460000";
 		mmc1 = "/sdhci at 3400000";
 		i2c0 = "/bpmp/i2c";
@@ -28,6 +29,7 @@
 	ethernet at 2490000 {
 		status = "okay";
 		phy-reset-gpios = <&gpio_main TEGRA_MAIN_GPIO(M, 4) GPIO_ACTIVE_LOW>;
+		local-mac-address = [ 00 00 00 00 00 00 ];
 	};
 
 	i2c at 3160000 {
-- 
2.21.0



More information about the U-Boot mailing list