Skip to content
Draft
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions config/boards/radxa-cubie-a5e.csc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Allwinner Cortex-A55 octa core 1/2/4GB RAM SoC
# Allwinner Cortex-A55 octa core 2/4GB RAM SoC
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be updated too, since it has all the stuff like dual GBe, WiFi, m.2, HDMI, USB and whatever I forgot

BOARD_NAME="radxa cubie a5e"
BOARD_VENDOR="radxa"
BOARDFAMILY="sun55iw3"
Expand All @@ -8,12 +8,7 @@ OVERLAY_PREFIX="sun55i-a527"
#BOOT_LOGO="desktop"
KERNEL_TARGET="edge"
BOOT_FDT_FILE="sun55i-a527-cubie-a5e.dtb"
IMAGE_PARTITION_TABLE="gpt"
#IMAGE_PARTITION_TABLE="msdos"
BOOTFS_TYPE="fat"
BOOTSTART="1"
BOOTSIZE="512"
ROOTSTART="513"
HAS_VIDEO_OUTPUT=no
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand this. Board has HDMI.
This has no impact on the build process but is an information for the CI whether to point out desktop usage and/or build desktop images, not sure.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure about that either, but since it doesn't have a video output yet, I considered it.


PACKAGE_LIST_BOARD="rfkill bluetooth bluez bluez-tools"

Expand Down
3 changes: 0 additions & 3 deletions config/sources/families/sun55iw3.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,3 @@ declare -g ATFBRANCH="branch:a523-v4"
declare -g BOOTBRANCH="tag:v2026.01"
declare -g BOOTPATCHDIR="v2026.01"

write_uboot_platform() {
dd if=$1/u-boot-sunxi-with-spl.bin of=$2 bs=512 seek=256 status=noxfer > /dev/null 2>&1
}
Original file line number Diff line number Diff line change
@@ -1,40 +1,54 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Juan Sanchez <juanesf91@gmail.com>
Date: Tue, 5 Aug 2025 14:55:52 -0400
Subject: Enable uart1 (bluetooth) on Radxa Cubie A5E
Date: Tue, 31 Mar 2026 22:37:03 -0300
Subject: Enable BT on Radxa Cubie A5E

Signed-off-by: Juan Sanchez <juanesf91@gmail.com>
---
arch/arm64/boot/dts/allwinner/sun55i-a527-cubie-a5e.dts | 9 +++++++++
1 file changed, 9 insertions(+)
arch/arm64/boot/dts/allwinner/sun55i-a527-cubie-a5e.dts | 15 ++++++++++
1 file changed, 15 insertions(+)

diff --git a/arch/arm64/boot/dts/allwinner/sun55i-a527-cubie-a5e.dts b/arch/arm64/boot/dts/allwinner/sun55i-a527-cubie-a5e.dts
index 111111111111..222222222222 100644
index 5df8058e85be..75df77cc2099 100644
--- a/arch/arm64/boot/dts/allwinner/sun55i-a527-cubie-a5e.dts
+++ b/arch/arm64/boot/dts/allwinner/sun55i-a527-cubie-a5e.dts
@@ -16,6 +16,7 @@ aliases {
@@ -14,10 +14,11 @@ / {

aliases {
ethernet0 = &gmac0;
ethernet1 = &gmac1;
serial0 = &uart0;
+ serial1 = &uart1;
};

chosen {
@@ -350,6 +351,14 @@ &uart0 {
stdout-path = "serial0:115200n8";
};
@@ -381,10 +382,24 @@ &uart0 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_pb_pins>;
status = "okay";
};

+/* Bluetooth */
+&uart1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>;
+ uart-has-rtscts;
+ status = "okay";
+ status= "okay";
+
+ bluetooth {
+ compatible = "aic,aic8800-bt";
+ shutdown-gpios = <&r_pio 1 3 GPIO_ACTIVE_LOW>;
+ host-wakeup-gpios = <&r_pio 1 4 GPIO_ACTIVE_HIGH>;
+ device-wakeup-gpios = <&r_pio 1 5 GPIO_ACTIVE_HIGH>;
+ };
+};
+
&usb_otg {
/*
* The USB-C port is the primary power supply, so in this configuration
* relies on the other end of the USB cable to supply the VBUS power.
* So use this port in peripheral mode.
--
Armbian
Created with Armbian build tools https://github.com/armbian/build

Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Juan Sanchez <juanesf91@gmail.com>
Date: Wed, 1 Apr 2026 17:09:33 -0300
Subject: Update WiFi patch on Radxa Cubie A5E

Signed-off-by: Juan Sanchez <juanesf91@gmail.com>
---
arch/arm64/boot/dts/allwinner/sun55i-a527-cubie-a5e.dts | 33 ++++++++++
1 file changed, 33 insertions(+)

diff --git a/arch/arm64/boot/dts/allwinner/sun55i-a527-cubie-a5e.dts b/arch/arm64/boot/dts/allwinner/sun55i-a527-cubie-a5e.dts
index e4fcfb01dab2..2abf6a535a6d 100644
--- a/arch/arm64/boot/dts/allwinner/sun55i-a527-cubie-a5e.dts
+++ b/arch/arm64/boot/dts/allwinner/sun55i-a527-cubie-a5e.dts
@@ -13,10 +13,11 @@ / {
compatible = "radxa,cubie-a5e", "allwinner,sun55i-a527";

aliases {
ethernet0 = &gmac0;
ethernet1 = &gmac1;
+ ethernet2 = &wifi;
serial0 = &uart0;
serial1 = &uart1;
};

chosen {
@@ -45,10 +46,25 @@ iio-hwmon {
compatible = "iio-hwmon";
io-channels = <&axp717_adc 3>, /* vsys_v */
<&axp717_adc 4>; /* pmic_temp */
};

+ reg_3v3_wifi: 3v3-wifi {
+ compatible = "regulator-fixed";
+ regulator-name = "3v3-wifi";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ gpio = <&r_pio 0 7 GPIO_ACTIVE_HIGH>;
+ vin-supply = <&reg_vcc5v>;
+ };
+
+ wifi_pwrseq: wifi-pwrseq {
+ compatible = "mmc-pwrseq-simple";
+ reset-gpios = <&r_pio 1 1 GPIO_ACTIVE_LOW>;
+ post-power-on-delay-ms = <200>;
+ };
+
reg_vcc5v: vcc5v {
/* board wide 5V supply from the USB-C connector */
compatible = "regulator-fixed";
regulator-name = "vcc-5v";
regulator-min-microvolt = <5000000>;
@@ -160,10 +176,27 @@ &mmc0 {
cd-gpios = <&pio 5 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /* PF6 */
bus-width = <4>;
status = "okay";
};

+&mmc1 {
+ vmmc-supply = <&reg_3v3_wifi>;
+ mmc-pwrseq = <&wifi_pwrseq>;
+ bus-width = <4>;
+ non-removable;
+ pinctrl-names = "default";
+ pinctrl-0 = <&mmc1_pins>;
+ status = "okay";
+
+ wifi@1 {
+ reg = <1>;
+ interrupt-parent = <&r_pio>;
+ interrupts = <1 0 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "host-wake";
+ };
+};
+
&ohci0 {
status = "okay";
};

&ohci1 {
--
Created with Armbian build tools https://github.com/armbian/build

1 change: 1 addition & 0 deletions patch/kernel/archive/sunxi-7.0/series.conf
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@
################################################################################

patches.backports/21-Enable-uart1-on-Radxa-Cubie-A5E.patch
patches.backports/22-Enable-wifi-on-Radxa-Cubie-A5E.patch


################################################################################
Expand Down
Loading