Re: [PATCH v5 3/3] arm64: dts: allwinner: add Radxa Cubie A7S board
From: Enzo Adriano
Date: Thu Nov 26 2026 - 15:34:56 EST
> "PS" is a separate output from the PMIC's "PS" pins. It is fed from
> the "DCIN" pins and has some internal resistance and a zener diode (if
> the block diagram is to be believed) for some poor regulation. In
> practice I would expect at least a little bit of voltage drop here.
Sheet 4 shows VCC5V0_SYS feeding DCIN. PS feeds the buck inputs and
UP11. I've described the two nets separately and used LDO2V5-INPUT for
the downstream rail. I've also renamed the oscillator, reordered the
regulators and removed cap-sdio-irq and the blank lines before status.
> > + cd-gpios = <&pio 5 6 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>;
> Please actually test this.
On a Cubie A7S with the posted v5 DTB and Vinicius's EINT-mux fix,
MMC0 reported four-bit SD high-speed at 50 MHz and 3.3 V. One read of
the first 16 MiB matched the vendor kernel's SHA-256. The mismatch on
the earlier 4 MiB read at offset 16 MiB is still unexplained. The
EINT-mux fix is now in pinctrl fixes as a256b8c8083e [1].
On his A7S with v5, Norman verified that PF6 reports the card present,
MMC write/readback matches, EEPROM reads work, both LEDs switch visibly,
and warm reboot and power-off work [3]. The v6 cover lists A7S card
hotplug, EEPROM writes and write protection, and 1.8 V SD signalling as
untested. The v6 DTBs have yet to run on hardware.
> > + reg_dcdc9: dcdc9 {
> Missing voltage range.
DCDC9 reads back 1.240 V on A7S. Vinicius cites a 1.2 V ELDOIN minimum
from the AXP318W datasheet draft [2]. I've used 1.240 V for both bounds.
> > + reg_eldo1: eldo1 {
> Missing voltage range.
For ELDO1, schematic sheets 4-5 label LPDDR5 VDD2L as 0.9 V. The
regulator reports 1.075 V after firmware DRAM training on the A7S.
Do you have a validated VDD2L range for this memory, or would you
prefer to preserve the firmware setting until the range is confirmed?
I'll wait for the AXP318W series before asking you to take the board.
[1] https://lore.kernel.org/r/CAD++jL=xA7eZUeb30xOnCZ8uRy0UE7q8h=8AA4p-tmiBf3Sb9g@xxxxxxxxxxxxxx
[2] https://lore.kernel.org/r/nh-1384c024-38de-4962-9d4f-a0bfb55471a6@xxxxxxxxxx
[3] https://lore.kernel.org/r/CqGMQaDysL6l016qtEM8oOEnYUMKACgmwLUbb0wruVAzPcwiqrz00WCOhTrhkVEaZt1YB3xfucXdEc-ZFi-sCPgn69RNqtW0v4Gn_HjQZXs=@proton.me
Thanks,
Enzo