Re: [PATCH 2/2] arm64: dts: socfpga: agilex7-gen2: Add initial device tree

From: Krzysztof Kozlowski

Date: Wed Jun 24 2026 - 03:59:15 EST


On Tue, Jun 23, 2026 at 04:17:16AM -0700, muhammad.nazim.amirul.nazle.asmade@xxxxxxxxxx wrote:
> +
> + psci {
> + compatible = "arm,psci-0.2";
> + method = "smc";
> + };
> +
> + intc: interrupt-controller@7000000 {

MMIO goes to MMIO, please read writing bindings and submitting patches docs in DT dir.

I think this also fails tests (W=1). If that is true, then review should
finish here, because instead of using machine to find issues you use
community.

> + 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>;
> +
> + its: msi-controller@7040000 {
> + compatible = "arm,gic-v3-its";
> + reg = <0x0 0x7040000 0x0 0x20000>;
> + msi-controller;
> + #msi-cells = <1>;
> + };
> + };
> +
> + soc: soc@0 {
> + compatible = "simple-bus";
> + ranges = <0 0 0 0xffffffff>;
> + #address-cells = <1>;
> + #size-cells = <1>;
> + device_type = "soc";
> + interrupt-parent = <&intc>;
> +
> + smmu: iommu@c100000 {
> + compatible = "arm,smmu-v3";
> + reg = <0x0c100000 0x30000>;
> + interrupts = <GIC_SPI 134 IRQ_TYPE_EDGE_RISING>,
> + <GIC_SPI 129 IRQ_TYPE_EDGE_RISING>,
> + <GIC_SPI 132 IRQ_TYPE_EDGE_RISING>;
> + interrupt-names = "eventq", "gerror", "priq";
> + dma-coherent;
> + #iommu-cells = <1>;
> + };
> +
> + ocram: sram@0 {
> + compatible = "mmio-sram";
> + reg = <0x00000000 0x80000>;
> + ranges = <0 0 0x80000>;
> + #address-cells = <1>;
> + #size-cells = <1>;

SoC without any interface, serial or storage or network, is close to
useless one.

I don't see a point in having it in mainline. Serial is usually ABSOLUTE
minimum.

Best regards,
Krzysztof