* [PATCH v2 1/4] dt-bindings: vendor-prefixes: Add KickPi
2026-11-28 23:32 [PATCH v2 0/4] arm64: dts: allwinner: Add KickPi K5C Rajan Yadav via B4 Relay
@ 2026-11-28 23:32 ` Rajan Yadav via B4 Relay
2026-11-28 23:32 ` [PATCH v2 2/4] dt-bindings: arm: sunxi: Add KickPi K5C Rajan Yadav via B4 Relay
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Rajan Yadav via B4 Relay @ 2026-11-28 23:32 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Chen-Yu Tsai,
Jernej Skrabec, Samuel Holland, Maxime Ripard
Cc: devicetree, linux-kernel, linux-arm-kernel, linux-sunxi,
Andre Przywara, Paul Kocialkowski, Rajan Yadav
From: Rajan Yadav <rajanyadav0307@gmail.com>
KickPi K5C with Allwinner A133 SoC is made by
Shenzhen Kickpi Digital Technology Co., Ltd.
Add a vendor prefix for them.
Link: https://www.kickpi.com/
Signed-off-by: Rajan Yadav <rajanyadav0307@gmail.com>
---
Changes in v2:
- rebased on next-20261127
- moved AI note from commit message below "---" line
- the trademark sentence dropped
- the subject shortened
Anthropic's Claude Code (Opus 5.5) added the 2 YAML lines in v1.
For v2 it rebased the patch onto next-20261127 and ran checkpatch,
dt_binding_check and dtbs_check.
I reviewed the code line by line, ensuring correctness and purpose
of change.
---
Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml
index d307d3f6294f..8dac6e3b7e85 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
+++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
@@ -927,6 +927,8 @@ patternProperties:
description: Keymile GmbH
"^khadas,.*":
description: Khadas
+ "^kickpi,.*":
+ description: Shenzhen Kickpi Digital Technology Co., Ltd.
"^kiebackpeter,.*":
description: Kieback & Peter GmbH
"^kieweg,.*":
--
2.34.1
^ permalink raw reply [flat|nested] 5+ messages in thread* [PATCH v2 2/4] dt-bindings: arm: sunxi: Add KickPi K5C
2026-11-28 23:32 [PATCH v2 0/4] arm64: dts: allwinner: Add KickPi K5C Rajan Yadav via B4 Relay
2026-11-28 23:32 ` [PATCH v2 1/4] dt-bindings: vendor-prefixes: Add KickPi Rajan Yadav via B4 Relay
@ 2026-11-28 23:32 ` Rajan Yadav via B4 Relay
2026-11-28 23:32 ` [PATCH v2 3/4] arm64: dts: allwinner: a100: Add I2C3 pins on PH12/PH13 Rajan Yadav via B4 Relay
2026-11-28 23:32 ` [PATCH v2 4/4] arm64: dts: allwinner: a133: Add KickPi K5C Rajan Yadav via B4 Relay
3 siblings, 0 replies; 5+ messages in thread
From: Rajan Yadav via B4 Relay @ 2026-11-28 23:32 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Chen-Yu Tsai,
Jernej Skrabec, Samuel Holland, Maxime Ripard
Cc: devicetree, linux-kernel, linux-arm-kernel, linux-sunxi,
Andre Przywara, Paul Kocialkowski, Rajan Yadav
From: Rajan Yadav <rajanyadav0307@gmail.com>
KickPi K5C is a Single Board Computer with Allwinner A133 SoC.
Add its compatible.
Signed-off-by: Rajan Yadav <rajanyadav0307@gmail.com>
---
Changes in v2:
- rebased on next-20261127
- moved AI note from commit message below "---" line
Anthropic's Claude Code (Opus 5.5) added the 5 YAML lines in v1.
For v2 it rebased the patch onto next-20261127 and ran checkpatch,
dt_binding_check and dtbs_check.
I reviewed the code line by line, ensuring correctness and purpose
of change.
---
Documentation/devicetree/bindings/arm/sunxi.yaml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/sunxi.yaml b/Documentation/devicetree/bindings/arm/sunxi.yaml
index 7da84e2de748..b21205f327ff 100644
--- a/Documentation/devicetree/bindings/arm/sunxi.yaml
+++ b/Documentation/devicetree/bindings/arm/sunxi.yaml
@@ -405,6 +405,11 @@ properties:
- const: jesurun,q5
- const: allwinner,sun4i-a10
+ - description: KickPi K5C
+ items:
+ - const: kickpi,k5c
+ - const: allwinner,sun50i-a133
+
- description: Lamobo R1
items:
- const: lamobo,lamobo-r1
--
2.34.1
^ permalink raw reply [flat|nested] 5+ messages in thread* [PATCH v2 3/4] arm64: dts: allwinner: a100: Add I2C3 pins on PH12/PH13
2026-11-28 23:32 [PATCH v2 0/4] arm64: dts: allwinner: Add KickPi K5C Rajan Yadav via B4 Relay
2026-11-28 23:32 ` [PATCH v2 1/4] dt-bindings: vendor-prefixes: Add KickPi Rajan Yadav via B4 Relay
2026-11-28 23:32 ` [PATCH v2 2/4] dt-bindings: arm: sunxi: Add KickPi K5C Rajan Yadav via B4 Relay
@ 2026-11-28 23:32 ` Rajan Yadav via B4 Relay
2026-11-28 23:32 ` [PATCH v2 4/4] arm64: dts: allwinner: a133: Add KickPi K5C Rajan Yadav via B4 Relay
3 siblings, 0 replies; 5+ messages in thread
From: Rajan Yadav via B4 Relay @ 2026-11-28 23:32 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Chen-Yu Tsai,
Jernej Skrabec, Samuel Holland, Maxime Ripard
Cc: devicetree, linux-kernel, linux-arm-kernel, linux-sunxi,
Andre Przywara, Paul Kocialkowski, Rajan Yadav
From: Rajan Yadav <rajanyadav0307@gmail.com>
Add pin setting for I2C3 on PH12 & PH13.
The KickPi K5C's RTC (Real Time Clock) is wired to PH12 & PH13.
"/omit-if-no-ref/" keeps the setting only in boards that use it.
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Rajan Yadav <rajanyadav0307@gmail.com>
---
Changes in v2:
- rebased on next-20261127; no code changes
- moved AI note below "---" line
- added Andre's Reviewed-by
Anthropic's Claude Code (Opus 5.5) added the 6 lines in v1.
For v2 it rebased the patch onto next-20261127;
ran dtbs_check, a W=1 build and checkpatch.
I reviewed the code line by line, ensuring correctness and purpose
of change.
---
arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi
index fce91dc2c280..3b53d64f25ee 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi
@@ -215,6 +215,12 @@ pio: pinctrl@300b000 {
interrupt-controller;
#interrupt-cells = <3>;
+ /omit-if-no-ref/
+ i2c3_ph_pins: i2c3-ph-pins {
+ pins = "PH12", "PH13";
+ function = "i2c3";
+ };
+
mmc0_pins: mmc0-pins {
pins = "PF0", "PF1", "PF2", "PF3",
"PF4", "PF5";
--
2.34.1
^ permalink raw reply [flat|nested] 5+ messages in thread* [PATCH v2 4/4] arm64: dts: allwinner: a133: Add KickPi K5C
2026-11-28 23:32 [PATCH v2 0/4] arm64: dts: allwinner: Add KickPi K5C Rajan Yadav via B4 Relay
` (2 preceding siblings ...)
2026-11-28 23:32 ` [PATCH v2 3/4] arm64: dts: allwinner: a100: Add I2C3 pins on PH12/PH13 Rajan Yadav via B4 Relay
@ 2026-11-28 23:32 ` Rajan Yadav via B4 Relay
3 siblings, 0 replies; 5+ messages in thread
From: Rajan Yadav via B4 Relay @ 2026-11-28 23:32 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Chen-Yu Tsai,
Jernej Skrabec, Samuel Holland, Maxime Ripard
Cc: devicetree, linux-kernel, linux-arm-kernel, linux-sunxi,
Andre Przywara, Paul Kocialkowski, Rajan Yadav
From: Rajan Yadav <rajanyadav0307@gmail.com>
The KickPi K5C is a Single Board Computer (SBC).
It uses an Allwinner A133.
Add a device tree for PCB V1.3.
Features:
- 2 GB DDR3, 8-bit eMMC (HS200), microSD (card detect on PF6)
- the AXP707 PMIC, DCDC2 + DCDC3 in dual phase for CPU
- HYM8563 RTC on I2C3 (PH12/PH13)
- power input: 12V jack or USB-C (5V)
- 2 USB-A ports are behind a USB hub, power switch on PL8
- blue status LED on PL10
- debug UART on PB9/PB10
The values come from board schematic V1.3.
Checked them on the running board; register reads and the tests
(eMMC, SD, USB, RTC, LED).
Not described yet:
- Ethernet: V1.3 schematic shows a Realtek RTL8211F PHY;
this board has a Maxio MAE0621A-Q2C (PHY ID 0x7b744411);
so left out for now.
- Wi-Fi/BT module on MMC1
- USB data on the USB-C port (not yet tested)
- RTC alarm interrupt
- display, camera, audio, IR, fan, battery
Suggested-by: Andre Przywara <andre.przywara@arm.com>
Link: https://lore.kernel.org/all/d4d89cf9-884d-424b-927d-5b6692f50327@arm.com/
Signed-off-by: Rajan Yadav <rajanyadav0307@gmail.com>
---
Changes in v2:
- rebased on next-20261127; DTS unchanged
- dropped the AXP707/AXP803 explanation (Andre)
- corrected Ethernet note: v1 only discussed Maxio PHY,
now it also says schematic's RTL8211F (Andre).
- moved AI note below "---" line
Anthropic's Claude Code (Opus 5.5) drafted board file and Makefile in v1
from board schematic (V1.3), KickPi's documentation,
vendor's device tree (only for reference values), board measurements.
For v2 it rebased the patch onto next-20261127;
ran dtbs_check, a W=1 build and checkpatch.
I reviewed the code line by line, ensuring correctness and purpose
of change. I tested it on my K5C board.
---
arch/arm64/boot/dts/allwinner/Makefile | 1 +
.../boot/dts/allwinner/sun50i-a133-kickpi-k5c.dts | 228 +++++++++++++++++++++
2 files changed, 229 insertions(+)
diff --git a/arch/arm64/boot/dts/allwinner/Makefile b/arch/arm64/boot/dts/allwinner/Makefile
index da39f02252d4..0176de509fb7 100644
--- a/arch/arm64/boot/dts/allwinner/Makefile
+++ b/arch/arm64/boot/dts/allwinner/Makefile
@@ -25,6 +25,7 @@ dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-teres-i.dtb
dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h64-remix-mini-pc.dtb
dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a100-allwinner-perf1.dtb
dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a133-helperboard.dtb
+dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a133-kickpi-k5c.dtb
dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a133-liontron-h-a133l.dtb
dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a133-teclast-p80.dtb
dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h5-bananapi-m2-plus.dtb
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a133-kickpi-k5c.dts b/arch/arm64/boot/dts/allwinner/sun50i-a133-kickpi-k5c.dts
new file mode 100644
index 000000000000..ce977e9edbd2
--- /dev/null
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a133-kickpi-k5c.dts
@@ -0,0 +1,228 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (c) 2026 Rajan Yadav <rajanyadav0307@gmail.com>
+ */
+
+/dts-v1/;
+
+#include "sun50i-a100.dtsi"
+#include "sun50i-a100-cpu-opp.dtsi"
+
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/interrupt-controller/irq.h>
+#include <dt-bindings/leds/common.h>
+
+/{
+ model = "KickPi K5C";
+ compatible = "kickpi,k5c", "allwinner,sun50i-a133";
+
+ aliases {
+ serial0 = &uart0;
+ };
+
+ chosen {
+ stdout-path = "serial0:115200n8";
+ };
+
+ leds {
+ compatible = "gpio-leds";
+
+ led {
+ function = LED_FUNCTION_STATUS;
+ color = <LED_COLOR_ID_BLUE>;
+ gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>; /* PL10 */
+ };
+ };
+
+ reg_usb1_vbus: regulator-usb1-vbus {
+ /* USB-A port power switch, also powers the on-board USB hub */
+ compatible = "regulator-fixed";
+ enable-active-high;
+ gpio = <&r_pio 0 8 GPIO_ACTIVE_HIGH>; /* PL8 */
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ regulator-name = "usb1-vbus";
+ vin-supply = <®_vcc5v>;
+ };
+
+ reg_vcc5v: regulator-vcc5v {
+ /* 5V rail, powered from the USB-C port or the 12V DC jack */
+ compatible = "regulator-fixed";
+ regulator-always-on;
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ regulator-name = "vcc-5v";
+ };
+};
+
+&cpu0 {
+ cpu-supply = <®_dcdc2>;
+};
+
+&ehci1 {
+ status = "okay";
+};
+
+&i2c3 {
+ pinctrl-0 = <&i2c3_ph_pins>;
+ pinctrl-names = "default";
+
+ status = "okay";
+
+ rtc@51 {
+ compatible = "haoyu,hym8563";
+ reg = <0x51>;
+ #clock-cells = <0>;
+ };
+};
+
+&mmc0 {
+ bus-width = <4>;
+ cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */
+ disable-wp;
+ vmmc-supply = <®_dcdc1>;
+
+ status = "okay";
+};
+
+&mmc2 {
+ bus-width = <8>;
+ cap-mmc-hw-reset;
+ mmc-ddr-1_8v;
+ mmc-hs200-1_8v;
+ non-removable;
+ vmmc-supply = <®_dcdc1>;
+ vqmmc-supply = <®_eldo1>;
+
+ status = "okay";
+};
+
+&ohci1 {
+ status = "okay";
+};
+
+&pio {
+ vcc-pb-supply = <®_dcdc1>;
+ vcc-pc-supply = <®_eldo1>;
+ vcc-pd-supply = <®_dcdc1>;
+ vcc-pe-supply = <®_dldo2>;
+ vcc-pf-supply = <®_dcdc1>;
+ vcc-pg-supply = <®_dldo1>;
+ vcc-ph-supply = <®_dcdc1>;
+};
+
+&r_i2c0 {
+ status = "okay";
+
+ axp803: pmic@34 {
+ compatible = "x-powers,axp803";
+ reg = <0x34>;
+ interrupt-parent = <&r_intc>;
+ interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
+ };
+};
+
+#include "axp803.dtsi"
+
+®_aldo1 {
+ /* AVCC, PLL and DRAM 1.8V */
+ regulator-always-on;
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-name = "vcc-pll-avcc";
+};
+
+/* ALDO2 is for LPDDR and not used with the DDR3 on this board */
+
+®_aldo3 {
+ /*
+ * Supply of the PL pin bank. It is not given to r_pio as
+ * vcc-pl-supply: the PMIC is reached through PL0/PL1, so r_pio and
+ * the PMIC would each wait for the other and the boot stops.
+ */
+ regulator-always-on;
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-name = "vcc-pl";
+};
+
+®_dcdc1 {
+ /* SoC I/O, USB analog, eMMC and SD card */
+ regulator-always-on;
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-name = "vcc-3v3";
+};
+
+®_dcdc2 {
+ regulator-always-on;
+ regulator-min-microvolt = <810000>;
+ regulator-max-microvolt = <1200000>;
+ regulator-name = "vdd-cpux";
+};
+
+/* DCDC3 runs in dual phase with DCDC2 for VDD-CPUX and has no node */
+
+®_dcdc4 {
+ /* VDD-SYS, also used as VDD-USB */
+ regulator-always-on;
+ regulator-min-microvolt = <950000>;
+ regulator-max-microvolt = <950000>;
+ regulator-name = "vdd-sys";
+};
+
+®_dcdc5 {
+ /* DDR3 */
+ regulator-always-on;
+ regulator-min-microvolt = <1500000>;
+ regulator-max-microvolt = <1500000>;
+ regulator-name = "vcc-dram";
+};
+
+/* DCDC6 is not connected */
+®_dcdc6 {
+ status = "disabled";
+};
+
+®_dldo1 {
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-name = "vcc-pg";
+};
+
+®_dldo2 {
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-name = "vcc-pe";
+};
+
+®_eldo1 {
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-name = "vcc-pc";
+};
+
+®_fldo1 {
+ /* VDD-CPUS */
+ regulator-always-on;
+ regulator-min-microvolt = <900000>;
+ regulator-max-microvolt = <900000>;
+ regulator-name = "vdd-cpus";
+};
+
+&uart0 {
+ pinctrl-0 = <&uart0_pb_pins>;
+ pinctrl-names = "default";
+
+ status = "okay";
+};
+
+&usb_power_supply {
+ status = "okay";
+};
+
+&usbphy {
+ usb1_vbus-supply = <®_usb1_vbus>;
+
+ status = "okay";
+};
--
2.34.1
^ permalink raw reply [flat|nested] 5+ messages in thread