kirkwood: switch from swconfig to dsa
[openwrt/staging/wigyori.git] / target / linux / kirkwood / patches-5.4 / 105-ea4500.patch
index 73027230296a35180f063945f7b8fcb4ad04d347..0d97ad14a2a8f157880e47af5e9377724e7fa520 100644 (file)
                };
  
                white-pulse {
-@@ -66,6 +71,17 @@
-                       gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
-               };
-       };
-+
-+      mvsw61xx@10 {
-+              compatible = "marvell,88e6171";
-+              status = "okay";
-+              reg = <0x10>;
-+
-+              mii-bus = <&mdio>;
-+              cpu-port-0 = <5>;
-+              cpu-port-1 = <6>;
-+              is-indirect;
-+      };
- };
- &pinctrl {
-@@ -114,22 +130,22 @@
+@@ -114,22 +119,22 @@
                };
  
                partition@200000 {
                        reg = <0x1EA0000 0x1760000>;
                };
  
-@@ -162,6 +178,7 @@
-       status = "okay";
-       switch@10 {
-+              status = "disabled";
-               compatible = "marvell,mv88e6085";
-               #address-cells = <1>;
-               #size-cells = <0>;
-@@ -225,10 +242,14 @@
- };
- /* eth1 is connected to the switch at port 6. However DSA only supports a
-- * single CPU port. So leave this port disabled to avoid confusion.
-+ * single CPU port. Upstream uses DSA so they disable this port to avoid confusion.
-  */
- &eth1 {
--      status = "disabled";
-+      status = "okay";
-+      ethernet1-port@0 {
-+              speed = <1000>;
-+              duplex = <1>;
-+      };
- };
- /* There is no battery on the board, so the RTC does not keep