diff options
Diffstat (limited to 'target/linux/ramips/dts/FONERA20N.dts')
-rw-r--r-- | target/linux/ramips/dts/FONERA20N.dts | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/FONERA20N.dts b/target/linux/ramips/dts/FONERA20N.dts index be66cfa72c..68cd7f3743 100644 --- a/target/linux/ramips/dts/FONERA20N.dts +++ b/target/linux/ramips/dts/FONERA20N.dts @@ -66,8 +66,6 @@ gpio-keys-polled { compatible = "gpio-keys-polled"; - #address-cells = <1>; - #size-cells = <0>; poll-interval = <20>; reset { @@ -99,34 +97,42 @@ }; &esw { + #address-cells = <1>; + #size-cells = <0>; + mediatek,portmap = <0x2f>; port@0 { compatible = "swconfig,port"; + reg = <0>; swconfig,segment = "lan"; swconfig,portmap = <0 4>; }; port@1 { compatible = "swconfig,port"; + reg = <1>; swconfig,segment = "lan"; swconfig,portmap = <1 3>; }; port@2 { compatible = "swconfig,port"; + reg = <2>; swconfig,segment = "lan"; swconfig,portmap = <2 2>; }; port@3 { compatible = "swconfig,port"; + reg = <3>; swconfig,segment = "lan"; swconfig,portmap = <3 1>; }; port@4 { compatible = "swconfig,port"; + reg = <4>; swconfig,segment = "wan"; swconfig,portmap = <4 0>; }; |