[openwrt/openwrt] realtek: dts: fix Zyxel GS1920 port section

LEDE Commits lede-commits at lists.infradead.org
Thu Jan 15 06:22:44 PST 2026


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/d891c747fceddcecda773374fbed0d5d30edfb31

commit d891c747fceddcecda773374fbed0d5d30edfb31
Author: Markus Stockhausen <markus.stockhausen at gmx.de>
AuthorDate: Wed Jan 14 07:41:34 2026 +0100

    realtek: dts: fix Zyxel GS1920 port section
    
    For the GS1920 the build system throws errors like
    
    ../dts/rtl8392_zyxel_gs1920-24hp-v1.dts:256.19-29:
    Warning (reg_format): /switch at 1b000000/ports/port at 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 at gmx.de>
    Link: https://github.com/openwrt/openwrt/pull/21534
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 target/linux/realtek/dts/rtl8392_zyxel_gs1920-24hp-v1.dts | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/target/linux/realtek/dts/rtl8392_zyxel_gs1920-24hp-v1.dts b/target/linux/realtek/dts/rtl8392_zyxel_gs1920-24hp-v1.dts
index 813f3e1571..8df43cea60 100644
--- a/target/linux/realtek/dts/rtl8392_zyxel_gs1920-24hp-v1.dts
+++ b/target/linux/realtek/dts/rtl8392_zyxel_gs1920-24hp-v1.dts
@@ -253,6 +253,9 @@
 
 &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)




More information about the lede-commits mailing list