ath79: dts: set builtin-switch for SoCs with fixed-link on eth1

Introduce the property from previous commit on the SoCs which use a
fixed 1000FD link to their internal switch. This way, devices which have
a single port attached through it can drop the "fixed-link" node if
needed, and attach proper phy-handle provided by built-in switch to
the port, to report link status information on userspace.

AR7100 is skipped intentionally, because its connection to built-in
switch isn't a fixed-link.

Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/9971
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Lech Perczak
2022-05-28 22:41:26 +02:00
committed by Hauke Mehrtens
parent c7b04769a7
commit e6e71b99c1
7 changed files with 7 additions and 0 deletions
+1
View File
@@ -90,6 +90,7 @@
reset-names = "mac";
phy-mode = "gmii";
builtin-switch;
fixed-link {
speed = <1000>;
+1
View File
@@ -94,6 +94,7 @@
reset-names = "mac";
phy-mode = "gmii";
builtin-switch;
fixed-link {
speed = <1000>;
+1
View File
@@ -85,6 +85,7 @@
reset-names = "mac";
phy-mode = "gmii";
builtin-switch;
fixed-link {
speed = <1000>;
+1
View File
@@ -221,6 +221,7 @@
pll-data = <0x00110000 0x00001099 0x00991099>;
phy-mode = "gmii";
builtin-switch;
resets = <&rst 13>;
reset-names = "mac";
+1
View File
@@ -283,6 +283,7 @@
clocks = <&pll ATH79_CLK_AHB>, <&pll ATH79_CLK_AHB>;
clock-names = "eth", "mdio";
phy-mode = "gmii";
builtin-switch;
fixed-link {
speed = <1000>;
+1
View File
@@ -283,6 +283,7 @@
reset-names = "mac";
phy-mode = "gmii";
builtin-switch;
fixed-link {
speed = <1000>;
+1
View File
@@ -324,6 +324,7 @@
compatible = "qca,qca9560-eth", "syscon";
phy-mode = "gmii";
builtin-switch;
resets = <&rst 13>;
reset-names = "mac";