From 1fa705dbec070014358be432096aef7defc4af4a Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Thu, 30 Nov 2023 13:38:51 -0800 Subject: [PATCH] realtek: fix addresses in DT node names Mostly wrong address format, one missing address, and one spurious address suffix. Signed-off-by: Rosen Penev [amend commit message] Signed-off-by: Sander Vanheule --- .../linux/realtek/dts-5.15/rtl838x_hpe_1920.dtsi | 14 +++++++------- .../realtek/dts-5.15/rtl9302_zyxel_xgs1250-12.dts | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/target/linux/realtek/dts-5.15/rtl838x_hpe_1920.dtsi b/target/linux/realtek/dts-5.15/rtl838x_hpe_1920.dtsi index e18f61345ea38..c7b601311751c 100644 --- a/target/linux/realtek/dts-5.15/rtl838x_hpe_1920.dtsi +++ b/target/linux/realtek/dts-5.15/rtl838x_hpe_1920.dtsi @@ -50,43 +50,43 @@ read-only; }; - partition@0x60000 { + partition@60000 { label = "bootware_data"; reg = <0x60000 0x30000>; read-only; }; - partition@0x90000 { + partition@90000 { label = "bootware_extend"; reg = <0x90000 0x40000>; read-only; }; - partition@0x100000 { + partition@100000 { label = "bootware_basic_backup"; reg = <0x100000 0x50000>; read-only; }; - partition@0x160000 { + partition@160000 { label = "bootware_data_backup"; reg = <0x160000 0x30000>; read-only; }; - partition@0x190000 { + partition@190000 { label = "bootware_extend_backup"; reg = <0x190000 0x40000>; read-only; }; - partition@0x300000 { + partition@300000 { label = "firmware"; compatible = "h3c,vfs-firmware"; reg = <0x300000 0x1cf0000>; }; - partition@0x1ff0000 { + partition@1ff0000 { label = "factory"; reg = <0x1ff0000 0x10000>; read-only; diff --git a/target/linux/realtek/dts-5.15/rtl9302_zyxel_xgs1250-12.dts b/target/linux/realtek/dts-5.15/rtl9302_zyxel_xgs1250-12.dts index a9821b2cc6201..0fe8f1997ea90 100644 --- a/target/linux/realtek/dts-5.15/rtl9302_zyxel_xgs1250-12.dts +++ b/target/linux/realtek/dts-5.15/rtl9302_zyxel_xgs1250-12.dts @@ -29,7 +29,7 @@ }; /* i2c of the SFP cage: port 12 */ - i2c0: i2c-rtl9300 { + i2c0: i2c-rtl9300@1b00036c { compatible = "realtek,rtl9300-i2c"; reg = <0x1b00036c 0x3c>; #address-cells = <1>; @@ -62,7 +62,7 @@ tx-disable-gpio = <&gpio0 15 GPIO_ACTIVE_HIGH>; }; - led_set: led_set@0 { + led_set: led_set { compatible = "realtek,rtl9300-leds"; active-low;