add sample swconfig portmap
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36286
This commit is contained in:
parent
fcd962cc71
commit
f1e9d30ffc
1 changed files with 26 additions and 0 deletions
|
@ -77,6 +77,32 @@
|
||||||
esw@10110000 {
|
esw@10110000 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
ralink,portmap = <0x2f>;
|
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 {
|
wmac@10180000 {
|
||||||
|
|
Loading…
Reference in a new issue