dt-bindings: arm: altera: document the Agilex27 platform
Subsystems (2)
Dinh Nguyen
maintainerPATCH v2 1/2 dt-bindings: arm: altera: document the Agilex27 platform
The Altera SoCFGPA Agilex72 platform will be rebranded as the Agilex27.
Add the "altr,socfpga-agilex27" and "altr,socfpga-agilex27-socdk" bindings for the SoCFPGA Agilex27 platform.
---
v2: do not deprecate the agilex72 platform
--- Documentation/devicetree/bindings/arm/altera.yaml | 6 ++++++ 1 file changed, 6 insertions(+)
Documentation/devicetree/bindings/arm/altera.yaml +6 -0
@@ -99,6 +99,12 @@ properties: - intel,socfpga-agilex-socdk-emmc - const: intel,socfpga-agilex + - description: Agilex27 boards + items: + - enum: + - altr,socfpga-agilex27-socdk + - const: altr,socfpga-agilex27 + - description: Agilex3 boards items: - enum:
Signature · 1 line
2.42.0.411.g813d9a9188
Dinh Nguyen
maintainerPATCH v2 2/2 arm64: dts: altera: Add support for the Agilex27 platform
The Agilex72 platform is being rebranded to Agilex27. The Agilex27 is exactly the same as the Agilex72. Add the base DTSI and the devkit's DTS.
---
v2: leave the agilex72 files
--- arch/arm64/boot/dts/altera/Makefile | 1 + .../boot/dts/altera/socfpga_agilex27.dtsi | 156 ++++++++++++++++++ .../dts/altera/socfpga_agilex27_socdk.dts | 27 +++ 3 files changed, 184 insertions(+) create mode 100644 arch/arm64/boot/dts/altera/socfpga_agilex27.dtsi create mode 100644 arch/arm64/boot/dts/altera/socfpga_agilex27_socdk.dts
arch/arm64/boot/dts/altera/Makefile +1 -0
@@ -3,6 +3,7 @@ dtb-$(CONFIG_ARCH_INTEL_SOCFPGA) += socfpga_agilex_n6000.dtb \ socfpga_agilex_socdk.dtb \ socfpga_agilex_socdk_emmc.dtb \ socfpga_agilex_socdk_nand.dtb \ + socfpga_agilex27_socdk.dtb \ socfpga_agilex3_socdk.dtb \ socfpga_agilex5_socdk.dtb \ socfpga_agilex5_socdk_013b.dtb \
arch/arm64/boot/dts/altera/socfpga_agilex27.dtsi new file +156 -0
156 lines not on this page · raw message
arch/arm64/boot/dts/altera/socfpga_agilex27_socdk.dts new file +27 -0
@@ -0,0 +1,27 @@ +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2026, Altera Corporation + */ +#include "socfpga_agilex27.dtsi" + +/ { + model = "Altera SoCFPGA Agilex27 SoCDK"; + compatible = "altr,socfpga-agilex27-socdk", "altr,socfpga-agilex27"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory@80000000 { + device_type = "memory"; + reg = <0x0 0x80000000 0x0 0x80000000>; + }; +}; + +&uart0 { + status = "okay"; +};
Signature · 1 line
2.42.0.411.g813d9a9188
[email protected]
AI reviewRe: [PATCHv2 2/2] arm64: dts: altera: Add support for the Agilex27 platform
Thank you for your contribution! Sashiko AI review found 3 potential issue(s) to consider: - [Medium] arm64: dts: altera: Missing VGIC maintenance interrupt in GICv3 node - [Low] arm64: dts: altera…
Thank you for your contribution! Sashiko AI review found 3 potential issue(s) to consider:
- [Medium] arm64: dts: altera: Missing VGIC maintenance interrupt in GICv3 node
- [Low] arm64: dts: altera: Unnecessary duplication of SoC DTSI file
- [Low] dt-bindings: arm: altera: Undocumented compatible strings for Agilex27 --
commit ef21748becf923e3ea0b9bb9bcd2a6ea73fa866e
Author: Dinh Nguyen <[email protected]>
arm64: dts: altera: Add support for the Agilex27 platform
The Agilex72 platform is being rebranded to Agilex27. The Agilex27 is exactly the same as the Agilex72. Add the base DTSI and the devkit's DTS.
arch/arm64/boot/dts/altera/socfpga_agilex27.dtsi new file +12 -0
@@ -0,0 +1,156 @@ +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2026, Altera Corporation + */ +/dts-v1/; +#include <dt-bindings/interrupt-controller/arm-gic.h> +#include <dt-bindings/interrupt-controller/irq.h> + +/ { + compatible = "altr,socfpga-agilex27"; + #address-cells = <2>; + #size-cells = <2>;
[Severity: Low]
Since the commit message states that Agilex27 is exactly the same as Agilex72, is it necessary to duplicate the entire SoC layout into a new file? Could we include the existing socfpga_agilex72.dtsi or add this compatible string directly to the Agilex72 device tree to avoid keeping the two files in sync?
[Severity: Low]
Is this new compatible string documented in the corresponding devicetree binding YAML files? Without it, running make dtbs_check will likely trigger validation errors.
[ ... ]
Review
Quoted 11 lines
(quoted diff) +11
-0+ intc: interrupt-controller@7000000 { + compatible = "arm,gic-v3"; + reg = <0x0 0x7000000 0x0 0x10000>, + <0x0 0x7080000 0x0 0x100000>; + ranges; + #interrupt-cells = <3>; + #address-cells = <2>; + #size-cells = <2>; + interrupt-controller; + #redistributor-regions = <1>; + redistributor-stride = <0x0 0x40000>;
[Severity: Medium]
Does this GICv3 node need the interrupts property for the VGIC maintenance interrupt?
Without it, KVM initialization via vgic_set_kvm_info() cannot proceed because irq_of_parse_and_map() returns 0. Could this silently break KVM virtualization support on this platform?
[ ... ]
arch/arm64/boot/dts/altera/socfpga_agilex27_socdk.dts new file +9 -0
@@ -0,0 +1,27 @@ +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2026, Altera Corporation + */ +#include "socfpga_agilex27.dtsi" + +/ { + model = "Altera SoCFPGA Agilex27 SoCDK"; + compatible = "altr,socfpga-agilex27-socdk", "altr,socfpga-agilex27";
[Severity: Low]
Is the altr,socfpga-agilex27-socdk board-level compatible string documented in the devicetree bindings?
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
Re: [PATCHv2 2/2] arm64: dts: altera: Add support for the Agilex27 platform
In reply to Dinh NguyenQuoted 4 lines · Dinh Nguyen
The Agilex72 platform is being rebranded to Agilex27. The Agilex27 is exactly the same as the Agilex72. Add the base DTSI and the devkit's DTS.
Quoted 8 lines
Signed-off-by Dinh Nguyen <[email protected]>---
v2: leave the agilex72 files--- arch/arm64/boot/dts/altera/Makefile | 1 + .../boot/dts/altera/socfpga_agilex27.dtsi | 156 ++++++++++++++++++ .../dts/altera/socfpga_agilex27_socdk.dts | 27 +++ 3 files changed, 184 insertions(+)
This makes no sense, you have now two SAME boards. We do not do such dances in Linux kernel.
Best regards,
Krzysztof
Quoted 9 lines · Dinh Nguyen
The Altera SoCFGPA Agilex72 platform will be rebranded as the Agilex27.
Add the "altr,socfpga-agilex27" and "altr,socfpga-agilex27-socdk" bindings for the SoCFPGA Agilex27 platform.
Signed-off-by Dinh Nguyen <[email protected]>---
v2: do not deprecate the agilex72 platform
---
Again, no. Your rebranding does not matter. We do not add compatibles for the same device. We do not rename them. We do not deprecate them because you want to rebrand something.
Whatever marketing company does, it does not matter for the compatibles.
NAK
Best regards,
Krzysztof