1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* 3 * Copyright (c) 2018 Amlogic, Inc. 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 = "amlogic,u200", "amlogic,g12a"; 14 model = "Amlogic Meson G12A U200 Development Board"; 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 main_12v: regulator-main_12v { 37 compatible = "regulator-fixed"; 38 regulator-name = "12V"; 39 regulator-min-microvolt = <12000000>; 40 regulator-max-microvolt = <12000000>; 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 = <&main_12v>; 69 70 gpio = <&gpio GPIOH_8 GPIO_OPEN_DRAIN>; 71 enable-active-high; 72 }; 73 74 usb_pwr_en: regulator-usb_pwr_en { 75 compatible = "regulator-fixed"; 76 regulator-name = "USB_PWR_EN"; 77 regulator-min-microvolt = <5000000>; 78 regulator-max-microvolt = <5000000>; 79 vin-supply = <&vcc_5v>; 80 81 gpio = <&gpio GPIOH_6 GPIO_ACTIVE_HIGH>; 82 enable-active-high; 83 }; 84 85 vddao_1v8: regulator-vddao_1v8 { 86 compatible = "regulator-fixed"; 87 regulator-name = "VDDAO_1V8"; 88 regulator-min-microvolt = <1800000>; 89 regulator-max-microvolt = <1800000>; 90 vin-supply = <&vddao_3v3>; 91 regulator-always-on; 92 }; 93 94 vddao_3v3: regulator-vddao_3v3 { 95 compatible = "regulator-fixed"; 96 regulator-name = "VDDAO_3V3"; 97 regulator-min-microvolt = <3300000>; 98 regulator-max-microvolt = <3300000>; 99 vin-supply = <&main_12v>; 100 regulator-always-on; 101 }; 102 103}; 104 105&uart_AO { 106 status = "okay"; 107 pinctrl-0 = <&uart_ao_a_pins>; 108 pinctrl-names = "default"; 109}; 110 111