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

Chen-Yu Tsai wens at kernel.org
Thu Dec 3 07:05:00 PST 2026


On Fri, Nov 27, 2026 at 5:36 AM Enzo Adriano
<enzo.adriano.code at gmail.com> wrote:
>
> From: Vinicius Pedrosa <vinicius.eduardo.pedrosa at gmail.com>
>
> 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 at gmail.com>
> [enzo: use regulator-ps-output to satisfy the DT schema unit-suffix check]
> Signed-off-by: Enzo Adriano <enzo.adriano.code at gmail.com>
> ---
> 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@gmail.com
>
>  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 @@

Some comments from my review agent.

[...]

> +       /*
> +        * Discrete SY8089 step-down regulator, present on v1.11; v1.10
> +        * feeds BLDOIN from SWOUT2 and CLDOIN from PS instead. The schematic
> +        * names this rail LDO2V5-INPUT, but it is set to 2.4 V.
> +        */
> +       reg_ldo_input: regulator-ldo2v5-input {
> +               compatible = "regulator-fixed";
> +               regulator-name = "ldo2v5-input";
> +               regulator-min-microvolt = <2400000>;
> +               regulator-max-microvolt = <2400000>;

> +               regulator-always-on;

Apparently we do not need regulator-always-on on uncontrolled fixed
regulators. The OS should just notice. Linux does. So please drop it.

> +               vin-supply = <&reg_ps>;
> +       };
> +
> +       /* PMIC PS output, fed from the DCIN pins. 5 V is nominal. */
> +       reg_ps: regulator-ps-output {
> +               compatible = "regulator-fixed";
> +               regulator-name = "ps";
> +               regulator-min-microvolt = <5000000>;
> +               regulator-max-microvolt = <5000000>;
> +               regulator-always-on;

Same here.


ChenYu



More information about the linux-arm-kernel mailing list