aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-04-09 14:19:20 +0000
committerJohn Crispin <blogic@openwrt.org>2013-04-09 14:19:20 +0000
commit6b65168cf84f58f9afb83780397e4d6104cc5762 (patch)
tree3c2fbfe45b233cc0fb1a10eca7f38b2f6667a211 /target/linux/ramips
parent98f2fc0ea1da8ef1e69b115c0e33c0685c1f8658 (diff)
downloadupstream-6b65168cf84f58f9afb83780397e4d6104cc5762.tar.gz
upstream-6b65168cf84f58f9afb83780397e4d6104cc5762.tar.bz2
upstream-6b65168cf84f58f9afb83780397e4d6104cc5762.zip
[ramips] add sample swconfig portmap
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36286 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/dts/FONERA20N.dts26
1 files changed, 26 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/FONERA20N.dts b/target/linux/ramips/dts/FONERA20N.dts
index b9503d91e6..817e527df8 100644
--- a/target/linux/ramips/dts/FONERA20N.dts
+++ b/target/linux/ramips/dts/FONERA20N.dts
@@ -77,6 +77,32 @@
esw@10110000 {
status = "okay";
ralink,portmap = <0x2f>;
+
+ port@0 {
+ conpatible = "swconfig,port";
+ swconfig,segment = "lan";
+ swconfig,portmap = <0 4>;
+ };
+ port@1 {
+ conpatible = "swconfig,port";
+ swconfig,segment = "lan";
+ swconfig,portmap = <1 3>;
+ };
+ port@2 {
+ conpatible = "swconfig,port";
+ swconfig,segment = "lan";
+ swconfig,portmap = <2 2>;
+ };
+ port@3 {
+ conpatible = "swconfig,port";
+ swconfig,segment = "lan";
+ swconfig,portmap = <3 1>;
+ };
+ port@4 {
+ conpatible = "swconfig,port";
+ swconfig,segment = "lan";
+ swconfig,portmap = <4 0>;
+ };
};
wmac@10180000 {