Devicetree
 help / color / mirror / Atom feed
* [PATCH v5 0/3] arm64: dts: allwinner: add A733/Cubie A7S support
@ 2026-11-23 17:42 Enzo Adriano
  2026-11-23 17:42 ` [PATCH v5 1/3] dt-bindings: arm: sunxi: document Radxa Cubie A7A and A7S Enzo Adriano
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Enzo Adriano @ 2026-11-23 17:42 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

Add initial Allwinner A733 and Radxa Cubie A7S device trees for the
console, PMIC, microSD, LEDs and EEPROM. The Cubie A7A compatible is
for Andre Przywara's forthcoming DTS:
https://lore.kernel.org/r/20261122004008.0ee8e16d@ryzen.lan

Base: sunxi/for-next (2ba07dfcd45bb6ec414e68213620490548fd5aec).
Previous version:
https://lore.kernel.org/r/cover.1795034153.git.enzo.adriano.code@gmail.com

Changes in v5:
- 1/3: Add the Cubie A7A compatible.
- 2/3: Keep one DynamIQ cluster, rename osc to hosc and add I2C0 pins.
- 3/3: Add LEDs and EEPROM, simplify MMC0, describe the 3.3 V PF path,
  and revise the PMIC rail descriptions, bounds and always-on flags.

The hosc label also affects Vinicius's A7Z and Alastair's U-Boot import:
https://lore.kernel.org/r/20261111134919.90264-3-vinicius.eduardo.pedrosa@gmail.com
https://lore.kernel.org/r/20261113023236.569054-26-alastair@d-silva.org

Runtime dependencies in application order:
[1] AXP318W PMIC v8
https://lore.kernel.org/r/20260910-axp318-regulator-v8-0-e906a61a7f3d@baylibre.com
[2] Pinctrl IRQ-bank v3
https://lore.kernel.org/r/20261025142412.112216-1-pmazzini@gmail.com
[3] A733 8250_dw v2, patches 1-4
https://lore.kernel.org/r/cover.1792439398.git.vinicius.eduardo.pedrosa@gmail.com
[4] Firmware-clock v2 for vendor-firmware warm reboot
https://lore.kernel.org/r/20261112-a733-fwclk-v2@gmail.com
[5] Pinctrl voltage-mode v3
https://lore.kernel.org/r/20261109-a733-pinctrl-v3@gmail.com

The A7S DTB and schema checks use [1] 3/5, [2] 2/3 and [3] 3/4.
The runtime build uses context adjustments for [1] 5/5 and [5]
after the regulator allocation and IRQ-bank changes.

Validation: clean application of the mail patches, arm64 defconfig
Image, arm/sunxi.yaml binding check and warning-free A7S
W=2 CHECK_DTBS=y.

On a Cubie A7S, a RAM boot with vendor firmware, this DTB and the runtime
dependencies above reached a responsive console and probed the PMIC.
Pre-boot U-Boot selector reads put every bounded rail within its bounds;
none changed at registration (sysfs at about 1 and 91 seconds, and no
regulator "Bringing" messages). At about 32 seconds unused-regulator
cleanup disabled DCDC4, BLDO1, BLDO2 and CLDO2; DCDC9, SWOUT1 and
CLDO5 stayed enabled through their users, and the console remained
responsive. MMC0 enumerated the card in High Speed, with a 50 MHz clock
tree reading, and completed a 4 MiB read; its data was not verified.
Both LEDs registered: green:power was on with trigger none, blue:status
was off at sampling with heartbeat selected. AT24 registered the 2 KiB
EEPROM with its WP GPIO; topology sysfs showed one cluster. A warm
reboot returned to vendor firmware. Not tested: early and repeatable MMC
reads, MMC ios, SD writes, hotplug and 1.8 V switching; EEPROM contents,
writes and write protection; visible LED operation; physical rail voltages
and CPU/cache topology; PMU counting, EL2 interrupts, ITS/MSI, stimulated
PMIC/NMI interrupts, suspend, power-off and other boards.

---
Enzo Adriano (3):
  dt-bindings: arm: sunxi: document Radxa Cubie A7A and A7S
  arm64: dts: allwinner: add A733 SoC description
  arm64: dts: allwinner: add Radxa Cubie A7S board

 Documentation/devicetree/bindings/arm/sunxi.yaml  |  10 +
 arch/arm64/boot/dts/allwinner/Makefile            |   1 +
 .../boot/dts/allwinner/sun60i-a733-cubie-a7s.dts  | 331 ++++++++++
 arch/arm64/boot/dts/allwinner/sun60i-a733.dtsi    | 663 ++++++++++++++++++++
 4 files changed, 1005 insertions(+)

base-commit: 2ba07dfcd45bb6ec414e68213620490548fd5aec
-- 
2.53.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-11-23 18:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-23 17:42 [PATCH v5 0/3] arm64: dts: allwinner: add A733/Cubie A7S support Enzo Adriano
2026-11-23 17:42 ` [PATCH v5 1/3] dt-bindings: arm: sunxi: document Radxa Cubie A7A and A7S Enzo Adriano
2026-11-23 17:42 ` [PATCH v5 2/3] arm64: dts: allwinner: add A733 SoC description Enzo Adriano
2026-11-23 18:01   ` sashiko-bot
2026-11-23 17:42 ` [PATCH v5 3/3] arm64: dts: allwinner: add Radxa Cubie A7S board Enzo Adriano
2026-11-23 18:11   ` sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox