diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2018-02-19 14:00:03 +0100 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2018-03-23 18:05:34 +0100 |
commit | 19c7ea83e9a5518753e64f5c76c067620d3ed89c (patch) | |
tree | 051f7d1d923e48e3537e84bda411eac534db9082 | |
parent | bb72dc13c361c0456aba689ea9cdaab74fe7fbd3 (diff) |
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 <stefan.agner@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
-rw-r--r-- | arch/arm/boot/dts/imx7d.dtsi | 4 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx7s.dtsi | 1 |
2 files changed, 5 insertions, 0 deletions
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; |