[RFC v1 02/14] arm64: dts: mediatek: mt7988: add labels for i2c nodes

Frank Wunderlich linux at fw-web.de
Tue Oct 29 03:39:21 PDT 2024


From: Frank Wunderlich <frank-w at public-files.de>

Add Labels to allow easier referencing in dtsi and board dts.

Signed-off-by: Frank Wunderlich <frank-w at public-files.de>
---
 arch/arm64/boot/dts/mediatek/mt7988a.dtsi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm64/boot/dts/mediatek/mt7988a.dtsi b/arch/arm64/boot/dts/mediatek/mt7988a.dtsi
index 5b93c2c843e0..0aa789da5592 100644
--- a/arch/arm64/boot/dts/mediatek/mt7988a.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt7988a.dtsi
@@ -211,7 +211,7 @@ serial at 11000200 {
 			status = "disabled";
 		};
 
-		i2c at 11003000 {
+		i2c0: i2c at 11003000 {
 			compatible = "mediatek,mt7981-i2c";
 			reg = <0 0x11003000 0 0x1000>,
 			      <0 0x10217080 0 0x80>;
@@ -224,7 +224,7 @@ i2c at 11003000 {
 			status = "disabled";
 		};
 
-		i2c at 11004000 {
+		i2c1: i2c at 11004000 {
 			compatible = "mediatek,mt7981-i2c";
 			reg = <0 0x11004000 0 0x1000>,
 			      <0 0x10217100 0 0x80>;
@@ -237,7 +237,7 @@ i2c at 11004000 {
 			status = "disabled";
 		};
 
-		i2c at 11005000 {
+		i2c2: i2c at 11005000 {
 			compatible = "mediatek,mt7981-i2c";
 			reg = <0 0x11005000 0 0x1000>,
 			      <0 0x10217180 0 0x80>;
-- 
2.43.0




More information about the Linux-mediatek mailing list