* [PATCH 1/2] dt-bindings: arm: amlogic: Add Khadas VIM 5
2026-10-17 4:00 [PATCH 0/2] Add initial support for Khadas VIM 5 Nick Xie
@ 2026-10-17 4:00 ` Nick Xie
2026-10-17 9:05 ` Krzysztof Kozlowski
2026-10-17 4:00 ` [PATCH 2/2] arm64: dts: amlogic-a9-a311y3-khadas-vim-5: add initial device tree Nick Xie
2026-11-03 9:54 ` [PATCH 0/2] Add initial support for Khadas VIM 5 Neil Armstrong
2 siblings, 1 reply; 6+ messages in thread
From: Nick Xie @ 2026-10-17 4:00 UTC (permalink / raw)
To: neil.armstrong, khilman
Cc: robh, conor+dt, devicetree, martin.blumenstingl, linux-kernel,
xianwei.zhao, linux-amlogic, krzk+dt, xieqinick,
linux-arm-kernel, jbrunet
The Khadas VIM 5 is a board based on the Amlogic A311Y3 SoC.
Document its board compatible.
Signed-off-by: Nick Xie <nick@khadas.com>
---
Documentation/devicetree/bindings/arm/amlogic.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/arm/amlogic.yaml b/Documentation/devicetree/bindings/arm/amlogic.yaml
index 9f73a0054fb21..e2b258ae8a4c6 100644
--- a/Documentation/devicetree/bindings/arm/amlogic.yaml
+++ b/Documentation/devicetree/bindings/arm/amlogic.yaml
@@ -238,6 +238,7 @@ properties:
items:
- enum:
- amlogic,by401
+ - khadas,vim-5
- const: amlogic,a9
- description: Boards with the Amlogic C3 C302X/C308L SoC
--
2.34.1
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [PATCH 1/2] dt-bindings: arm: amlogic: Add Khadas VIM 5
2026-10-17 4:00 ` [PATCH 1/2] dt-bindings: arm: amlogic: Add " Nick Xie
@ 2026-10-17 9:05 ` Krzysztof Kozlowski
0 siblings, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2026-10-17 9:05 UTC (permalink / raw)
To: Nick Xie, neil.armstrong, khilman
Cc: robh, conor+dt, devicetree, martin.blumenstingl, linux-kernel,
xianwei.zhao, linux-amlogic, krzk+dt, xieqinick,
linux-arm-kernel, jbrunet
On 17/10/2026 06:00, Nick Xie wrote:
> The Khadas VIM 5 is a board based on the Amlogic A311Y3 SoC.
> Document its board compatible.
>
> Signed-off-by: Nick Xie <nick@khadas.com>
> ---
> Documentation/devicetree/bindings/arm/amlogic.yaml | 1 +
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Best regards,
Krzysztof
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 2/2] arm64: dts: amlogic-a9-a311y3-khadas-vim-5: add initial device tree
2026-10-17 4:00 [PATCH 0/2] Add initial support for Khadas VIM 5 Nick Xie
2026-10-17 4:00 ` [PATCH 1/2] dt-bindings: arm: amlogic: Add " Nick Xie
@ 2026-10-17 4:00 ` Nick Xie
2026-10-19 7:37 ` neil.armstrong
2026-11-03 9:54 ` [PATCH 0/2] Add initial support for Khadas VIM 5 Neil Armstrong
2 siblings, 1 reply; 6+ messages in thread
From: Nick Xie @ 2026-10-17 4:00 UTC (permalink / raw)
To: neil.armstrong, khilman
Cc: robh, conor+dt, devicetree, martin.blumenstingl, linux-kernel,
xianwei.zhao, linux-amlogic, krzk+dt, xieqinick,
linux-arm-kernel, jbrunet
The Khadas VIM 5 uses the Amlogic A311Y3 SoC, based on the Amlogic A9
SoC family, on a board with the same form factor as the
VIM/VIM2/VIM3/VIM4/VIM1S models. The serial debug console works with this
initial device tree.
It features:
- 8GB LPDDR5
- 64GB eMMC 5.1 storage
- 32MB SPI flash
- 10/100/1000 Base-T Ethernet
- AP6275P Wireless (802.11 a/b/g/n/ac/ax, BT5.1)
- HDMI 2.1 output
- HDMI 2.1 input
- 1x USB 2.0 + 1x USB 3.0 ports
- 1x USB-C with USB 3.0/DP/PD
- 2x LEDs (1x red, 1x white)
- 3x buttons (power, function, reset)
- M2 socket with PCIe, USB, ADC & I2C
- 1x 4 lanes MIPI DSI
- 1x 4 lanes MIPI CSI
- 40pin GPIO Header
- 1x micro SD card slot
Signed-off-by: Nick Xie <nick@khadas.com>
---
arch/arm64/boot/dts/amlogic/Makefile | 1 +
.../amlogic-a9-a311y3-khadas-vim-5.dts | 42 +++++++++++++++++++
2 files changed, 43 insertions(+)
create mode 100644 arch/arm64/boot/dts/amlogic/amlogic-a9-a311y3-khadas-vim-5.dts
diff --git a/arch/arm64/boot/dts/amlogic/Makefile b/arch/arm64/boot/dts/amlogic/Makefile
index 57bc440fa55cc..8b4e3212be131 100644
--- a/arch/arm64/boot/dts/amlogic/Makefile
+++ b/arch/arm64/boot/dts/amlogic/Makefile
@@ -2,6 +2,7 @@
dtb-$(CONFIG_ARCH_MESON) += amlogic-a4-a113l2-ba400.dtb
dtb-$(CONFIG_ARCH_MESON) += amlogic-a5-a113x2-av400.dtb
dtb-$(CONFIG_ARCH_MESON) += amlogic-a9-a311y3-by401.dtb
+dtb-$(CONFIG_ARCH_MESON) += amlogic-a9-a311y3-khadas-vim-5.dtb
dtb-$(CONFIG_ARCH_MESON) += amlogic-c3-c302x-aw409.dtb
dtb-$(CONFIG_ARCH_MESON) += amlogic-c3-c308l-aw419.dtb
dtb-$(CONFIG_ARCH_MESON) += amlogic-s6-s905x5-bl209.dtb
diff --git a/arch/arm64/boot/dts/amlogic/amlogic-a9-a311y3-khadas-vim-5.dts b/arch/arm64/boot/dts/amlogic/amlogic-a9-a311y3-khadas-vim-5.dts
new file mode 100644
index 0000000000000..3989ce7a8aff9
--- /dev/null
+++ b/arch/arm64/boot/dts/amlogic/amlogic-a9-a311y3-khadas-vim-5.dts
@@ -0,0 +1,42 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (c) 2026 Khadas Technology Co., Ltd.
+ */
+
+/dts-v1/;
+
+#include "amlogic-a9.dtsi"
+
+/ {
+ model = "Khadas VIM 5";
+ compatible = "khadas,vim-5", "amlogic,a9";
+ #address-cells = <2>;
+ #size-cells = <2>;
+
+ aliases {
+ serial0 = &uart_b;
+ };
+
+ memory@0 {
+ device_type = "memory";
+ reg = <0x0 0x0 0x0 0xe0000000>,
+ <0x1 0x0 0x1 0x20000000>; /* 8 GiB */
+ };
+
+ reserved-memory {
+ #address-cells = <2>;
+ #size-cells = <2>;
+ ranges;
+
+ /* 35 MiB reserved for ARM Trusted Firmware */
+ secmon_reserved: secmon@5000000 {
+ compatible = "shared-dma-pool";
+ reg = <0x0 0x05000000 0x0 0x2300000>;
+ no-map;
+ };
+ };
+};
+
+&uart_b {
+ status = "okay";
+};
--
2.34.1
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [PATCH 2/2] arm64: dts: amlogic-a9-a311y3-khadas-vim-5: add initial device tree
2026-10-17 4:00 ` [PATCH 2/2] arm64: dts: amlogic-a9-a311y3-khadas-vim-5: add initial device tree Nick Xie
@ 2026-10-19 7:37 ` neil.armstrong
0 siblings, 0 replies; 6+ messages in thread
From: neil.armstrong @ 2026-10-19 7:37 UTC (permalink / raw)
To: Nick Xie, khilman
Cc: robh, conor+dt, devicetree, martin.blumenstingl, linux-kernel,
xianwei.zhao, linux-amlogic, krzk+dt, xieqinick,
linux-arm-kernel, jbrunet
On 10/17/26 06:00, Nick Xie wrote:
> The Khadas VIM 5 uses the Amlogic A311Y3 SoC, based on the Amlogic A9
> SoC family, on a board with the same form factor as the
> VIM/VIM2/VIM3/VIM4/VIM1S models. The serial debug console works with this
> initial device tree.
>
> It features:
> - 8GB LPDDR5
> - 64GB eMMC 5.1 storage
> - 32MB SPI flash
> - 10/100/1000 Base-T Ethernet
> - AP6275P Wireless (802.11 a/b/g/n/ac/ax, BT5.1)
> - HDMI 2.1 output
> - HDMI 2.1 input
> - 1x USB 2.0 + 1x USB 3.0 ports
> - 1x USB-C with USB 3.0/DP/PD
> - 2x LEDs (1x red, 1x white)
> - 3x buttons (power, function, reset)
> - M2 socket with PCIe, USB, ADC & I2C
> - 1x 4 lanes MIPI DSI
> - 1x 4 lanes MIPI CSI
> - 40pin GPIO Header
> - 1x micro SD card slot
>
> Signed-off-by: Nick Xie <nick@khadas.com>
> ---
> arch/arm64/boot/dts/amlogic/Makefile | 1 +
> .../amlogic-a9-a311y3-khadas-vim-5.dts | 42 +++++++++++++++++++
> 2 files changed, 43 insertions(+)
> create mode 100644 arch/arm64/boot/dts/amlogic/amlogic-a9-a311y3-khadas-vim-5.dts
>
> diff --git a/arch/arm64/boot/dts/amlogic/Makefile b/arch/arm64/boot/dts/amlogic/Makefile
> index 57bc440fa55cc..8b4e3212be131 100644
> --- a/arch/arm64/boot/dts/amlogic/Makefile
> +++ b/arch/arm64/boot/dts/amlogic/Makefile
> @@ -2,6 +2,7 @@
> dtb-$(CONFIG_ARCH_MESON) += amlogic-a4-a113l2-ba400.dtb
> dtb-$(CONFIG_ARCH_MESON) += amlogic-a5-a113x2-av400.dtb
> dtb-$(CONFIG_ARCH_MESON) += amlogic-a9-a311y3-by401.dtb
> +dtb-$(CONFIG_ARCH_MESON) += amlogic-a9-a311y3-khadas-vim-5.dtb
> dtb-$(CONFIG_ARCH_MESON) += amlogic-c3-c302x-aw409.dtb
> dtb-$(CONFIG_ARCH_MESON) += amlogic-c3-c308l-aw419.dtb
> dtb-$(CONFIG_ARCH_MESON) += amlogic-s6-s905x5-bl209.dtb
> diff --git a/arch/arm64/boot/dts/amlogic/amlogic-a9-a311y3-khadas-vim-5.dts b/arch/arm64/boot/dts/amlogic/amlogic-a9-a311y3-khadas-vim-5.dts
> new file mode 100644
> index 0000000000000..3989ce7a8aff9
> --- /dev/null
> +++ b/arch/arm64/boot/dts/amlogic/amlogic-a9-a311y3-khadas-vim-5.dts
> @@ -0,0 +1,42 @@
> +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
> +/*
> + * Copyright (c) 2026 Khadas Technology Co., Ltd.
> + */
> +
> +/dts-v1/;
> +
> +#include "amlogic-a9.dtsi"
> +
> +/ {
> + model = "Khadas VIM 5";
> + compatible = "khadas,vim-5", "amlogic,a9";
> + #address-cells = <2>;
> + #size-cells = <2>;
> +
> + aliases {
> + serial0 = &uart_b;
> + };
> +
> + memory@0 {
> + device_type = "memory";
> + reg = <0x0 0x0 0x0 0xe0000000>,
> + <0x1 0x0 0x1 0x20000000>; /* 8 GiB */
> + };
> +
> + reserved-memory {
> + #address-cells = <2>;
> + #size-cells = <2>;
> + ranges;
> +
> + /* 35 MiB reserved for ARM Trusted Firmware */
> + secmon_reserved: secmon@5000000 {
> + compatible = "shared-dma-pool";
> + reg = <0x0 0x05000000 0x0 0x2300000>;
> + no-map;
> + };
> + };
> +};
> +
> +&uart_b {
> + status = "okay";
> +};
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Thanks,
Neil
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 0/2] Add initial support for Khadas VIM 5
2026-10-17 4:00 [PATCH 0/2] Add initial support for Khadas VIM 5 Nick Xie
2026-10-17 4:00 ` [PATCH 1/2] dt-bindings: arm: amlogic: Add " Nick Xie
2026-10-17 4:00 ` [PATCH 2/2] arm64: dts: amlogic-a9-a311y3-khadas-vim-5: add initial device tree Nick Xie
@ 2026-11-03 9:54 ` Neil Armstrong
2 siblings, 0 replies; 6+ messages in thread
From: Neil Armstrong @ 2026-11-03 9:54 UTC (permalink / raw)
To: khilman, Nick Xie
Cc: robh, conor+dt, devicetree, martin.blumenstingl, linux-kernel,
xianwei.zhao, linux-amlogic, krzk+dt, xieqinick,
linux-arm-kernel, jbrunet
Hi,
On Sat, 17 Oct 2026 12:00:36 +0800, Nick Xie wrote:
> This series adds initial support for the Khadas VIM 5, a board based
> on the Amlogic A311Y3 SoC.
>
> The first patch documents the board compatible. The second adds the
> board device tree with UART B enabled, an 8 GiB memory description,
> and the ARM Trusted Firmware reserved memory region.
>
> [...]
Thanks, Applied to https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux.git (v7.5/arm64-dt)
[1/2] dt-bindings: arm: amlogic: Add Khadas VIM 5
https://git.kernel.org/amlogic/c/7db251465d5319a5c0fc46c397ebddb284560982
[2/2] arm64: dts: amlogic-a9-a311y3-khadas-vim-5: add initial device tree
https://git.kernel.org/amlogic/c/56d1180882a32c78a6207b5364e43c2fc546cd9d
These changes has been applied on the intermediate git tree [1].
The v7.5/arm64-dt branch will then be sent via a formal Pull Request to the Linux SoC maintainers
for inclusion in their intermediate git branches in order to be sent to Linus during
the next merge window, or sooner if it's a set of fixes.
In the cases of fixes, those will be merged in the current release candidate
kernel and as soon they appear on the Linux master branch they will be
backported to the previous Stable and Long-Stable kernels [2].
The intermediate git branches are merged daily in the linux-next tree [3],
people are encouraged testing these pre-release kernels and report issues on the
relevant mailing-lists.
If problems are discovered on those changes, please submit a signed-off-by revert
patch followed by a corrective changeset.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux.git
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
[3] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
--
Neil
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 6+ messages in thread