Browse Source

realtek: fix addresses in DT node names

Mostly wrong address format, one missing address, and one spurious
address suffix.

Signed-off-by: Rosen Penev <[email protected]>
[amend commit message]
Signed-off-by: Sander Vanheule <[email protected]>
Rosen Penev 1 year ago
parent
commit
1fa705dbec

+ 7 - 7
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;

+ 2 - 2
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;