Re: [PATCH v6 2/5] arm64: dts: allwinner: add A733 SoC description

From: Chen-Yu Tsai

Date: Thu Dec 03 2026 - 09:32:45 EST


On Fri, Nov 27, 2026 at 5:35 AM Enzo Adriano
<enzo.adriano.code@xxxxxxxxx> wrote:
>
> The Allwinner A733 combines six Cortex-A55 and two Cortex-A76 cores.
> Add the common device tree for the first Cubie A7A, A7S and A7Z board
> DTS files. Describe the CPUs, PSCI, architectural timers, GIC, RTC,
> main and always-on clock/reset and pin controllers, UART, I2C and
> MMC. The preceding revision booted on the A7S and A7Z.
>
> The A7S schematic, sheets 7 and 16, shows the EEPROM wired to I2C0
> on PG8/PG9. Use mux 6 as documented in the A733 Datasheet v1.00,
> section 4.2.6, table 4-36. The A7A schematic shows the external RTC
> on S_TWI1. Add its R-I2C1 pin group on PL12/PL13, mux 3.
>
> The GIC maintenance PPI 9 and ARMv8.2 EL2 virtual-timer PPI 12 follow
> the A733 User Manual v1.00, section 12.2.3. The GICD/GICR/ITS windows
> and noncoherent attributes follow Andre Przywara's A733 reference
> and the A523 precedent. The CPUX interconnect diagram in section
> 5.1.2 supports the noncoherency inference. Leave the ITS disabled
> pending clock/reset and MSI integration.
>
> Describe the single DynamIQ unit and shared L3 shown in section
> 5.1.2, figure 5-1. Partition PPI 7 (section 12.2.3, table 12-1)
> between the Cortex-A55 and Cortex-A76 PMUs so each probes its own
> core type. Defer capacity-dmips-mhz until it is measured on A733.
>
> Link: https://gist.githubusercontent.com/apritzel/60fd7379b9560a15b8b352986b69d39f/raw/efd9cdf8f26ba5b0c7e138f093af44a1cf322469/sun60i-a733.dts
> Link: https://lore.kernel.org/r/20261126172253.1097838-2-andre.przywara@xxxxxxx
> Reviewed-by: Andre Przywara <andre.przywara@xxxxxxx>
> Tested-by: Vinicius Pedrosa <vinicius.eduardo.pedrosa@xxxxxxxxx> # Radxa Cubie A7Z V1.11
> Tested-by: Norman Herms <dockseed@xxxxxxxxx> # Radxa Cubie A7S (A733)
> Co-developed-by: Andre Przywara <andre.przywara@xxxxxxx>
> Signed-off-by: Andre Przywara <andre.przywara@xxxxxxx>
> Signed-off-by: Enzo Adriano <enzo.adriano.code@xxxxxxxxx>
> ---
> Changes since v5:
> - Mark the I2C0 PG8/PG9 group /omit-if-no-ref/, as requested. This
> satisfies Andre's review condition.
> - Move the RTC clock include after the A733 clock headers and cite
> the A733 datasheet and A7S schematic for the I2C0 pins.
> - Fold in Andre's R-I2C1 pin group for A7A. A7S and A7Z leave
> it unused. A7S still references the I2C0 group.
> - Vinicius tested the v5 DTSI with his A7Z v1.11 board DT. Norman
> tested the v5 series on A7S. Their tags here cover the SoC DTSI.
>
> .../arm64/boot/dts/allwinner/sun60i-a733.dtsi | 671 ++++++++++++++++++
> 1 file changed, 671 insertions(+)
> create mode 100644 arch/arm64/boot/dts/allwinner/sun60i-a733.dtsi
>
> diff --git a/arch/arm64/boot/dts/allwinner/sun60i-a733.dtsi b/arch/arm64/boot/dts/allwinner/sun60i-a733.dtsi
> new file mode 100644
> index 000000000000..e062b08006da
> --- /dev/null
> +++ b/arch/arm64/boot/dts/allwinner/sun60i-a733.dtsi
> @@ -0,0 +1,671 @@

Just a couple more comments.

[...]

> + cpu0: cpu@0 {
> + compatible = "arm,cortex-a55";
> + device_type = "cpu";

The upstream dts coding style doc says "device_type" should be the first
property when it is present. Please fix it so we have a clean start.

Same for the other cores.

> + reg = <0x0>;
> + enable-method = "psci";
> + };

[...]

> + mmc0_pins: mmc0-pins {
> + pins = "PF0", "PF1", "PF2", "PF3", "PF4", "PF5";
> + function = "mmc0";
> + allwinner,pinmux = <2>;

Vendor-prefixed properties come after common properties, so this should
go after bias-pull-up.

> + drive-strength = <30>;
> + bias-pull-up;
> + };
> +
> + mmc1_pins: mmc1-pins {
> + pins = "PG0", "PG1", "PG2", "PG3", "PG4", "PG5";
> + function = "mmc1";
> + allwinner,pinmux = <2>;

Same here.

> + drive-strength = <30>;
> + bias-pull-up;
> + };
> +
> + mmc2_pins: mmc2-pins {
> + pins = "PC5", "PC6", "PC8", "PC9", "PC10", "PC11",
> + "PC13", "PC14", "PC15", "PC16";
> + function = "mmc2";
> + allwinner,pinmux = <3>;

And here.

[...]