ARM: tegra: Mark built-in Ethernet as default on Jetson TX2
authorThierry Reding <treding@nvidia.com>
Mon, 15 Apr 2019 09:32:38 +0000 (11:32 +0200)
committerTom Warren <twarren@nvidia.com>
Wed, 5 Jun 2019 16:16:35 +0000 (09:16 -0700)
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@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/dts/tegra186-p2771-0000.dtsi

index a1319dc4936f00ff508b8f2ede12b0b00d9bd6d1..7cda0b41f74b61a84e8181352e4eb6a646113ba7 100644 (file)
@@ -9,6 +9,7 @@
        };
 
        aliases {
+               ethernet = "/ethernet@2490000";
                mmc0 = "/sdhci@3460000";
                mmc1 = "/sdhci@3400000";
                i2c0 = "/bpmp/i2c";
@@ -28,6 +29,7 @@
        ethernet@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@3160000 {