]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
arm64: dts: imx8qxp: Add ethernet alias
authorPeng Fan <peng.fan@nxp.com>
Tue, 23 Jun 2020 06:49:54 +0000 (14:49 +0800)
committerShawn Guo <shawnguo@kernel.org>
Tue, 23 Jun 2020 11:06:59 +0000 (19:06 +0800)
Add ethernet alias, so bootloader code can use this to find the
primary ethernet device, and set the MAC address.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8qxp.dtsi

index 3b2fada99c090334393d60000234fb3c89d1b671..e46faac1fe71fe8c8777110418703285840fd42b 100644 (file)
@@ -19,6 +19,8 @@
        #size-cells = <2>;
 
        aliases {
+               ethernet0 = &fec1;
+               ethernet1 = &fec2;
                gpio0 = &lsio_gpio0;
                gpio1 = &lsio_gpio1;
                gpio2 = &lsio_gpio2;