summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2020-06-11 03:34:33 +0200
committerJoel Stanley <joel@jms.id.au>2020-11-19 13:01:18 +0100
commit2ba56f464f0c1a7264160f8675063b3df92e7966 (patch)
treed1183bb50e2e3f53b6ad31198277946ec2b6c858 /arch/arm/boot
parentARM: dts: aspeed: rainier: Don't shout addresses (diff)
downloadlinux-2ba56f464f0c1a7264160f8675063b3df92e7966.tar.xz
linux-2ba56f464f0c1a7264160f8675063b3df92e7966.zip
ARM: dts: aspeed: ast2600evb: Add MAC0
MAC0 was not functional in the AST2600A0 SoC. This has been resolved with the A1, so allow use of this port on EVBs with the A1 and subsequent revisions. A0 EVBs will still boot with this change, but the first Ethernet device will not be functional. Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r--arch/arm/boot/dts/aspeed-ast2600-evb.dts20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/aspeed-ast2600-evb.dts b/arch/arm/boot/dts/aspeed-ast2600-evb.dts
index 8d0f4656aa05..89be13197780 100644
--- a/arch/arm/boot/dts/aspeed-ast2600-evb.dts
+++ b/arch/arm/boot/dts/aspeed-ast2600-evb.dts
@@ -23,6 +23,15 @@
};
};
+&mdio0 {
+ status = "okay";
+
+ ethphy0: ethernet-phy@0 {
+ compatible = "ethernet-phy-ieee802.3-c22";
+ reg = <0>;
+ };
+};
+
&mdio1 {
status = "okay";
@@ -50,6 +59,17 @@
};
};
+&mac0 {
+ status = "okay";
+
+ phy-mode = "rgmii";
+ phy-handle = <&ethphy0>;
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_rgmii1_default>;
+};
+
+
&mac1 {
status = "okay";