Skip to contentSkip to conversation

Add device tree for Axiado AX3000 EVK

PATCH Superseded Kuan-Jui Chiu 2 participants 10 messages Jan 10 – Jan 12

Subsystems (7)
lore
Share & tools
lore
#5 lore raw

PATCH v2 5/6 arm64: dts: axiado: Add initial support for AX3000 SoC and eval board

In reply to Kuan-Jui Chiu

From: Harshit Shah <[email protected]>

Add initial device tree support for the AX3000 SoC and its evaluation platform. The AX3000 is a multi-core SoC featuring 4 Cortex-A53 cores, Secure Vault, AI Engine and Firewall.

It adds support for Cortex-A53 CPUs, timer, UARTs, and I3C controllers on the AX3000 evaluation board.

(cherry picked from commit 1f70557790011fbf6f6ba4dd85910e427e12d2f8)
---
 arch/arm64/boot/dts/Makefile              |   1 +
 arch/arm64/boot/dts/axiado/Makefile       |   2 +
 arch/arm64/boot/dts/axiado/ax3000-evk.dts |  79 ++++
 arch/arm64/boot/dts/axiado/ax3000.dtsi    | 520 ++++++++++++++++++++++
 4 files changed, 602 insertions(+)
 create mode 100644 arch/arm64/boot/dts/axiado/Makefile
 create mode 100644 arch/arm64/boot/dts/axiado/ax3000-evk.dts
 create mode 100644 arch/arm64/boot/dts/axiado/ax3000.dtsi
arch/arm64/boot/dts/Makefile +1 -0
index 21cd3a87f385..c761140ece0e 100644
@@ -9,6 +9,7 @@ subdir-y += amlogic
 subdir-y += apm
 subdir-y += apple
 subdir-y += arm
+subdir-y += axiado
 subdir-y += bitmain
 subdir-y += broadcom
 subdir-y += cavium
arch/arm64/boot/dts/axiado/Makefile new file +2 -0
new file mode 100644
index 000000000000..6676ad07db61
@@ -0,0 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0
+dtb-$(CONFIG_ARCH_AXIADO) += ax3000-evk.dtb
arch/arm64/boot/dts/axiado/ax3000-evk.dts new file +79 -0

79 lines not on this page · raw message

arch/arm64/boot/dts/axiado/ax3000.dtsi new file +520 -0

520 lines not on this page · raw message

Signature · 1 line
2.34.1
#6 lore raw

PATCH v2 6/6 arm64: dts: axiado: Add missing UART aliases

In reply to Kuan-Jui Chiu

From: Harshit Shah <[email protected]>

Axiado AX3000 EVK has total of 4 UART ports. Add missing alias for uart0, uart1, uart2.

This fixes the probe failures on the remaining UARTs.

Fixes 1f7055779001 ("arm64: dts: axiado: Add initial support for AX3000 SoC and eval board")
(cherry picked from commit 75e81743e3815a934f5ec688a9837bc5fa56dbb3)
---
 arch/arm64/boot/dts/axiado/ax3000-evk.dts | 3 +++
 1 file changed, 3 insertions(+)
