From 6c2dd85ba63e1177de338747a1bcd5321da589b6 Mon Sep 17 00:00:00 2001 From: blogic Date: Tue, 9 Apr 2013 14:19:20 +0000 Subject: [ramips] add sample swconfig portmap Signed-off-by: John Crispin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36286 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ramips/dts/FONERA20N.dts | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'target/linux') diff --git a/target/linux/ramips/dts/FONERA20N.dts b/target/linux/ramips/dts/FONERA20N.dts index b9503d91e..817e527df 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 { -- cgit v1.2.3