From: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Sun, 28 Aug 2022 23:04:08 +0000 (-0500)
Subject: realtek: tl-sg2008p: use correct i2c address for TPS23861
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=f242f642bbdc1b753514671858fe2981ec3d7ba3;p=openwrt%2Fstaging%2Frobimarko.git

realtek: tl-sg2008p: use correct i2c address for TPS23861

Address 0x30 is a "broadcast" address for the TPS23861. It should not
be used by drivers, as all TPS23861 devices on the bus are supposed to
respond. Change this to the correct address, 0x28.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
---

diff --git a/target/linux/realtek/dts-5.10/rtl8380_tplink_sg2008p-v1.dts b/target/linux/realtek/dts-5.10/rtl8380_tplink_sg2008p-v1.dts
index 2cce03bde1..34b3d0456b 100644
--- a/target/linux/realtek/dts-5.10/rtl8380_tplink_sg2008p-v1.dts
+++ b/target/linux/realtek/dts-5.10/rtl8380_tplink_sg2008p-v1.dts
@@ -53,9 +53,9 @@
 		#address-cells = <1>;
 		#size-cells = <0>;
 
-		tps23861@30 {
+		tps23861@28 {
 			compatible = "ti,tps23861";
-			reg = <0x30>;
+			reg = <0x28>;
 			shunt-resistor-micro-ohms = <255000>;
 		};
 	};