Skip to contentSkip to conversation

arm64: Add AN7583 DTSI

PATCH Superseded Christian Marangi 3 participants 10 messages Sep 25, 2025 – Sep 29, 2025

Subsystems (6)

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

Christian Marangi

author maintainer
#0 lore raw

v3 cover arm64: Add AN7583 DTSI

Simple series to add initial AN7583 DTSI. More node will be included as they will be supported.

Changes v3:
- Fix typo EN7583 -> AN7583
- Add specific compatible for watchdog and crypto engine Changes v2:
- Fix DTB BOT warning (fix crypto compatible and OPP node name)

Christian Marangi (4):
dt-bindings: crypto: Add support for Airoha AN7583 SoC
dt-bindings: watchdog: airoha: Add support for Airoha AN7583 SoC
dt-bindings: arm64: dts: airoha: Add AN7583 compatible
arm64: dts: Add Airoha AN7583 SoC and AN7583 Evaluation Board

 .../devicetree/bindings/arm/airoha.yaml       |   4 +
 .../crypto/inside-secure,safexcel-eip93.yaml  |   4 +
 .../bindings/watchdog/airoha,en7581-wdt.yaml  |   6 +-
 arch/arm64/boot/dts/airoha/Makefile           |   1 +
 arch/arm64/boot/dts/airoha/an7583-evb.dts     |  22 ++
 arch/arm64/boot/dts/airoha/an7583.dtsi        | 283 ++++++++++++++++++
 6 files changed, 319 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm64/boot/dts/airoha/an7583-evb.dts
 create mode 100644 arch/arm64/boot/dts/airoha/an7583.dtsi
Signature · 1 line
2.51.0
author maintainer
#1 lore raw

PATCH v3 1/4 dt-bindings: crypto: Add support for Airoha AN7583 SoC

Add compatible for Airoha AN7583 SoC. The implementation is exactly the same of Airoha EN7581 hence we add the compatible in addition to EN7581 ones.

---
 .../bindings/crypto/inside-secure,safexcel-eip93.yaml         | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/crypto/inside-secure,safexcel-eip93.yaml +4 -0
index 997bf9717f9e..2269d78a4a80 100644
@@ -30,6 +30,10 @@ description: |
 properties:
   compatible:
     oneOf:
+      - items:
+          - const: airoha,an7583-eip93
+          - const: airoha,en7581-eip93
+          - const: inside-secure,safexcel-eip93ies
       - items:
           - const: airoha,en7581-eip93
           - const: inside-secure,safexcel-eip93ies
Signature · 1 line
2.51.0
author maintainer
#3 lore raw

PATCH v3 2/4 dt-bindings: watchdog: airoha: Add support for Airoha AN7583 SoC

In reply to Christian Marangi

Add compatible for Airoha AN7583 SoC. The implementation is exactly the same of Airoha EN7581 hence we add the compatible in addition to EN7581 ones.

---
 .../devicetree/bindings/watchdog/airoha,en7581-wdt.yaml     | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/watchdog/airoha,en7581-wdt.yaml +5 -1
index 6bbab3cb28e5..6259478bdae5 100644
@@ -14,7 +14,11 @@ allOf:
 
 properties:
   compatible:
-    const: airoha,en7581-wdt
+    oneOf:
+      - items:
+          - const: airoha,an7583-wdt
+          - const: airoha,en7581-wdt
+      - const: airoha,en7581-wdt
 
   reg:
     maxItems: 1
Signature · 1 line
2.51.0
author maintainer
#5 lore raw

PATCH v3 3/4 dt-bindings: arm64: dts: airoha: Add AN7583 compatible

In reply to Christian Marangi

Add Airoha AN7583 compatible to the list of enum for Airoha Supported SoCs.

---
 Documentation/devicetree/bindings/arm/airoha.yaml | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/arm/airoha.yaml +4 -0
index 7c38c08dbf3f..df897227b870 100644
@@ -18,6 +18,10 @@ properties:
     const: '/'
   compatible:
     oneOf:
+      - items:
+          - enum:
+              - airoha,an7583-evb
+          - const: airoha,an7583
       - items:
           - enum:
               - airoha,en7523-evb
Signature · 1 line
2.51.0
author maintainer
#8 lore raw

PATCH v3 4/4 arm64: dts: Add Airoha AN7583 SoC and AN7583 Evaluation Board

In reply to Christian Marangi

Introduce Airoha AN7583 SoC initial DTSI and AN7583 Evaluation Board DTS and add the required entry in the Makefile.

---
 arch/arm64/boot/dts/airoha/Makefile       |   1 +
 arch/arm64/boot/dts/airoha/an7583-evb.dts |  22 ++
 arch/arm64/boot/dts/airoha/an7583.dtsi    | 283 ++++++++++++++++++++++
 3 files changed, 306 insertions(+)
 create mode 100644 arch/arm64/boot/dts/airoha/an7583-evb.dts
 create mode 100644 arch/arm64/boot/dts/airoha/an7583.dtsi
arch/arm64/boot/dts/airoha/Makefile +1 -0
index ebea112ce1d7..7a604ae249b5 100644
@@ -1,2 +1,3 @@
 # SPDX-License-Identifier: GPL-2.0-only
 dtb-$(CONFIG_ARCH_AIROHA) += en7581-evb.dtb
