1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* 3 * Copyright (c) 2022 Wesion, Inc. All rights reserved. 4 */ 5 6/dts-v1/; 7 8#include "amlogic-t7.dtsi" 9 10/ { 11 model = "Khadas vim4"; 12 compatible = "khadas,vim4", "amlogic,a311d2", "amlogic,t7"; 13 14 aliases { 15 serial0 = &uart_a; 16 }; 17 18 memory@0 { 19 device_type = "memory"; 20 reg = <0x0 0x0 0x2 0x0>; /* 8 GB */ 21 }; 22 23 reserved-memory { 24 #address-cells = <2>; 25 #size-cells = <2>; 26 ranges; 27 28 /* 3 MiB reserved for ARM Trusted Firmware (BL31) */ 29 secmon_reserved: secmon@5000000 { 30 reg = <0x0 0x05000000 0x0 0x300000>; 31 no-map; 32 }; 33 34 /* 32 MiB reserved for ARM Trusted Firmware (BL32) */ 35 secmon_reserved_bl32: secmon@5300000 { 36 reg = <0x0 0x05300000 0x0 0x2000000>; 37 no-map; 38 }; 39 }; 40 41 xtal: xtal-clk { 42 compatible = "fixed-clock"; 43 clock-frequency = <24000000>; 44 clock-output-names = "xtal"; 45 #clock-cells = <0>; 46 }; 47 48}; 49 50&uart_a { 51 status = "okay"; 52 clocks = <&xtal>, <&xtal>, <&xtal>; 53 clock-names = "xtal", "pclk", "baud"; 54}; 55