mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

The Khadas VIM4 uses the Amlogic A311D2 SoC, based on the Amlogic T7 SoC family, on a board with the same form factor as the VIM3 models. - 8GB LPDDR4X 2016MHz - 32GB eMMC 5.1 storage - 32MB SPI flash - 10/100/1000 Base-T Ethernet - AP6275S Wireless (802.11 a/b/g/n/ac/ax, BT5.1) - HDMI 2.1 video - HDMI Input - 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) - M2 socket with PCIe, USB, ADC & I2C - 40pin GPIO Header - 1x micro SD card slot Signed-off-by: Lucas Tanure <tanure@linux.com> Link: https://lore.kernel.org/r/20230629073419.207886-5-tanure@linux.com Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
54 lines
988 B
Text
54 lines
988 B
Text
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
/*
|
|
* Copyright (c) 2022 Wesion, Inc. All rights reserved.
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include "amlogic-t7.dtsi"
|
|
|
|
/ {
|
|
model = "Khadas vim4";
|
|
compatible = "khadas,vim4", "amlogic,a311d2", "amlogic,t7";
|
|
|
|
aliases {
|
|
serial0 = &uart_a;
|
|
};
|
|
|
|
memory@0 {
|
|
device_type = "memory";
|
|
reg = <0x0 0x0 0x2 0x0>; /* 8 GB */
|
|
};
|
|
|
|
reserved-memory {
|
|
#address-cells = <2>;
|
|
#size-cells = <2>;
|
|
ranges;
|
|
|
|
/* 3 MiB reserved for ARM Trusted Firmware (BL31) */
|
|
secmon_reserved: secmon@5000000 {
|
|
reg = <0x0 0x05000000 0x0 0x300000>;
|
|
no-map;
|
|
};
|
|
|
|
/* 32 MiB reserved for ARM Trusted Firmware (BL32) */
|
|
secmon_reserved_bl32: secmon@5300000 {
|
|
reg = <0x0 0x05300000 0x0 0x2000000>;
|
|
no-map;
|
|
};
|
|
};
|
|
|
|
xtal: xtal-clk {
|
|
compatible = "fixed-clock";
|
|
clock-frequency = <24000000>;
|
|
clock-output-names = "xtal";
|
|
#clock-cells = <0>;
|
|
};
|
|
|
|
};
|
|
|
|
&uart_a {
|
|
status = "okay";
|
|
clocks = <&xtal>, <&xtal>, <&xtal>;
|
|
clock-names = "xtal", "pclk", "baud";
|
|
};
|