diff options
author | Dinh Nguyen <dinguyen@kernel.org> | 2018-10-09 14:14:48 -0400 |
---|---|---|
committer | Dinh Nguyen <dinguyen@kernel.org> | 2018-10-09 14:40:28 -0400 |
commit | 2a44d6511a0104e9ff628e73cf4381e5664a8219 (patch) | |
tree | 50996d7c372805aa87010468032a1ba026726066 | |
parent | 74cad26d8d156406bca4ec0045f3147de4f6f918 (diff) |
ARM: dts: socfgpa: remove ethernet aliases from dtsi
Not all boards use two ethernet devices and/or use them in different
order. As almost all in-tree boards already define their own ethernet
aliases, remove them from the dtsi and add the aliases to the two boards,
that are missing their own definition.
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
[dinguyen@kernel.org: rebased to latest dts changes]
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
-rw-r--r-- | arch/arm/boot/dts/socfpga.dtsi | 2 | ||||
-rw-r--r-- | arch/arm/boot/dts/socfpga_cyclone5_socrates.dts | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/socfpga.dtsi b/arch/arm/boot/dts/socfpga.dtsi index b3ff5a86efdb..2d300396f0ed 100644 --- a/arch/arm/boot/dts/socfpga.dtsi +++ b/arch/arm/boot/dts/socfpga.dtsi | |||
@@ -22,8 +22,6 @@ | |||
22 | #size-cells = <1>; | 22 | #size-cells = <1>; |
23 | 23 | ||
24 | aliases { | 24 | aliases { |
25 | ethernet0 = &gmac0; | ||
26 | ethernet1 = &gmac1; | ||
27 | serial0 = &uart0; | 25 | serial0 = &uart0; |
28 | serial1 = &uart1; | 26 | serial1 = &uart1; |
29 | timer0 = &timer0; | 27 | timer0 = &timer0; |
diff --git a/arch/arm/boot/dts/socfpga_cyclone5_socrates.dts b/arch/arm/boot/dts/socfpga_cyclone5_socrates.dts index 6f5255a7d192..031c721441ff 100644 --- a/arch/arm/boot/dts/socfpga_cyclone5_socrates.dts +++ b/arch/arm/boot/dts/socfpga_cyclone5_socrates.dts | |||
@@ -21,6 +21,10 @@ | |||
21 | model = "EBV SOCrates"; | 21 | model = "EBV SOCrates"; |
22 | compatible = "ebv,socrates", "altr,socfpga-cyclone5", "altr,socfpga"; | 22 | compatible = "ebv,socrates", "altr,socfpga-cyclone5", "altr,socfpga"; |
23 | 23 | ||
24 | aliases { | ||
25 | ethernet0 = &gmac1; | ||
26 | }; | ||
27 | |||
24 | chosen { | 28 | chosen { |
25 | bootargs = "earlyprintk"; | 29 | bootargs = "earlyprintk"; |
26 | stdout-path = "serial0:115200n8"; | 30 | stdout-path = "serial0:115200n8"; |