Skip to content

Commit c6d29c6

Browse files
chewittkhilman
authored andcommitted
arm64: dts: meson-g12b-khadas-vim3: add initial device-tree
The Khadas VIM3 uses the Amlogic S922X or A311S SoC, both based on the Amlogic G12B SoC family, on a board with the same form factor as the VIM/VIM2 models. It ships in two variants; basic and pro which differ in RAM and eMMC size: - 2GB (basic) or 4GB (pro) LPDDR4 RAM - 16GB (basic) or 32GB (pro) eMMC 5.1 storage - 16MB SPI flash - 10/100/1000 Base-T Ethernet - AP6398S Wireless (802.11 a/b/g/n/ac, BT5.0) - HDMI 2.1 video - 1x USB 2.0 + 1x USB 3.0 ports - 1x USB-C (power) with USB 2.0 OTG - 3x LED's (1x red, 1x blue, 1x white) - 3x buttons (power, function, reset) - IR receiver - M2 socket with PCIe, USB, ADC & I2C - 40pin GPIO Header - 1x micro SD card slot A common meson-g12b-khadas-vim3.dtsi is added to support both S922X and A311D SoCs supported by two variants of the board. Signed-off-by: Christian Hewitt <[email protected]> Signed-off-by: Neil Armstrong <[email protected]> Signed-off-by: Kevin Hilman <[email protected]>
1 parent b69337d commit c6d29c6

File tree

4 files changed

+576
-0
lines changed

4 files changed

+576
-0
lines changed

arch/arm64/boot/dts/amlogic/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ dtb-$(CONFIG_ARCH_MESON) += meson-axg-s400.dtb
33
dtb-$(CONFIG_ARCH_MESON) += meson-g12a-sei510.dtb
44
dtb-$(CONFIG_ARCH_MESON) += meson-g12a-u200.dtb
55
dtb-$(CONFIG_ARCH_MESON) += meson-g12a-x96-max.dtb
6+
dtb-$(CONFIG_ARCH_MESON) += meson-g12b-a311d-khadas-vim3.dtb
7+
dtb-$(CONFIG_ARCH_MESON) += meson-g12b-s922x-khadas-vim3.dtb
68
dtb-$(CONFIG_ARCH_MESON) += meson-g12b-odroid-n2.dtb
79
dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-nanopi-k2.dtb
810
dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-nexbox-a95x.dtb
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2+
/*
3+
* Copyright (c) 2019 BayLibre, SAS
4+
* Author: Neil Armstrong <[email protected]>
5+
* Copyright (c) 2019 Christian Hewitt <[email protected]>
6+
*/
7+
8+
/dts-v1/;
9+
10+
#include "meson-g12b-a311d.dtsi"
11+
#include "meson-g12b-khadas-vim3.dtsi"
12+
13+
/ {
14+
compatible = "khadas,vim3", "amlogic,a311d", "amlogic,g12b";
15+
};

0 commit comments

Comments
 (0)