arm64: tegra: Add ethernet alias on Jetson AGX Xavier
authorThierry Reding <treding@nvidia.com>
Tue, 1 Oct 2019 14:06:12 +0000 (16:06 +0200)
committerThierry Reding <treding@nvidia.com>
Tue, 29 Oct 2019 19:30:06 +0000 (20:30 +0100)
The Tegra194 EQOS controller is used as primary Ethernet interface.
Set the ethernet0 alias to reflect that.

Generic bootloader code can use this to find the primary Ethernet device
and set the MAC address, for example.

Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi

index 56c0eb0..1f8ea91 100644 (file)
@@ -8,6 +8,7 @@
        compatible = "nvidia,p2888", "nvidia,tegra194";
 
        aliases {
+               ethernet0 = "/cbb@0/ethernet@2490000";
                sdhci0 = "/cbb@0/sdhci@3460000";
                sdhci1 = "/cbb@0/sdhci@3400000";
                serial0 = &tcu;