jianhai / rpms / kernel

Forked from rpms/kernel 3 years ago
Clone
Pablo Greco d6c4c4
From 59780095ba35a49946e726c88caff6f65f3e433a Mon Sep 17 00:00:00 2001
Pablo Greco d6c4c4
From: Peter Robinson <pbrobinson@gmail.com>
Pablo Greco d6c4c4
Date: Tue, 30 Jul 2019 14:22:36 +0100
Pablo Greco d6c4c4
Subject: [PATCH] arm64: tegra: Jetson TX2: Allow bootloader to configure
Pablo Greco d6c4c4
 Ethernet MAC
Pablo Greco d6c4c4
Pablo Greco d6c4c4
Add an ethernet alias so that a stable MAC address is added to the
Pablo Greco d6c4c4
device tree for the wired ethernet interface.
Pablo Greco d6c4c4
Pablo Greco d6c4c4
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Pablo Greco d6c4c4
---
Pablo Greco d6c4c4
 arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi | 1 +
Pablo Greco d6c4c4
 1 file changed, 1 insertion(+)
Pablo Greco d6c4c4
Pablo Greco d6c4c4
diff --git a/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi b/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi
Pablo Greco d6c4c4
index 5e18acf5cfad..947744d0f04c 100644
Pablo Greco d6c4c4
--- a/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi
Pablo Greco d6c4c4
+++ b/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi
Pablo Greco d6c4c4
@@ -8,6 +8,7 @@
Pablo Greco d6c4c4
 	compatible = "nvidia,p3310", "nvidia,tegra186";
Pablo Greco d6c4c4
 
Pablo Greco d6c4c4
 	aliases {
Pablo Greco d6c4c4
+		ethernet0 = "/ethernet@2490000";
Pablo Greco d6c4c4
 		sdhci0 = "/sdhci@3460000";
Pablo Greco d6c4c4
 		sdhci1 = "/sdhci@3400000";
Pablo Greco d6c4c4
 		serial0 = &uart;;
Pablo Greco d6c4c4
-- 
Pablo Greco d6c4c4
2.21.0
Pablo Greco d6c4c4