mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-10-19 05:58:53 +02:00
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>
This commit is contained in:
parent
63857a2d6a
commit
05912a304c
@ -306,6 +306,8 @@
|
|||||||
|
|
||||||
ethernet: ethernet@10100000 {
|
ethernet: ethernet@10100000 {
|
||||||
compatible = "ralink,rt3883-eth";
|
compatible = "ralink,rt3883-eth";
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
reg = <0x10100000 0x10000>;
|
reg = <0x10100000 0x10000>;
|
||||||
|
|
||||||
resets = <&rstctrl 21>;
|
resets = <&rstctrl 21>;
|
||||||
|
Loading…
Reference in New Issue
Block a user