aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/FONERA20N.dts
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2018-07-21 23:00:20 +0200
committerMathias Kresin <dev@kresin.me>2018-08-04 08:39:35 +0200
commit53624c1702e6aad5b3e5e442c064dd30f81db2e4 (patch)
treed023dc60c4604ad028a6ae98c6eeb4bb91c849d9 /target/linux/ramips/dts/FONERA20N.dts
parent6384e0d16a91cdfa1f7afc73268d9485dda8065b (diff)
downloadupstream-53624c1702e6aad5b3e5e442c064dd30f81db2e4.tar.gz
upstream-53624c1702e6aad5b3e5e442c064dd30f81db2e4.tar.bz2
upstream-53624c1702e6aad5b3e5e442c064dd30f81db2e4.zip
ramips: fix dtc warnings
Fix individual boards dtc warnings or obvious mistakes. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/dts/FONERA20N.dts')
-rw-r--r--target/linux/ramips/dts/FONERA20N.dts10
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>;
};