diff options
author | Jae Hyun Yoo <jae.hyun.yoo@intel.com> | 2018-10-03 20:17:58 +0300 |
---|---|---|
committer | Jae Hyun Yoo <jae.hyun.yoo@linux.intel.com> | 2021-11-05 10:22:06 +0300 |
commit | 2c140230611dc033b14e936b8916c224fb0d2bdf (patch) | |
tree | 129dd7e235694887da51420b854ac4898fe7f352 /arch | |
parent | 51181b65c8d67612ac13e291173f118707f55c62 (diff) | |
download | linux-2c140230611dc033b14e936b8916c224fb0d2bdf.tar.xz |
arm: dts: aspeed: Swap the mac nodes numbering
This patch swaps the numbering of mac0 and mac1 to make a dedicated
nic get assigned the first ethernet device number.
Signed-off-by: Jae Hyun Yoo <jae.hyun.yoo@intel.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boot/dts/aspeed-g4.dtsi | 16 | ||||
-rw-r--r-- | arch/arm/boot/dts/aspeed-g5.dtsi | 16 |
2 files changed, 16 insertions, 16 deletions
diff --git a/arch/arm/boot/dts/aspeed-g4.dtsi b/arch/arm/boot/dts/aspeed-g4.dtsi index 6efd1751221f..c70b24b6b8e3 100644 --- a/arch/arm/boot/dts/aspeed-g4.dtsi +++ b/arch/arm/boot/dts/aspeed-g4.dtsi @@ -120,14 +120,6 @@ reg = <0x1e6c2000 0x80>; }; - mac0: ethernet@1e660000 { - compatible = "aspeed,ast2400-mac", "faraday,ftgmac100"; - reg = <0x1e660000 0x180>; - interrupts = <2>; - clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>; - status = "disabled"; - }; - mac1: ethernet@1e680000 { compatible = "aspeed,ast2400-mac", "faraday,ftgmac100"; reg = <0x1e680000 0x180>; @@ -136,6 +128,14 @@ status = "disabled"; }; + mac0: ethernet@1e660000 { + compatible = "aspeed,ast2400-mac", "faraday,ftgmac100"; + reg = <0x1e660000 0x180>; + interrupts = <2>; + clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>; + status = "disabled"; + }; + ehci0: usb@1e6a1000 { compatible = "aspeed,ast2400-ehci", "generic-ehci"; reg = <0x1e6a1000 0x100>; diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi index 38c25607df52..fb648d7d5a11 100644 --- a/arch/arm/boot/dts/aspeed-g5.dtsi +++ b/arch/arm/boot/dts/aspeed-g5.dtsi @@ -142,14 +142,6 @@ reg = <0x1e6c2000 0x80>; }; - mac0: ethernet@1e660000 { - compatible = "aspeed,ast2500-mac", "faraday,ftgmac100"; - reg = <0x1e660000 0x180>; - interrupts = <2>; - clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>; - status = "disabled"; - }; - mac1: ethernet@1e680000 { compatible = "aspeed,ast2500-mac", "faraday,ftgmac100"; reg = <0x1e680000 0x180>; @@ -158,6 +150,14 @@ status = "disabled"; }; + mac0: ethernet@1e660000 { + compatible = "aspeed,ast2500-mac", "faraday,ftgmac100"; + reg = <0x1e660000 0x180>; + interrupts = <2>; + clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>; + status = "disabled"; + }; + ehci0: usb@1e6a1000 { compatible = "aspeed,ast2500-ehci", "generic-ehci"; reg = <0x1e6a1000 0x100>; |