From 19c7ea83e9a5518753e64f5c76c067620d3ed89c Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Mon, 19 Feb 2018 14:00:03 +0100 Subject: ARM: dts: imx7: add alias for Ethernet controllers Add alias for Ethernet controllers. This allows code to determine id of controllers using of_alias_get_id. Signed-off-by: Stefan Agner Acked-by: Max Krummenacher --- arch/arm/boot/dts/imx7d.dtsi | 4 ++++ arch/arm/boot/dts/imx7s.dtsi | 1 + 2 files changed, 5 insertions(+) (limited to 'arch') diff --git a/arch/arm/boot/dts/imx7d.dtsi b/arch/arm/boot/dts/imx7d.dtsi index 2033f88eb4cd..6a13ab01c7e3 100644 --- a/arch/arm/boot/dts/imx7d.dtsi +++ b/arch/arm/boot/dts/imx7d.dtsi @@ -45,6 +45,10 @@ #include "imx7s.dtsi" / { + aliases { + ethernet1 = &fec2; + }; + cpus { cpu0: cpu@0 { operating-points = < diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arch/arm/boot/dts/imx7s.dtsi index ff8367f04b14..986677a23738 100644 --- a/arch/arm/boot/dts/imx7s.dtsi +++ b/arch/arm/boot/dts/imx7s.dtsi @@ -51,6 +51,7 @@ / { aliases { + ethernet0 = &fec1; gpio0 = &gpio1; gpio1 = &gpio2; gpio2 = &gpio3; -- cgit v1.2.3