Skip to contentSkip to conversation

arm64: dts: allwinner: add Radxa Cubie A7Z board

PATCH New Vinicius Pedrosa 1 participant 1 message Nov 25

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 arm64: dts: allwinner: add Radxa Cubie A7Z board

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.

---
Changes since v1:

- Fold the LED patch into the board DTS, as requested by Krzysztof.
- Apply Andre's MMC, regulator and pin supply review comments.
- Set DCDC9 to 1.24 V and use GPIO_PULL_UP for card detection.
- Drop cap-sdio-irq after Chen-Yu questioned its use on the A7S; sunxi-mmc already sets MMC_CAP_SDIO_IRQ.
- Update node names and property ordering following review.
- Rename osc to hosc to match Enzo's v5.

The A7Z binding entry is not included here. Andre asked Enzo to include it in his next revision.

Base: sunxi/for-next at 2ba07dfcd45b, with Enzo's A733/Cubie A7S v5 [1] applied first. The runtime dependencies are the ones in the cover letter of [1], plus the A733 EINT-mux fix [2], which I applied locally for the card-detect test.

Tested on a Cubie A7Z v1.11 with a v7.4-rc1 kernel carrying some of those dependencies, not the full set. All eight CPUs boot, PMU counting and overflow interrupts work on both the A55 and A76, the AXP318W probes, and MMC0 runs at 3.3 V and 50 MHz with a matching SHA-256 readback. Three card-detect hotplug cycles passed with GPIO_PULL_UP, on the previous revision of this DTS. Regulator cleanup at about 32 s gave no errors, and the green LED blinks in heartbeat. The test DTB had a local 16 MiB no-map reservation that is not part of this patch. I have not tried PCB v1.10 with GPIO_PULL_UP, and v2.00 is untested.

[1] https://lore.kernel.org/r/[email protected]
[2] https://lore.kernel.org/r/[email protected]
Previous version:
https://lore.kernel.org/r/[email protected]

 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
arch/arm64/boot/dts/allwinner/Makefile +1 -0
index 9d1e740ff19e..62fab1d727d0 100644
@@ -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
arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7z.dts new file +349 -0

349 lines not on this page · raw message

Signature · 1 line
2.43.0