-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Update for Radxa Cubie A5E #9626
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 4 commits
c2bd83e
0bf61d0
f3b93e1
3c439a9
b864d96
e7a1c40
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| 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 | ||
| BOARD_NAME="radxa cubie a5e" | ||
| BOARD_VENDOR="radxa" | ||
| BOARDFAMILY="sun55iw3" | ||
|
|
@@ -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 | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't understand this. Board has HDMI.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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" | ||
|
|
||
|
|
||
| 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 = <®_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 = <®_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 | ||
|
|
There was a problem hiding this comment.
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