mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2025-12-10 07:34:40 +01:00
qualcommax: ipq50xx: fix qca8337 dtc warnings
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
Add missing address-cells and size-cells properties under the switch's ports node to fix a multitude of below build warnings: Warning (reg_format): /soc@0/mdio@90000/ethernet-switch@11/ports/port@1:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) Warning (avoid_default_addr_size): /soc@0/mdio@90000/ethernet-switch@11/ports/port@1: Relying on default #address-cells value Signed-off-by: George Moussalem <george.moussalem@outlook.com> Link: https://github.com/openwrt/openwrt/pull/20982 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
3bbb4f6ce7
commit
9323ed52d0
1 changed files with 3 additions and 0 deletions
|
|
@ -393,6 +393,9 @@
|
|||
reg = <17>;
|
||||
|
||||
ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
port@1 {
|
||||
reg = <1>;
|
||||
label = "lan1";
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue