* [PATCH v4 0/6] riscv: dts: tenstorrent: Add Atlantis platform @ 2026-11-27 6:14 ` Joel Stanley 0 siblings, 0 replies; 16+ messages in thread From: Joel Stanley @ 2026-11-27 6:14 UTC (permalink / raw) To: Paul Walmsley, Rob Herring, Conor Dooley, Palmer Dabbelt Cc: Anup Patel, Nicholas Piggin, Michael Ellerman, Drew Fustini, Anirudh Srinivasan, linux-riscv, devicetree Add initial support for the Tenstorrent Atlantis platform, based on the Atlantis SoC featuring 8x RVA23-compliant Tenstorrent Ascalon-XG cores. The series adds a bare bones device tree with the CPU, interrupt controllers and a UART. Patches 1 to 5 add compatibles or extensions to existing bindings. This version drops the aclint mtimer binding patch, which will be posted as a standalone series along with converting the relevant boards. The Atlantis device tree omits that node for now. The series has been boot tested on QEMU and internal development platforms. v3: https://lore.kernel.org/linux-riscv/20261109051050.105623-1-joel@jms.id.au/ Changes since v3: - Drop mtimer binding document, will be posted independently - Remove mtimer node from dtsi until binding is finalised - Reorder properties to pass strict style checking - Use the correct value for the timebase property - Add cpus label to cpus node Changes since v2: - Fixes to prcm_rcpu and aplic dt nodes - Drop uart1 clock override. UART now depends on a working PRCM driver - Drop bootargs console=ttyS0 in favour of stdout-path - Justify aclint mtimer bindings Changes since v1: - Rework mtimer bindings, fix reg property, update compatible and use priv spec as reference - Drop Drew's sob from bindings patches I wrote - Add Drew's co-developed-by to dts patch - Correct aplic num-sources Drew Fustini (1): dt-bindings: riscv: add Smrnmi extension description Joel Stanley (5): dt-bindings: aplic: Add Tenstorrent Atlantis compatible dt-bindings: imsics: Add Tenstorrent Atlantis compatible dt-bindings: riscv: cpus: Add Tenstorrent Ascalon dt-bindings: riscv: Add Tenstorrent Atlantis platform riscv: dts: tenstorrent: Add Atlantis platform .../interrupt-controller/riscv,aplic.yaml | 1 + .../interrupt-controller/riscv,imsics.yaml | 1 + .../devicetree/bindings/riscv/cpus.yaml | 5 + .../devicetree/bindings/riscv/extensions.yaml | 6 + .../bindings/riscv/tenstorrent.yaml | 4 + arch/riscv/boot/dts/tenstorrent/Makefile | 1 + .../boot/dts/tenstorrent/atlantis-evb.dts | 29 ++ .../boot/dts/tenstorrent/atlantis-soc.dtsi | 467 ++++++++++++++++++ 8 files changed, 514 insertions(+) create mode 100644 arch/riscv/boot/dts/tenstorrent/atlantis-evb.dts create mode 100644 arch/riscv/boot/dts/tenstorrent/atlantis-soc.dtsi base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4 -- 2.47.3 ^ permalink raw reply [flat|nested] 16+ messages in thread
* [PATCH v4 0/6] riscv: dts: tenstorrent: Add Atlantis platform @ 2026-11-27 6:14 ` Joel Stanley 0 siblings, 0 replies; 16+ messages in thread From: Joel Stanley @ 2026-11-27 6:14 UTC (permalink / raw) To: Paul Walmsley, Rob Herring, Conor Dooley, Palmer Dabbelt Cc: Anup Patel, Nicholas Piggin, Michael Ellerman, Drew Fustini, Anirudh Srinivasan, linux-riscv, devicetree Add initial support for the Tenstorrent Atlantis platform, based on the Atlantis SoC featuring 8x RVA23-compliant Tenstorrent Ascalon-XG cores. The series adds a bare bones device tree with the CPU, interrupt controllers and a UART. Patches 1 to 5 add compatibles or extensions to existing bindings. This version drops the aclint mtimer binding patch, which will be posted as a standalone series along with converting the relevant boards. The Atlantis device tree omits that node for now. The series has been boot tested on QEMU and internal development platforms. v3: https://lore.kernel.org/linux-riscv/20261109051050.105623-1-joel@jms.id.au/ Changes since v3: - Drop mtimer binding document, will be posted independently - Remove mtimer node from dtsi until binding is finalised - Reorder properties to pass strict style checking - Use the correct value for the timebase property - Add cpus label to cpus node Changes since v2: - Fixes to prcm_rcpu and aplic dt nodes - Drop uart1 clock override. UART now depends on a working PRCM driver - Drop bootargs console=ttyS0 in favour of stdout-path - Justify aclint mtimer bindings Changes since v1: - Rework mtimer bindings, fix reg property, update compatible and use priv spec as reference - Drop Drew's sob from bindings patches I wrote - Add Drew's co-developed-by to dts patch - Correct aplic num-sources Drew Fustini (1): dt-bindings: riscv: add Smrnmi extension description Joel Stanley (5): dt-bindings: aplic: Add Tenstorrent Atlantis compatible dt-bindings: imsics: Add Tenstorrent Atlantis compatible dt-bindings: riscv: cpus: Add Tenstorrent Ascalon dt-bindings: riscv: Add Tenstorrent Atlantis platform riscv: dts: tenstorrent: Add Atlantis platform .../interrupt-controller/riscv,aplic.yaml | 1 + .../interrupt-controller/riscv,imsics.yaml | 1 + .../devicetree/bindings/riscv/cpus.yaml | 5 + .../devicetree/bindings/riscv/extensions.yaml | 6 + .../bindings/riscv/tenstorrent.yaml | 4 + arch/riscv/boot/dts/tenstorrent/Makefile | 1 + .../boot/dts/tenstorrent/atlantis-evb.dts | 29 ++ .../boot/dts/tenstorrent/atlantis-soc.dtsi | 467 ++++++++++++++++++ 8 files changed, 514 insertions(+) create mode 100644 arch/riscv/boot/dts/tenstorrent/atlantis-evb.dts create mode 100644 arch/riscv/boot/dts/tenstorrent/atlantis-soc.dtsi base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4 -- 2.47.3 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv ^ permalink raw reply [flat|nested] 16+ messages in thread
* [PATCH v4 1/6] dt-bindings: aplic: Add Tenstorrent Atlantis compatible 2026-11-27 6:14 ` Joel Stanley @ 2026-11-27 6:14 ` Joel Stanley -1 siblings, 0 replies; 16+ messages in thread From: Joel Stanley @ 2026-11-27 6:14 UTC (permalink / raw) To: Paul Walmsley, Rob Herring, Conor Dooley, Palmer Dabbelt Cc: Anup Patel, Nicholas Piggin, Michael Ellerman, Drew Fustini, Anirudh Srinivasan, linux-riscv, devicetree, Conor Dooley Add compatible for APLIC in Tenstorrent Atlantis SoC. Reviewed-by: Anup Patel <anup@brainfault.org> Reviewed-by: Drew Fustini <fustini@kernel.org> Acked-by: Conor Dooley <conor.dooley@microchip.com> Signed-off-by: Joel Stanley <joel@jms.id.au> --- v4: Pick up Conor's ack --- .../devicetree/bindings/interrupt-controller/riscv,aplic.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/interrupt-controller/riscv,aplic.yaml b/Documentation/devicetree/bindings/interrupt-controller/riscv,aplic.yaml index 0718071444d2..d4e17861eda4 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/riscv,aplic.yaml +++ b/Documentation/devicetree/bindings/interrupt-controller/riscv,aplic.yaml @@ -29,6 +29,7 @@ properties: - enum: - qemu,aplic - spacemit,k3-aplic + - tenstorrent,atlantis-aplic - const: riscv,aplic reg: -- 2.47.3 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv ^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH v4 1/6] dt-bindings: aplic: Add Tenstorrent Atlantis compatible @ 2026-11-27 6:14 ` Joel Stanley 0 siblings, 0 replies; 16+ messages in thread From: Joel Stanley @ 2026-11-27 6:14 UTC (permalink / raw) To: Paul Walmsley, Rob Herring, Conor Dooley, Palmer Dabbelt Cc: Anup Patel, Nicholas Piggin, Michael Ellerman, Drew Fustini, Anirudh Srinivasan, linux-riscv, devicetree, Conor Dooley Add compatible for APLIC in Tenstorrent Atlantis SoC. Reviewed-by: Anup Patel <anup@brainfault.org> Reviewed-by: Drew Fustini <fustini@kernel.org> Acked-by: Conor Dooley <conor.dooley@microchip.com> Signed-off-by: Joel Stanley <joel@jms.id.au> --- v4: Pick up Conor's ack --- .../devicetree/bindings/interrupt-controller/riscv,aplic.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/interrupt-controller/riscv,aplic.yaml b/Documentation/devicetree/bindings/interrupt-controller/riscv,aplic.yaml index 0718071444d2..d4e17861eda4 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/riscv,aplic.yaml +++ b/Documentation/devicetree/bindings/interrupt-controller/riscv,aplic.yaml @@ -29,6 +29,7 @@ properties: - enum: - qemu,aplic - spacemit,k3-aplic + - tenstorrent,atlantis-aplic - const: riscv,aplic reg: -- 2.47.3 ^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH v4 2/6] dt-bindings: imsics: Add Tenstorrent Atlantis compatible 2026-11-27 6:14 ` Joel Stanley @ 2026-11-27 6:14 ` Joel Stanley -1 siblings, 0 replies; 16+ messages in thread From: Joel Stanley @ 2026-11-27 6:14 UTC (permalink / raw) To: Paul Walmsley, Rob Herring, Conor Dooley, Palmer Dabbelt Cc: Anup Patel, Nicholas Piggin, Michael Ellerman, Drew Fustini, Anirudh Srinivasan, linux-riscv, devicetree, Conor Dooley Add compatible for IMSICS in Tenstorrent Atlantis SoC. Reviewed-by: Anup Patel <anup@brainfault.org> Acked-by: Conor Dooley <conor.dooley@microchip.com> Reviewed-by: Drew Fustini <fustini@kernel.org> Signed-off-by: Joel Stanley <joel@jms.id.au> --- v4: No changes v3: No changes, pick up review tags --- .../devicetree/bindings/interrupt-controller/riscv,imsics.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/interrupt-controller/riscv,imsics.yaml b/Documentation/devicetree/bindings/interrupt-controller/riscv,imsics.yaml index feec122bddde..442b8870f9c5 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/riscv,imsics.yaml +++ b/Documentation/devicetree/bindings/interrupt-controller/riscv,imsics.yaml @@ -49,6 +49,7 @@ properties: - enum: - qemu,imsics - spacemit,k3-imsics + - tenstorrent,atlantis-imsics - const: riscv,imsics reg: -- 2.47.3 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv ^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH v4 2/6] dt-bindings: imsics: Add Tenstorrent Atlantis compatible @ 2026-11-27 6:14 ` Joel Stanley 0 siblings, 0 replies; 16+ messages in thread From: Joel Stanley @ 2026-11-27 6:14 UTC (permalink / raw) To: Paul Walmsley, Rob Herring, Conor Dooley, Palmer Dabbelt Cc: Anup Patel, Nicholas Piggin, Michael Ellerman, Drew Fustini, Anirudh Srinivasan, linux-riscv, devicetree, Conor Dooley Add compatible for IMSICS in Tenstorrent Atlantis SoC. Reviewed-by: Anup Patel <anup@brainfault.org> Acked-by: Conor Dooley <conor.dooley@microchip.com> Reviewed-by: Drew Fustini <fustini@kernel.org> Signed-off-by: Joel Stanley <joel@jms.id.au> --- v4: No changes v3: No changes, pick up review tags --- .../devicetree/bindings/interrupt-controller/riscv,imsics.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/interrupt-controller/riscv,imsics.yaml b/Documentation/devicetree/bindings/interrupt-controller/riscv,imsics.yaml index feec122bddde..442b8870f9c5 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/riscv,imsics.yaml +++ b/Documentation/devicetree/bindings/interrupt-controller/riscv,imsics.yaml @@ -49,6 +49,7 @@ properties: - enum: - qemu,imsics - spacemit,k3-imsics + - tenstorrent,atlantis-imsics - const: riscv,imsics reg: -- 2.47.3 ^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH v4 3/6] dt-bindings: riscv: cpus: Add Tenstorrent Ascalon 2026-11-27 6:14 ` Joel Stanley @ 2026-11-27 6:14 ` Joel Stanley -1 siblings, 0 replies; 16+ messages in thread From: Joel Stanley @ 2026-11-27 6:14 UTC (permalink / raw) To: Paul Walmsley, Rob Herring, Conor Dooley, Palmer Dabbelt Cc: Anup Patel, Nicholas Piggin, Michael Ellerman, Drew Fustini, Anirudh Srinivasan, linux-riscv, devicetree, Conor Dooley Add Tenstorrent Ascalon microarchitecture and the Tenstorrent Ascalon-XG core. Acked-by: Conor Dooley <conor.dooley@microchip.com> Reviewed-by: Drew Fustini <fustini@kernel.org> Signed-off-by: Joel Stanley <joel@jms.id.au> --- v4: No changes v3: No changes, pick up review tags --- Documentation/devicetree/bindings/riscv/cpus.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/riscv/cpus.yaml b/Documentation/devicetree/bindings/riscv/cpus.yaml index 0da219ae6769..2d2e4606a53e 100644 --- a/Documentation/devicetree/bindings/riscv/cpus.yaml +++ b/Documentation/devicetree/bindings/riscv/cpus.yaml @@ -75,6 +75,11 @@ properties: - sifive,x280 - const: sifive,rocket0 - const: riscv + - items: + - enum: + - tenstorrent,ascalon-xg + - const: tenstorrent,ascalon + - const: riscv - const: riscv # Simulator only description: Identifies that the hart uses the RISC-V instruction set -- 2.47.3 ^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH v4 3/6] dt-bindings: riscv: cpus: Add Tenstorrent Ascalon @ 2026-11-27 6:14 ` Joel Stanley 0 siblings, 0 replies; 16+ messages in thread From: Joel Stanley @ 2026-11-27 6:14 UTC (permalink / raw) To: Paul Walmsley, Rob Herring, Conor Dooley, Palmer Dabbelt Cc: Anup Patel, Nicholas Piggin, Michael Ellerman, Drew Fustini, Anirudh Srinivasan, linux-riscv, devicetree, Conor Dooley Add Tenstorrent Ascalon microarchitecture and the Tenstorrent Ascalon-XG core. Acked-by: Conor Dooley <conor.dooley@microchip.com> Reviewed-by: Drew Fustini <fustini@kernel.org> Signed-off-by: Joel Stanley <joel@jms.id.au> --- v4: No changes v3: No changes, pick up review tags --- Documentation/devicetree/bindings/riscv/cpus.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/riscv/cpus.yaml b/Documentation/devicetree/bindings/riscv/cpus.yaml index 0da219ae6769..2d2e4606a53e 100644 --- a/Documentation/devicetree/bindings/riscv/cpus.yaml +++ b/Documentation/devicetree/bindings/riscv/cpus.yaml @@ -75,6 +75,11 @@ properties: - sifive,x280 - const: sifive,rocket0 - const: riscv + - items: + - enum: + - tenstorrent,ascalon-xg + - const: tenstorrent,ascalon + - const: riscv - const: riscv # Simulator only description: Identifies that the hart uses the RISC-V instruction set -- 2.47.3 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv ^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH v4 4/6] dt-bindings: riscv: add Smrnmi extension description 2026-11-27 6:14 ` Joel Stanley @ 2026-11-27 6:14 ` Joel Stanley -1 siblings, 0 replies; 16+ messages in thread From: Joel Stanley @ 2026-11-27 6:14 UTC (permalink / raw) To: Paul Walmsley, Rob Herring, Conor Dooley, Palmer Dabbelt Cc: Drew Fustini, Anup Patel, Nicholas Piggin, Michael Ellerman, Anirudh Srinivasan, linux-riscv, devicetree, Conor Dooley From: Drew Fustini <fustini@kernel.org> Add description for the Smrnmi extension (Resumable Non-Maskable Interrupts) as ratified in 35eb3948bf0b ("Merge pull request #1492 from riscv/smrnmi-ratified") of the riscv-isa-manual. Acked-by: Conor Dooley <conor.dooley@microchip.com> Signed-off-by: Drew Fustini <fustini@kernel.org> Signed-off-by: Joel Stanley <joel@jms.id.au> --- v4: No changes v3: No changes --- Documentation/devicetree/bindings/riscv/extensions.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/riscv/extensions.yaml b/Documentation/devicetree/bindings/riscv/extensions.yaml index 79491ef8f86a..7f5d85c64f83 100644 --- a/Documentation/devicetree/bindings/riscv/extensions.yaml +++ b/Documentation/devicetree/bindings/riscv/extensions.yaml @@ -214,6 +214,12 @@ properties: ratified at commit d70011dde6c2 ("Update to ratified state") of riscv-j-extension. + - const: smrnmi + description: | + The standard Smrnmi extension for Resumable Non-Maskable Interrupts + as ratified in commit 35eb3948bf0b ("Merge pull request #1492 from + riscv/smrnmi-ratified") of the riscv-isa-manual. + - const: smstateen description: | The standard Smstateen extension for controlling access to CSRs -- 2.47.3 ^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH v4 4/6] dt-bindings: riscv: add Smrnmi extension description @ 2026-11-27 6:14 ` Joel Stanley 0 siblings, 0 replies; 16+ messages in thread From: Joel Stanley @ 2026-11-27 6:14 UTC (permalink / raw) To: Paul Walmsley, Rob Herring, Conor Dooley, Palmer Dabbelt Cc: Drew Fustini, Anup Patel, Nicholas Piggin, Michael Ellerman, Anirudh Srinivasan, linux-riscv, devicetree, Conor Dooley From: Drew Fustini <fustini@kernel.org> Add description for the Smrnmi extension (Resumable Non-Maskable Interrupts) as ratified in 35eb3948bf0b ("Merge pull request #1492 from riscv/smrnmi-ratified") of the riscv-isa-manual. Acked-by: Conor Dooley <conor.dooley@microchip.com> Signed-off-by: Drew Fustini <fustini@kernel.org> Signed-off-by: Joel Stanley <joel@jms.id.au> --- v4: No changes v3: No changes --- Documentation/devicetree/bindings/riscv/extensions.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/riscv/extensions.yaml b/Documentation/devicetree/bindings/riscv/extensions.yaml index 79491ef8f86a..7f5d85c64f83 100644 --- a/Documentation/devicetree/bindings/riscv/extensions.yaml +++ b/Documentation/devicetree/bindings/riscv/extensions.yaml @@ -214,6 +214,12 @@ properties: ratified at commit d70011dde6c2 ("Update to ratified state") of riscv-j-extension. + - const: smrnmi + description: | + The standard Smrnmi extension for Resumable Non-Maskable Interrupts + as ratified in commit 35eb3948bf0b ("Merge pull request #1492 from + riscv/smrnmi-ratified") of the riscv-isa-manual. + - const: smstateen description: | The standard Smstateen extension for controlling access to CSRs -- 2.47.3 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv ^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH v4 5/6] dt-bindings: riscv: Add Tenstorrent Atlantis platform 2026-11-27 6:14 ` Joel Stanley @ 2026-11-27 6:14 ` Joel Stanley -1 siblings, 0 replies; 16+ messages in thread From: Joel Stanley @ 2026-11-27 6:14 UTC (permalink / raw) To: Paul Walmsley, Rob Herring, Conor Dooley, Palmer Dabbelt Cc: Anup Patel, Nicholas Piggin, Michael Ellerman, Drew Fustini, Anirudh Srinivasan, linux-riscv, devicetree, Conor Dooley Add compatible for the Tenstorrent Atlantis platform. Acked-by: Conor Dooley <conor.dooley@microchip.com> Reviewed-by: Drew Fustini <fustini@kernel.org> Signed-off-by: Joel Stanley <joel@jms.id.au> --- v4: No changes v3: No changes, pick up review tags --- Documentation/devicetree/bindings/riscv/tenstorrent.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/riscv/tenstorrent.yaml b/Documentation/devicetree/bindings/riscv/tenstorrent.yaml index e15359b2aab6..7fb640e38455 100644 --- a/Documentation/devicetree/bindings/riscv/tenstorrent.yaml +++ b/Documentation/devicetree/bindings/riscv/tenstorrent.yaml @@ -22,6 +22,10 @@ properties: items: - const: tenstorrent,blackhole-card - const: tenstorrent,blackhole + - description: Tenstorrent Atlantis + items: + - const: tenstorrent,atlantis-evb + - const: tenstorrent,atlantis additionalProperties: true -- 2.47.3 ^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH v4 5/6] dt-bindings: riscv: Add Tenstorrent Atlantis platform @ 2026-11-27 6:14 ` Joel Stanley 0 siblings, 0 replies; 16+ messages in thread From: Joel Stanley @ 2026-11-27 6:14 UTC (permalink / raw) To: Paul Walmsley, Rob Herring, Conor Dooley, Palmer Dabbelt Cc: Anup Patel, Nicholas Piggin, Michael Ellerman, Drew Fustini, Anirudh Srinivasan, linux-riscv, devicetree, Conor Dooley Add compatible for the Tenstorrent Atlantis platform. Acked-by: Conor Dooley <conor.dooley@microchip.com> Reviewed-by: Drew Fustini <fustini@kernel.org> Signed-off-by: Joel Stanley <joel@jms.id.au> --- v4: No changes v3: No changes, pick up review tags --- Documentation/devicetree/bindings/riscv/tenstorrent.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/riscv/tenstorrent.yaml b/Documentation/devicetree/bindings/riscv/tenstorrent.yaml index e15359b2aab6..7fb640e38455 100644 --- a/Documentation/devicetree/bindings/riscv/tenstorrent.yaml +++ b/Documentation/devicetree/bindings/riscv/tenstorrent.yaml @@ -22,6 +22,10 @@ properties: items: - const: tenstorrent,blackhole-card - const: tenstorrent,blackhole + - description: Tenstorrent Atlantis + items: + - const: tenstorrent,atlantis-evb + - const: tenstorrent,atlantis additionalProperties: true -- 2.47.3 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv ^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH v4 6/6] riscv: dts: tenstorrent: Add Atlantis platform 2026-11-27 6:14 ` Joel Stanley @ 2026-11-27 6:14 ` Joel Stanley -1 siblings, 0 replies; 16+ messages in thread From: Joel Stanley @ 2026-11-27 6:14 UTC (permalink / raw) To: Paul Walmsley, Rob Herring, Conor Dooley, Palmer Dabbelt Cc: Anup Patel, Nicholas Piggin, Michael Ellerman, Drew Fustini, Anirudh Srinivasan, linux-riscv, devicetree Add initial support for the Tenstorrent Atlantis platform, based on the Atlantis SoC featuring 8x RVA23-compliant Tenstorrent Ascalon-XG cores. The evb machine represents an internal bringup vehicle with just the interrupt controllers and a UART. This will be updated in time with a full featured machine once details are available. The chosen node sets bootargs to earlycon=sbi to aid debugging early boot, as the platform may not have a bootloader to fill out the chosen node. The m-mode IMSIC setting riscv,guest-index-bits looks strange, as m-mode devices don't have guest interrupt files. The spacing (stride) between m-mode files is the same 256KB as s-mode on Atlantis, so we set the property so software (eg OpenSBI) can derive the layout. The SoC has a 8-way 64KB L1I, 4-way 256KB L1D, and a 24-way 12MB last level cache shared across all cores. Co-developed-by: Drew Fustini <fustini@kernel.org> Signed-off-by: Drew Fustini <fustini@kernel.org> Signed-off-by: Joel Stanley <joel@jms.id.au> --- v4: - Drop mtimer node, will add when bindings are finalised - Add cpus label, for use by u-boot dts (Anirudh) - Correct timebase to 100MHz - Strict style conformance (Drew) - cpu nodes: device_type first, standard properties before the riscv, ones - imsic and aplic nodes: riscv, properties last - uart nodes: blank line before status - soc node: move compatible up, ranges after compatible - root node: clocks before cpus - board file: memory@0 after aliases and chosen - dtsi: remove unnecessary dts-v1 tag v3: - Fix prcm_rcpu parent - Delegate all aplic irqs - Drop uart1 clock override - Use earlycon=sbi, document rationale - Fix mistakes in cache info v2: - Update mtimer compatible - Add Drew's co-developed-by - Correct aplic num-sources count --- arch/riscv/boot/dts/tenstorrent/Makefile | 1 + .../boot/dts/tenstorrent/atlantis-evb.dts | 29 ++ .../boot/dts/tenstorrent/atlantis-soc.dtsi | 467 ++++++++++++++++++ 3 files changed, 497 insertions(+) create mode 100644 arch/riscv/boot/dts/tenstorrent/atlantis-evb.dts create mode 100644 arch/riscv/boot/dts/tenstorrent/atlantis-soc.dtsi diff --git a/arch/riscv/boot/dts/tenstorrent/Makefile b/arch/riscv/boot/dts/tenstorrent/Makefile index 2c81faaba462..92d8bb1a683f 100644 --- a/arch/riscv/boot/dts/tenstorrent/Makefile +++ b/arch/riscv/boot/dts/tenstorrent/Makefile @@ -1,2 +1,3 @@ # SPDX-License-Identifier: GPL-2.0 dtb-$(CONFIG_ARCH_TENSTORRENT) += blackhole-card.dtb +dtb-$(CONFIG_ARCH_TENSTORRENT) += atlantis-evb.dtb diff --git a/arch/riscv/boot/dts/tenstorrent/atlantis-evb.dts b/arch/riscv/boot/dts/tenstorrent/atlantis-evb.dts new file mode 100644 index 000000000000..b5ed5548c6c6 --- /dev/null +++ b/arch/riscv/boot/dts/tenstorrent/atlantis-evb.dts @@ -0,0 +1,29 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +// Copyright 2026 Tenstorrent +/dts-v1/; + +#include "atlantis-soc.dtsi" + +/ { + model = "Tenstorrent Atlantis development platform"; + compatible = "tenstorrent,atlantis-evb", "tenstorrent,atlantis"; + + aliases { + serial0 = &uart1; + }; + + chosen { + bootargs = "earlycon=sbi"; + stdout-path = "serial0:115200"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x00000000 0x0 0x80000000>, + <0x1 0x80000000 0x0 0x80000000>; + }; +}; + +&uart1 { + status = "okay"; +}; diff --git a/arch/riscv/boot/dts/tenstorrent/atlantis-soc.dtsi b/arch/riscv/boot/dts/tenstorrent/atlantis-soc.dtsi new file mode 100644 index 000000000000..9357f64bc364 --- /dev/null +++ b/arch/riscv/boot/dts/tenstorrent/atlantis-soc.dtsi @@ -0,0 +1,467 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +// Copyright 2026 Tenstorrent + +#include <dt-bindings/interrupt-controller/irq.h> +#include <dt-bindings/clock/tenstorrent,atlantis-prcm-rcpu.h> + +/ { + model = "Tenstorrent Atlantis"; + compatible = "tenstorrent,atlantis"; + + #address-cells = <2>; + #size-cells = <2>; + + clocks { + osc_24m: clock-24m { + compatible = "fixed-clock"; + clock-frequency = <24000000>; + clock-output-names = "osc_24m"; + #clock-cells = <0>; + }; + }; + + cpus: cpus { + #address-cells = <1>; + #size-cells = <0>; + timebase-frequency = <100000000>; + + cpu0: cpu@0 { + device_type = "cpu"; + compatible = "tenstorrent,ascalon-xg", "tenstorrent,ascalon", "riscv"; + reg = <0>; + i-cache-block-size = <64>; + i-cache-size = <0x10000>; + i-cache-sets = <128>; + d-cache-block-size = <64>; + d-cache-size = <0x40000>; + d-cache-sets = <1024>; + next-level-cache = <&l2_cache>; + mmu-type = "riscv,sv57"; + riscv,isa-base = "rv64i"; + riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "b", "v", "h", + "zicbom", "zicbop", "zicboz", "ziccamoa", "ziccif", + "zicclsm", "ziccrse", "zicntr", "zicond", "zicsr", + "zifencei", "zihintntl", "zihintpause", "zihpm", + "zimop", "za64rs", "zawrs", "zfa", "zfbfmin", "zfh", + "zfhmin", "zca", "zcb", "zcmop", "zba", "zbb", + "zbs", "zkr", "zkt", "zvbb", "zvbc", "zvfbfmin", + "zvfbfwma", "zvfh", "zvfhmin", "zvkt", "sha", + "shcounterenw", "shgatpa", "shtvala", "shvsatpa", + "shvstvala", "shvstvecd", "smaia", "smmpm", "smnpm", + "smrnmi", "smstateen", "ssaia", "ssccptr", + "sscofpmf", "sscounterenw", "ssnpm", "ssstateen", + "sstc", "sstvala", "sstvecd", "ssu64xl", "svade", + "svinval", "svnapot", "svpbmt"; + riscv,cbom-block-size = <64>; + riscv,cbop-block-size = <64>; + riscv,cboz-block-size = <64>; + + cpu0_intc: interrupt-controller { + compatible = "riscv,cpu-intc"; + #interrupt-cells = <1>; + interrupt-controller; + }; + }; + + cpu1: cpu@1 { + device_type = "cpu"; + compatible = "tenstorrent,ascalon-xg", "tenstorrent,ascalon", "riscv"; + reg = <1>; + i-cache-block-size = <64>; + i-cache-size = <0x10000>; + i-cache-sets = <128>; + d-cache-block-size = <64>; + d-cache-size = <0x40000>; + d-cache-sets = <1024>; + next-level-cache = <&l2_cache>; + mmu-type = "riscv,sv57"; + riscv,isa-base = "rv64i"; + riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "b", "v", "h", + "zicbom", "zicbop", "zicboz", "ziccamoa", "ziccif", + "zicclsm", "ziccrse", "zicntr", "zicond", "zicsr", + "zifencei", "zihintntl", "zihintpause", "zihpm", + "zimop", "za64rs", "zawrs", "zfa", "zfbfmin", "zfh", + "zfhmin", "zca", "zcb", "zcmop", "zba", "zbb", + "zbs", "zkr", "zkt", "zvbb", "zvbc", "zvfbfmin", + "zvfbfwma", "zvfh", "zvfhmin", "zvkt", "sha", + "shcounterenw", "shgatpa", "shtvala", "shvsatpa", + "shvstvala", "shvstvecd", "smaia", "smmpm", "smnpm", + "smrnmi", "smstateen", "ssaia", "ssccptr", + "sscofpmf", "sscounterenw", "ssnpm", "ssstateen", + "sstc", "sstvala", "sstvecd", "ssu64xl", "svade", + "svinval", "svnapot", "svpbmt"; + riscv,cbom-block-size = <64>; + riscv,cbop-block-size = <64>; + riscv,cboz-block-size = <64>; + + cpu1_intc: interrupt-controller { + compatible = "riscv,cpu-intc"; + #interrupt-cells = <1>; + interrupt-controller; + }; + }; + + cpu2: cpu@2 { + device_type = "cpu"; + compatible = "tenstorrent,ascalon-xg", "tenstorrent,ascalon", "riscv"; + reg = <2>; + i-cache-block-size = <64>; + i-cache-size = <0x10000>; + i-cache-sets = <128>; + d-cache-block-size = <64>; + d-cache-size = <0x40000>; + d-cache-sets = <1024>; + next-level-cache = <&l2_cache>; + mmu-type = "riscv,sv57"; + riscv,isa-base = "rv64i"; + riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "b", "v", "h", + "zicbom", "zicbop", "zicboz", "ziccamoa", "ziccif", + "zicclsm", "ziccrse", "zicntr", "zicond", "zicsr", + "zifencei", "zihintntl", "zihintpause", "zihpm", + "zimop", "za64rs", "zawrs", "zfa", "zfbfmin", "zfh", + "zfhmin", "zca", "zcb", "zcmop", "zba", "zbb", + "zbs", "zkr", "zkt", "zvbb", "zvbc", "zvfbfmin", + "zvfbfwma", "zvfh", "zvfhmin", "zvkt", "sha", + "shcounterenw", "shgatpa", "shtvala", "shvsatpa", + "shvstvala", "shvstvecd", "smaia", "smmpm", "smnpm", + "smrnmi", "smstateen", "ssaia", "ssccptr", + "sscofpmf", "sscounterenw", "ssnpm", "ssstateen", + "sstc", "sstvala", "sstvecd", "ssu64xl", "svade", + "svinval", "svnapot", "svpbmt"; + riscv,cbom-block-size = <64>; + riscv,cbop-block-size = <64>; + riscv,cboz-block-size = <64>; + + cpu2_intc: interrupt-controller { + compatible = "riscv,cpu-intc"; + #interrupt-cells = <1>; + interrupt-controller; + }; + }; + + cpu3: cpu@3 { + device_type = "cpu"; + compatible = "tenstorrent,ascalon-xg", "tenstorrent,ascalon", "riscv"; + reg = <3>; + i-cache-block-size = <64>; + i-cache-size = <0x10000>; + i-cache-sets = <128>; + d-cache-block-size = <64>; + d-cache-size = <0x40000>; + d-cache-sets = <1024>; + next-level-cache = <&l2_cache>; + mmu-type = "riscv,sv57"; + riscv,isa-base = "rv64i"; + riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "b", "v", "h", + "zicbom", "zicbop", "zicboz", "ziccamoa", "ziccif", + "zicclsm", "ziccrse", "zicntr", "zicond", "zicsr", + "zifencei", "zihintntl", "zihintpause", "zihpm", + "zimop", "za64rs", "zawrs", "zfa", "zfbfmin", "zfh", + "zfhmin", "zca", "zcb", "zcmop", "zba", "zbb", + "zbs", "zkr", "zkt", "zvbb", "zvbc", "zvfbfmin", + "zvfbfwma", "zvfh", "zvfhmin", "zvkt", "sha", + "shcounterenw", "shgatpa", "shtvala", "shvsatpa", + "shvstvala", "shvstvecd", "smaia", "smmpm", "smnpm", + "smrnmi", "smstateen", "ssaia", "ssccptr", + "sscofpmf", "sscounterenw", "ssnpm", "ssstateen", + "sstc", "sstvala", "sstvecd", "ssu64xl", "svade", + "svinval", "svnapot", "svpbmt"; + riscv,cbom-block-size = <64>; + riscv,cbop-block-size = <64>; + riscv,cboz-block-size = <64>; + + cpu3_intc: interrupt-controller { + compatible = "riscv,cpu-intc"; + #interrupt-cells = <1>; + interrupt-controller; + }; + }; + + cpu4: cpu@4 { + device_type = "cpu"; + compatible = "tenstorrent,ascalon-xg", "tenstorrent,ascalon", "riscv"; + reg = <4>; + i-cache-block-size = <64>; + i-cache-size = <0x10000>; + i-cache-sets = <128>; + d-cache-block-size = <64>; + d-cache-size = <0x40000>; + d-cache-sets = <1024>; + next-level-cache = <&l2_cache>; + mmu-type = "riscv,sv57"; + riscv,isa-base = "rv64i"; + riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "b", "v", "h", + "zicbom", "zicbop", "zicboz", "ziccamoa", "ziccif", + "zicclsm", "ziccrse", "zicntr", "zicond", "zicsr", + "zifencei", "zihintntl", "zihintpause", "zihpm", + "zimop", "za64rs", "zawrs", "zfa", "zfbfmin", "zfh", + "zfhmin", "zca", "zcb", "zcmop", "zba", "zbb", + "zbs", "zkr", "zkt", "zvbb", "zvbc", "zvfbfmin", + "zvfbfwma", "zvfh", "zvfhmin", "zvkt", "sha", + "shcounterenw", "shgatpa", "shtvala", "shvsatpa", + "shvstvala", "shvstvecd", "smaia", "smmpm", "smnpm", + "smrnmi", "smstateen", "ssaia", "ssccptr", + "sscofpmf", "sscounterenw", "ssnpm", "ssstateen", + "sstc", "sstvala", "sstvecd", "ssu64xl", "svade", + "svinval", "svnapot", "svpbmt"; + riscv,cbom-block-size = <64>; + riscv,cbop-block-size = <64>; + riscv,cboz-block-size = <64>; + + cpu4_intc: interrupt-controller { + compatible = "riscv,cpu-intc"; + #interrupt-cells = <1>; + interrupt-controller; + }; + }; + + cpu5: cpu@5 { + device_type = "cpu"; + compatible = "tenstorrent,ascalon-xg", "tenstorrent,ascalon", "riscv"; + reg = <5>; + i-cache-block-size = <64>; + i-cache-size = <0x10000>; + i-cache-sets = <128>; + d-cache-block-size = <64>; + d-cache-size = <0x40000>; + d-cache-sets = <1024>; + next-level-cache = <&l2_cache>; + mmu-type = "riscv,sv57"; + riscv,isa-base = "rv64i"; + riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "b", "v", "h", + "zicbom", "zicbop", "zicboz", "ziccamoa", "ziccif", + "zicclsm", "ziccrse", "zicntr", "zicond", "zicsr", + "zifencei", "zihintntl", "zihintpause", "zihpm", + "zimop", "za64rs", "zawrs", "zfa", "zfbfmin", "zfh", + "zfhmin", "zca", "zcb", "zcmop", "zba", "zbb", + "zbs", "zkr", "zkt", "zvbb", "zvbc", "zvfbfmin", + "zvfbfwma", "zvfh", "zvfhmin", "zvkt", "sha", + "shcounterenw", "shgatpa", "shtvala", "shvsatpa", + "shvstvala", "shvstvecd", "smaia", "smmpm", "smnpm", + "smrnmi", "smstateen", "ssaia", "ssccptr", + "sscofpmf", "sscounterenw", "ssnpm", "ssstateen", + "sstc", "sstvala", "sstvecd", "ssu64xl", "svade", + "svinval", "svnapot", "svpbmt"; + riscv,cbom-block-size = <64>; + riscv,cbop-block-size = <64>; + riscv,cboz-block-size = <64>; + + cpu5_intc: interrupt-controller { + compatible = "riscv,cpu-intc"; + #interrupt-cells = <1>; + interrupt-controller; + }; + }; + + cpu6: cpu@6 { + device_type = "cpu"; + compatible = "tenstorrent,ascalon-xg", "tenstorrent,ascalon", "riscv"; + reg = <6>; + i-cache-block-size = <64>; + i-cache-size = <0x10000>; + i-cache-sets = <128>; + d-cache-block-size = <64>; + d-cache-size = <0x40000>; + d-cache-sets = <1024>; + next-level-cache = <&l2_cache>; + mmu-type = "riscv,sv57"; + riscv,isa-base = "rv64i"; + riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "b", "v", "h", + "zicbom", "zicbop", "zicboz", "ziccamoa", "ziccif", + "zicclsm", "ziccrse", "zicntr", "zicond", "zicsr", + "zifencei", "zihintntl", "zihintpause", "zihpm", + "zimop", "za64rs", "zawrs", "zfa", "zfbfmin", "zfh", + "zfhmin", "zca", "zcb", "zcmop", "zba", "zbb", + "zbs", "zkr", "zkt", "zvbb", "zvbc", "zvfbfmin", + "zvfbfwma", "zvfh", "zvfhmin", "zvkt", "sha", + "shcounterenw", "shgatpa", "shtvala", "shvsatpa", + "shvstvala", "shvstvecd", "smaia", "smmpm", "smnpm", + "smrnmi", "smstateen", "ssaia", "ssccptr", + "sscofpmf", "sscounterenw", "ssnpm", "ssstateen", + "sstc", "sstvala", "sstvecd", "ssu64xl", "svade", + "svinval", "svnapot", "svpbmt"; + riscv,cbom-block-size = <64>; + riscv,cbop-block-size = <64>; + riscv,cboz-block-size = <64>; + + cpu6_intc: interrupt-controller { + compatible = "riscv,cpu-intc"; + #interrupt-cells = <1>; + interrupt-controller; + }; + }; + + cpu7: cpu@7 { + device_type = "cpu"; + compatible = "tenstorrent,ascalon-xg", "tenstorrent,ascalon", "riscv"; + reg = <7>; + i-cache-block-size = <64>; + i-cache-size = <0x10000>; + i-cache-sets = <128>; + d-cache-block-size = <64>; + d-cache-size = <0x40000>; + d-cache-sets = <1024>; + next-level-cache = <&l2_cache>; + mmu-type = "riscv,sv57"; + riscv,isa-base = "rv64i"; + riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "b", "v", "h", + "zicbom", "zicbop", "zicboz", "ziccamoa", "ziccif", + "zicclsm", "ziccrse", "zicntr", "zicond", "zicsr", + "zifencei", "zihintntl", "zihintpause", "zihpm", + "zimop", "za64rs", "zawrs", "zfa", "zfbfmin", "zfh", + "zfhmin", "zca", "zcb", "zcmop", "zba", "zbb", + "zbs", "zkr", "zkt", "zvbb", "zvbc", "zvfbfmin", + "zvfbfwma", "zvfh", "zvfhmin", "zvkt", "sha", + "shcounterenw", "shgatpa", "shtvala", "shvsatpa", + "shvstvala", "shvstvecd", "smaia", "smmpm", "smnpm", + "smrnmi", "smstateen", "ssaia", "ssccptr", + "sscofpmf", "sscounterenw", "ssnpm", "ssstateen", + "sstc", "sstvala", "sstvecd", "ssu64xl", "svade", + "svinval", "svnapot", "svpbmt"; + riscv,cbom-block-size = <64>; + riscv,cbop-block-size = <64>; + riscv,cboz-block-size = <64>; + + cpu7_intc: interrupt-controller { + compatible = "riscv,cpu-intc"; + #interrupt-cells = <1>; + interrupt-controller; + }; + }; + + l2_cache: l2-cache { + compatible = "cache"; + cache-block-size = <64>; + cache-level = <2>; + cache-size = <0xc00000>; + cache-sets = <8192>; + cache-unified; + }; + }; + + soc { + compatible = "simple-bus"; + ranges; + #address-cells = <2>; + #size-cells = <2>; + interrupt-parent = <&aplic_s>; + + imsic_m: interrupt-controller@a0000000 { + compatible = "tenstorrent,atlantis-imsics", "riscv,imsics"; + reg = <0x0 0xa0000000 0x0 0x200000>; + interrupts-extended = <&cpu0_intc 11>, <&cpu1_intc 11>, + <&cpu2_intc 11>, <&cpu3_intc 11>, + <&cpu4_intc 11>, <&cpu5_intc 11>, + <&cpu6_intc 11>, <&cpu7_intc 11>; + msi-controller; + #msi-cells = <0>; + interrupt-controller; + #interrupt-cells = <0>; + riscv,guest-index-bits = <6>; + riscv,num-ids = <255>; + }; + + imsic_s: interrupt-controller@a4000000 { + compatible = "tenstorrent,atlantis-imsics", "riscv,imsics"; + reg = <0x0 0xa4000000 0x0 0x200000>; + interrupts-extended = <&cpu0_intc 9>, <&cpu1_intc 9>, + <&cpu2_intc 9>, <&cpu3_intc 9>, + <&cpu4_intc 9>, <&cpu5_intc 9>, + <&cpu6_intc 9>, <&cpu7_intc 9>; + msi-controller; + #msi-cells = <0>; + interrupt-controller; + #interrupt-cells = <0>; + riscv,guest-index-bits = <6>; + riscv,num-ids = <255>; + }; + + aplic_m: interrupt-controller@cc000000 { + compatible = "tenstorrent,atlantis-aplic", "riscv,aplic"; + reg = <0x0 0xcc000000 0x0 0x4000000>; + msi-parent = <&imsic_m>; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <0>; + riscv,children = <&aplic_s>; + riscv,delegation = <&aplic_s 1 128>; + riscv,num-sources = <128>; + }; + + prcm_rcpu: clock-controller@d0000000 { + compatible = "tenstorrent,atlantis-prcm-rcpu"; + reg = <0x0 0xd0000000 0x0 0x10000>; + clocks = <&osc_24m>; + #clock-cells = <1>; + #reset-cells = <1>; + assigned-clocks = <&prcm_rcpu CLK_RCPU_ROOT>, <&prcm_rcpu CLK_NOCC_CLK>; + assigned-clock-parents = <&prcm_rcpu CLK_RCPU_PLL>, + <&prcm_rcpu CLK_NOC_PLL>; + }; + + uart0: serial@d4100000 { + compatible = "snps,dw-apb-uart"; + reg = <0x0 0xd4100000 0x0 0x10000>; + interrupts = <38 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&prcm_rcpu CLK_UART0_PCLK>; + reg-shift = <2>; + reg-io-width = <4>; + + status = "disabled"; + }; + + uart1: serial@d4110000 { + compatible = "snps,dw-apb-uart"; + reg = <0x0 0xd4110000 0x0 0x10000>; + interrupts = <39 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&prcm_rcpu CLK_UART1_PCLK>; + reg-shift = <2>; + reg-io-width = <4>; + + status = "disabled"; + }; + + uart2: serial@d4120000 { + compatible = "snps,dw-apb-uart"; + reg = <0x0 0xd4120000 0x0 0x10000>; + interrupts = <40 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&prcm_rcpu CLK_UART2_PCLK>; + reg-shift = <2>; + reg-io-width = <4>; + + status = "disabled"; + }; + + uart3: serial@d4130000 { + compatible = "snps,dw-apb-uart"; + reg = <0x0 0xd4130000 0x0 0x10000>; + interrupts = <41 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&prcm_rcpu CLK_UART3_PCLK>; + reg-shift = <2>; + reg-io-width = <4>; + + status = "disabled"; + }; + + uart4: serial@d4140000 { + compatible = "snps,dw-apb-uart"; + reg = <0x0 0xd4140000 0x0 0x10000>; + interrupts = <42 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&prcm_rcpu CLK_UART4_PCLK>; + reg-shift = <2>; + reg-io-width = <4>; + + status = "disabled"; + }; + + aplic_s: interrupt-controller@e8000000 { + compatible = "tenstorrent,atlantis-aplic", "riscv,aplic"; + reg = <0x0 0xe8000000 0x0 0x4000000>; + msi-parent = <&imsic_s>; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <0>; + riscv,num-sources = <128>; + }; + }; +}; -- 2.47.3 ^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH v4 6/6] riscv: dts: tenstorrent: Add Atlantis platform @ 2026-11-27 6:14 ` Joel Stanley 0 siblings, 0 replies; 16+ messages in thread From: Joel Stanley @ 2026-11-27 6:14 UTC (permalink / raw) To: Paul Walmsley, Rob Herring, Conor Dooley, Palmer Dabbelt Cc: Anup Patel, Nicholas Piggin, Michael Ellerman, Drew Fustini, Anirudh Srinivasan, linux-riscv, devicetree Add initial support for the Tenstorrent Atlantis platform, based on the Atlantis SoC featuring 8x RVA23-compliant Tenstorrent Ascalon-XG cores. The evb machine represents an internal bringup vehicle with just the interrupt controllers and a UART. This will be updated in time with a full featured machine once details are available. The chosen node sets bootargs to earlycon=sbi to aid debugging early boot, as the platform may not have a bootloader to fill out the chosen node. The m-mode IMSIC setting riscv,guest-index-bits looks strange, as m-mode devices don't have guest interrupt files. The spacing (stride) between m-mode files is the same 256KB as s-mode on Atlantis, so we set the property so software (eg OpenSBI) can derive the layout. The SoC has a 8-way 64KB L1I, 4-way 256KB L1D, and a 24-way 12MB last level cache shared across all cores. Co-developed-by: Drew Fustini <fustini@kernel.org> Signed-off-by: Drew Fustini <fustini@kernel.org> Signed-off-by: Joel Stanley <joel@jms.id.au> --- v4: - Drop mtimer node, will add when bindings are finalised - Add cpus label, for use by u-boot dts (Anirudh) - Correct timebase to 100MHz - Strict style conformance (Drew) - cpu nodes: device_type first, standard properties before the riscv, ones - imsic and aplic nodes: riscv, properties last - uart nodes: blank line before status - soc node: move compatible up, ranges after compatible - root node: clocks before cpus - board file: memory@0 after aliases and chosen - dtsi: remove unnecessary dts-v1 tag v3: - Fix prcm_rcpu parent - Delegate all aplic irqs - Drop uart1 clock override - Use earlycon=sbi, document rationale - Fix mistakes in cache info v2: - Update mtimer compatible - Add Drew's co-developed-by - Correct aplic num-sources count --- arch/riscv/boot/dts/tenstorrent/Makefile | 1 + .../boot/dts/tenstorrent/atlantis-evb.dts | 29 ++ .../boot/dts/tenstorrent/atlantis-soc.dtsi | 467 ++++++++++++++++++ 3 files changed, 497 insertions(+) create mode 100644 arch/riscv/boot/dts/tenstorrent/atlantis-evb.dts create mode 100644 arch/riscv/boot/dts/tenstorrent/atlantis-soc.dtsi diff --git a/arch/riscv/boot/dts/tenstorrent/Makefile b/arch/riscv/boot/dts/tenstorrent/Makefile index 2c81faaba462..92d8bb1a683f 100644 --- a/arch/riscv/boot/dts/tenstorrent/Makefile +++ b/arch/riscv/boot/dts/tenstorrent/Makefile @@ -1,2 +1,3 @@ # SPDX-License-Identifier: GPL-2.0 dtb-$(CONFIG_ARCH_TENSTORRENT) += blackhole-card.dtb +dtb-$(CONFIG_ARCH_TENSTORRENT) += atlantis-evb.dtb diff --git a/arch/riscv/boot/dts/tenstorrent/atlantis-evb.dts b/arch/riscv/boot/dts/tenstorrent/atlantis-evb.dts new file mode 100644 index 000000000000..b5ed5548c6c6 --- /dev/null +++ b/arch/riscv/boot/dts/tenstorrent/atlantis-evb.dts @@ -0,0 +1,29 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +// Copyright 2026 Tenstorrent +/dts-v1/; + +#include "atlantis-soc.dtsi" + +/ { + model = "Tenstorrent Atlantis development platform"; + compatible = "tenstorrent,atlantis-evb", "tenstorrent,atlantis"; + + aliases { + serial0 = &uart1; + }; + + chosen { + bootargs = "earlycon=sbi"; + stdout-path = "serial0:115200"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x00000000 0x0 0x80000000>, + <0x1 0x80000000 0x0 0x80000000>; + }; +}; + +&uart1 { + status = "okay"; +}; diff --git a/arch/riscv/boot/dts/tenstorrent/atlantis-soc.dtsi b/arch/riscv/boot/dts/tenstorrent/atlantis-soc.dtsi new file mode 100644 index 000000000000..9357f64bc364 --- /dev/null +++ b/arch/riscv/boot/dts/tenstorrent/atlantis-soc.dtsi @@ -0,0 +1,467 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +// Copyright 2026 Tenstorrent + +#include <dt-bindings/interrupt-controller/irq.h> +#include <dt-bindings/clock/tenstorrent,atlantis-prcm-rcpu.h> + +/ { + model = "Tenstorrent Atlantis"; + compatible = "tenstorrent,atlantis"; + + #address-cells = <2>; + #size-cells = <2>; + + clocks { + osc_24m: clock-24m { + compatible = "fixed-clock"; + clock-frequency = <24000000>; + clock-output-names = "osc_24m"; + #clock-cells = <0>; + }; + }; + + cpus: cpus { + #address-cells = <1>; + #size-cells = <0>; + timebase-frequency = <100000000>; + + cpu0: cpu@0 { + device_type = "cpu"; + compatible = "tenstorrent,ascalon-xg", "tenstorrent,ascalon", "riscv"; + reg = <0>; + i-cache-block-size = <64>; + i-cache-size = <0x10000>; + i-cache-sets = <128>; + d-cache-block-size = <64>; + d-cache-size = <0x40000>; + d-cache-sets = <1024>; + next-level-cache = <&l2_cache>; + mmu-type = "riscv,sv57"; + riscv,isa-base = "rv64i"; + riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "b", "v", "h", + "zicbom", "zicbop", "zicboz", "ziccamoa", "ziccif", + "zicclsm", "ziccrse", "zicntr", "zicond", "zicsr", + "zifencei", "zihintntl", "zihintpause", "zihpm", + "zimop", "za64rs", "zawrs", "zfa", "zfbfmin", "zfh", + "zfhmin", "zca", "zcb", "zcmop", "zba", "zbb", + "zbs", "zkr", "zkt", "zvbb", "zvbc", "zvfbfmin", + "zvfbfwma", "zvfh", "zvfhmin", "zvkt", "sha", + "shcounterenw", "shgatpa", "shtvala", "shvsatpa", + "shvstvala", "shvstvecd", "smaia", "smmpm", "smnpm", + "smrnmi", "smstateen", "ssaia", "ssccptr", + "sscofpmf", "sscounterenw", "ssnpm", "ssstateen", + "sstc", "sstvala", "sstvecd", "ssu64xl", "svade", + "svinval", "svnapot", "svpbmt"; + riscv,cbom-block-size = <64>; + riscv,cbop-block-size = <64>; + riscv,cboz-block-size = <64>; + + cpu0_intc: interrupt-controller { + compatible = "riscv,cpu-intc"; + #interrupt-cells = <1>; + interrupt-controller; + }; + }; + + cpu1: cpu@1 { + device_type = "cpu"; + compatible = "tenstorrent,ascalon-xg", "tenstorrent,ascalon", "riscv"; + reg = <1>; + i-cache-block-size = <64>; + i-cache-size = <0x10000>; + i-cache-sets = <128>; + d-cache-block-size = <64>; + d-cache-size = <0x40000>; + d-cache-sets = <1024>; + next-level-cache = <&l2_cache>; + mmu-type = "riscv,sv57"; + riscv,isa-base = "rv64i"; + riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "b", "v", "h", + "zicbom", "zicbop", "zicboz", "ziccamoa", "ziccif", + "zicclsm", "ziccrse", "zicntr", "zicond", "zicsr", + "zifencei", "zihintntl", "zihintpause", "zihpm", + "zimop", "za64rs", "zawrs", "zfa", "zfbfmin", "zfh", + "zfhmin", "zca", "zcb", "zcmop", "zba", "zbb", + "zbs", "zkr", "zkt", "zvbb", "zvbc", "zvfbfmin", + "zvfbfwma", "zvfh", "zvfhmin", "zvkt", "sha", + "shcounterenw", "shgatpa", "shtvala", "shvsatpa", + "shvstvala", "shvstvecd", "smaia", "smmpm", "smnpm", + "smrnmi", "smstateen", "ssaia", "ssccptr", + "sscofpmf", "sscounterenw", "ssnpm", "ssstateen", + "sstc", "sstvala", "sstvecd", "ssu64xl", "svade", + "svinval", "svnapot", "svpbmt"; + riscv,cbom-block-size = <64>; + riscv,cbop-block-size = <64>; + riscv,cboz-block-size = <64>; + + cpu1_intc: interrupt-controller { + compatible = "riscv,cpu-intc"; + #interrupt-cells = <1>; + interrupt-controller; + }; + }; + + cpu2: cpu@2 { + device_type = "cpu"; + compatible = "tenstorrent,ascalon-xg", "tenstorrent,ascalon", "riscv"; + reg = <2>; + i-cache-block-size = <64>; + i-cache-size = <0x10000>; + i-cache-sets = <128>; + d-cache-block-size = <64>; + d-cache-size = <0x40000>; + d-cache-sets = <1024>; + next-level-cache = <&l2_cache>; + mmu-type = "riscv,sv57"; + riscv,isa-base = "rv64i"; + riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "b", "v", "h", + "zicbom", "zicbop", "zicboz", "ziccamoa", "ziccif", + "zicclsm", "ziccrse", "zicntr", "zicond", "zicsr", + "zifencei", "zihintntl", "zihintpause", "zihpm", + "zimop", "za64rs", "zawrs", "zfa", "zfbfmin", "zfh", + "zfhmin", "zca", "zcb", "zcmop", "zba", "zbb", + "zbs", "zkr", "zkt", "zvbb", "zvbc", "zvfbfmin", + "zvfbfwma", "zvfh", "zvfhmin", "zvkt", "sha", + "shcounterenw", "shgatpa", "shtvala", "shvsatpa", + "shvstvala", "shvstvecd", "smaia", "smmpm", "smnpm", + "smrnmi", "smstateen", "ssaia", "ssccptr", + "sscofpmf", "sscounterenw", "ssnpm", "ssstateen", + "sstc", "sstvala", "sstvecd", "ssu64xl", "svade", + "svinval", "svnapot", "svpbmt"; + riscv,cbom-block-size = <64>; + riscv,cbop-block-size = <64>; + riscv,cboz-block-size = <64>; + + cpu2_intc: interrupt-controller { + compatible = "riscv,cpu-intc"; + #interrupt-cells = <1>; + interrupt-controller; + }; + }; + + cpu3: cpu@3 { + device_type = "cpu"; + compatible = "tenstorrent,ascalon-xg", "tenstorrent,ascalon", "riscv"; + reg = <3>; + i-cache-block-size = <64>; + i-cache-size = <0x10000>; + i-cache-sets = <128>; + d-cache-block-size = <64>; + d-cache-size = <0x40000>; + d-cache-sets = <1024>; + next-level-cache = <&l2_cache>; + mmu-type = "riscv,sv57"; + riscv,isa-base = "rv64i"; + riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "b", "v", "h", + "zicbom", "zicbop", "zicboz", "ziccamoa", "ziccif", + "zicclsm", "ziccrse", "zicntr", "zicond", "zicsr", + "zifencei", "zihintntl", "zihintpause", "zihpm", + "zimop", "za64rs", "zawrs", "zfa", "zfbfmin", "zfh", + "zfhmin", "zca", "zcb", "zcmop", "zba", "zbb", + "zbs", "zkr", "zkt", "zvbb", "zvbc", "zvfbfmin", + "zvfbfwma", "zvfh", "zvfhmin", "zvkt", "sha", + "shcounterenw", "shgatpa", "shtvala", "shvsatpa", + "shvstvala", "shvstvecd", "smaia", "smmpm", "smnpm", + "smrnmi", "smstateen", "ssaia", "ssccptr", + "sscofpmf", "sscounterenw", "ssnpm", "ssstateen", + "sstc", "sstvala", "sstvecd", "ssu64xl", "svade", + "svinval", "svnapot", "svpbmt"; + riscv,cbom-block-size = <64>; + riscv,cbop-block-size = <64>; + riscv,cboz-block-size = <64>; + + cpu3_intc: interrupt-controller { + compatible = "riscv,cpu-intc"; + #interrupt-cells = <1>; + interrupt-controller; + }; + }; + + cpu4: cpu@4 { + device_type = "cpu"; + compatible = "tenstorrent,ascalon-xg", "tenstorrent,ascalon", "riscv"; + reg = <4>; + i-cache-block-size = <64>; + i-cache-size = <0x10000>; + i-cache-sets = <128>; + d-cache-block-size = <64>; + d-cache-size = <0x40000>; + d-cache-sets = <1024>; + next-level-cache = <&l2_cache>; + mmu-type = "riscv,sv57"; + riscv,isa-base = "rv64i"; + riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "b", "v", "h", + "zicbom", "zicbop", "zicboz", "ziccamoa", "ziccif", + "zicclsm", "ziccrse", "zicntr", "zicond", "zicsr", + "zifencei", "zihintntl", "zihintpause", "zihpm", + "zimop", "za64rs", "zawrs", "zfa", "zfbfmin", "zfh", + "zfhmin", "zca", "zcb", "zcmop", "zba", "zbb", + "zbs", "zkr", "zkt", "zvbb", "zvbc", "zvfbfmin", + "zvfbfwma", "zvfh", "zvfhmin", "zvkt", "sha", + "shcounterenw", "shgatpa", "shtvala", "shvsatpa", + "shvstvala", "shvstvecd", "smaia", "smmpm", "smnpm", + "smrnmi", "smstateen", "ssaia", "ssccptr", + "sscofpmf", "sscounterenw", "ssnpm", "ssstateen", + "sstc", "sstvala", "sstvecd", "ssu64xl", "svade", + "svinval", "svnapot", "svpbmt"; + riscv,cbom-block-size = <64>; + riscv,cbop-block-size = <64>; + riscv,cboz-block-size = <64>; + + cpu4_intc: interrupt-controller { + compatible = "riscv,cpu-intc"; + #interrupt-cells = <1>; + interrupt-controller; + }; + }; + + cpu5: cpu@5 { + device_type = "cpu"; + compatible = "tenstorrent,ascalon-xg", "tenstorrent,ascalon", "riscv"; + reg = <5>; + i-cache-block-size = <64>; + i-cache-size = <0x10000>; + i-cache-sets = <128>; + d-cache-block-size = <64>; + d-cache-size = <0x40000>; + d-cache-sets = <1024>; + next-level-cache = <&l2_cache>; + mmu-type = "riscv,sv57"; + riscv,isa-base = "rv64i"; + riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "b", "v", "h", + "zicbom", "zicbop", "zicboz", "ziccamoa", "ziccif", + "zicclsm", "ziccrse", "zicntr", "zicond", "zicsr", + "zifencei", "zihintntl", "zihintpause", "zihpm", + "zimop", "za64rs", "zawrs", "zfa", "zfbfmin", "zfh", + "zfhmin", "zca", "zcb", "zcmop", "zba", "zbb", + "zbs", "zkr", "zkt", "zvbb", "zvbc", "zvfbfmin", + "zvfbfwma", "zvfh", "zvfhmin", "zvkt", "sha", + "shcounterenw", "shgatpa", "shtvala", "shvsatpa", + "shvstvala", "shvstvecd", "smaia", "smmpm", "smnpm", + "smrnmi", "smstateen", "ssaia", "ssccptr", + "sscofpmf", "sscounterenw", "ssnpm", "ssstateen", + "sstc", "sstvala", "sstvecd", "ssu64xl", "svade", + "svinval", "svnapot", "svpbmt"; + riscv,cbom-block-size = <64>; + riscv,cbop-block-size = <64>; + riscv,cboz-block-size = <64>; + + cpu5_intc: interrupt-controller { + compatible = "riscv,cpu-intc"; + #interrupt-cells = <1>; + interrupt-controller; + }; + }; + + cpu6: cpu@6 { + device_type = "cpu"; + compatible = "tenstorrent,ascalon-xg", "tenstorrent,ascalon", "riscv"; + reg = <6>; + i-cache-block-size = <64>; + i-cache-size = <0x10000>; + i-cache-sets = <128>; + d-cache-block-size = <64>; + d-cache-size = <0x40000>; + d-cache-sets = <1024>; + next-level-cache = <&l2_cache>; + mmu-type = "riscv,sv57"; + riscv,isa-base = "rv64i"; + riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "b", "v", "h", + "zicbom", "zicbop", "zicboz", "ziccamoa", "ziccif", + "zicclsm", "ziccrse", "zicntr", "zicond", "zicsr", + "zifencei", "zihintntl", "zihintpause", "zihpm", + "zimop", "za64rs", "zawrs", "zfa", "zfbfmin", "zfh", + "zfhmin", "zca", "zcb", "zcmop", "zba", "zbb", + "zbs", "zkr", "zkt", "zvbb", "zvbc", "zvfbfmin", + "zvfbfwma", "zvfh", "zvfhmin", "zvkt", "sha", + "shcounterenw", "shgatpa", "shtvala", "shvsatpa", + "shvstvala", "shvstvecd", "smaia", "smmpm", "smnpm", + "smrnmi", "smstateen", "ssaia", "ssccptr", + "sscofpmf", "sscounterenw", "ssnpm", "ssstateen", + "sstc", "sstvala", "sstvecd", "ssu64xl", "svade", + "svinval", "svnapot", "svpbmt"; + riscv,cbom-block-size = <64>; + riscv,cbop-block-size = <64>; + riscv,cboz-block-size = <64>; + + cpu6_intc: interrupt-controller { + compatible = "riscv,cpu-intc"; + #interrupt-cells = <1>; + interrupt-controller; + }; + }; + + cpu7: cpu@7 { + device_type = "cpu"; + compatible = "tenstorrent,ascalon-xg", "tenstorrent,ascalon", "riscv"; + reg = <7>; + i-cache-block-size = <64>; + i-cache-size = <0x10000>; + i-cache-sets = <128>; + d-cache-block-size = <64>; + d-cache-size = <0x40000>; + d-cache-sets = <1024>; + next-level-cache = <&l2_cache>; + mmu-type = "riscv,sv57"; + riscv,isa-base = "rv64i"; + riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "b", "v", "h", + "zicbom", "zicbop", "zicboz", "ziccamoa", "ziccif", + "zicclsm", "ziccrse", "zicntr", "zicond", "zicsr", + "zifencei", "zihintntl", "zihintpause", "zihpm", + "zimop", "za64rs", "zawrs", "zfa", "zfbfmin", "zfh", + "zfhmin", "zca", "zcb", "zcmop", "zba", "zbb", + "zbs", "zkr", "zkt", "zvbb", "zvbc", "zvfbfmin", + "zvfbfwma", "zvfh", "zvfhmin", "zvkt", "sha", + "shcounterenw", "shgatpa", "shtvala", "shvsatpa", + "shvstvala", "shvstvecd", "smaia", "smmpm", "smnpm", + "smrnmi", "smstateen", "ssaia", "ssccptr", + "sscofpmf", "sscounterenw", "ssnpm", "ssstateen", + "sstc", "sstvala", "sstvecd", "ssu64xl", "svade", + "svinval", "svnapot", "svpbmt"; + riscv,cbom-block-size = <64>; + riscv,cbop-block-size = <64>; + riscv,cboz-block-size = <64>; + + cpu7_intc: interrupt-controller { + compatible = "riscv,cpu-intc"; + #interrupt-cells = <1>; + interrupt-controller; + }; + }; + + l2_cache: l2-cache { + compatible = "cache"; + cache-block-size = <64>; + cache-level = <2>; + cache-size = <0xc00000>; + cache-sets = <8192>; + cache-unified; + }; + }; + + soc { + compatible = "simple-bus"; + ranges; + #address-cells = <2>; + #size-cells = <2>; + interrupt-parent = <&aplic_s>; + + imsic_m: interrupt-controller@a0000000 { + compatible = "tenstorrent,atlantis-imsics", "riscv,imsics"; + reg = <0x0 0xa0000000 0x0 0x200000>; + interrupts-extended = <&cpu0_intc 11>, <&cpu1_intc 11>, + <&cpu2_intc 11>, <&cpu3_intc 11>, + <&cpu4_intc 11>, <&cpu5_intc 11>, + <&cpu6_intc 11>, <&cpu7_intc 11>; + msi-controller; + #msi-cells = <0>; + interrupt-controller; + #interrupt-cells = <0>; + riscv,guest-index-bits = <6>; + riscv,num-ids = <255>; + }; + + imsic_s: interrupt-controller@a4000000 { + compatible = "tenstorrent,atlantis-imsics", "riscv,imsics"; + reg = <0x0 0xa4000000 0x0 0x200000>; + interrupts-extended = <&cpu0_intc 9>, <&cpu1_intc 9>, + <&cpu2_intc 9>, <&cpu3_intc 9>, + <&cpu4_intc 9>, <&cpu5_intc 9>, + <&cpu6_intc 9>, <&cpu7_intc 9>; + msi-controller; + #msi-cells = <0>; + interrupt-controller; + #interrupt-cells = <0>; + riscv,guest-index-bits = <6>; + riscv,num-ids = <255>; + }; + + aplic_m: interrupt-controller@cc000000 { + compatible = "tenstorrent,atlantis-aplic", "riscv,aplic"; + reg = <0x0 0xcc000000 0x0 0x4000000>; + msi-parent = <&imsic_m>; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <0>; + riscv,children = <&aplic_s>; + riscv,delegation = <&aplic_s 1 128>; + riscv,num-sources = <128>; + }; + + prcm_rcpu: clock-controller@d0000000 { + compatible = "tenstorrent,atlantis-prcm-rcpu"; + reg = <0x0 0xd0000000 0x0 0x10000>; + clocks = <&osc_24m>; + #clock-cells = <1>; + #reset-cells = <1>; + assigned-clocks = <&prcm_rcpu CLK_RCPU_ROOT>, <&prcm_rcpu CLK_NOCC_CLK>; + assigned-clock-parents = <&prcm_rcpu CLK_RCPU_PLL>, + <&prcm_rcpu CLK_NOC_PLL>; + }; + + uart0: serial@d4100000 { + compatible = "snps,dw-apb-uart"; + reg = <0x0 0xd4100000 0x0 0x10000>; + interrupts = <38 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&prcm_rcpu CLK_UART0_PCLK>; + reg-shift = <2>; + reg-io-width = <4>; + + status = "disabled"; + }; + + uart1: serial@d4110000 { + compatible = "snps,dw-apb-uart"; + reg = <0x0 0xd4110000 0x0 0x10000>; + interrupts = <39 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&prcm_rcpu CLK_UART1_PCLK>; + reg-shift = <2>; + reg-io-width = <4>; + + status = "disabled"; + }; + + uart2: serial@d4120000 { + compatible = "snps,dw-apb-uart"; + reg = <0x0 0xd4120000 0x0 0x10000>; + interrupts = <40 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&prcm_rcpu CLK_UART2_PCLK>; + reg-shift = <2>; + reg-io-width = <4>; + + status = "disabled"; + }; + + uart3: serial@d4130000 { + compatible = "snps,dw-apb-uart"; + reg = <0x0 0xd4130000 0x0 0x10000>; + interrupts = <41 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&prcm_rcpu CLK_UART3_PCLK>; + reg-shift = <2>; + reg-io-width = <4>; + + status = "disabled"; + }; + + uart4: serial@d4140000 { + compatible = "snps,dw-apb-uart"; + reg = <0x0 0xd4140000 0x0 0x10000>; + interrupts = <42 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&prcm_rcpu CLK_UART4_PCLK>; + reg-shift = <2>; + reg-io-width = <4>; + + status = "disabled"; + }; + + aplic_s: interrupt-controller@e8000000 { + compatible = "tenstorrent,atlantis-aplic", "riscv,aplic"; + reg = <0x0 0xe8000000 0x0 0x4000000>; + msi-parent = <&imsic_s>; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <0>; + riscv,num-sources = <128>; + }; + }; +}; -- 2.47.3 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv ^ permalink raw reply related [flat|nested] 16+ messages in thread
* Re: [PATCH v4 0/6] riscv: dts: tenstorrent: Add Atlantis platform 2026-11-27 6:14 ` Joel Stanley @ 2026-11-30 6:32 ` Drew Fustini -1 siblings, 0 replies; 16+ messages in thread From: Drew Fustini @ 2026-11-30 6:32 UTC (permalink / raw) To: Joel Stanley Cc: Paul Walmsley, Rob Herring, Conor Dooley, Palmer Dabbelt, Anup Patel, Nicholas Piggin, Michael Ellerman, Anirudh Srinivasan, linux-riscv, devicetree On Fri, Nov 27, 2026 at 04:44:20PM +1030, Joel Stanley wrote: > Add initial support for the Tenstorrent Atlantis platform, based on the > Atlantis SoC featuring 8x RVA23-compliant Tenstorrent Ascalon-XG cores. > > The series adds a bare bones device tree with the CPU, interrupt > controllers and a UART. > > Patches 1 to 5 add compatibles or extensions to existing bindings. > > This version drops the aclint mtimer binding patch, which will be posted > as a standalone series along with converting the relevant boards. The > Atlantis device tree omits that node for now. > > The series has been boot tested on QEMU and internal development > platforms. > > v3: > https://lore.kernel.org/linux-riscv/20261109051050.105623-1-joel@jms.id.au/ > > Changes since v3: > - Drop mtimer binding document, will be posted independently > - Remove mtimer node from dtsi until binding is finalised > - Reorder properties to pass strict style checking > - Use the correct value for the timebase property > - Add cpus label to cpus node > > Changes since v2: > - Fixes to prcm_rcpu and aplic dt nodes > - Drop uart1 clock override. UART now depends on a working PRCM driver > - Drop bootargs console=ttyS0 in favour of stdout-path > - Justify aclint mtimer bindings > > Changes since v1: > - Rework mtimer bindings, fix reg property, update compatible and use > priv spec as reference > - Drop Drew's sob from bindings patches I wrote > - Add Drew's co-developed-by to dts patch > - Correct aplic num-sources > > > Drew Fustini (1): > dt-bindings: riscv: add Smrnmi extension description > > Joel Stanley (5): > dt-bindings: aplic: Add Tenstorrent Atlantis compatible > dt-bindings: imsics: Add Tenstorrent Atlantis compatible > dt-bindings: riscv: cpus: Add Tenstorrent Ascalon > dt-bindings: riscv: Add Tenstorrent Atlantis platform > riscv: dts: tenstorrent: Add Atlantis platform > > .../interrupt-controller/riscv,aplic.yaml | 1 + > .../interrupt-controller/riscv,imsics.yaml | 1 + > .../devicetree/bindings/riscv/cpus.yaml | 5 + > .../devicetree/bindings/riscv/extensions.yaml | 6 + > .../bindings/riscv/tenstorrent.yaml | 4 + > arch/riscv/boot/dts/tenstorrent/Makefile | 1 + > .../boot/dts/tenstorrent/atlantis-evb.dts | 29 ++ > .../boot/dts/tenstorrent/atlantis-soc.dtsi | 467 ++++++++++++++++++ > 8 files changed, 514 insertions(+) > create mode 100644 arch/riscv/boot/dts/tenstorrent/atlantis-evb.dts > create mode 100644 arch/riscv/boot/dts/tenstorrent/atlantis-soc.dtsi > > > base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4 > -- > 2.47.3 I have applied the series to tenstorrent-dt-for-next: [1/6] dt-bindings: aplic: Add Tenstorrent Atlantis compatible https://git.kernel.org/tenstorrent/c/6ae0877463b9 [2/6] dt-bindings: imsics: Add Tenstorrent Atlantis compatible https://git.kernel.org/tenstorrent/c/ddda07bb444d [3/6] dt-bindings: riscv: cpus: Add Tenstorrent Ascalon https://git.kernel.org/tenstorrent/c/ad5afa11a6bb [4/6] dt-bindings: riscv: add Smrnmi extension description https://git.kernel.org/tenstorrent/c/981f71313589 [5/6] dt-bindings: riscv: Add Tenstorrent Atlantis platform https://git.kernel.org/tenstorrent/c/0b33e00aef78 [6/6] riscv: dts: tenstorrent: Add Atlantis platform https://git.kernel.org/tenstorrent/c/77d9e5c06412 Thanks, Drew _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH v4 0/6] riscv: dts: tenstorrent: Add Atlantis platform @ 2026-11-30 6:32 ` Drew Fustini 0 siblings, 0 replies; 16+ messages in thread From: Drew Fustini @ 2026-11-30 6:32 UTC (permalink / raw) To: Joel Stanley Cc: Paul Walmsley, Rob Herring, Conor Dooley, Palmer Dabbelt, Anup Patel, Nicholas Piggin, Michael Ellerman, Anirudh Srinivasan, linux-riscv, devicetree On Fri, Nov 27, 2026 at 04:44:20PM +1030, Joel Stanley wrote: > Add initial support for the Tenstorrent Atlantis platform, based on the > Atlantis SoC featuring 8x RVA23-compliant Tenstorrent Ascalon-XG cores. > > The series adds a bare bones device tree with the CPU, interrupt > controllers and a UART. > > Patches 1 to 5 add compatibles or extensions to existing bindings. > > This version drops the aclint mtimer binding patch, which will be posted > as a standalone series along with converting the relevant boards. The > Atlantis device tree omits that node for now. > > The series has been boot tested on QEMU and internal development > platforms. > > v3: > https://lore.kernel.org/linux-riscv/20261109051050.105623-1-joel@jms.id.au/ > > Changes since v3: > - Drop mtimer binding document, will be posted independently > - Remove mtimer node from dtsi until binding is finalised > - Reorder properties to pass strict style checking > - Use the correct value for the timebase property > - Add cpus label to cpus node > > Changes since v2: > - Fixes to prcm_rcpu and aplic dt nodes > - Drop uart1 clock override. UART now depends on a working PRCM driver > - Drop bootargs console=ttyS0 in favour of stdout-path > - Justify aclint mtimer bindings > > Changes since v1: > - Rework mtimer bindings, fix reg property, update compatible and use > priv spec as reference > - Drop Drew's sob from bindings patches I wrote > - Add Drew's co-developed-by to dts patch > - Correct aplic num-sources > > > Drew Fustini (1): > dt-bindings: riscv: add Smrnmi extension description > > Joel Stanley (5): > dt-bindings: aplic: Add Tenstorrent Atlantis compatible > dt-bindings: imsics: Add Tenstorrent Atlantis compatible > dt-bindings: riscv: cpus: Add Tenstorrent Ascalon > dt-bindings: riscv: Add Tenstorrent Atlantis platform > riscv: dts: tenstorrent: Add Atlantis platform > > .../interrupt-controller/riscv,aplic.yaml | 1 + > .../interrupt-controller/riscv,imsics.yaml | 1 + > .../devicetree/bindings/riscv/cpus.yaml | 5 + > .../devicetree/bindings/riscv/extensions.yaml | 6 + > .../bindings/riscv/tenstorrent.yaml | 4 + > arch/riscv/boot/dts/tenstorrent/Makefile | 1 + > .../boot/dts/tenstorrent/atlantis-evb.dts | 29 ++ > .../boot/dts/tenstorrent/atlantis-soc.dtsi | 467 ++++++++++++++++++ > 8 files changed, 514 insertions(+) > create mode 100644 arch/riscv/boot/dts/tenstorrent/atlantis-evb.dts > create mode 100644 arch/riscv/boot/dts/tenstorrent/atlantis-soc.dtsi > > > base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4 > -- > 2.47.3 I have applied the series to tenstorrent-dt-for-next: [1/6] dt-bindings: aplic: Add Tenstorrent Atlantis compatible https://git.kernel.org/tenstorrent/c/6ae0877463b9 [2/6] dt-bindings: imsics: Add Tenstorrent Atlantis compatible https://git.kernel.org/tenstorrent/c/ddda07bb444d [3/6] dt-bindings: riscv: cpus: Add Tenstorrent Ascalon https://git.kernel.org/tenstorrent/c/ad5afa11a6bb [4/6] dt-bindings: riscv: add Smrnmi extension description https://git.kernel.org/tenstorrent/c/981f71313589 [5/6] dt-bindings: riscv: Add Tenstorrent Atlantis platform https://git.kernel.org/tenstorrent/c/0b33e00aef78 [6/6] riscv: dts: tenstorrent: Add Atlantis platform https://git.kernel.org/tenstorrent/c/77d9e5c06412 Thanks, Drew ^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2026-11-30 6:32 UTC | newest] Thread overview: 16+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2026-11-27 6:14 [PATCH v4 0/6] riscv: dts: tenstorrent: Add Atlantis platform Joel Stanley 2026-11-27 6:14 ` Joel Stanley 2026-11-27 6:14 ` [PATCH v4 1/6] dt-bindings: aplic: Add Tenstorrent Atlantis compatible Joel Stanley 2026-11-27 6:14 ` Joel Stanley 2026-11-27 6:14 ` [PATCH v4 2/6] dt-bindings: imsics: " Joel Stanley 2026-11-27 6:14 ` Joel Stanley 2026-11-27 6:14 ` [PATCH v4 3/6] dt-bindings: riscv: cpus: Add Tenstorrent Ascalon Joel Stanley 2026-11-27 6:14 ` Joel Stanley 2026-11-27 6:14 ` [PATCH v4 4/6] dt-bindings: riscv: add Smrnmi extension description Joel Stanley 2026-11-27 6:14 ` Joel Stanley 2026-11-27 6:14 ` [PATCH v4 5/6] dt-bindings: riscv: Add Tenstorrent Atlantis platform Joel Stanley 2026-11-27 6:14 ` Joel Stanley 2026-11-27 6:14 ` [PATCH v4 6/6] riscv: dts: tenstorrent: Add " Joel Stanley 2026-11-27 6:14 ` Joel Stanley 2026-11-30 6:32 ` [PATCH v4 0/6] " Drew Fustini 2026-11-30 6:32 ` Drew Fustini
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.