Author: luka
Date: 2015-01-18 17:45:01 +0100 (Sun, 18 Jan 2015)
New Revision: 44036

Modified:
   trunk/target/linux/kirkwood/base-files/etc/uci-defaults/02_network
   trunk/target/linux/kirkwood/patches-3.14/170-ea3500.patch
   trunk/target/linux/kirkwood/patches-3.18/170-ea3500.patch
Log:
kirkwood: enable switch on Linksys EA3500

Signed-off-by: Claudio Leite <[email protected]>

Modified: trunk/target/linux/kirkwood/base-files/etc/uci-defaults/02_network
===================================================================
--- trunk/target/linux/kirkwood/base-files/etc/uci-defaults/02_network  
2015-01-18 16:42:42 UTC (rev 44035)
+++ trunk/target/linux/kirkwood/base-files/etc/uci-defaults/02_network  
2015-01-18 16:45:01 UTC (rev 44036)
@@ -55,6 +55,9 @@
        ;;
 "ea3500")
        ucidef_set_interfaces_lan_wan "eth0" "eth1"
+       ucidef_add_switch "switch0" "1" "0"
+       add_port_based_vlan "switch0" "1" "0 1 2 3 5"
+       add_port_based_vlan "switch0" "2" "4 6"
        ;;
 "ea4500")
        ucidef_set_interfaces_lan_wan "eth0" "eth1"

Modified: trunk/target/linux/kirkwood/patches-3.14/170-ea3500.patch
===================================================================
--- trunk/target/linux/kirkwood/patches-3.14/170-ea3500.patch   2015-01-18 
16:42:42 UTC (rev 44035)
+++ trunk/target/linux/kirkwood/patches-3.14/170-ea3500.patch   2015-01-18 
16:45:01 UTC (rev 44036)
@@ -10,7 +10,7 @@
        kirkwood-guruplug-server-plus.dtb \
 --- /dev/null
 +++ b/arch/arm/boot/dts/kirkwood-ea3500.dts
-@@ -0,0 +1,149 @@
+@@ -0,0 +1,160 @@
 +/*
 + * kirkwood-ea3500.dts - Device Tree file for Linksys EA3500
 + *
@@ -112,6 +112,17 @@
 +                      gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
 +              };
 +      };
++
++      mvsw61xx {
++              compatible = "marvell,88e6171";
++              status = "okay";
++              reg = <0x10>;
++
++              mii-bus = <&mdio>;
++              cpu-port-0 = <5>;
++              cpu-port-1 = <6>;
++              is-indirect;
++      };
 +};
 +
 +&nand {

Modified: trunk/target/linux/kirkwood/patches-3.18/170-ea3500.patch
===================================================================
--- trunk/target/linux/kirkwood/patches-3.18/170-ea3500.patch   2015-01-18 
16:42:42 UTC (rev 44035)
+++ trunk/target/linux/kirkwood/patches-3.18/170-ea3500.patch   2015-01-18 
16:45:01 UTC (rev 44036)
@@ -10,7 +10,7 @@
        kirkwood-guruplug-server-plus.dtb \
 --- /dev/null
 +++ b/arch/arm/boot/dts/kirkwood-ea3500.dts
-@@ -0,0 +1,149 @@
+@@ -0,0 +1,160 @@
 +/*
 + * kirkwood-ea3500.dts - Device Tree file for Linksys EA3500
 + *
@@ -112,6 +112,17 @@
 +                      gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
 +              };
 +      };
++
++      mvsw61xx {
++              compatible = "marvell,88e6171";
++              status = "okay";
++              reg = <0x10>;
++
++              mii-bus = <&mdio>;
++              cpu-port-0 = <5>;
++              cpu-port-1 = <6>;
++              is-indirect;
++      };
 +};
 +
 +&nand {
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to