mirror of https://lore.kernel.org/linux-amlogic/
 help / color / mirror / Atom feed
From: neil.armstrong@linaro.org
To: Nick Xie <nick@khadas.com>, khilman@baylibre.com
Cc: robh@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org,
	martin.blumenstingl@googlemail.com, linux-kernel@vger.kernel.org,
	xianwei.zhao@amlogic.com, linux-amlogic@lists.infradead.org,
	krzk+dt@kernel.org, xieqinick@gmail.com,
	linux-arm-kernel@lists.infradead.org, jbrunet@baylibre.com
Subject: Re: [PATCH 2/2] arm64: dts: amlogic-a9-a311y3-khadas-vim-5: add initial device tree
Date: Mon, 19 Oct 2026 09:37:06 +0200	[thread overview]
Message-ID: <f5dc8732-9248-44f1-9337-379991cd5762@linaro.org> (raw)
In-Reply-To: <20261017040038.3702428-3-nick@khadas.com>

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

      reply	other threads:[~2026-10-19  7:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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  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-10-19  7:37   ` neil.armstrong [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f5dc8732-9248-44f1-9337-379991cd5762@linaro.org \
    --to=neil.armstrong@linaro.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jbrunet@baylibre.com \
    --cc=khilman@baylibre.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-amlogic@lists.infradead.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=martin.blumenstingl@googlemail.com \
    --cc=nick@khadas.com \
    --cc=robh@kernel.org \
    --cc=xianwei.zhao@amlogic.com \
    --cc=xieqinick@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®