From mboxrd@z Thu Jan 1 00:00:00 1970 From: baruch@tkos.co.il (Baruch Siach) Date: Tue, 23 May 2017 13:15:40 +0300 Subject: [PATCH 2/3] arm64: dts: rockchip: add ethernet alias on rk3399 In-Reply-To: <20170523095427.7421-2-heiko@sntech.de> References: <20170523095427.7421-1-heiko@sntech.de> <20170523095427.7421-2-heiko@sntech.de> Message-ID: <20170523101540.txul7g3liyylg273@tarshish> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi Heiko, On Tue, May 23, 2017 at 11:54:26AM +0200, Heiko Stuebner wrote: > This is used by bootloaders to override the mac address in the devicetree > if needed. > > Signed-off-by: Heiko Stuebner > --- > arch/arm64/boot/dts/rockchip/rk3399.dtsi | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi > index db713c67ae17..3e1b1daa0964 100644 > --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi > +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi > @@ -56,6 +56,7 @@ > #size-cells = <2>; > > aliases { > + ethernet = &gmac; Consider adding an index number. E.g., see commit 10b6c0c2e2bb8c (ARM: dts: bcm2835: add index to the ethernet alias). > i2c0 = &i2c0; > i2c1 = &i2c1; > i2c2 = &i2c2; baruch -- http://baruch.siach.name/blog/ ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -