summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2016-08-16 07:39:28 +0200
committerMathias Kresin <dev@kresin.me>2016-08-20 11:42:42 +0200
commit05912a304c1d3f31f350cd708fe4722389ec835a (patch)
tree4cb8f4464675ed9015ece525a4988c661286ee69 /target/linux
parent63857a2d6a01e7393d199b60799f44613ddb8b8b (diff)
downloadmtk-20170518-05912a304c1d3f31f350cd708fe4722389ec835a.zip
mtk-20170518-05912a304c1d3f31f350cd708fe4722389ec835a.tar.gz
mtk-20170518-05912a304c1d3f31f350cd708fe4722389ec835a.tar.bz2
ramips: rt3883: fix dtc compiler warning
Fixes the following compiler warning: Warning (reg_format): "reg" property in /ethernet@10100000/port@0 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) Warning (avoid_default_addr_size): Relying on default #address-cells value for /ethernet@10100000/port@0 Warning (avoid_default_addr_size): Relying on default #size-cells value for /ethernet@10100000/port@0 Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ramips/dts/rt3883.dtsi2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/rt3883.dtsi b/target/linux/ramips/dts/rt3883.dtsi
index 20fe7bf..64bc56b 100644
--- a/target/linux/ramips/dts/rt3883.dtsi
+++ b/target/linux/ramips/dts/rt3883.dtsi
@@ -306,6 +306,8 @@
ethernet: ethernet@10100000 {
compatible = "ralink,rt3883-eth";
+ #address-cells = <1>;
+ #size-cells = <0>;
reg = <0x10100000 0x10000>;
resets = <&rstctrl 21>;