Skip to content

Commit a654af3

Browse files
Xianwei Zhaosuperna9999
authored andcommitted
arm64: dts: add support for A5 based Amlogic AV400
Amlogic A5 is an application processor designed for smart audio and IoT applications. Add basic support for the A5 based Amlogic AV400 board, which describes the following components: CPU, GIC, IRQ, Timer and UART. These are capable of booting up into the serial console. Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://lore.kernel.org/r/20240401-basic_dt-v3-5-cb29ae1c16da@amlogic.com Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
1 parent 6ef6330 commit a654af3

File tree

3 files changed

+83
-0
lines changed

3 files changed

+83
-0
lines changed

arch/arm64/boot/dts/amlogic/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# SPDX-License-Identifier: GPL-2.0
22
dtb-$(CONFIG_ARCH_MESON) += amlogic-a4-a113l2-ba400.dtb
3+
dtb-$(CONFIG_ARCH_MESON) += amlogic-a5-a113x2-av400.dtb
34
dtb-$(CONFIG_ARCH_MESON) += amlogic-c3-c302x-aw409.dtb
45
dtb-$(CONFIG_ARCH_MESON) += amlogic-t7-a311d2-an400.dtb
56
dtb-$(CONFIG_ARCH_MESON) += amlogic-t7-a311d2-khadas-vim4.dtb
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2+
/*
3+
* Copyright (c) 2024 Amlogic, Inc. All rights reserved.
4+
*/
5+
6+
/dts-v1/;
7+
8+
#include "amlogic-a5.dtsi"
9+
10+
/ {
11+
model = "Amlogic A113X2 av400 Development Board";
12+
compatible = "amlogic,av400", "amlogic,a5";
13+
interrupt-parent = <&gic>;
14+
#address-cells = <2>;
15+
#size-cells = <2>;
16+
17+
aliases {
18+
serial0 = &uart_b;
19+
};
20+
21+
memory@0 {
22+
device_type = "memory";
23+
reg = <0x0 0x0 0x0 0x40000000>;
24+
};
25+
26+
reserved-memory {
27+
#address-cells = <2>;
28+
#size-cells = <2>;
29+
ranges;
30+
31+
/* 10 MiB reserved for ARM Trusted Firmware */
32+
secmon_reserved: secmon@5000000 {
33+
compatible = "shared-dma-pool";
34+
reg = <0x0 0x05000000 0x0 0xa00000>;
35+
no-map;
36+
};
37+
};
38+
};
39+
40+
&uart_b {
41+
status = "okay";
42+
};
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2+
/*
3+
* Copyright (c) 2024 Amlogic, Inc. All rights reserved.
4+
*/
5+
6+
#include "amlogic-a4-common.dtsi"
7+
/ {
8+
cpus {
9+
#address-cells = <2>;
10+
#size-cells = <0>;
11+
12+
cpu0: cpu@0 {
13+
device_type = "cpu";
14+
compatible = "arm,cortex-a55";
15+
reg = <0x0 0x0>;
16+
enable-method = "psci";
17+
};
18+
19+
cpu1: cpu@100 {
20+
device_type = "cpu";
21+
compatible = "arm,cortex-a55";
22+
reg = <0x0 0x100>;
23+
enable-method = "psci";
24+
};
25+
26+
cpu2: cpu@200 {
27+
device_type = "cpu";
28+
compatible = "arm,cortex-a55";
29+
reg = <0x0 0x200>;
30+
enable-method = "psci";
31+
};
32+
33+
cpu3: cpu@300 {
34+
device_type = "cpu";
35+
compatible = "arm,cortex-a55";
36+
reg = <0x0 0x300>;
37+
enable-method = "psci";
38+
};
39+
};
40+
};

0 commit comments

Comments
 (0)