1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* 3 * Copyright (c) 2018 BayLibre SAS. All rights reserved. 4 */ 5 6/dts-v1/; 7 8#include "meson-g12a.dtsi" 9#include <dt-bindings/gpio/gpio.h> 10#include <dt-bindings/gpio/meson-g12a-gpio.h> 11 12/ { 13 compatible = "amediatech,x96-max", "amlogic,u200", "amlogic,g12a"; 14 model = "Shenzhen Amediatech Technology Co., Ltd X96 Max"; 15 16 aliases { 17 serial0 = &uart_AO; 18 }; 19 chosen { 20 stdout-path = "serial0:115200n8"; 21 }; 22 memory@0 { 23 device_type = "memory"; 24 reg = <0x0 0x0 0x0 0x40000000>; 25 }; 26 27 flash_1v8: regulator-flash_1v8 { 28 compatible = "regulator-fixed"; 29 regulator-name = "FLASH_1V8"; 30 regulator-min-microvolt = <1800000>; 31 regulator-max-microvolt = <1800000>; 32 vin-supply = <&vcc_3v3>; 33 regulator-always-on; 34 }; 35 36 dc_in: regulator-dc_in { 37 compatible = "regulator-fixed"; 38 regulator-name = "DC_IN"; 39 regulator-min-microvolt = <5000000>; 40 regulator-max-microvolt = <5000000>; 41 regulator-always-on; 42 }; 43 44 vcc_1v8: regulator-vcc_1v8 { 45 compatible = "regulator-fixed"; 46 regulator-name = "VCC_1V8"; 47 regulator-min-microvolt = <1800000>; 48 regulator-max-microvolt = <1800000>; 49 vin-supply = <&vcc_3v3>; 50 regulator-always-on; 51 }; 52 53 vcc_3v3: regulator-vcc_3v3 { 54 compatible = "regulator-fixed"; 55 regulator-name = "VCC_3V3"; 56 regulator-min-microvolt = <3300000>; 57 regulator-max-microvolt = <3300000>; 58 vin-supply = <&vddao_3v3>; 59 regulator-always-on; 60 /* FIXME: actually controlled by VDDCPU_B_EN */ 61 }; 62 63 vcc_5v: regulator-vcc_5v { 64 compatible = "regulator-fixed"; 65 regulator-name = "VCC_5V"; 66 regulator-min-microvolt = <5000000>; 67 regulator-max-microvolt = <5000000>; 68 vin-supply = <&dc_in>; 69 70 gpio = <&gpio GPIOH_8 GPIO_OPEN_DRAIN>; 71 enable-active-low; 72 }; 73 74 vddao_1v8: regulator-vddao_1v8 { 75 compatible = "regulator-fixed"; 76 regulator-name = "VDDAO_1V8"; 77 regulator-min-microvolt = <1800000>; 78 regulator-max-microvolt = <1800000>; 79 vin-supply = <&vddao_3v3>; 80 regulator-always-on; 81 }; 82 83 vddao_3v3: regulator-vddao_3v3 { 84 compatible = "regulator-fixed"; 85 regulator-name = "VDDAO_3V3"; 86 regulator-min-microvolt = <3300000>; 87 regulator-max-microvolt = <3300000>; 88 vin-supply = <&dc_in>; 89 regulator-always-on; 90 }; 91}; 92 93&uart_AO { 94 status = "okay"; 95 pinctrl-0 = <&uart_ao_a_pins>; 96 pinctrl-names = "default"; 97}; 98