From f242f642bbdc1b753514671858fe2981ec3d7ba3 Mon Sep 17 00:00:00 2001
From: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Sun, 28 Aug 2022 18:04:08 -0500
Subject: [PATCH] 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>
---
 target/linux/realtek/dts-5.10/rtl8380_tplink_sg2008p-v1.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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>;
 		};
 	};
-- 
2.30.2