arch/arm64/boot/dts/axiado/ax3000-evk.dts +3 -0
index 92101c5b534b..b86e96962557 100644
@@ -14,6 +14,9 @@ / {
 	#size-cells = <2>;
 
 	aliases {
+		serial0 = &uart0;
+		serial1 = &uart1;
+		serial2 = &uart2;
 		serial3 = &uart3;
 	};
 
Signature · 1 line
2.34.1
#3 lore raw

PATCH v2 3/6 dt-bindings: serial: cdns: add Axiado AX3000 UART controller

In reply to Kuan-Jui Chiu

From: Harshit Shah <[email protected]>

Add binding for AX3000 UART controller. So far, no changes known, so it can fallback to default compatible.

(cherry picked from commit 7346be495b9ad23077d8fbfd953f341c92027067)
---
 Documentation/devicetree/bindings/serial/cdns,uart.yaml | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
Documentation/devicetree/bindings/serial/cdns,uart.yaml +4 -3
index d7f047b0bf24..9d3e5c1d8502 100644
@@ -16,9 +16,10 @@ properties:
         items:
           - const: xlnx,xuartps
           - const: cdns,uart-r1p8
-      - description: UART controller for Zynq Ultrascale+ MPSoC
-        items:
-          - const: xlnx,zynqmp-uart
+      - items:
+          - enum:
+              - axiado,ax3000-uart
+              - xlnx,zynqmp-uart
           - const: cdns,uart-r1p12
 
   reg:
Signature · 1 line
2.34.1
#4 lore raw

PATCH v2 4/6 dt-bindings: i3c: cdns: add Axiado AX3000 I3C controller

In reply to Kuan-Jui Chiu

From: Harshit Shah <[email protected]>

Add binding for AX3000 I3C controller. So far, no changes known, so it can fallback to default compatible.

(cherry picked from commit 678fefdfe9de73e8043b971a217436f82d93f6e8)
---
 Documentation/devicetree/bindings/i3c/cdns,i3c-master.yaml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/i3c/cdns,i3c-master.yaml +6 -1
index cad6d53d0e2e..6fa3078074d0 100644
@@ -14,7 +14,12 @@ allOf:
 
 properties:
   compatible:
-    const: cdns,i3c-master
+    oneOf:
+      - const: cdns,i3c-master
+      - items:
+          - enum:
+              - axiado,ax3000-i3c
+          - const: cdns,i3c-master
 
   reg:
     maxItems: 1
Signature · 1 line
2.34.1
#0 lore raw

v2 cover Add device tree for Axiado AX3000 EVK

This pacth series adds device tree for Axiado AX3000 Evaluation Kit This device tree includes necessary device nodes for CPU, Clock, Interrupt, GPIO, I3C, UART and Timer
The patch adds AX3000 into Cadence variant for device tree binding

Changes since v1:
- Add cover letter for patch series
- Add upstream commit info in patches

Harshit Shah (6):
dt-bindings: gpio: cdns: convert to YAML
dt-bindings: gpio: cdns: add Axiado AX3000 GPIO variant
dt-bindings: serial: cdns: add Axiado AX3000 UART controller
dt-bindings: i3c: cdns: add Axiado AX3000 I3C controller
arm64: dts: axiado: Add initial support for AX3000 SoC and eval board
arm64: dts: axiado: Add missing UART aliases

 .../devicetree/bindings/gpio/cdns,gpio.txt    |  43 --
 .../devicetree/bindings/gpio/cdns,gpio.yaml   |  84 +++
 .../bindings/i3c/cdns,i3c-master.yaml         |   7 +-
 .../devicetree/bindings/serial/cdns,uart.yaml |   7 +-
 arch/arm64/boot/dts/Makefile                  |   1 +
 arch/arm64/boot/dts/axiado/Makefile           |   2 +
 arch/arm64/boot/dts/axiado/ax3000-evk.dts     |  82 +++
 arch/arm64/boot/dts/axiado/ax3000.dtsi        | 520 ++++++++++++++++++
 8 files changed, 699 insertions(+), 47 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/gpio/cdns,gpio.txt
 create mode 100644 Documentation/devicetree/bindings/gpio/cdns,gpio.yaml
 create mode 100644 arch/arm64/boot/dts/axiado/Makefile
 create mode 100644 arch/arm64/boot/dts/axiado/ax3000-evk.dts
 create mode 100644 arch/arm64/boot/dts/axiado/ax3000.dtsi
Signature · 1 line
2.34.1
#1 lore raw

PATCH v2 1/6 dt-bindings: gpio: cdns: convert to YAML

From: Harshit Shah <[email protected]>

Convert Cadence family GPIO controller bindings to DT schema.

(cherry picked from commit 36f42234497845bfa45ca13e8a683dbffaa09a83)
---
 .../devicetree/bindings/gpio/cdns,gpio.txt    | 43 ----------
 .../devicetree/bindings/gpio/cdns,gpio.yaml   | 79 +++++++++++++++++++
 2 files changed, 79 insertions(+), 43 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/gpio/cdns,gpio.txt
 create mode 100644 Documentation/devicetree/bindings/gpio/cdns,gpio.yaml
Documentation/devicetree/bindings/gpio/cdns,gpio.txt deleted +0 -43
deleted file mode 100644
index 706ef00f5c64..000000000000
@@ -1,43 +0,0 @@
-Cadence GPIO controller bindings
-
-Required properties:
-- compatible: should be "cdns,gpio-r1p02".
-- reg: the register base address and size.
-- #gpio-cells: should be 2.
-	* first cell is the GPIO number.
-	* second cell specifies the GPIO flags, as defined in
-		<dt-bindings/gpio/gpio.h>. Only the GPIO_ACTIVE_HIGH
-		and GPIO_ACTIVE_LOW flags are supported.
-- gpio-controller: marks the device as a GPIO controller.
-- clocks: should contain one entry referencing the peripheral clock driving
-	the GPIO controller.
-
-Optional properties:
-- ngpios: integer number of gpio lines supported by this controller, up to 32.
-- interrupts: interrupt specifier for the controllers interrupt.
-- interrupt-controller: marks the device as an interrupt controller. When
-	defined, interrupts, interrupt-parent and #interrupt-cells
-	are required.
-- interrupt-cells: should be 2.
-	* first cell is the GPIO number you want to use as an IRQ source.
-	* second cell specifies the IRQ type, as defined in
-		<dt-bindings/interrupt-controller/irq.h>.
-		Currently only level sensitive IRQs are supported.
-
-
-Example:
-	gpio0: gpio-controller@fd060000 {
-		compatible = "cdns,gpio-r1p02";
-		reg =<0xfd060000 0x1000>;
-
-		clocks = <&gpio_clk>;
-
-		interrupt-parent = <&gic>;
-		interrupts = <0 5 IRQ_TYPE_LEVEL_HIGH>;
-
-		gpio-controller;
-		#gpio-cells = <2>;
-
-		interrupt-controller;
-		#interrupt-cells = <2>;
-	};
Documentation/devicetree/bindings/gpio/cdns,gpio.yaml new file +79 -0

79 lines not on this page · raw message

Signature · 1 line
2.34.1
#2 lore raw

PATCH v2 2/6 dt-bindings: gpio: cdns: add Axiado AX3000 GPIO variant

In reply to Kuan-Jui Chiu

From: Harshit Shah <[email protected]>

Add binding for Axiado AX3000 GPIO controller. So far, no changes are known, so it can fallback to default compatible.

(cherry picked from commit 4c5250ebc3e4ae49934069968beffbfaa83fb734)
---
 Documentation/devicetree/bindings/gpio/cdns,gpio.yaml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/gpio/cdns,gpio.yaml +6 -1
index f1a64c173665..a84d60b39459 100644
@@ -11,7 +11,12 @@ maintainers:
 
 properties:
   compatible:
-    const: cdns,gpio-r1p02
+    oneOf:
+      - const: cdns,gpio-r1p02
+      - items:
+          - enum:
+              - axiado,ax3000-gpio
+          - const: cdns,gpio-r1p02
 
   reg:
     maxItems: 1
Signature · 1 line
2.34.1
#7 lore raw
In reply to Kuan-Jui Chiu
Quoted 8 lines · Kuan-Jui Chiu

This pacth series adds device tree for Axiado AX3000 Evaluation Kit This device tree includes necessary device nodes for CPU, Clock, Interrupt, GPIO, I3C, UART and Timer
The patch adds AX3000 into Cadence variant for device tree binding

Changes since v1:
 - Add cover letter for patch series
 - Add upstream commit info in patches

Did you check whether the need for these patches is satisfied by OpenBMC's (recent) move to the 6.18 kernel?

I don't tend to maintain inactive branches (in the sense that the openbmc/openbmc linux recipes no-longer point to them). If maintaining them is something you're interested in then we can discuss how you can contribute to that.

Andrew

#9 lore raw
In reply to Kuan-Jui Chiu
Quoted 5 lines · Kuan-Jui Chiu

Hi Andrew

I checked the 6.18 kernel and I found it had included all of the changes in this patch series already.
So I believe we don't need this patch series anymore, thanks.

Great! Thanks for following up.

Andrew

#8 lore raw

v2 cover Add device tree for Axiado AX3000 EVK

In reply to Andrew Jeffery

Hi Andrew

I checked the 6.18 kernel and I found it had included all of the changes in this patch series already. So I believe we don't need this patch series anymore, thanks.

Andrew Jeffery 於 2026/1/12 上午 09:52 寫道:

Quoted 18 lines · Kuan-Jui Chiu
Quoted 8 lines

This pacth series adds device tree for Axiado AX3000 Evaluation Kit This device tree includes necessary device nodes for CPU, Clock, Interrupt, GPIO, I3C, UART and Timer
The patch adds AX3000 into Cadence variant for device tree binding

Changes since v1:
- Add cover letter for patch series
- Add upstream commit info in patches

Did you check whether the need for these patches is satisfied by OpenBMC's (recent) move to the 6.18 kernel?

I don't tend to maintain inactive branches (in the sense that the openbmc/openbmc linux recipes no-longer point to them). If maintaining them is something you're interested in then we can discuss how you can contribute to that.

Andrew