Skip to contentSkip to conversation

arm: dts: imx943-evk: Add label for gpio expander devices

PATCH In review [email protected] 2 participants 2 messages Jun 18

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: dts: imx943-evk: Add label for gpio expander devices

From: Ye Li <[email protected]>

Because the i2c address of some gpio expander devices are same, so in dts they have same node name which lead to same gpio device name. Users can't get the GPIO through GPIO API or GPIO command. Add the label to each gpio expander node, hence give unique name.

---
 arch/arm/dts/imx943-evk-u-boot.dtsi | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
arch/arm/dts/imx943-evk-u-boot.dtsi +28 -0
index 3b3619d2232..635a3042fdd 100644
@@ -272,3 +272,31 @@
 &pinctrl_usdhc2_gpio {
 	bootph-pre-ram;
 };
+
+&pcal6416_i2c3_u46 {
+	label = "u46";
+};
+
+&pcal6416_i2c3_u171 {
+	label = "u171";
+};
+
+&pcal6416_i2c3_u48 {
+	label = "u48";
+};
+
+&pcal6408_i2c3_u172 {
+	label = "u172";
+};
+
+&pcal6416_i2c6_u50 {
+	label = "u50";
+};
+
+&pcal6408_i2c6_u170 {
+	label = "u170";
+};
+
+&pcal6416_i2c6_u44 {
+	label = "u44";
+};
Signature · 1 line
2.34.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 lines · On Thu, Jun 18, 2026 at 09:19:36AM +0800, [email protected] wrote:

From: Ye Li <[email protected]>

Because the i2c address of some gpio expander devices are same, so in dts they have same node name which lead to same gpio device name. Users can't get the GPIO through GPIO API or GPIO command. Add the label to each gpio expander node, hence give unique name.