+dtb-$(CONFIG_ARCH_AIROHA) += an7583-evb.dtb
arch/arm64/boot/dts/airoha/an7583-evb.dts new file +22 -0
new file mode 100644
index 000000000000..910ceaa6af42
@@ -0,0 +1,22 @@
+// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+/dts-v1/;
+
+#include "an7583.dtsi"
+
+/ {
+	model = "Airoha AN7583 Evaluation Board";
+	compatible = "airoha,an7583-evb", "airoha,an7583";
+
+	aliases {
+		serial0 = &uart1;
+	};
+
+	chosen {
+		stdout-path = "serial0:115200n8";
+	};
+
+	memory@80000000 {
+		device_type = "memory";
+		reg = <0x0 0x80000000 0x2 0x00000000>;
+	};
+};
arch/arm64/boot/dts/airoha/an7583.dtsi new file +283 -0

283 lines not on this page · raw message

Signature · 1 line
2.51.0
maintainer Acked-by on v3 3/4
#6 lore raw

Re: [PATCH v3 3/4] dt-bindings: arm64: dts: airoha: Add AN7583 compatible

In reply to Christian Marangi
Quoted 8 lines · Christian Marangi

Add Airoha AN7583 compatible to the list of enum for Airoha Supported SoCs.

---
 Documentation/devicetree/bindings/arm/airoha.yaml | 4 ++++
 1 file changed, 4 insertions(+)

Please add Acked-by/Reviewed-by tags when posting new versions. However, there's no need to repost patches *only* to add the tags. The upstream maintainer will do that for acks received on the version they apply.

If a tag was not added on purpose, please state why and what changed.

Missing tags:

maintainer Reviewed-by on v3 4/4
#9 lore raw

Re: [PATCH v3 4/4] arm64: dts: Add Airoha AN7583 SoC and AN7583 Evaluation Board

In reply to Christian Marangi

Il 25/09/25 18:40, Christian Marangi ha scritto:

Quoted 17 lines

Introduce Airoha AN7583 SoC initial DTSI and AN7583 Evaluation Board DTS and add the required entry in the Makefile.

---
  arch/arm64/boot/dts/airoha/Makefile       |   1 +
  arch/arm64/boot/dts/airoha/an7583-evb.dts |  22 ++
  arch/arm64/boot/dts/airoha/an7583.dtsi    | 283 ++++++++++++++++++++++
  3 files changed, 306 insertions(+)

create mode 100644 arch/arm64/boot/dts/airoha/an7583-evb.dts create mode 100644 arch/arm64/boot/dts/airoha/an7583.dtsi

arch/arm64/boot/dts/airoha/Makefile +0 -0
index ebea112ce1d7..7a604ae249b5 100644

arch/arm64/boot/dts/airoha/Makefile line 3

Quoted 3 lines
arch/arm64/boot/dts/airoha/Makefile +1 -0
@@ -1,2 +1,3 @@
  # SPDX-License-Identifier: GPL-2.0-only
  dtb-$(CONFIG_ARCH_AIROHA) += en7581-evb.dtb
+dtb-$(CONFIG_ARCH_AIROHA) += an7583-evb.dtb

an comes before en.... please keep entries ordered alphabetically.

Quoted 40 lines
arch/arm64/boot/dts/airoha/an7583-evb.dts new file +22 -0
new file mode 100644
index 000000000000..910ceaa6af42
@@ -0,0 +1,22 @@
+// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+/dts-v1/;
+
+#include "an7583.dtsi"
+
+/ {
+	model = "Airoha AN7583 Evaluation Board";
+	compatible = "airoha,an7583-evb", "airoha,an7583";
+
+	aliases {
+		serial0 = &uart1;
+	};
+
+	chosen {
+		stdout-path = "serial0:115200n8";
+	};
+
+	memory@80000000 {
+		device_type = "memory";
+		reg = <0x0 0x80000000 0x2 0x00000000>;
+	};
+};
arch/arm64/boot/dts/airoha/an7583.dtsi new file +6 -0
new file mode 100644
index 000000000000..77b8590e242b
@@ -0,0 +1,283 @@
+// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+
+#include <dt-bindings/interrupt-controller/irq.h>
+#include <dt-bindings/interrupt-controller/arm-gic.h>
+
+/ {

arch/arm64/boot/dts/airoha/an7583.dtsi line 16

Quoted 10 lines
arch/arm64/boot/dts/airoha/an7583.dtsi new file +10 -0
+	interrupt-parent = <&gic>;
+	#address-cells = <2>;
+	#size-cells = <2>;
+
+	psci {
+		compatible = "arm,psci-1.0";
+		method = "smc";
+	};
+
+	cpus {

..snip..

Sorry for not catching that in v2 - please move the PSCI node here, after which:

maintainer Reviewed-by on v3 1/4
#2 lore raw

Re: [PATCH v3 1/4] dt-bindings: crypto: Add support for Airoha AN7583 SoC

In reply to Christian Marangi

Il 25/09/25 18:40, Christian Marangi ha scritto:

Quoted 5 lines

Add compatible for Airoha AN7583 SoC. The implementation is exactly the same of Airoha EN7581 hence we add the compatible in addition to EN7581 ones.

maintainer Reviewed-by on v3 2/4
#4 lore raw

Re: [PATCH v3 2/4] dt-bindings: watchdog: airoha: Add support for Airoha AN7583 SoC

In reply to Christian Marangi

Il 25/09/25 18:40, Christian Marangi ha scritto:

Quoted 5 lines

Add compatible for Airoha AN7583 SoC. The implementation is exactly the same of Airoha EN7581 hence we add the compatible in addition to EN7581 ones.