Skip to contentSkip to conversation

arm: dts: sc5xx: device tree updates and fixes

PATCH In review [email protected] 3 participants 8 messages Jan 26 – Feb 4 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

cover arm: dts: sc5xx: device tree updates and fixes

From: Ozan Durgut <[email protected]>

This series introduces updates for Analog Devices SC5xx boards.

It cleans up device trees by renaming GPIO expanders and removing incorrect SPI flash definitions from the common include file.

For the SC598, this series updates the EZLITE board to the latest Revision E hardware. It also adds missing GPIO hogs and enables additional commands for the EZKIT configuration.

Ozan Durgut (4):
configs: sc598-ezkit: enable additional commands
arm: dts: sc598: add missing GPIO hogs for Rev D
arm: dts: adi: rename GPIO expanders
arm: dts: sc598: update EZLITE to latest revision

Philip Molloy (1):
arm: dts: sc5xx: drop SPI flash from common dtsi

 arch/arm/dts/sc573-ezkit.dts          |  4 ++--
 arch/arm/dts/sc584-ezkit.dts          |  4 ++--
 arch/arm/dts/sc589-ezkit.dts          |  4 ++--
 arch/arm/dts/sc594-som-ezkit.dts      |  2 +-
 arch/arm/dts/sc594-som-ezlite.dts     |  2 +-
 arch/arm/dts/sc598-som-ezkit.dts      |  2 +-
 arch/arm/dts/sc598-som-ezlite.dts     |  4 ++--
 arch/arm/dts/sc598-som-revD.dtsi      | 32 +++++++++++++++++++++++++++
 arch/arm/dts/sc5xx.dtsi               | 11 ---------
 configs/sc598-som-ezkit-spl_defconfig |  4 ++++
 10 files changed, 47 insertions(+), 22 deletions(-)
Signature · 1 line
2.43.0
#1 lore raw

PATCH 1/5 configs: sc598-ezkit: enable additional commands

From: Ozan Durgut <[email protected]>

Enable FAT and GPT support, as well as mtd and wget commands

---
 configs/sc598-som-ezkit-spl_defconfig | 4 ++++
 1 file changed, 4 insertions(+)
configs/sc598-som-ezkit-spl_defconfig +4 -0
index 567faadefa9..498af6d2052 100644
@@ -109,3 +109,7 @@ CONFIG_USB_DWC2=y
 CONFIG_USB_STORAGE=y
 # CONFIG_SPL_CRC8 is not set
 # CONFIG_TOOLS_MKEFICAPSULE is not set
+CONFIG_CMD_FAT=y
+CONFIG_CMD_GPT=y
+CONFIG_CMD_MTD=y
+CONFIG_CMD_WGET=y
Signature · 1 line
2.43.0
#2 lore raw

PATCH 2/5 arm: dts: sc598: add missing GPIO hogs for Rev D

In reply to [email protected]

From: Ozan Durgut <[email protected]>

Add missing GPIO hogs for UART0 enable, UART0 flow control, SD Card and eMMC control signals.

Fixes c9e893d ("board: adi: Add support for SC598")
---
 arch/arm/dts/sc598-som-revD.dtsi | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
arch/arm/dts/sc598-som-revD.dtsi +32 -0
index bf1ef88cb58..26e272966ff 100644
@@ -55,6 +55,38 @@
 			line-name = "spi2flash-cs";
 			bootph-pre-ram;
 		};
+
+		uart0 {
+			gpio-hog;
+			gpios = <5 GPIO_ACTIVE_LOW>;
+			output-high;
+			line-name = "uart0-en";
+			bootph-pre-ram;
+		};
+
+		uart0-flow-en {
+			gpio-hog;
+			gpios = <6 GPIO_ACTIVE_LOW>;
+			output-low;
+			line-name = "uart0-flow-en";
+			bootph-pre-ram;
+		};
+
+		som-emmc {
+			gpio-hog;
+			gpios = <8 GPIO_ACTIVE_LOW>;
+			output-high;
+			line-name = "som-emmc-en";
+			bootph-pre-ram;
+		};
+
+		crr-sdcard {
+			gpio-hog;
+			gpios = <9 GPIO_ACTIVE_LOW>;
+			output-low;
+			line-name = "crr-sdcard-en";
+			bootph-pre-ram;
+		};
 	};
 };
 
