]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
ath79: dts: set builtin-switch for SoCs with fixed-link on eth1
authorLech Perczak <lech.perczak@gmail.com>
Sat, 28 May 2022 20:41:26 +0000 (22:41 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 25 May 2026 18:24:42 +0000 (20:24 +0200)
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>
target/linux/ath79/dts/ar7240.dtsi
target/linux/ath79/dts/ar7241.dtsi
target/linux/ath79/dts/ar7242.dtsi
target/linux/ath79/dts/ar9330.dtsi
target/linux/ath79/dts/ar934x.dtsi
target/linux/ath79/dts/qca953x.dtsi
target/linux/ath79/dts/qca956x.dtsi

index d51bd701e577ab561d97116e0c927aacf147f189..97998ae741937f6722800fdb068b172f99efa95a 100644 (file)
@@ -90,6 +90,7 @@
        reset-names = "mac";
 
        phy-mode = "gmii";
+       builtin-switch;
 
        fixed-link {
                speed = <1000>;
index 3eb0b17e79e7560c791ec0fa505af015bb39270e..1463208e53ebe8c200bcd64b5005e8ab8680dc2a 100644 (file)
@@ -94,6 +94,7 @@
        reset-names = "mac";
 
        phy-mode = "gmii";
+       builtin-switch;
 
        fixed-link {
                speed = <1000>;
index 414e967616069b68e1ec8da9899d330fcbd05676..b6c4a45f6851491082ac3b72bd17aed672613017 100644 (file)
@@ -85,6 +85,7 @@
        reset-names = "mac";
 
        phy-mode = "gmii";
+       builtin-switch;
 
        fixed-link {
                speed = <1000>;
index 71c59a1a38d083b2d56f0f71aff9d3680a40cdb6..7b064923925c3c9dc5012540abf59a40f3394476 100644 (file)
 
        pll-data = <0x00110000 0x00001099 0x00991099>;
        phy-mode = "gmii";
+       builtin-switch;
 
        resets = <&rst 13>;
        reset-names = "mac";
index 7f26c35bbef6844d043c73e39508af6625b495dc..e03550ae55b803bd1ba2e6c712a1a56749f660a3 100644 (file)
        clocks = <&pll ATH79_CLK_AHB>, <&pll ATH79_CLK_AHB>;
        clock-names = "eth", "mdio";
        phy-mode = "gmii";
+       builtin-switch;
 
        fixed-link {
                speed = <1000>;
index ca1ba6ce20412d216052c32f54a9e7876bfcf758..4c804b9c547580705d1dce2f565f31d3d8a2a6ac 100644 (file)
        reset-names = "mac";
 
        phy-mode = "gmii";
+       builtin-switch;
 
        fixed-link {
                speed = <1000>;
index 433cbafc1ae45b4edc35b2c0e1a3ae9b6647b4aa..f1b458c3f9ace3d179a3befdecea3c864ca9bae6 100644 (file)
        compatible = "qca,qca9560-eth", "syscon";
 
        phy-mode = "gmii";
+       builtin-switch;
 
        resets = <&rst 13>;
        reset-names = "mac";