aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-04-09 14:19:20 +0000
committerJohn Crispin <john@openwrt.org>2013-04-09 14:19:20 +0000
commitf1e9d30ffcf6f1596cc4317121727e8c3357b424 (patch)
treeef294072f4415eb7b2f3e785846f5cb39089122a /target
parentfcd962cc71ee54afe7d966c7adb294ae6a669dcd (diff)
downloadupstream-f1e9d30ffcf6f1596cc4317121727e8c3357b424.tar.gz
upstream-f1e9d30ffcf6f1596cc4317121727e8c3357b424.tar.bz2
upstream-f1e9d30ffcf6f1596cc4317121727e8c3357b424.zip
add sample swconfig portmap
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36286
Diffstat (limited to 'target')
-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 {