]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: aspeed: ast2600evb: Add MAC0
authorJoel Stanley <joel@jms.id.au>
Thu, 11 Jun 2020 01:34:33 +0000 (11:04 +0930)
committerJoel Stanley <joel@jms.id.au>
Thu, 19 Nov 2020 12:01:18 +0000 (22:31 +1030)
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>
arch/arm/boot/dts/aspeed-ast2600-evb.dts

index 8d0f4656aa05c1e521a59c9eb1edda3f4f9bd635..89be1319778071b9c2fba0e875635111e21e9e3c 100644 (file)
        };
 };
 
+&mdio0 {
+       status = "okay";
+
+       ethphy0: ethernet-phy@0 {
+               compatible = "ethernet-phy-ieee802.3-c22";
+               reg = <0>;
+       };
+};
+
 &mdio1 {
        status = "okay";
 
        };
 };
 
+&mac0 {
+       status = "okay";
+
+       phy-mode = "rgmii";
+       phy-handle = <&ethphy0>;
+
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_rgmii1_default>;
+};
+
+
 &mac1 {
        status = "okay";