Re: [PATCH 4/4] arm64: dts: allwinner: a133: Add KickPi K5C

From: Andre Przywara

Date: Wed Nov 25 2026 - 20:05:41 EST


Hi,

On 11/20/26 08:22, Rajan Yadav via B4 Relay wrote:
From: Rajan Yadav <rajanyadav0307@xxxxxxxxx>

The KickPi K5C is a single board computer with an Allwinner A133 SoC.
Mainline Linux has no support for it yet; its factory firmware runs a
vendor Linux 4.9 kernel. Add a device tree for PCB version V1.3, which
has:
- 2 GB DDR3 DRAM, 8-bit eMMC (HS200) and a micro SD card slot
- an X-Powers AXP707 PMIC, which drives VDD-CPU from DCDC2 and DCDC3
in dual phase mode
- a HYM8563 RTC on I2C3 (PH12/PH13)
- power input through a 12 V DC jack or the USB-C port (5 V)
- two USB-A ports behind an on-board USB hub on USB1, whose power
switch is enabled by PL8
- a blue status LED on PL10
- the debug UART on PB9/PB10

The regulator assignment and the pins come from the board schematic
(V1.3) and were checked against the vendor's device tree and on the
board. The pin bank supplies are the same as on the Baijie HelperBoard
A133. All tests were done with the board powered through the USB-C
port.

Mainline has no binding for the AXP707. Its chip ID register reads 0x51,
which U-Boot's AXP803 code accepts, it works with the AXP803 driver, and
the vendor device tree also describes it as an AXP803, so the PMIC node
uses the AXP803 compatible.

... as on every other A133 board, so please drop the lengthy explanation.

Not described yet:
- Ethernet: the board has a Maxio MAE0621A PHY, which needs a driver
that is not in mainline yet

Is that so? In the v1.3 schematic that I am looking at, it shows a Realtek RTL 8211F, and also the board pictures on the KickPi website clearly show a Realtek logo on the chip next to the magnetics and the Ethernet socket.
So what is going on here?

And besides, even if you have a Maxio PHY: how is this clocked? Does it have an external crystal oscillator? Or is it clocked via some PWM / clock fanout pin from the SoC? Only in the latter case you need the PHY driver, with a crystal it should work with the generic clause22 compatible string. Once we get a driver, the code will auto-detect the PHY ID and use that driver, for a potentially improved feature set.

Cheers,
Andre



- the Wi-Fi/BT module (VS6621S40, Seekwave SWT6621S) on MMC1: there is
no mainline driver for it, and in my tests its SDIO card did not come
up after a cold boot, so the slot is left out until that is understood
- USB data on the USB-C port (USB0): the vendor's firmware uses it as
a peripheral port, but I could not test that yet
- the RTC alarm interrupt on PB8: first tests pass, and it will follow
in a separate patch after more testing
- display, camera, audio, the IR receiver, the fan header and the
battery connector

The CPU uses the A100 OPP table, like the other A133 boards today.

Claude Code (Anthropic) drafted this device tree and its message from
the schematic, KickPi's documentation, the vendor device tree (as a
reference for values only) and my board measurements; I reviewed it
and tested it on a KickPi K5C.

Suggested-by: Andre Przywara <andre.przywara@xxxxxxx>
Link: https://lore.kernel.org/all/d4d89cf9-884d-424b-927d-5b6692f50327@xxxxxxx/
Signed-off-by: Rajan Yadav <rajanyadav0307@xxxxxxxxx>
---
arch/arm64/boot/dts/allwinner/Makefile | 1 +
.../boot/dts/allwinner/sun50i-a133-kickpi-k5c.dts | 228 +++++++++++++++++++++
2 files changed, 229 insertions(+)