aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2020-06-23 14:49:54 +0800
committerShawn Guo <shawnguo@kernel.org>2020-06-23 19:06:59 +0800
commit3c8f8d8f6b28ffea1aa69ee222bfd232fdffd93b (patch)
tree2a40a0026ce5bf4561472507ec299b03d9cf1367
parentarm64: dts: imx8qxp: add i2c aliases (diff)
downloadlinux-dev-3c8f8d8f6b28ffea1aa69ee222bfd232fdffd93b.tar.xz
linux-dev-3c8f8d8f6b28ffea1aa69ee222bfd232fdffd93b.zip
arm64: dts: imx8qxp: Add ethernet alias
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>
-rw-r--r--arch/arm64/boot/dts/freescale/imx8qxp.dtsi2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
index 3b2fada99c09..e46faac1fe71 100644
--- a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
@@ -19,6 +19,8 @@
#size-cells = <2>;
aliases {
+ ethernet0 = &fec1;
+ ethernet1 = &fec2;
gpio0 = &lsio_gpio0;
gpio1 = &lsio_gpio1;
gpio2 = &lsio_gpio2;