]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
realtek: dts: fix Zyxel GS1920 port section 21534/head
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Wed, 14 Jan 2026 06:41:34 +0000 (07:41 +0100)
committerRobert Marko <robimarko@gmail.com>
Thu, 15 Jan 2026 14:22:39 +0000 (15:22 +0100)
For the GS1920 the build system throws errors like

../dts/rtl8392_zyxel_gs1920-24hp-v1.dts:256.19-29:
Warning (reg_format): /switch@1b000000/ports/port@0:reg:
property has invalid length (4 bytes)
(#address-cells == 2, #size-cells == 1)

The dts misses the address and size properties for the
ports section. Fix that.

Fixes: 2a55846 ("realtek: add support for ZyXEL GS1920-24HPv1")
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/21534
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/dts/rtl8392_zyxel_gs1920-24hp-v1.dts

index 813f3e1571c84bd8c68556e26564383cbe6c01ed..8df43cea60f3c14fcaa8ec556355a8027a232178 100644 (file)
 
 &switch0 {
        ports {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
                SWITCH_PORT_SDS(0, 1, 0, qsgmii)
                SWITCH_PORT_SDS(1, 2, 0, qsgmii)
                SWITCH_PORT_SDS(2, 3, 0, qsgmii)