arm: dts: adi: rename GPIO expanders

The current naming convention for GPIO expanders across ADI SC5xx
device trees is inconsistent. This patch updates the node names to
correct indexing and clarify hardware location.

For SC573, SC584, and SC589 evaluation SBCs, switch to zero-based
indexing to align with standard conventions.

For SC594 and SC598 SoM + carrier evaluation kits, rename the nodes to
crr_gpio_expander. This prefix indicates which board the expander is on.

Signed-off-by: Ozan Durgut <ozan.durgut@analog.com>
Reviewed-by: Greg Malysa <malysagreg@gmail.com>
This commit is contained in:
Ozan Durgut 2026-01-26 17:15:04 +01:00 committed by Tom Rini
parent 89a197e7e3
commit 9a49dcf6ab
7 changed files with 10 additions and 10 deletions

View File

@ -14,7 +14,7 @@
};
&i2c0 {
gpio_expander1: mcp23017@21 {
gpio_expander0: mcp23017@21 {
compatible = "microchip,mcp23017";
reg = <0x21>;
gpio-controller;
@ -118,7 +118,7 @@
};
};
gpio_expander2: mcp23017@22 {
gpio_expander1: mcp23017@22 {
compatible = "microchip,mcp23017";
reg = <0x22>;
gpio-controller;

View File

@ -13,7 +13,7 @@
};
&i2c2 {
gpio_expander1: mcp23017@21 {
gpio_expander0: mcp23017@21 {
compatible = "microchip,mcp23017";
reg = <0x21>;
gpio-controller;
@ -125,7 +125,7 @@
};
};
gpio_expander2: mcp23017@22 {
gpio_expander1: mcp23017@22 {
compatible = "microchip,mcp23017";
reg = <0x22>;
gpio-controller;

View File

@ -17,7 +17,7 @@
&i2c0 {
#address-cells = <1>;
#size-cells = <0>;
gpio_expander1: mcp23017@21 {
gpio_expander0: mcp23017@21 {
compatible = "microchip,mcp23017";
reg = <0x21>;
gpio-controller;
@ -145,7 +145,7 @@
};
};
gpio_expander2: mcp23017@22 {
gpio_expander1: mcp23017@22 {
compatible = "microchip,mcp23017";
reg = <0x22>;
gpio-controller;

View File

@ -13,7 +13,7 @@
};
&i2c2 {
gpio_expander2: mcp23017@22 {
crr_gpio_expander: mcp23017@22 {
compatible = "microchip,mcp23017";
reg = <0x22>;
gpio-controller;

View File

@ -13,7 +13,7 @@
};
&i2c2 {
gpio_expander: adp5588@30 {
crr_gpio_expander: adp5588@30 {
compatible = "adi,adp5588";
reg = <0x30>;
gpio-controller;

View File

@ -13,7 +13,7 @@
};
&i2c2 {
gpio_expander2: mcp23017@22 {
crr_gpio_expander: mcp23017@22 {
compatible = "microchip,mcp23017";
reg = <0x22>;
gpio-controller;

View File

@ -13,7 +13,7 @@
};
&i2c2 {
gpio_expander: adp5588@30 {
crr_gpio_expander: adp5588@30 {
compatible = "adi,adp5588";
reg = <0x30>;
gpio-controller;