Signature · 1 line
2.43.0
#3 lore raw

PATCH 3/5 arm: dts: sc5xx: drop SPI flash from common dtsi

In reply to [email protected]

From: Philip Molloy <[email protected]>

SPI flash devices are not common across all SC5xx boards. They already defined in the SoM-specific dtsi files. Keeping the definition in the common dtsi is therefore incorrect.

Fixes c9e893d ("board: adi: Add support for SC598")
---
 arch/arm/dts/sc5xx.dtsi | 11 -----------
 1 file changed, 11 deletions(-)
arch/arm/dts/sc5xx.dtsi +0 -11
index 483661d0b1b..9d346ae62e0 100644
@@ -154,17 +154,6 @@
 			clock-names = "spi";
 			status = "okay";
 			bootph-pre-ram;
-
-			flash1: is25lp512@1 {
-				#address-cells = <1>;
-				#size-cells = <1>;
-				compatible = "jedec,spi-nor", "is25lp512";
-				reg = <1>;
-				spi-tx-bus-width = <4>;
-				spi-rx-bus-width = <4>;
-				spi-max-frequency = <10000000>;
-				bootph-pre-ram;
-			};
 		};
 
 		wdog: watchdog@31008000 {
Signature · 1 line
2.43.0
#4 lore raw

PATCH 4/5 arm: dts: adi: rename GPIO expanders

In reply to [email protected]

From: Ozan Durgut <[email protected]>

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.

---
 arch/arm/dts/sc573-ezkit.dts      | 4 ++--
 arch/arm/dts/sc584-ezkit.dts      | 4 ++--
 arch/arm/dts/sc589-ezkit.dts      | 4 ++--
 arch/arm/dts/sc594-som-ezkit.dts  | 2 +-
 arch/arm/dts/sc594-som-ezlite.dts | 2 +-
 arch/arm/dts/sc598-som-ezkit.dts  | 2 +-
 arch/arm/dts/sc598-som-ezlite.dts | 2 +-
 7 files changed, 10 insertions(+), 10 deletions(-)
arch/arm/dts/sc573-ezkit.dts +2 -2
index a848d55be62..4a3d1ed5c56 100644
@@ -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;
arch/arm/dts/sc584-ezkit.dts +2 -2
index e9f4e1da383..176faa50672 100644
@@ -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;
arch/arm/dts/sc589-ezkit.dts +2 -2
index 39ac7a4fd6e..d8eb5b6f8fe 100644
@@ -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;
arch/arm/dts/sc594-som-ezkit.dts +1 -1
index c8a01fba527..afc16df577a 100644
@@ -13,7 +13,7 @@
 };
 
 &i2c2 {
-	gpio_expander2: mcp23017@22 {
+	crr_gpio_expander: mcp23017@22 {
 		compatible = "microchip,mcp23017";
 		reg = <0x22>;
 		gpio-controller;
arch/arm/dts/sc594-som-ezlite.dts +1 -1
index 970d3b1a377..ab6f94352fc 100644
@@ -13,7 +13,7 @@
 };
 
 &i2c2 {
-	gpio_expander: adp5588@30 {
+	crr_gpio_expander: adp5588@30 {
 		compatible = "adi,adp5588";
 		reg = <0x30>;
 		gpio-controller;
arch/arm/dts/sc598-som-ezkit.dts +1 -1
index 36ea66714cb..493d2010e32 100644
@@ -13,7 +13,7 @@
 };
 
 &i2c2 {
-	gpio_expander2: mcp23017@22 {
+	crr_gpio_expander: mcp23017@22 {
 		compatible = "microchip,mcp23017";
 		reg = <0x22>;
 		gpio-controller;
arch/arm/dts/sc598-som-ezlite.dts +1 -1
index 72d336a6673..179c291f34b 100644
@@ -13,7 +13,7 @@
 };
 
 &i2c2 {
-	gpio_expander: adp5588@30 {
+	crr_gpio_expander: adp5588@30 {
 		compatible = "adi,adp5588";
 		reg = <0x30>;
 		gpio-controller;
Signature · 1 line
2.43.0
#5 lore raw

PATCH 5/5 arm: dts: sc598: update EZLITE to latest revision

In reply to [email protected]

From: Ozan Durgut <[email protected]>

Update the SC598 SOM EZLITE device tree to use the latest revision of the System on Module (Rev E).

---
 arch/arm/dts/sc598-som-ezlite.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/dts/sc598-som-ezlite.dts +1 -1
index 179c291f34b..40cabd1db0d 100644
@@ -5,7 +5,7 @@
 
 /dts-v1/;
 
-#include "sc598-som-revD.dtsi"
+#include "sc598-som-revE.dtsi"
 
 / {
 	model = "ADI SC598-SOM-EZLITE";
Signature · 1 line
2.43.0
Reviewed-by on the v1 series
#6 lore raw
In reply to [email protected]

Hi Ozan and Tom,

Quoted 33 lines · On Mon, Jan 26, 2026 at 11:15 AM <[email protected]> wrote:

From: Ozan Durgut <[email protected]>

This series introduces updates for Analog Devices SC5xx boards.

It cleans up device trees by renaming GPIO expanders and removing incorrect SPI flash definitions from the common include file.

For the SC598, this series updates the EZLITE board to the latest Revision E hardware. It also adds missing GPIO hogs and enables additional commands for the EZKIT configuration.

Ozan Durgut (4):
configs: sc598-ezkit: enable additional commands
arm: dts: sc598: add missing GPIO hogs for Rev D
arm: dts: adi: rename GPIO expanders
arm: dts: sc598: update EZLITE to latest revision

Philip Molloy (1):
arm: dts: sc5xx: drop SPI flash from common dtsi

 arch/arm/dts/sc573-ezkit.dts          |  4 ++--
 arch/arm/dts/sc584-ezkit.dts          |  4 ++--
 arch/arm/dts/sc589-ezkit.dts          |  4 ++--
 arch/arm/dts/sc594-som-ezkit.dts      |  2 +-
 arch/arm/dts/sc594-som-ezlite.dts     |  2 +-
 arch/arm/dts/sc598-som-ezkit.dts      |  2 +-
 arch/arm/dts/sc598-som-ezlite.dts     |  4 ++--
 arch/arm/dts/sc598-som-revD.dtsi      | 32 +++++++++++++++++++++++++++
 arch/arm/dts/sc5xx.dtsi               | 11 ---------
 configs/sc598-som-ezkit-spl_defconfig |  4 ++++
 10 files changed, 47 insertions(+), 22 deletions(-)
Quoted 3 lines

--
2.43.0

I tried this series on top of 2026.04-rc1 and ran my usual tests against an sc573 ezkit and an sc598 rev D som + ezkit carrier board. Note that to test the rev D board I have to omit dtsi switch to rev E, but other than that everything looks good to me functionality-wise. Some commit messages could be expanded (such as adding info about why wget/fat/gpt/mtd are being enabled), but I don't see a need to resubmit just for that.

For the series,

Thanks,
Greg

#7 lore raw
In reply to [email protected]
Quoted 8 lines · On Mon, 26 Jan 2026 17:15:00 +0100, [email protected] wrote:

From: Ozan Durgut <[email protected]>

This series introduces updates for Analog Devices SC5xx boards.

It cleans up device trees by renaming GPIO expanders and removing incorrect SPI flash definitions from the common include file.

[...]

Applied to u-boot/master, thanks!

[1/5] configs: sc598-ezkit: enable additional commands

      commit: d9f1fcb304839a1e1c3cec91b9ec91d01e02c9c7
[2/5] arm: dts: sc598: add missing GPIO hogs for Rev D
      commit: fb4a6389314333a302b85b245eb71feb0bcbb9af
[3/5] arm: dts: sc5xx: drop SPI flash from common dtsi
      commit: 89a197e7e34d7148ed3f9eda5d684d7e5e673c69
[4/5] arm: dts: adi: rename GPIO expanders
      commit: 9a49dcf6ab71b5fffa106554ca22a73122cdd275
[5/5] arm: dts: sc598: update EZLITE to latest revision
      commit: d047a99d08d83535020173268439b7793c2f3f27
Signature · 1 line
Tom