Re: [PATCH v6 4/5] arm64: dts: allwinner: add Radxa Cubie A7Z board

From: Chen-Yu Tsai

Date: Thu Dec 03 2026 - 10:14:10 EST


On Fri, Nov 27, 2026 at 5:36 AM Enzo Adriano
<enzo.adriano.code@xxxxxxxxx> wrote:
>
> From: Vinicius Pedrosa <vinicius.eduardo.pedrosa@xxxxxxxxx>
>
> Add the device tree for the Radxa Cubie A7Z, an Allwinner A733
> board with LPDDR4, a microSD slot and a 40-pin header.
>
> Enable the UART0 console, AXP318W PMIC on R-I2C0, MMC0, RTC and
> green user LED, and describe the board regulators and pin bank supplies.
>
> The device tree is based on Enzo Adriano's Cubie A7S board description
> and has been tested on A7Z v1.11 hardware.
>
> Signed-off-by: Vinicius Pedrosa <vinicius.eduardo.pedrosa@xxxxxxxxx>
> [enzo: use regulator-ps-output to satisfy the DT schema unit-suffix check]
> Signed-off-by: Enzo Adriano <enzo.adriano.code@xxxxxxxxx>
> ---
> Changes since the DT series v5:
> - Bring in the standalone Cubie A7Z v2 patch. Rename the PS supply
> node to regulator-ps-output because the -ps suffix is matched as
> a picosecond unit by the DT schema. The regulator properties and
> connections are unchanged. The hardware report is in the cover.
>
> Link: https://lore.kernel.org/r/20261125131435.33190-1-vinicius.eduardo.pedrosa@xxxxxxxxx
>
> arch/arm64/boot/dts/allwinner/Makefile | 1 +
> .../dts/allwinner/sun60i-a733-cubie-a7z.dts | 349 ++++++++++++++++++
> 2 files changed, 350 insertions(+)
> create mode 100644 arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7z.dts
>
> diff --git a/arch/arm64/boot/dts/allwinner/Makefile b/arch/arm64/boot/dts/allwinner/Makefile
> index 9d1e740ff19e..62fab1d727d0 100644
> --- a/arch/arm64/boot/dts/allwinner/Makefile
> +++ b/arch/arm64/boot/dts/allwinner/Makefile
> @@ -70,3 +70,4 @@ dtb-$(CONFIG_ARCH_SUNXI) += sun55i-h728-x96qpro+.dtb
> dtb-$(CONFIG_ARCH_SUNXI) += sun55i-t527-avaota-a1.dtb
> dtb-$(CONFIG_ARCH_SUNXI) += sun55i-t527-orangepi-4a.dtb
> dtb-$(CONFIG_ARCH_SUNXI) += sun60i-a733-cubie-a7s.dtb
> +dtb-$(CONFIG_ARCH_SUNXI) += sun60i-a733-cubie-a7z.dtb
> diff --git a/arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7z.dts b/arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7z.dts
> new file mode 100644
> index 000000000000..049e6b67c23a
> --- /dev/null
> +++ b/arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7z.dts
> @@ -0,0 +1,349 @@

A couple more.

> +&mmc0 {
> + bus-width = <4>;
> + cap-mmc-highspeed;
> + cap-sd-highspeed;
> + /* v1.11 has an external 10k pull-up on PF6, v1.10 does not. */
> + cd-gpios = <&pio 5 6 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>;

Add /* PF6 */ comment after this for easy reading.

> + disable-wp;
> + vmmc-supply = <&reg_swout2>;
> + status = "okay";
> +};

[...]

> + reg_bldo4: bldo4 {
> + regulator-name = "vcc18-codec";
> + regulator-min-microvolt = <1800000>;
> + regulator-max-microvolt = <1800000>;
> + };

This is unused. vcc18-codec leads nowhere. Drop all the properties
andthe label and just keep an empty node here.
> + };
> +
> + reg_bldo5: bldo5 {
> + regulator-name = "vcc-pg";
> + regulator-min-microvolt = <1800000>;
> + regulator-max-microvolt = <1800000>;
> + };
> +
> + reg_cldo1: cldo1 {

If there is no reference to it, drop the label. Generally don't add
unused labels.


ChenYu