1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* 3 * Copyright (c) 2019 BayLibre SAS. All rights reserved. 4 */ 5 6/dts-v1/; 7/plugin/; 8 9#include <dt-bindings/phy/phy.h> 10#include <dt-bindings/gpio/gpio.h> 11#include <dt-bindings/gpio/meson-g12a-gpio.h> 12#include <dt-bindings/input/input.h> 13#include <dt-bindings/interrupt-controller/irq.h> 14 15/ { 16 compatible = "khadas,vim3", "amlogic,a311d", "amlogic,g12b"; 17 model = "Khadas VIM3"; 18 fragment@101 { 19 target-path = "/"; 20 __overlay__ { 21 reserved-memory { 22 #address-cells = <2>; 23 #size-cells = <2>; 24 ramoops@d000000 { 25 compatible = "ramoops"; 26 reg = <0x0 0x0d000000 0x0 0x00100000>; 27 record-size = <0x8000>; 28 console-size = <0x8000>; 29 ftrace-size = <0x0>; 30 pmsg-size = <0x8000>; 31 }; 32 }; 33 34 }; 35 }; 36}; 37 38&vcc_5v { 39 gpio-open-drain; 40}; 41 42&uart_C { 43 status = "okay"; 44 pinctrl-0 = <&uart_c_pins>; 45 pinctrl-names = "default"; 46}; 47 48&emmc_pwrseq{ 49 status = "okay"; 50}; 51 52&sd_emmc_a { 53 /* WiFi firmware requires power to be kept while in suspend */ 54 keep-power-in-suspend; 55};