UPSTREAM: arm64: dts: rockchip: Setup rk3368 ethernet0 alias for u-boot
authorHeiko Stuebner <heiko@sntech.de>
Sat, 7 Nov 2015 21:39:26 +0000 (22:39 +0100)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 28 Feb 2017 09:13:01 +0000 (17:13 +0800)
Add an ethernet0 alias for the RK3368 mac interface so
that u-boot can find the device-node and fill in the mac address on
boards that support a wired network interface.

Change-Id: I2f82939290a0807ed84a3e93f6b0eef879cce076
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
(cherry picked from commit ff08868ef0154cef01d3a50ae1f19dc968fc95f3)

arch/arm64/boot/dts/rockchip/rk3368.dtsi

index 2fc473e93a01046955f3e846c9078637d7163c45..faa290203b2cbe19a15a9f5a31991f4cb48bd019 100644 (file)
@@ -57,6 +57,7 @@
        #size-cells = <2>;
 
        aliases {
+               ethernet0 = &gmac;
                i2c0 = &i2c0;
                i2c1 = &i2c1;
                i2c2 = &i2c2;