* [PATCH v6 3/5] arm64: dts: allwinner: add Radxa Cubie A7S board
2026-11-26 20:35 [PATCH v6 0/5] arm64: dts: allwinner: add A733 and Radxa Cubie A7 support Enzo Adriano
@ 2026-11-26 20:35 ` Enzo Adriano
2026-11-26 20:55 ` sashiko-bot
` (2 more replies)
0 siblings, 3 replies; 13+ messages in thread
From: Enzo Adriano @ 2026-11-26 20:35 UTC (permalink / raw)
To: andre.przywara, robh, krzk+dt, conor+dt, wens, jernej.skrabec,
samuel
Cc: Maxime Ripard, devicetree, linux-arm-kernel, linux-sunxi,
linux-kernel, Junhui Liu, Jerome Brunet, Pablo Mazzini,
Vinicius Pedrosa, Alexander Sverdlin, Jun Yan, Lukas Schmid,
Cristian Filipescu, Norman Herms
Enable the serial console, PMIC and microSD slot for initial Cubie A7S
bring-up with vendor firmware, using the new common A733 description.
Describe the oscillator inputs and power tree using the Radxa A7S
v1.10 schematic, sheets 4, 7 and 8. Keep the boot-critical supplies
enabled. Sheet 4 shows VCC5V0_SYS feeding DCIN and the PMIC PS output
feeding the buck inputs and UP11. Set DCDC9 to 1.240 V, the boot
firmware selector read back on the board for the ELDO input. Keep
ELDO1 enabled at the firmware-selected voltage while the VDD2L range
for the fitted memory is being confirmed.
Use the Radxa 5.15 BSP CPU and GPU OPP envelopes for DCDC3/5 and
DCDC4. Use its regulator readback for DCDC2, BLDO1, DLDO1 and ELDO6,
consistent with sheets 4 and 8 and the VCC-MCSI entry in the A733
datasheet.
Allow 0.50-0.60 V on DCDC6, covering the 0.50 V LPDDR5 and 0.60 V
LPDDR4X VDDQ options on sheet 5. Allow 1.05-1.10 V on DCDC7,
covering LPDDR5 VDD2H at 1.05 V and the 1.10 V DRAM rail shown on
sheets 4 and 5. The BSP readback was 0.56 V and 1.08 V, respectively.
Both fall inside the bounds, so those selector values can be kept
after DRAM training. Set the LVDS0 supply to 1.8 V per the A733
Datasheet v1.00, table 5-2, and leave its enable under consumer control.
Omit the unused UFS and codec regulator nodes (schematic sheets 4 and 6).
Use SWOUT2 for the card and the Port F VCC-IO path (sheets 4, 7 and 13).
Firmware must select the 3.3 V PF path for use with MMC0. CLDO5
supplies the separate 1.8 V input. The controller uses fixed signalling
with no VQMMC regulator and advertises no UHS modes. Describe the
active-high card-detect line on PF6 and its pull-down.
Add the PM2 power and PJ26 status LEDs, and the BL24C16F on I2C0 as
shown on sheets 7 and 16. The EEPROM is at 0x50 in Radxa's 5.15 DT.
PC7 drives an inverter that pulls the EEPROM's write-protect pin low.
Keep ALDO1 always on for Port L, which powers the PMIC's own bus.
Omit the Port L supply phandle, as on the Cubie A5E: requesting
it would require the PMIC regulator before the PMIC can be reached.
The A733 pinctrl voltage-mode fix is required for the bank supply
connections.
Link: https://dl.radxa.com/cubie/a7s/hw/radxa_cubie_a7s_schematic_v1.10.pdf
Link: https://github.com/radxa/allwinner-device/blob/6d911d1582dcccdb5a4c38be8d3c1ee851019795/configs/cubie_a7s/linux-5.15/board.dts#L372-L384
Signed-off-by: Enzo Adriano <enzo.adriano.code@gmail.com>
---
Changes since v5:
- Distinguish the 5 V DCIN supply from the PMIC PS output and rename
the fixed LDO input regulator. Rename and move the 32 kHz clock.
- Order the regulator nodes, set DCDC9 to 1.240 V and omit blank
lines before status. Keep ELDO1 without voltage bounds.
- Remove cap-sdio-irq since sunxi-mmc already sets MMC_CAP_SDIO_IRQ.
- Norman's v5 hardware report is linked from the cover. The revised
supply graph and DCDC9 constraint still need a hardware run.
arch/arm64/boot/dts/allwinner/Makefile | 1 +
.../dts/allwinner/sun60i-a733-cubie-a7s.dts | 333 ++++++++++++++++++
2 files changed, 334 insertions(+)
create mode 100644 arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7s.dts
diff --git a/arch/arm64/boot/dts/allwinner/Makefile b/arch/arm64/boot/dts/allwinner/Makefile
index da39f02252d4..9d1e740ff19e 100644
--- a/arch/arm64/boot/dts/allwinner/Makefile
+++ b/arch/arm64/boot/dts/allwinner/Makefile
@@ -69,3 +69,4 @@ dtb-$(CONFIG_ARCH_SUNXI) += sun55i-a527-cubie-a5e.dtb
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
diff --git a/arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7s.dts b/arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7s.dts
new file mode 100644
index 000000000000..98a878a2d739
--- /dev/null
+++ b/arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7s.dts
@@ -0,0 +1,333 @@
+// SPDX-License-Identifier: (GPL-2.0-only OR MIT)
+/dts-v1/;
+
+#include "sun60i-a733.dtsi"
+
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/leds/common.h>
+
+/ {
+ model = "Radxa Cubie A7S";
+ compatible = "radxa,cubie-a7s", "allwinner,sun60i-a733";
+
+ aliases {
+ serial0 = &uart0;
+ };
+
+ osc32k: clock-osc32k {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <32768>;
+ };
+
+ chosen {
+ stdout-path = "serial0:115200n8";
+ };
+
+ leds {
+ compatible = "gpio-leds";
+
+ power-led {
+ function = LED_FUNCTION_POWER;
+ color = <LED_COLOR_ID_GREEN>;
+ gpios = <&r_pio 1 2 GPIO_ACTIVE_HIGH>; /* PM2 */
+ default-state = "on";
+ };
+
+ status-led {
+ function = LED_FUNCTION_STATUS;
+ color = <LED_COLOR_ID_BLUE>;
+ gpios = <&pio 9 26 GPIO_ACTIVE_HIGH>; /* PJ26 */
+ linux,default-trigger = "heartbeat";
+ };
+ };
+
+ reg_ldo_input: regulator-ldo2v5-input {
+ compatible = "regulator-fixed";
+ regulator-name = "ldo2v5-input";
+ regulator-min-microvolt = <2400000>;
+ regulator-max-microvolt = <2400000>;
+ regulator-always-on;
+ vin-supply = <®_ps>;
+ };
+
+ /* AXP318W PS output, routed back to the PMIC and to UP11. */
+ reg_ps: regulator-ps-output {
+ compatible = "regulator-fixed";
+ regulator-name = "ps-output";
+ regulator-always-on;
+ vin-supply = <®_vcc5v0_sys>;
+ };
+
+ reg_vcc5v0_sys: regulator-vcc5v0-sys {
+ compatible = "regulator-fixed";
+ regulator-name = "vcc5v0-sys";
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ regulator-always-on;
+ };
+};
+
+&cpu0 {
+ cpu-supply = <®_dcdc5>;
+};
+
+&cpu1 {
+ cpu-supply = <®_dcdc5>;
+};
+
+&cpu2 {
+ cpu-supply = <®_dcdc5>;
+};
+
+&cpu3 {
+ cpu-supply = <®_dcdc5>;
+};
+
+&cpu4 {
+ cpu-supply = <®_dcdc5>;
+};
+
+&cpu5 {
+ cpu-supply = <®_dcdc5>;
+};
+
+&cpu6 {
+ cpu-supply = <®_dcdc3>;
+};
+
+&cpu7 {
+ cpu-supply = <®_dcdc3>;
+};
+
+&hosc {
+ clock-frequency = <26000000>;
+};
+
+&i2c0 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&i2c0_pg_pins>;
+ status = "okay";
+
+ eeprom@50 {
+ compatible = "belling,bl24c16f", "atmel,24c16";
+ reg = <0x50>;
+ pagesize = <16>;
+ vcc-supply = <®_aldo1>;
+ wp-gpios = <&pio 2 7 GPIO_ACTIVE_LOW>; /* PC7 via Q2 */
+ };
+};
+
+&mmc0 {
+ bus-width = <4>;
+ cap-mmc-highspeed;
+ cap-sd-highspeed;
+ cd-gpios = <&pio 5 6 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>;
+ disable-wp;
+ no-1-8-v;
+ vmmc-supply = <®_swout2>;
+ status = "okay";
+};
+
+&pio {
+ vcc-pb-supply = <®_swout2>; /* via VCC-IO */
+ vcc-pc-supply = <®_cldo5>;
+ vcc-pd-supply = <®_swout1>;
+ vcc-pe-supply = <®_bldo1>;
+ /* PF uses VCC-IO at 3.3 V, with CLDO5 as the 1.8 V input. */
+ vcc-pf-supply = <®_swout2>;
+ vcc-pg-supply = <®_aldo1>;
+ vcc-ph-supply = <®_swout2>;
+ vcc-pj-supply = <®_swout1>;
+ vcc-pk-supply = <®_bldo1>;
+};
+
+&r_i2c0 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&r_i2c0_pl_pins>;
+ status = "okay";
+
+ axp318w: pmic@36 {
+ compatible = "x-powers,axp318w";
+ reg = <0x36>;
+ interrupt-parent = <&nmi_intc>;
+ interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
+ interrupt-controller;
+ #interrupt-cells = <1>;
+
+ aldo156in-supply = <®_ps>;
+ aldo234in-supply = <®_aldo1>;
+ bldoin-supply = <®_ldo_input>;
+ cldoin-supply = <®_ldo_input>;
+ dldoin-supply = <®_ps>;
+ eldoin-supply = <®_dcdc9>;
+ ips-supply = <®_ps>;
+ vin19-supply = <®_ps>;
+ vin23-supply = <®_ps>;
+ vin45-supply = <®_ps>;
+ vin678-supply = <®_ps>;
+
+ regulators {
+ reg_aldo1: aldo1 {
+ /* Port L powers the PMIC's own I2C bus. */
+ regulator-name = "vcc-pl";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-always-on;
+ };
+
+ reg_bldo1: bldo1 {
+ regulator-name = "vcc-pe-pk-mcsi";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ };
+
+ reg_bldo2: bldo2 {
+ regulator-name = "vcc-lvds0";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ };
+
+ reg_cldo1: cldo1 {
+ regulator-name = "vdd18-lpddr";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-always-on;
+ };
+
+ reg_cldo2: cldo2 {
+ regulator-name = "vcc18-hdmi";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ };
+
+ reg_cldo3: cldo3 {
+ regulator-name = "vcc-pll-dram";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-always-on;
+ };
+
+ reg_cldo5: cldo5 {
+ regulator-name = "vcc18-pc-comb0";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ };
+
+ reg_dcdc1: dcdc1 {
+ /* Board 3.3 V loads and the SWOUT1/2 input. */
+ regulator-name = "vcc-3v3";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-always-on;
+ };
+
+ reg_dcdc2: dcdc2 {
+ /* System and DRAM core/PHY supply. */
+ regulator-name = "vdd-sys";
+ regulator-min-microvolt = <800000>;
+ regulator-max-microvolt = <800000>;
+ regulator-always-on;
+ };
+
+ reg_dcdc3: dcdc3 {
+ /* Powers the running Cortex-A76 CPUs. */
+ regulator-name = "vdd-cpub";
+ regulator-min-microvolt = <800000>;
+ regulator-max-microvolt = <1050000>;
+ regulator-always-on;
+ };
+
+ reg_dcdc4: dcdc4 {
+ regulator-name = "vdd-gpu";
+ regulator-min-microvolt = <800000>;
+ regulator-max-microvolt = <960000>;
+ };
+
+ reg_dcdc5: dcdc5 {
+ /* Powers the running Cortex-A55 CPUs. */
+ regulator-name = "vdd-cpul";
+ regulator-min-microvolt = <800000>;
+ regulator-max-microvolt = <1050000>;
+ regulator-always-on;
+ };
+
+ reg_dcdc6: dcdc6 {
+ /* DRAM PHY and LPDDR4X/LPDDR5 VDDQ (via RP15). */
+ regulator-name = "vcc-draml";
+ regulator-min-microvolt = <500000>;
+ regulator-max-microvolt = <600000>;
+ regulator-always-on;
+ };
+
+ reg_dcdc7: dcdc7 {
+ /* DRAM PHY and LPDDR5 VDD2H (VCC-DRAM). */
+ regulator-name = "vcc-dram";
+ regulator-min-microvolt = <1050000>;
+ regulator-max-microvolt = <1100000>;
+ regulator-always-on;
+ };
+
+ reg_dcdc9: dcdc9 {
+ regulator-name = "eldo-input";
+ regulator-min-microvolt = <1240000>;
+ regulator-max-microvolt = <1240000>;
+ };
+
+ reg_dldo1: dldo1 {
+ /* SoC eFuse supply has no SID regulator consumer. */
+ regulator-name = "vcc-efuse";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-always-on;
+ };
+
+ reg_eldo1: eldo1 {
+ regulator-name = "vdd2l-lpddr";
+ regulator-always-on;
+ };
+
+ reg_eldo6: eldo6 {
+ /* Standby CPU and USB supply. */
+ regulator-name = "vdd-cpus";
+ regulator-min-microvolt = <800000>;
+ regulator-max-microvolt = <800000>;
+ regulator-always-on;
+ };
+
+ reg_rtc_ldo: rtc-ldo {
+ regulator-name = "vcc-rtc";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-always-on;
+ };
+
+ reg_swout1: swout1 {
+ regulator-name = "vcc33-lcd";
+ };
+
+ reg_swout2: swout2 {
+ /* VCC-IO to the console and microSD. */
+ regulator-name = "vcc-io-card";
+ regulator-always-on;
+ };
+ };
+ };
+};
+
+&r_pio {
+ /* PL powers the PMIC bus itself; firmware must keep ALDO1 enabled. */
+ vcc-pm-supply = <®_aldo1>;
+};
+
+&rtc {
+ clocks = <&r_ccu CLK_BUS_R_RTC>, <&hosc>, <&r_ccu CLK_R_AHB>,
+ <&osc32k>;
+ clock-names = "bus", "hosc", "ahb", "ext-osc32k";
+};
+
+&uart0 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart0_pb_pins>;
+ status = "okay";
+};
^ permalink raw reply related [flat|nested] 13+ messages in thread
* Re: [PATCH v6 3/5] arm64: dts: allwinner: add Radxa Cubie A7S board
2026-11-26 20:35 ` [PATCH v6 3/5] arm64: dts: allwinner: add Radxa Cubie A7S board Enzo Adriano
@ 2026-11-26 20:55 ` sashiko-bot
2026-11-27 0:24 ` Andre Przywara
2026-11-27 16:14 ` Norman Herms
2 siblings, 0 replies; 13+ messages in thread
From: sashiko-bot @ 2026-11-26 20:55 UTC (permalink / raw)
To: Enzo Adriano; +Cc: devicetree, linux-sunxi, robh, conor+dt
Thank you for your contribution! Sashiko AI review found 4 potential
issues to consider:
- [High] arm64: dts: allwinner: unbound x-powers,axp318w PMIC defers all
consumers
- [High] arm64: dts: allwinner: pio bank supplies program inverted A733
IO bias mode
- [Low] arm64: dts: allwinner: undocumented allwinner,sun60i-a733-uart
compatible
- [Low] arm64: dts: allwinner: missing voltage range on reg_eldo1 in
cubie-a7s
--
commit bf6c15da857b8c21da3e29b02171cb433eb632f0
Author: Enzo Adriano <enzo.adriano.code@gmail.com>
arm64: dts: allwinner: add Radxa Cubie A7S board
This commit adds the initial Devicetree for the Radxa Cubie A7S board,
enabling the serial console, AXP318W PMIC, microSD slot, I2C0 EEPROM, and
GPIO LEDs.
Link: https://dl.radxa.com/cubie/a7s/hw/radxa_cubie_a7s_schematic_v1.10.pdf
Link: https://github.com/radxa/allwinner-device/blob/6d911d1582dcccdb5a4c38be8d3c1ee851019795/configs/cubie_a7s/linux-5.15/board.dts#L372-L384
> diff --git a/arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7s.dts b/arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7s.dts
> new file mode 100644
> index 0000000000000..98a878a2d739b
> --- /dev/null
> +++ b/arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7s.dts
[ ... ]
> +&pio {
> + vcc-pb-supply = <®_swout2>; /* via VCC-IO */
> + vcc-pc-supply = <®_cldo5>;
> + vcc-pd-supply = <®_swout1>;
> + vcc-pe-supply = <®_bldo1>;
> + /* PF uses VCC-IO at 3.3 V, with CLDO5 as the 1.8 V input. */
> + vcc-pf-supply = <®_swout2>;
> + vcc-pg-supply = <®_aldo1>;
> + vcc-ph-supply = <®_swout2>;
> + vcc-pj-supply = <®_swout1>;
> + vcc-pk-supply = <®_bldo1>;
> +};
[Severity: High]
Will wiring vcc-pb-supply through vcc-pk-supply on pio program inverted
1.8V/3.3V I/O bias settings for banks PB through PK?
In drivers/pinctrl/sunxi/pinctrl-sun60i-a733.c, a733_pinctrl_data still
uses BIAS_VOLTAGE_PIO_POW_MODE_SEL rather than
BIAS_VOLTAGE_PIO_POW_MODE_CTL_INV, so sunxi_pinctrl_set_io_bias_cfg()
writes un-inverted 1.8V/3.3V withstand bits into
PIO_NCAT3_POW_MOD_SEL_REG whenever a pin in those banks is requested.
In addition, reg_swout1 and reg_swout2 omit microvolt bounds and have no
input supply property on axp318w linking them to reg_dcdc1, causing
regulator_get_voltage() on those switches to return -EINVAL.
> +&r_i2c0 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&r_i2c0_pl_pins>;
> + status = "okay";
> +
> + axp318w: pmic@36 {
> + compatible = "x-powers,axp318w";
> + reg = <0x36>;
> + interrupt-parent = <&nmi_intc>;
> + interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
> + interrupt-controller;
> + #interrupt-cells = <1>;
> +
> + aldo156in-supply = <®_ps>;
> + aldo234in-supply = <®_aldo1>;
> + bldoin-supply = <®_ldo_input>;
> + cldoin-supply = <®_ldo_input>;
> + dldoin-supply = <®_ps>;
> + eldoin-supply = <®_dcdc9>;
> + ips-supply = <®_ps>;
> + vin19-supply = <®_ps>;
> + vin23-supply = <®_ps>;
> + vin45-supply = <®_ps>;
> + vin678-supply = <®_ps>;
[Severity: High]
As reported by Chen-Yu Tsai on v5 [1], does pmic@36 using the
undocumented and unsupported "x-powers,axp318w" compatible cause all its
regulator consumers to defer probe permanently?
No in-tree MFD or regulator driver matches "x-powers,axp318w", and
Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml does not
document that compatible, the grouped supply properties (aldo156in-supply,
aldo234in-supply, vin19-supply, vin23-supply, vin45-supply,
vin678-supply), or the dcdc9, swout1, and swout2 regulator nodes.
Because pmic@36 never binds and never registers its child regulators,
of_regulator_dev_lookup() finds the unpopulated DT regulator nodes and
returns -EPROBE_DEFER whenever uart0, mmc0, i2c0, eeprom@50, or the LEDs
request their supplies or pins through pio and r_pio.
[ ... ]
> + reg_eldo1: eldo1 {
> + regulator-name = "vdd2l-lpddr";
> + regulator-always-on;
> + };
[Severity: Low]
As reported by Andre Przywara on v4 [2], should reg_eldo1 specify
regulator-min-microvolt and regulator-max-microvolt bounds for the
vdd2l-lpddr rail?
[ ... ]
> +&uart0 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&uart0_pb_pins>;
> + status = "okay";
> +};
[Severity: Low]
Does enabling uart0 from sun60i-a733.dtsi cause dtbs_check validation
failures because "allwinner,sun60i-a733-uart" is not documented in
Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml?
[1] https://lore.kernel.org/r/CAGb2v64p4GvDMDKzDLfedDQCexD+=gu3+YxMAt=ARj4bZxR_eA@mail.gmail.com
[2] https://lore.kernel.org/r/20261122003932.568c099c@ryzen.lan
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261126-a733-cubie-a7s-dt-v6-0@gmail.com?part=3
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH v6 3/5] arm64: dts: allwinner: add Radxa Cubie A7S board
2026-11-26 20:35 ` [PATCH v6 3/5] arm64: dts: allwinner: add Radxa Cubie A7S board Enzo Adriano
2026-11-26 20:55 ` sashiko-bot
@ 2026-11-27 0:24 ` Andre Przywara
2026-11-27 16:17 ` Norman Herms
2026-11-27 18:07 ` Enzo Adriano
2026-11-27 16:14 ` Norman Herms
2 siblings, 2 replies; 13+ messages in thread
From: Andre Przywara @ 2026-11-27 0:24 UTC (permalink / raw)
To: Enzo Adriano, robh, krzk+dt, conor+dt, wens, jernej.skrabec,
samuel
Cc: Maxime Ripard, devicetree, linux-arm-kernel, linux-sunxi,
linux-kernel, Junhui Liu, Jerome Brunet, Pablo Mazzini,
Vinicius Pedrosa, Alexander Sverdlin, Jun Yan, Lukas Schmid,
Cristian Filipescu, Norman Herms
Hi,
thanks for the respin, and for unifying all those boards in one series,
that should make it easier to handle.
This looks good overall, just some smaller things below:
On 11/26/26 21:35, Enzo Adriano wrote:
> Enable the serial console, PMIC and microSD slot for initial Cubie A7S
> bring-up with vendor firmware, using the new common A733 description.
> Describe the oscillator inputs and power tree using the Radxa A7S
> v1.10 schematic, sheets 4, 7 and 8. Keep the boot-critical supplies
> enabled. Sheet 4 shows VCC5V0_SYS feeding DCIN and the PMIC PS output
> feeding the buck inputs and UP11. Set DCDC9 to 1.240 V, the boot
> firmware selector read back on the board for the ELDO input. Keep
> ELDO1 enabled at the firmware-selected voltage while the VDD2L range
> for the fitted memory is being confirmed.
>
> Use the Radxa 5.15 BSP CPU and GPU OPP envelopes for DCDC3/5 and
> DCDC4. Use its regulator readback for DCDC2, BLDO1, DLDO1 and ELDO6,
> consistent with sheets 4 and 8 and the VCC-MCSI entry in the A733
> datasheet.
>
> Allow 0.50-0.60 V on DCDC6, covering the 0.50 V LPDDR5 and 0.60 V
> LPDDR4X VDDQ options on sheet 5. Allow 1.05-1.10 V on DCDC7,
> covering LPDDR5 VDD2H at 1.05 V and the 1.10 V DRAM rail shown on
> sheets 4 and 5. The BSP readback was 0.56 V and 1.08 V, respectively.
> Both fall inside the bounds, so those selector values can be kept
> after DRAM training. Set the LVDS0 supply to 1.8 V per the A733
> Datasheet v1.00, table 5-2, and leave its enable under consumer control.
> Omit the unused UFS and codec regulator nodes (schematic sheets 4 and 6).
>
> Use SWOUT2 for the card and the Port F VCC-IO path (sheets 4, 7 and 13).
> Firmware must select the 3.3 V PF path for use with MMC0. CLDO5
> supplies the separate 1.8 V input. The controller uses fixed signalling
> with no VQMMC regulator and advertises no UHS modes. Describe the
> active-high card-detect line on PF6 and its pull-down.
>
> Add the PM2 power and PJ26 status LEDs, and the BL24C16F on I2C0 as
> shown on sheets 7 and 16. The EEPROM is at 0x50 in Radxa's 5.15 DT.
> PC7 drives an inverter that pulls the EEPROM's write-protect pin low.
>
> Keep ALDO1 always on for Port L, which powers the PMIC's own bus.
> Omit the Port L supply phandle, as on the Cubie A5E: requesting
> it would require the PMIC regulator before the PMIC can be reached.
> The A733 pinctrl voltage-mode fix is required for the bank supply
> connections.
>
> Link: https://dl.radxa.com/cubie/a7s/hw/radxa_cubie_a7s_schematic_v1.10.pdf
> Link: https://github.com/radxa/allwinner-device/blob/6d911d1582dcccdb5a4c38be8d3c1ee851019795/configs/cubie_a7s/linux-5.15/board.dts#L372-L384
> Signed-off-by: Enzo Adriano <enzo.adriano.code@gmail.com>
> ---
> Changes since v5:
> - Distinguish the 5 V DCIN supply from the PMIC PS output and rename
> the fixed LDO input regulator. Rename and move the 32 kHz clock.
> - Order the regulator nodes, set DCDC9 to 1.240 V and omit blank
> lines before status. Keep ELDO1 without voltage bounds.
> - Remove cap-sdio-irq since sunxi-mmc already sets MMC_CAP_SDIO_IRQ.
> - Norman's v5 hardware report is linked from the cover. The revised
> supply graph and DCDC9 constraint still need a hardware run.
>
> arch/arm64/boot/dts/allwinner/Makefile | 1 +
> .../dts/allwinner/sun60i-a733-cubie-a7s.dts | 333 ++++++++++++++++++
> 2 files changed, 334 insertions(+)
> create mode 100644 arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7s.dts
>
> diff --git a/arch/arm64/boot/dts/allwinner/Makefile b/arch/arm64/boot/dts/allwinner/Makefile
> index da39f02252d4..9d1e740ff19e 100644
> --- a/arch/arm64/boot/dts/allwinner/Makefile
> +++ b/arch/arm64/boot/dts/allwinner/Makefile
> @@ -69,3 +69,4 @@ dtb-$(CONFIG_ARCH_SUNXI) += sun55i-a527-cubie-a5e.dtb
> 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
> diff --git a/arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7s.dts b/arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7s.dts
> new file mode 100644
> index 000000000000..98a878a2d739
> --- /dev/null
> +++ b/arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7s.dts
> @@ -0,0 +1,333 @@
> +// SPDX-License-Identifier: (GPL-2.0-only OR MIT)
> +/dts-v1/;
> +
> +#include "sun60i-a733.dtsi"
> +
> +#include <dt-bindings/gpio/gpio.h>
> +#include <dt-bindings/leds/common.h>
> +
> +/ {
> + model = "Radxa Cubie A7S";
> + compatible = "radxa,cubie-a7s", "allwinner,sun60i-a733";
> +
> + aliases {
> + serial0 = &uart0;
> + };
> +
> + osc32k: clock-osc32k {
> + compatible = "fixed-clock";
> + #clock-cells = <0>;
> + clock-frequency = <32768>;
> + };
> +
> + chosen {
> + stdout-path = "serial0:115200n8";
> + };
> +
> + leds {
> + compatible = "gpio-leds";
> +
> + power-led {
> + function = LED_FUNCTION_POWER;
> + color = <LED_COLOR_ID_GREEN>;
> + gpios = <&r_pio 1 2 GPIO_ACTIVE_HIGH>; /* PM2 */
> + default-state = "on";
> + };
> +
> + status-led {
> + function = LED_FUNCTION_STATUS;
> + color = <LED_COLOR_ID_BLUE>;
> + gpios = <&pio 9 26 GPIO_ACTIVE_HIGH>; /* PJ26 */
> + linux,default-trigger = "heartbeat";
I don't think we should have an LED wasted on a heartbeat when there is
already a controllable power LED. I think a second LED should be left up
to the user to configure. If they want, they can always set the
heartbeat trigger via sysfs, although I'd probably do this on the power
LED instead.
So I believe there should be no default-trigger line.
> + };
> + };
> +
> + reg_ldo_input: regulator-ldo2v5-input {
> + compatible = "regulator-fixed";
> + regulator-name = "ldo2v5-input";
> + regulator-min-microvolt = <2400000>;
> + regulator-max-microvolt = <2400000>;
> + regulator-always-on;
> + vin-supply = <®_ps>;
> + };
> +
> + /* AXP318W PS output, routed back to the PMIC and to UP11. */
> + reg_ps: regulator-ps-output {
> + compatible = "regulator-fixed";
> + regulator-name = "ps-output";
> + regulator-always-on;
> + vin-supply = <®_vcc5v0_sys>;
> + };
> +
> + reg_vcc5v0_sys: regulator-vcc5v0-sys {
> + compatible = "regulator-fixed";
> + regulator-name = "vcc5v0-sys";
> + regulator-min-microvolt = <5000000>;
> + regulator-max-microvolt = <5000000>;
> + regulator-always-on;
> + };
I understand that Chen-Yu somewhat suggested that, but it still looks
odd to have these two regulators. I don't think we have that for any
other board, even though most use a very similar connection.
Chen-Yu, is that what you thought of? Is that the model we should go
forward with from now on?
> +};
> +
> +&cpu0 {
> + cpu-supply = <®_dcdc5>;
> +};
> +
> +&cpu1 {
> + cpu-supply = <®_dcdc5>;
> +};
> +
> +&cpu2 {
> + cpu-supply = <®_dcdc5>;
> +};
> +
> +&cpu3 {
> + cpu-supply = <®_dcdc5>;
> +};
> +
> +&cpu4 {
> + cpu-supply = <®_dcdc5>;
> +};
> +
> +&cpu5 {
> + cpu-supply = <®_dcdc5>;
> +};
> +
> +&cpu6 {
> + cpu-supply = <®_dcdc3>;
> +};
> +
> +&cpu7 {
> + cpu-supply = <®_dcdc3>;
> +};
> +
> +&hosc {
> + clock-frequency = <26000000>;
> +};
> +
> +&i2c0 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&i2c0_pg_pins>;
> + status = "okay";
> +
> + eeprom@50 {
> + compatible = "belling,bl24c16f", "atmel,24c16";
> + reg = <0x50>;
> + pagesize = <16>;
> + vcc-supply = <®_aldo1>;
> + wp-gpios = <&pio 2 7 GPIO_ACTIVE_LOW>; /* PC7 via Q2 */
> + };
> +};
> +
> +&mmc0 {
> + bus-width = <4>;
> + cap-mmc-highspeed;
> + cap-sd-highspeed;
> + cd-gpios = <&pio 5 6 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>;
Since the Allwinner GPIO notation with bank and pin number is hard to
read, we always add the pin name (PF6) as a comment, see other .dts files.
> + disable-wp;
> + no-1-8-v;
> + vmmc-supply = <®_swout2>;
> + status = "okay";
> +};
> +
> +&pio {
> + vcc-pb-supply = <®_swout2>; /* via VCC-IO */
> + vcc-pc-supply = <®_cldo5>;
> + vcc-pd-supply = <®_swout1>;
> + vcc-pe-supply = <®_bldo1>;
> + /* PF uses VCC-IO at 3.3 V, with CLDO5 as the 1.8 V input. */
> + vcc-pf-supply = <®_swout2>;
> + vcc-pg-supply = <®_aldo1>;
> + vcc-ph-supply = <®_swout2>;
> + vcc-pj-supply = <®_swout1>;
> + vcc-pk-supply = <®_bldo1>;
> +};
> +
> +&r_i2c0 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&r_i2c0_pl_pins>;
> + status = "okay";
> +
> + axp318w: pmic@36 {
> + compatible = "x-powers,axp318w";
> + reg = <0x36>;
> + interrupt-parent = <&nmi_intc>;
> + interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
> + interrupt-controller;
> + #interrupt-cells = <1>;
> +
> + aldo156in-supply = <®_ps>;
> + aldo234in-supply = <®_aldo1>;
> + bldoin-supply = <®_ldo_input>;
> + cldoin-supply = <®_ldo_input>;
> + dldoin-supply = <®_ps>;
> + eldoin-supply = <®_dcdc9>;
> + ips-supply = <®_ps>;
> + vin19-supply = <®_ps>;
> + vin23-supply = <®_ps>;
> + vin45-supply = <®_ps>;
> + vin678-supply = <®_ps>;
> +
> + regulators {
> + reg_aldo1: aldo1 {
> + /* Port L powers the PMIC's own I2C bus. */
> + regulator-name = "vcc-pl";
> + regulator-min-microvolt = <3300000>;
> + regulator-max-microvolt = <3300000>;
> + regulator-always-on;
> + };
> +
> + reg_bldo1: bldo1 {
> + regulator-name = "vcc-pe-pk-mcsi";
> + regulator-min-microvolt = <1800000>;
> + regulator-max-microvolt = <1800000>;
> + };
> +
> + reg_bldo2: bldo2 {
> + regulator-name = "vcc-lvds0";
> + regulator-min-microvolt = <1800000>;
> + regulator-max-microvolt = <1800000>;
> + };
> +
> + reg_cldo1: cldo1 {
> + regulator-name = "vdd18-lpddr";
> + regulator-min-microvolt = <1800000>;
> + regulator-max-microvolt = <1800000>;
> + regulator-always-on;
> + };
> +
> + reg_cldo2: cldo2 {
> + regulator-name = "vcc18-hdmi";
> + regulator-min-microvolt = <1800000>;
> + regulator-max-microvolt = <1800000>;
> + };
> +
> + reg_cldo3: cldo3 {
> + regulator-name = "vcc-pll-dram";
> + regulator-min-microvolt = <1800000>;
> + regulator-max-microvolt = <1800000>;
> + regulator-always-on;
> + };
> +
> + reg_cldo5: cldo5 {
> + regulator-name = "vcc18-pc-comb0";
> + regulator-min-microvolt = <1800000>;
> + regulator-max-microvolt = <1800000>;
> + };
> +
> + reg_dcdc1: dcdc1 {
> + /* Board 3.3 V loads and the SWOUT1/2 input. */
> + regulator-name = "vcc-3v3";
> + regulator-min-microvolt = <3300000>;
> + regulator-max-microvolt = <3300000>;
> + regulator-always-on;
> + };
> +
> + reg_dcdc2: dcdc2 {
> + /* System and DRAM core/PHY supply. */
> + regulator-name = "vdd-sys";
> + regulator-min-microvolt = <800000>;
> + regulator-max-microvolt = <800000>;
> + regulator-always-on;
> + };
> +
> + reg_dcdc3: dcdc3 {
> + /* Powers the running Cortex-A76 CPUs. */
> + regulator-name = "vdd-cpub";
> + regulator-min-microvolt = <800000>;
> + regulator-max-microvolt = <1050000>;
> + regulator-always-on;
> + };
> +
> + reg_dcdc4: dcdc4 {
> + regulator-name = "vdd-gpu";
> + regulator-min-microvolt = <800000>;
> + regulator-max-microvolt = <960000>;
> + };
> +
> + reg_dcdc5: dcdc5 {
> + /* Powers the running Cortex-A55 CPUs. */
> + regulator-name = "vdd-cpul";
> + regulator-min-microvolt = <800000>;
> + regulator-max-microvolt = <1050000>;
> + regulator-always-on;
> + };
> +
> + reg_dcdc6: dcdc6 {
> + /* DRAM PHY and LPDDR4X/LPDDR5 VDDQ (via RP15). */
> + regulator-name = "vcc-draml";
> + regulator-min-microvolt = <500000>;
> + regulator-max-microvolt = <600000>;
> + regulator-always-on;
> + };
> +
> + reg_dcdc7: dcdc7 {
> + /* DRAM PHY and LPDDR5 VDD2H (VCC-DRAM). */
> + regulator-name = "vcc-dram";
> + regulator-min-microvolt = <1050000>;
> + regulator-max-microvolt = <1100000>;
> + regulator-always-on;
> + };
> +
> + reg_dcdc9: dcdc9 {
> + regulator-name = "eldo-input";
> + regulator-min-microvolt = <1240000>;
> + regulator-max-microvolt = <1240000>;
> + };
> +
> + reg_dldo1: dldo1 {
> + /* SoC eFuse supply has no SID regulator consumer. */
> + regulator-name = "vcc-efuse";
> + regulator-min-microvolt = <1800000>;
> + regulator-max-microvolt = <1800000>;
> + regulator-always-on;
> + };
> +
> + reg_eldo1: eldo1 {
> + regulator-name = "vdd2l-lpddr";
So I saw the same issue on the A7A, also with LPDDR5: the schematic says
0.9V, but at boot time it was 1.075V. The kernel corrected it to 0.9V,
without apparent problems, but I didn't stress it at all, so can't say
whether this is stable. Various LPDDR5 datasheets suggests VDD2L should
be 0.9V, or at least in the range between 0.87V and 0.97V, though in
some configurations it can also be tied to VDD2H at 1.05V.
So we are none the wiser, I guess, it would be good to figure out what
the PMIC reset value is for ELDO1, so to know whether it's the
vendors(?) DRAM init that deliberately programs EDLO1 to 1.075V, or if
it's just left untouched.
> + regulator-always-on;
> + };
> +
> + reg_eldo6: eldo6 {
> + /* Standby CPU and USB supply. */
> + regulator-name = "vdd-cpus";
> + regulator-min-microvolt = <800000>;
> + regulator-max-microvolt = <800000>;
> + regulator-always-on;
> + };
> +
> + reg_rtc_ldo: rtc-ldo {
> + regulator-name = "vcc-rtc";
> + regulator-min-microvolt = <1800000>;
> + regulator-max-microvolt = <1800000>;
> + regulator-always-on;
> + };
> +
> + reg_swout1: swout1 {
> + regulator-name = "vcc33-lcd";
> + };
> +
> + reg_swout2: swout2 {
> + /* VCC-IO to the console and microSD. */
I guess you mean "GPIO headers" instead of console?
Cheers,
Andre
> + regulator-name = "vcc-io-card";
> + regulator-always-on;
> + };
> + };
> + };
> +};
> +
> +&r_pio {
> + /* PL powers the PMIC bus itself; firmware must keep ALDO1 enabled. */
> + vcc-pm-supply = <®_aldo1>;
> +};
> +
> +&rtc {
> + clocks = <&r_ccu CLK_BUS_R_RTC>, <&hosc>, <&r_ccu CLK_R_AHB>,
> + <&osc32k>;
> + clock-names = "bus", "hosc", "ahb", "ext-osc32k";
> +};
> +
> +&uart0 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&uart0_pb_pins>;
> + status = "okay";
> +};
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH v6 3/5] arm64: dts: allwinner: add Radxa Cubie A7S board
2026-11-26 20:35 ` [PATCH v6 3/5] arm64: dts: allwinner: add Radxa Cubie A7S board Enzo Adriano
2026-11-26 20:55 ` sashiko-bot
2026-11-27 0:24 ` Andre Przywara
@ 2026-11-27 16:14 ` Norman Herms
2026-11-27 18:07 ` Enzo Adriano
2 siblings, 1 reply; 13+ messages in thread
From: Norman Herms @ 2026-11-27 16:14 UTC (permalink / raw)
To: Enzo Adriano
Cc: andre.przywara, robh, krzk+dt, conor+dt, wens, jernej.skrabec,
samuel, Maxime Ripard, devicetree, linux-arm-kernel, linux-sunxi,
linux-kernel, Junhui Liu, Jerome Brunet, Pablo Mazzini,
Vinicius Pedrosa, Alexander Sverdlin, Jun Yan, Lukas Schmid,
Cristian Filipescu
Hi Enzo,
Tested v6 patches 1-3 on a Radxa Cubie A7S. Same kernel as for v5
(sunxi/for-next 2ba07dfcd45b plus the dependencies; pinctrl at v3,
whose code is the same as v4), same own firmware and the same 2 MiB
bad-DRAM reservation. dtbs_check with W=1 and W=2 is clean.
Results are the same as with v5:
- PMIC: all bounded rails are within their bounds, and the registers
read the same as before (DCDC7 1080 mV, DCDC9 1240 mV, ELDO1
1075 mV). The new vcc5v0-sys -> ps-output -> ldo2v5-input chain
probes, and eldo-input now reports its fixed 1.24 V.
- PMU: counting and overflow interrupts work on all 8 CPUs.
- MMC0: High Speed, 50 MHz, 3.3 V. Repeated reads and a 64 MiB
write/readback matched, no mmc errors.
- EEPROM reads the same contents as before. Warm reboot and power-off
(0 W at the plug) work. No warnings in dmesg.
On the bot's IO bias concern: with the pinctrl dependency applied,
GPIO_POW_MOD_SEL reads 0x05555555 (all auto) and SGPIO_POW_MOD_SEL
0x00055555, PF stays on 3.3 V, and GPIO_POW_VAL reads the same as
U-Boot leaves it (PC/PE/PK 1.8 V, the other banks 3.3 V).
There is still no watchdog node, so I stopped our U-Boot's 16 s
watchdog at 0x7021000 by hand again.
The cover lists CPU/cache topology as untested: all eight CPUs are in
one cluster, as described. Patch 2/5 mentions the shared L3, but the
DTSI has no cache nodes, so the kernel falls back to reporting L2 as
shared by all eight CPUs as well (index2 shared_cpu_list 0-7).
The EEPROM probes as writable. It holds Radxa's factory data, and
our own DT reads the MAC address from it at 0x9e, so read-only might be
worth considering.
Card hotplug, listed as untested in the cover, works with Vinicius'
"do not switch the mux to read IRQ lines" fix (a256b8c8083e) on top:
pulling the card gives "card removed" and reinserting it gives "new
high speed SDXC card". Without that fix the PF6 level follows the card,
but the card detect interrupt never fires, so the A7S needs it for
hotplug.
Not tested: the power key, as the AXP318W driver has no power key
support yet. Otherwise the same gaps as for v5.
Tested-by: Norman Herms <dockseed@proton.me> # Radxa Cubie A7S (A733)
Built and measured by AI agents (Claude) on my board.
Thanks,
Norman
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH v6 3/5] arm64: dts: allwinner: add Radxa Cubie A7S board
2026-11-27 0:24 ` Andre Przywara
@ 2026-11-27 16:17 ` Norman Herms
2026-11-27 16:30 ` Andre Przywara
2026-11-27 18:07 ` Enzo Adriano
1 sibling, 1 reply; 13+ messages in thread
From: Norman Herms @ 2026-11-27 16:17 UTC (permalink / raw)
To: Andre Przywara
Cc: Enzo Adriano, robh, krzk+dt, conor+dt, wens, jernej.skrabec,
samuel, Maxime Ripard, devicetree, linux-arm-kernel, linux-sunxi,
linux-kernel, Junhui Liu, Jerome Brunet, Pablo Mazzini,
Vinicius Pedrosa, Alexander Sverdlin, Jun Yan, Lukas Schmid,
Cristian Filipescu
Hi Andre,
On the ELDO1 question: the AXP318W datasheet (V1.0, Chinese, table
6-3) gives ELDO1 a default of 0.9 V and leaves it off at power-up, as it
does DCDC6 and DCDC7. So 1.075 V is not the PMIC default.
On the A7S we boot our own chain (U-Boot SPL calling the vendor DRAM
init, TF-A, U-Boot), and none of the open parts writes ELDO1. That
leaves the vendor DRAM init, which switches it on. Its value follows
VDD2H on the 25 mV grid: with DCDC7 at 1080 mV we read ELDO1 at
1075 mV, and with Radxa's own boot0 at 1120 mV we read 1100 mV.
We have also tried VDD2L at 0.9 V on the A7S. Lowering ELDO1 from
Linux changes the voltage after the DRAM training ran at 1.075 V,
which can lead to errors. So we keep the value the DRAM init leaves,
even though it does not match the schematic, as the v6 node without
voltage bounds does. The vendor DRAM init sets all the DRAM rails
itself, so a clean 0.9 V would have to come from there.
Built and measured by AI agents (Claude) on my board.
Thanks,
Norman
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH v6 3/5] arm64: dts: allwinner: add Radxa Cubie A7S board
2026-11-27 16:17 ` Norman Herms
@ 2026-11-27 16:30 ` Andre Przywara
2026-11-27 17:00 ` Norman Herms
2026-11-28 20:18 ` Enzo Adriano
0 siblings, 2 replies; 13+ messages in thread
From: Andre Przywara @ 2026-11-27 16:30 UTC (permalink / raw)
To: Norman Herms
Cc: Enzo Adriano, robh, krzk+dt, conor+dt, wens, jernej.skrabec,
samuel, Maxime Ripard, devicetree, linux-arm-kernel, linux-sunxi,
linux-kernel, Junhui Liu, Jerome Brunet, Pablo Mazzini,
Vinicius Pedrosa, Alexander Sverdlin, Jun Yan, Lukas Schmid,
Cristian Filipescu
Hi Norman,
(please try to reply in-line, with the question quoted, to make it
easier for other people to follow the thread)
On 11/27/26 17:17, Norman Herms wrote:
> Hi Andre,
>
> On the ELDO1 question: the AXP318W datasheet (V1.0, Chinese, table
> 6-3) gives ELDO1 a default of 0.9 V and leaves it off at power-up, as it
> does DCDC6 and DCDC7. So 1.075 V is not the PMIC default.
Ah, thanks!
> On the A7S we boot our own chain (U-Boot SPL calling the vendor DRAM
> init, TF-A, U-Boot), and none of the open parts writes ELDO1. That
> leaves the vendor DRAM init, which switches it on. Its value follows
> VDD2H on the 25 mV grid: with DCDC7 at 1080 mV we read ELDO1 at
> 1075 mV, and with Radxa's own boot0 at 1120 mV we read 1100 mV.
That's good info, thanks!
> We have also tried VDD2L at 0.9 V on the A7S. Lowering ELDO1 from
> Linux changes the voltage after the DRAM training ran at 1.075 V,
> which can lead to errors.
Yeah, I was concerned about this as well. LPDDR5 DRAM init/training
seems to be a lot more sensitive than <=LPDDR4 (it even requires
occasional retraining at runtime?), so changing voltages after the fact
sounds dangerous.
> So we keep the value the DRAM init leaves,
> even though it does not match the schematic, as the v6 node without
> voltage bounds does. The vendor DRAM init sets all the DRAM rails
> itself, so a clean 0.9 V would have to come from there.
OK, that's something we probably can do with the in-flight Open Source
DRAM init driver then, which is (in parts at least) already on the list.
Regardless I wouldn't want to leave it completely unbound, but instead
provide some limits. I guess for VDD2L, potentially the same as VDD2H,
it should be 0.87V - 1.12V, which seem to be limits Google turns up for
those LPDDR5 specified values.
I will adjust the DT for the A7A.
Cheers,
Andre
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH v6 3/5] arm64: dts: allwinner: add Radxa Cubie A7S board
2026-11-27 16:30 ` Andre Przywara
@ 2026-11-27 17:00 ` Norman Herms
2026-11-28 20:18 ` Enzo Adriano
1 sibling, 0 replies; 13+ messages in thread
From: Norman Herms @ 2026-11-27 17:00 UTC (permalink / raw)
To: Andre Przywara
Cc: Enzo Adriano, robh, krzk+dt, conor+dt, wens, jernej.skrabec,
samuel, Maxime Ripard, devicetree, linux-arm-kernel, linux-sunxi,
linux-kernel, Junhui Liu, Jerome Brunet, Pablo Mazzini,
Vinicius Pedrosa, Alexander Sverdlin, Jun Yan, Lukas Schmid,
Cristian Filipescu
Hi Andre,
> Regardless I wouldn't want to leave it completely unbound, but instead
> provide some limits. I guess for VDD2L, potentially the same as VDD2H,
> it should be 0.87V - 1.12V, which seem to be limits Google turns up for
> those LPDDR5 specified values.
That covers what we have read on the A7S: ELDO1 (VDD2L) at 1.075 V
with our chain and at 1.1 V with Radxa's own boot0 (V0.6034, and the
same on Radxa's Debian image).
In June we also stepped ELDO1 on an A7S in 25 mV steps, with memtester
at each step: no errors from 575 mV up to 1.2 V, where we stopped on
purpose, and a crash at 550 mV. That was after the training at
1.075 V, so it says nothing about training at other voltages, but
0.87 V - 1.12 V sits well inside it.
Radxa's boot0 also sets DCDC7 (VDD2H) to 1.12 V, above the 1.1 V
maximum that v6 gives vcc-dram. On a board booted with Radxa's loader,
the regulator core would bring VDD2H down to 1.1 V at probe, i.e.
after the training. We have seen exactly that on ELDO1 with an early
test DT of ours that gave it a fixed 0.95 V, on a board with Radxa's
boot0:
[ 1.792706] vcc09-vdd2l: Bringing 1100000uV into 950000-950000uV
with the DRAM already trained and in use. With our chain DCDC7 is at
1.08 V. So 1.12 V as the maximum for both rails would also cover the
vendor chain.
Built and measured by AI agents (Claude) on my boards.
Thanks,
Norman
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH v6 3/5] arm64: dts: allwinner: add Radxa Cubie A7S board
2026-11-27 0:24 ` Andre Przywara
2026-11-27 16:17 ` Norman Herms
@ 2026-11-27 18:07 ` Enzo Adriano
1 sibling, 0 replies; 13+ messages in thread
From: Enzo Adriano @ 2026-11-27 18:07 UTC (permalink / raw)
To: andre.przywara
Cc: robh, krzk+dt, conor+dt, wens, jernej.skrabec, samuel,
Maxime Ripard, devicetree, linux-arm-kernel, linux-sunxi,
linux-kernel, Junhui Liu, Jerome Brunet, Pablo Mazzini,
Vinicius Pedrosa, Alexander Sverdlin, Jun Yan, Lukas Schmid,
Cristian Filipescu, Norman Herms
> > + linux,default-trigger = "heartbeat";
>
> I don't think we should have an LED wasted on a heartbeat when there is
> already a controllable power LED. I think a second LED should be left up
> to the user to configure. If they want, they can always set the
> heartbeat trigger via sysfs, although I'd probably do this on the power
> LED instead.
> So I believe there should be no default-trigger line.
Agreed, v7 drops it.
> > + cd-gpios = <&pio 5 6 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>;
>
> Since the Allwinner GPIO notation with bank and pin number is hard to
> read, we always add the pin name (PF6) as a comment, see other .dts files.
v7 adds /* PF6 */.
> > + reg_eldo1: eldo1 {
> > + regulator-name = "vdd2l-lpddr";
>
> So I saw the same issue on the A7A, also with LPDDR5: the schematic says
> 0.9V, but at boot time it was 1.075V. The kernel corrected it to 0.9V,
> without apparent problems, but I didn't stress it at all, so can't say
> whether this is stable. Various LPDDR5 datasheets suggests VDD2L should
> be 0.9V, or at least in the range between 0.87V and 0.97V, though in
> some configurations it can also be tied to VDD2H at 1.05V.
> So we are none the wiser, I guess, it would be good to figure out what
> the PMIC reset value is for ELDO1, so to know whether it's the
> vendors(?) DRAM init that deliberately programs EDLO1 to 1.075V, or if
> it's just left untouched.
The reset value is not in anything I have; I have no AXP318W
datasheet. Reading ELDO1's control register before the boot firmware's
DRAM init would settle it.
> > + reg_swout2: swout2 {
> > + /* VCC-IO to the console and microSD. */
>
> I guess you mean "GPIO headers" instead of console?
Yes. VCC-IO supplies Port B, which goes to the GPIO headers (including
UART0 on PB9/PB10), and the 3.3 V Port F path for the microSD. v7 will
say "GPIO headers".
Enzo
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH v6 3/5] arm64: dts: allwinner: add Radxa Cubie A7S board
2026-11-27 16:14 ` Norman Herms
@ 2026-11-27 18:07 ` Enzo Adriano
0 siblings, 0 replies; 13+ messages in thread
From: Enzo Adriano @ 2026-11-27 18:07 UTC (permalink / raw)
To: dockseed
Cc: andre.przywara, robh, krzk+dt, conor+dt, wens, jernej.skrabec,
samuel, Maxime Ripard, devicetree, linux-arm-kernel, linux-sunxi,
linux-kernel, Junhui Liu, Jerome Brunet, Pablo Mazzini,
Vinicius Pedrosa, Alexander Sverdlin, Jun Yan, Lukas Schmid,
Cristian Filipescu
> The cover lists CPU/cache topology as untested: all eight CPUs are in
> one cluster, as described. Patch 2/5 mentions the shared L3, but the
> DTSI has no cache nodes, so the kernel falls back to reporting L2 as
> shared by all eight CPUs as well (index2 shared_cpu_list 0-7).
Right. v7 rewords 2/5 so it no longer claims the shared L3 is
described.
> The EEPROM probes as writable. It holds Radxa's factory data, and
> our own DT reads the MAC address from it at 0x9e, so read-only might be
> worth considering.
Agreed, v7 marks it read-only.
> Card hotplug, listed as untested in the cover, works with Vinicius'
> "do not switch the mux to read IRQ lines" fix (a256b8c8083e) on top:
> pulling the card gives "card removed" and reinserting it gives "new
> high speed SDXC card". Without that fix the PF6 level follows the card,
> but the card detect interrupt never fires, so the A7S needs it for
> hotplug.
v7's cover letter names Vinicius' "pinctrl: sunxi: a733: do not switch
the mux to read IRQ lines" as needed for card-detect interrupts on the
A7S.
Enzo
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH v6 3/5] arm64: dts: allwinner: add Radxa Cubie A7S board
2026-11-27 16:30 ` Andre Przywara
2026-11-27 17:00 ` Norman Herms
@ 2026-11-28 20:18 ` Enzo Adriano
1 sibling, 0 replies; 13+ messages in thread
From: Enzo Adriano @ 2026-11-28 20:18 UTC (permalink / raw)
To: andre.przywara
Cc: Norman Herms, robh, krzk+dt, conor+dt, wens, jernej.skrabec,
samuel, Maxime Ripard, devicetree, linux-arm-kernel, linux-sunxi,
linux-kernel, Junhui Liu, Jerome Brunet, Pablo Mazzini,
Vinicius Pedrosa, Alexander Sverdlin, Jun Yan, Lukas Schmid,
Cristian Filipescu
> Regardless I wouldn't want to leave it completely unbound, but
> instead provide some limits. I guess for VDD2L, potentially the same
> as VDD2H, it should be 0.87V - 1.12V, which seem to be limits Google
> turns up for those LPDDR5 specified values.
v7 gives the A7S ELDO1 (VDD2L) a range of 0.87 V - 1.12 V.
Per Norman [1], Radxa's boot0 sets DCDC7 (VDD2H) to 1.12 V, above the
1.10 V maximum v6 has for vcc-dram. v7 raises that maximum to 1.12 V.
With either loader neither rail is then moved after training: on our
chain DCDC7 is 1.08 V and ELDO1 reads 1.075 V, with Radxa's boot0
DCDC7 is 1.12 V and ELDO1 reads 1.10 V.
v7 also drops no-1-8-v from the A7S &mmc0, as you suggested on 5/5 [2].
> I will adjust the DT for the A7A.
The A7A board file travels in this series as 5/5. Should I make the
change there for v7, or would you rather send the updated file?
[1]
https://lore.kernel.org/r/AzjLG4iAqXVYU5xs3jzLGCHNElMjyalfu_xCbgGLeyvgkAXIXMDFHCm4LUyEe1sq6C4gcLhjyje0myr_eNKHhYEmWpoAVHJF0YHgGW7cDVA=@proton.me
[2]
https://lore.kernel.org/r/5cde8317-61c0-4405-915f-44fcc3c54389@arm.com
Enzo
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH v6 3/5] arm64: dts: allwinner: add Radxa Cubie A7S board
@ 2026-11-30 12:04 kernel test robot
0 siblings, 0 replies; 13+ messages in thread
From: kernel test robot @ 2026-11-30 12:04 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp
::::::
:::::: Manual check reason: "dtcheck: binding changes may go via different trees"
::::::
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <20261126-a733-cubie-a7s-dt-v6-3@gmail.com>
References: <20261126-a733-cubie-a7s-dt-v6-3@gmail.com>
TO: Enzo Adriano <enzo.adriano.code@gmail.com>
TO: andre.przywara@arm.com
TO: robh@kernel.org
TO: krzk+dt@kernel.org
TO: conor+dt@kernel.org
TO: wens@kernel.org
TO: jernej.skrabec@gmail.com
TO: samuel@sholland.org
CC: Maxime Ripard <mripard@kernel.org>
CC: devicetree@vger.kernel.org
CC: linux-arm-kernel@lists.infradead.org
CC: linux-sunxi@lists.linux.dev
CC: linux-kernel@vger.kernel.org
CC: Junhui Liu <junhui.liu@pigmoral.tech>
CC: Jerome Brunet <jbrunet@baylibre.com>
CC: Pablo Mazzini <pmazzini@gmail.com>
CC: Vinicius Pedrosa <vinicius.eduardo.pedrosa@gmail.com>
CC: Alexander Sverdlin <alex@sverdlin.org>
CC: Jun Yan <jerrysteve1101@gmail.com>
CC: Lukas Schmid <lukas.schmid@netcube.li>
CC: Cristian Filipescu <filipescu.cristian@gmail.com>
CC: Norman Herms <dockseed@proton.me>
Hi Enzo,
kernel test robot noticed the following build warnings:
[auto build test WARNING on abcb290978fbfddb56fc77171918dd8b8ef3e81b]
url: https://github.com/intel-lab-lkp/linux/commits/Enzo-Adriano/dt-bindings-arm-sunxi-document-Radxa-Cubie-A7A-A7S-and-A7Z/20261126-153533
base: abcb290978fbfddb56fc77171918dd8b8ef3e81b
patch link: https://lore.kernel.org/r/20261126-a733-cubie-a7s-dt-v6-3%40gmail.com
patch subject: [PATCH v6 3/5] arm64: dts: allwinner: add Radxa Cubie A7S board
:::::: branch date: 4 days ago
:::::: commit date: 4 days ago
config: arm64-allnoconfig (https://download.01.org/0day-ci/archive/20261130/20261130125411.fc0OshR8-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 16.2.0
dtschema: 2026.10.dev9+g7453fd0b0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261130/20261130125411.fc0OshR8-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/20261130125411.fc0OshR8-lkp@intel.com/
dtcheck warnings: (new ones prefixed by >>)
>> arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7s.dtb: pinctrl@2000000 (allwinner,sun60i-a733-pinctrl): interrupts: [[0, 69, 4, 0], [0, 71, 4, 0], [0, 73, 4, 0], [0, 75, 4, 0], [0, 77, 4, 0], [0, 79, 4, 0], [0, 81, 4, 0], [0, 83, 4, 0], [0, 85, 4, 0], [0, 87, 4, 0]] is too short
from schema $id: http://devicetree.org/schemas/pinctrl/allwinner,sun55i-a523-pinctrl.yaml
>> arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7s.dtb: serial@2500000 (allwinner,sun60i-a733-uart): compatible: 'oneOf' conditional failed, one must be fixed:
['allwinner,sun60i-a733-uart', 'snps,dw-apb-uart'] is too short
['allwinner,sun60i-a733-uart', 'snps,dw-apb-uart'] is too long
'renesas,r9a06g032-uart' was expected
'allwinner,sun60i-a733-uart' is not one of ['anlogic,dr1v90-uart', 'brcm,bcm11351-dw-apb-uart', 'brcm,bcm21664-dw-apb-uart', 'google,lga-uart', 'rockchip,px30-uart', 'rockchip,rk1808-uart', 'rockchip,rk3036-uart', 'rockchip,rk3066-uart', 'rockchip,rk3128-uart', 'rockchip,rk3188-uart', 'rockchip,rk3288-uart', 'rockchip,rk3308-uart', 'rockchip,rk3328-uart', 'rockchip,rk3368-uart', 'rockchip,rk3399-uart', 'rockchip,rk3506-uart', 'rockchip,rk3528-uart', 'rockchip,rk3562-uart', 'rockchip,rk3568-uart', 'rockchip,rk3576-uart', 'rockchip,rk3588-uart', 'rockchip,rv1103b-uart', 'rockchip,rv1106-uart', 'rockchip,rv1108-uart', 'rockchip,rv1126-uart', 'sophgo,sg2044-uart', 'starfive,jh7100-hsuart', 'starfive,jh7100-uart', 'starfive,jh7110-uart', 'syna,sl2610-uart', 'ti,tda54-uart', 'ultrarisc,dp1000-uart']
'snps,dw-apb-uart' was expected
'renesas,rzn1-uart' was expected
from schema $id: http://devicetree.org/schemas/serial/snps-dw-apb-uart.yaml
>> arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7s.dtb: /soc@0/serial@2500000: failed to match any schema with compatible: ['allwinner,sun60i-a733-uart', 'snps,dw-apb-uart']
arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7s.dtb: serial@2501000 (allwinner,sun60i-a733-uart): compatible: 'oneOf' conditional failed, one must be fixed:
['allwinner,sun60i-a733-uart', 'snps,dw-apb-uart'] is too short
['allwinner,sun60i-a733-uart', 'snps,dw-apb-uart'] is too long
'renesas,r9a06g032-uart' was expected
'allwinner,sun60i-a733-uart' is not one of ['anlogic,dr1v90-uart', 'brcm,bcm11351-dw-apb-uart', 'brcm,bcm21664-dw-apb-uart', 'google,lga-uart', 'rockchip,px30-uart', 'rockchip,rk1808-uart', 'rockchip,rk3036-uart', 'rockchip,rk3066-uart', 'rockchip,rk3128-uart', 'rockchip,rk3188-uart', 'rockchip,rk3288-uart', 'rockchip,rk3308-uart', 'rockchip,rk3328-uart', 'rockchip,rk3368-uart', 'rockchip,rk3399-uart', 'rockchip,rk3506-uart', 'rockchip,rk3528-uart', 'rockchip,rk3562-uart', 'rockchip,rk3568-uart', 'rockchip,rk3576-uart', 'rockchip,rk3588-uart', 'rockchip,rv1103b-uart', 'rockchip,rv1106-uart', 'rockchip,rv1108-uart', 'rockchip,rv1126-uart', 'sophgo,sg2044-uart', 'starfive,jh7100-hsuart', 'starfive,jh7100-uart', 'starfive,jh7110-uart', 'syna,sl2610-uart', 'ti,tda54-uart', 'ultrarisc,dp1000-uart']
'snps,dw-apb-uart' was expected
'renesas,rzn1-uart' was expected
from schema $id: http://devicetree.org/schemas/serial/snps-dw-apb-uart.yaml
arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7s.dtb: /soc@0/serial@2501000: failed to match any schema with compatible: ['allwinner,sun60i-a733-uart', 'snps,dw-apb-uart']
arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7s.dtb: serial@2502000 (allwinner,sun60i-a733-uart): compatible: 'oneOf' conditional failed, one must be fixed:
--
arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7s.dtb: /soc@0/serial@7080000: failed to match any schema with compatible: ['allwinner,sun60i-a733-uart', 'snps,dw-apb-uart']
arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7s.dtb: serial@7081000 (allwinner,sun60i-a733-uart): compatible: 'oneOf' conditional failed, one must be fixed:
['allwinner,sun60i-a733-uart', 'snps,dw-apb-uart'] is too short
['allwinner,sun60i-a733-uart', 'snps,dw-apb-uart'] is too long
'renesas,r9a06g032-uart' was expected
'allwinner,sun60i-a733-uart' is not one of ['anlogic,dr1v90-uart', 'brcm,bcm11351-dw-apb-uart', 'brcm,bcm21664-dw-apb-uart', 'google,lga-uart', 'rockchip,px30-uart', 'rockchip,rk1808-uart', 'rockchip,rk3036-uart', 'rockchip,rk3066-uart', 'rockchip,rk3128-uart', 'rockchip,rk3188-uart', 'rockchip,rk3288-uart', 'rockchip,rk3308-uart', 'rockchip,rk3328-uart', 'rockchip,rk3368-uart', 'rockchip,rk3399-uart', 'rockchip,rk3506-uart', 'rockchip,rk3528-uart', 'rockchip,rk3562-uart', 'rockchip,rk3568-uart', 'rockchip,rk3576-uart', 'rockchip,rk3588-uart', 'rockchip,rv1103b-uart', 'rockchip,rv1106-uart', 'rockchip,rv1108-uart', 'rockchip,rv1126-uart', 'sophgo,sg2044-uart', 'starfive,jh7100-hsuart', 'starfive,jh7100-uart', 'starfive,jh7110-uart', 'syna,sl2610-uart', 'ti,tda54-uart', 'ultrarisc,dp1000-uart']
'snps,dw-apb-uart' was expected
'renesas,rzn1-uart' was expected
from schema $id: http://devicetree.org/schemas/serial/snps-dw-apb-uart.yaml
arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7s.dtb: /soc@0/serial@7081000: failed to match any schema with compatible: ['allwinner,sun60i-a733-uart', 'snps,dw-apb-uart']
>> arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7s.dtb: /soc@0/i2c@7083000/pmic@36: failed to match any schema with compatible: ['x-powers,axp318w']
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH v6 3/5] arm64: dts: allwinner: add Radxa Cubie A7S board
@ 2026-12-01 5:48 kernel test robot
0 siblings, 0 replies; 13+ messages in thread
From: kernel test robot @ 2026-12-01 5:48 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp
::::::
:::::: Manual check reason: "dtcheck: binding changes may go via different trees"
::::::
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <20261126-a733-cubie-a7s-dt-v6-3@gmail.com>
References: <20261126-a733-cubie-a7s-dt-v6-3@gmail.com>
TO: Enzo Adriano <enzo.adriano.code@gmail.com>
TO: andre.przywara@arm.com
TO: robh@kernel.org
TO: krzk+dt@kernel.org
TO: conor+dt@kernel.org
TO: wens@kernel.org
TO: jernej.skrabec@gmail.com
TO: samuel@sholland.org
CC: Maxime Ripard <mripard@kernel.org>
CC: devicetree@vger.kernel.org
CC: linux-arm-kernel@lists.infradead.org
CC: linux-sunxi@lists.linux.dev
CC: linux-kernel@vger.kernel.org
CC: Junhui Liu <junhui.liu@pigmoral.tech>
CC: Jerome Brunet <jbrunet@baylibre.com>
CC: Pablo Mazzini <pmazzini@gmail.com>
CC: Vinicius Pedrosa <vinicius.eduardo.pedrosa@gmail.com>
CC: Alexander Sverdlin <alex@sverdlin.org>
CC: Jun Yan <jerrysteve1101@gmail.com>
CC: Lukas Schmid <lukas.schmid@netcube.li>
CC: Cristian Filipescu <filipescu.cristian@gmail.com>
CC: Norman Herms <dockseed@proton.me>
Hi Enzo,
kernel test robot noticed the following build warnings:
[auto build test WARNING on abcb290978fbfddb56fc77171918dd8b8ef3e81b]
url: https://github.com/intel-lab-lkp/linux/commits/Enzo-Adriano/dt-bindings-arm-sunxi-document-Radxa-Cubie-A7A-A7S-and-A7Z/20261126-153533
base: abcb290978fbfddb56fc77171918dd8b8ef3e81b
patch link: https://lore.kernel.org/r/20261126-a733-cubie-a7s-dt-v6-3%40gmail.com
patch subject: [PATCH v6 3/5] arm64: dts: allwinner: add Radxa Cubie A7S board
:::::: branch date: 4 days ago
:::::: commit date: 4 days ago
config: arm64-allnoconfig (https://download.01.org/0day-ci/archive/20261201/20261201064715.5xA7B1j0-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 16.2.0
dtschema: 2026.10.dev9+g7453fd0b0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261201/20261201064715.5xA7B1j0-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/20261201064715.5xA7B1j0-lkp@intel.com/
dtcheck warnings: (new ones prefixed by >>)
>> arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7s.dtb: pinctrl@2000000 (allwinner,sun60i-a733-pinctrl): interrupts: [[0, 69, 4, 0], [0, 71, 4, 0], [0, 73, 4, 0], [0, 75, 4, 0], [0, 77, 4, 0], [0, 79, 4, 0], [0, 81, 4, 0], [0, 83, 4, 0], [0, 85, 4, 0], [0, 87, 4, 0]] is too short
from schema $id: http://devicetree.org/schemas/pinctrl/allwinner,sun55i-a523-pinctrl.yaml
>> arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7s.dtb: serial@2500000 (allwinner,sun60i-a733-uart): compatible: 'oneOf' conditional failed, one must be fixed:
['allwinner,sun60i-a733-uart', 'snps,dw-apb-uart'] is too short
['allwinner,sun60i-a733-uart', 'snps,dw-apb-uart'] is too long
'renesas,r9a06g032-uart' was expected
'allwinner,sun60i-a733-uart' is not one of ['anlogic,dr1v90-uart', 'brcm,bcm11351-dw-apb-uart', 'brcm,bcm21664-dw-apb-uart', 'google,lga-uart', 'rockchip,px30-uart', 'rockchip,rk1808-uart', 'rockchip,rk3036-uart', 'rockchip,rk3066-uart', 'rockchip,rk3128-uart', 'rockchip,rk3188-uart', 'rockchip,rk3288-uart', 'rockchip,rk3308-uart', 'rockchip,rk3328-uart', 'rockchip,rk3368-uart', 'rockchip,rk3399-uart', 'rockchip,rk3506-uart', 'rockchip,rk3528-uart', 'rockchip,rk3562-uart', 'rockchip,rk3568-uart', 'rockchip,rk3576-uart', 'rockchip,rk3588-uart', 'rockchip,rv1103b-uart', 'rockchip,rv1106-uart', 'rockchip,rv1108-uart', 'rockchip,rv1126-uart', 'sophgo,sg2044-uart', 'starfive,jh7100-hsuart', 'starfive,jh7100-uart', 'starfive,jh7110-uart', 'syna,sl2610-uart', 'ti,tda54-uart', 'ultrarisc,dp1000-uart']
'snps,dw-apb-uart' was expected
'renesas,rzn1-uart' was expected
from schema $id: http://devicetree.org/schemas/serial/snps-dw-apb-uart.yaml
>> arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7s.dtb: /soc@0/serial@2500000: failed to match any schema with compatible: ['allwinner,sun60i-a733-uart', 'snps,dw-apb-uart']
arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7s.dtb: serial@2501000 (allwinner,sun60i-a733-uart): compatible: 'oneOf' conditional failed, one must be fixed:
['allwinner,sun60i-a733-uart', 'snps,dw-apb-uart'] is too short
['allwinner,sun60i-a733-uart', 'snps,dw-apb-uart'] is too long
'renesas,r9a06g032-uart' was expected
'allwinner,sun60i-a733-uart' is not one of ['anlogic,dr1v90-uart', 'brcm,bcm11351-dw-apb-uart', 'brcm,bcm21664-dw-apb-uart', 'google,lga-uart', 'rockchip,px30-uart', 'rockchip,rk1808-uart', 'rockchip,rk3036-uart', 'rockchip,rk3066-uart', 'rockchip,rk3128-uart', 'rockchip,rk3188-uart', 'rockchip,rk3288-uart', 'rockchip,rk3308-uart', 'rockchip,rk3328-uart', 'rockchip,rk3368-uart', 'rockchip,rk3399-uart', 'rockchip,rk3506-uart', 'rockchip,rk3528-uart', 'rockchip,rk3562-uart', 'rockchip,rk3568-uart', 'rockchip,rk3576-uart', 'rockchip,rk3588-uart', 'rockchip,rv1103b-uart', 'rockchip,rv1106-uart', 'rockchip,rv1108-uart', 'rockchip,rv1126-uart', 'sophgo,sg2044-uart', 'starfive,jh7100-hsuart', 'starfive,jh7100-uart', 'starfive,jh7110-uart', 'syna,sl2610-uart', 'ti,tda54-uart', 'ultrarisc,dp1000-uart']
'snps,dw-apb-uart' was expected
'renesas,rzn1-uart' was expected
from schema $id: http://devicetree.org/schemas/serial/snps-dw-apb-uart.yaml
arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7s.dtb: /soc@0/serial@2501000: failed to match any schema with compatible: ['allwinner,sun60i-a733-uart', 'snps,dw-apb-uart']
arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7s.dtb: serial@2502000 (allwinner,sun60i-a733-uart): compatible: 'oneOf' conditional failed, one must be fixed:
--
arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7s.dtb: /soc@0/serial@7080000: failed to match any schema with compatible: ['allwinner,sun60i-a733-uart', 'snps,dw-apb-uart']
arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7s.dtb: serial@7081000 (allwinner,sun60i-a733-uart): compatible: 'oneOf' conditional failed, one must be fixed:
['allwinner,sun60i-a733-uart', 'snps,dw-apb-uart'] is too short
['allwinner,sun60i-a733-uart', 'snps,dw-apb-uart'] is too long
'renesas,r9a06g032-uart' was expected
'allwinner,sun60i-a733-uart' is not one of ['anlogic,dr1v90-uart', 'brcm,bcm11351-dw-apb-uart', 'brcm,bcm21664-dw-apb-uart', 'google,lga-uart', 'rockchip,px30-uart', 'rockchip,rk1808-uart', 'rockchip,rk3036-uart', 'rockchip,rk3066-uart', 'rockchip,rk3128-uart', 'rockchip,rk3188-uart', 'rockchip,rk3288-uart', 'rockchip,rk3308-uart', 'rockchip,rk3328-uart', 'rockchip,rk3368-uart', 'rockchip,rk3399-uart', 'rockchip,rk3506-uart', 'rockchip,rk3528-uart', 'rockchip,rk3562-uart', 'rockchip,rk3568-uart', 'rockchip,rk3576-uart', 'rockchip,rk3588-uart', 'rockchip,rv1103b-uart', 'rockchip,rv1106-uart', 'rockchip,rv1108-uart', 'rockchip,rv1126-uart', 'sophgo,sg2044-uart', 'starfive,jh7100-hsuart', 'starfive,jh7100-uart', 'starfive,jh7110-uart', 'syna,sl2610-uart', 'ti,tda54-uart', 'ultrarisc,dp1000-uart']
'snps,dw-apb-uart' was expected
'renesas,rzn1-uart' was expected
from schema $id: http://devicetree.org/schemas/serial/snps-dw-apb-uart.yaml
arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7s.dtb: /soc@0/serial@7081000: failed to match any schema with compatible: ['allwinner,sun60i-a733-uart', 'snps,dw-apb-uart']
>> arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7s.dtb: /soc@0/i2c@7083000/pmic@36: failed to match any schema with compatible: ['x-powers,axp318w']
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH v6 3/5] arm64: dts: allwinner: add Radxa Cubie A7S board
@ 2026-12-02 7:31 kernel test robot
0 siblings, 0 replies; 13+ messages in thread
From: kernel test robot @ 2026-12-02 7:31 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp
::::::
:::::: Manual check reason: "dtcheck: binding changes may go via different trees"
::::::
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <20261126-a733-cubie-a7s-dt-v6-3@gmail.com>
References: <20261126-a733-cubie-a7s-dt-v6-3@gmail.com>
TO: Enzo Adriano <enzo.adriano.code@gmail.com>
TO: andre.przywara@arm.com
TO: robh@kernel.org
TO: krzk+dt@kernel.org
TO: conor+dt@kernel.org
TO: wens@kernel.org
TO: jernej.skrabec@gmail.com
TO: samuel@sholland.org
CC: Maxime Ripard <mripard@kernel.org>
CC: devicetree@vger.kernel.org
CC: linux-arm-kernel@lists.infradead.org
CC: linux-sunxi@lists.linux.dev
CC: linux-kernel@vger.kernel.org
CC: Junhui Liu <junhui.liu@pigmoral.tech>
CC: Jerome Brunet <jbrunet@baylibre.com>
CC: Pablo Mazzini <pmazzini@gmail.com>
CC: Vinicius Pedrosa <vinicius.eduardo.pedrosa@gmail.com>
CC: Alexander Sverdlin <alex@sverdlin.org>
CC: Jun Yan <jerrysteve1101@gmail.com>
CC: Lukas Schmid <lukas.schmid@netcube.li>
CC: Cristian Filipescu <filipescu.cristian@gmail.com>
CC: Norman Herms <dockseed@proton.me>
Hi Enzo,
kernel test robot noticed the following build warnings:
[auto build test WARNING on abcb290978fbfddb56fc77171918dd8b8ef3e81b]
url: https://github.com/intel-lab-lkp/linux/commits/Enzo-Adriano/dt-bindings-arm-sunxi-document-Radxa-Cubie-A7A-A7S-and-A7Z/20261126-153533
base: abcb290978fbfddb56fc77171918dd8b8ef3e81b
patch link: https://lore.kernel.org/r/20261126-a733-cubie-a7s-dt-v6-3%40gmail.com
patch subject: [PATCH v6 3/5] arm64: dts: allwinner: add Radxa Cubie A7S board
:::::: branch date: 5 days ago
:::::: commit date: 5 days ago
config: arm64-allnoconfig (https://download.01.org/0day-ci/archive/20261202/20261202082108.OJGoB5uI-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 16.2.0
dtschema: 2026.10.dev9+g7453fd0b0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261202/20261202082108.OJGoB5uI-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/20261202082108.OJGoB5uI-lkp@intel.com/
dtcheck warnings: (new ones prefixed by >>)
>> arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7s.dtb: pinctrl@2000000 (allwinner,sun60i-a733-pinctrl): interrupts: [[0, 69, 4, 0], [0, 71, 4, 0], [0, 73, 4, 0], [0, 75, 4, 0], [0, 77, 4, 0], [0, 79, 4, 0], [0, 81, 4, 0], [0, 83, 4, 0], [0, 85, 4, 0], [0, 87, 4, 0]] is too short
from schema $id: http://devicetree.org/schemas/pinctrl/allwinner,sun55i-a523-pinctrl.yaml
>> arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7s.dtb: serial@2500000 (allwinner,sun60i-a733-uart): compatible: 'oneOf' conditional failed, one must be fixed:
['allwinner,sun60i-a733-uart', 'snps,dw-apb-uart'] is too short
['allwinner,sun60i-a733-uart', 'snps,dw-apb-uart'] is too long
'renesas,r9a06g032-uart' was expected
'allwinner,sun60i-a733-uart' is not one of ['anlogic,dr1v90-uart', 'brcm,bcm11351-dw-apb-uart', 'brcm,bcm21664-dw-apb-uart', 'google,lga-uart', 'rockchip,px30-uart', 'rockchip,rk1808-uart', 'rockchip,rk3036-uart', 'rockchip,rk3066-uart', 'rockchip,rk3128-uart', 'rockchip,rk3188-uart', 'rockchip,rk3288-uart', 'rockchip,rk3308-uart', 'rockchip,rk3328-uart', 'rockchip,rk3368-uart', 'rockchip,rk3399-uart', 'rockchip,rk3506-uart', 'rockchip,rk3528-uart', 'rockchip,rk3562-uart', 'rockchip,rk3568-uart', 'rockchip,rk3576-uart', 'rockchip,rk3588-uart', 'rockchip,rv1103b-uart', 'rockchip,rv1106-uart', 'rockchip,rv1108-uart', 'rockchip,rv1126-uart', 'sophgo,sg2044-uart', 'starfive,jh7100-hsuart', 'starfive,jh7100-uart', 'starfive,jh7110-uart', 'syna,sl2610-uart', 'ti,tda54-uart', 'ultrarisc,dp1000-uart']
'snps,dw-apb-uart' was expected
'renesas,rzn1-uart' was expected
from schema $id: http://devicetree.org/schemas/serial/snps-dw-apb-uart.yaml
>> arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7s.dtb: /soc@0/serial@2500000: failed to match any schema with compatible: ['allwinner,sun60i-a733-uart', 'snps,dw-apb-uart']
arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7s.dtb: serial@2501000 (allwinner,sun60i-a733-uart): compatible: 'oneOf' conditional failed, one must be fixed:
['allwinner,sun60i-a733-uart', 'snps,dw-apb-uart'] is too short
['allwinner,sun60i-a733-uart', 'snps,dw-apb-uart'] is too long
'renesas,r9a06g032-uart' was expected
'allwinner,sun60i-a733-uart' is not one of ['anlogic,dr1v90-uart', 'brcm,bcm11351-dw-apb-uart', 'brcm,bcm21664-dw-apb-uart', 'google,lga-uart', 'rockchip,px30-uart', 'rockchip,rk1808-uart', 'rockchip,rk3036-uart', 'rockchip,rk3066-uart', 'rockchip,rk3128-uart', 'rockchip,rk3188-uart', 'rockchip,rk3288-uart', 'rockchip,rk3308-uart', 'rockchip,rk3328-uart', 'rockchip,rk3368-uart', 'rockchip,rk3399-uart', 'rockchip,rk3506-uart', 'rockchip,rk3528-uart', 'rockchip,rk3562-uart', 'rockchip,rk3568-uart', 'rockchip,rk3576-uart', 'rockchip,rk3588-uart', 'rockchip,rv1103b-uart', 'rockchip,rv1106-uart', 'rockchip,rv1108-uart', 'rockchip,rv1126-uart', 'sophgo,sg2044-uart', 'starfive,jh7100-hsuart', 'starfive,jh7100-uart', 'starfive,jh7110-uart', 'syna,sl2610-uart', 'ti,tda54-uart', 'ultrarisc,dp1000-uart']
'snps,dw-apb-uart' was expected
'renesas,rzn1-uart' was expected
from schema $id: http://devicetree.org/schemas/serial/snps-dw-apb-uart.yaml
arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7s.dtb: /soc@0/serial@2501000: failed to match any schema with compatible: ['allwinner,sun60i-a733-uart', 'snps,dw-apb-uart']
arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7s.dtb: serial@2502000 (allwinner,sun60i-a733-uart): compatible: 'oneOf' conditional failed, one must be fixed:
--
arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7s.dtb: /soc@0/serial@7080000: failed to match any schema with compatible: ['allwinner,sun60i-a733-uart', 'snps,dw-apb-uart']
arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7s.dtb: serial@7081000 (allwinner,sun60i-a733-uart): compatible: 'oneOf' conditional failed, one must be fixed:
['allwinner,sun60i-a733-uart', 'snps,dw-apb-uart'] is too short
['allwinner,sun60i-a733-uart', 'snps,dw-apb-uart'] is too long
'renesas,r9a06g032-uart' was expected
'allwinner,sun60i-a733-uart' is not one of ['anlogic,dr1v90-uart', 'brcm,bcm11351-dw-apb-uart', 'brcm,bcm21664-dw-apb-uart', 'google,lga-uart', 'rockchip,px30-uart', 'rockchip,rk1808-uart', 'rockchip,rk3036-uart', 'rockchip,rk3066-uart', 'rockchip,rk3128-uart', 'rockchip,rk3188-uart', 'rockchip,rk3288-uart', 'rockchip,rk3308-uart', 'rockchip,rk3328-uart', 'rockchip,rk3368-uart', 'rockchip,rk3399-uart', 'rockchip,rk3506-uart', 'rockchip,rk3528-uart', 'rockchip,rk3562-uart', 'rockchip,rk3568-uart', 'rockchip,rk3576-uart', 'rockchip,rk3588-uart', 'rockchip,rv1103b-uart', 'rockchip,rv1106-uart', 'rockchip,rv1108-uart', 'rockchip,rv1126-uart', 'sophgo,sg2044-uart', 'starfive,jh7100-hsuart', 'starfive,jh7100-uart', 'starfive,jh7110-uart', 'syna,sl2610-uart', 'ti,tda54-uart', 'ultrarisc,dp1000-uart']
'snps,dw-apb-uart' was expected
'renesas,rzn1-uart' was expected
from schema $id: http://devicetree.org/schemas/serial/snps-dw-apb-uart.yaml
arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7s.dtb: /soc@0/serial@7081000: failed to match any schema with compatible: ['allwinner,sun60i-a733-uart', 'snps,dw-apb-uart']
>> arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7s.dtb: /soc@0/i2c@7083000/pmic@36: failed to match any schema with compatible: ['x-powers,axp318w']
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2026-12-02 7:31 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-30 12:04 [PATCH v6 3/5] arm64: dts: allwinner: add Radxa Cubie A7S board kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2026-12-02 7:31 kernel test robot
2026-12-01 5:48 kernel test robot
2026-11-26 20:35 [PATCH v6 0/5] arm64: dts: allwinner: add A733 and Radxa Cubie A7 support Enzo Adriano
2026-11-26 20:35 ` [PATCH v6 3/5] arm64: dts: allwinner: add Radxa Cubie A7S board Enzo Adriano
2026-11-26 20:55 ` sashiko-bot
2026-11-27 0:24 ` Andre Przywara
2026-11-27 16:17 ` Norman Herms
2026-11-27 16:30 ` Andre Przywara
2026-11-27 17:00 ` Norman Herms
2026-11-28 20:18 ` Enzo Adriano
2026-11-27 18:07 ` Enzo Adriano
2026-11-27 16:14 ` Norman Herms
2026-11-27 18:07 ` Enzo Adriano
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.