1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* 3 * FriendlyElec NanoPi M4 board device tree source 4 * 5 * Copyright (c) 2018 FriendlyElec Computer Tech. Co., Ltd. 6 * (http://www.friendlyarm.com) 7 * 8 * Copyright (c) 2018 Collabora Ltd. 9 * Copyright (c) 2019 Arm Ltd. 10 */ 11 12/dts-v1/; 13 14#include "rk3399-nanopi4.dtsi" 15 16/ { 17 vdd_5v: regulator-vdd-5v { 18 compatible = "regulator-fixed"; 19 regulator-name = "vdd_5v"; 20 regulator-always-on; 21 regulator-boot-on; 22 }; 23 24 vcc5v0_core: regulator-vcc5v0-core { 25 compatible = "regulator-fixed"; 26 regulator-name = "vcc5v0_core"; 27 regulator-always-on; 28 regulator-boot-on; 29 vin-supply = <&vdd_5v>; 30 }; 31 32 vcc5v0_usb1: regulator-vcc5v0-usb1 { 33 compatible = "regulator-fixed"; 34 regulator-name = "vcc5v0_usb1"; 35 regulator-always-on; 36 regulator-boot-on; 37 vin-supply = <&vcc5v0_sys>; 38 }; 39 40 vcc5v0_usb2: regulator-vcc5v0-usb2 { 41 compatible = "regulator-fixed"; 42 regulator-name = "vcc5v0_usb2"; 43 regulator-always-on; 44 regulator-boot-on; 45 vin-supply = <&vcc5v0_sys>; 46 }; 47}; 48 49&vcc3v3_sys { 50 vin-supply = <&vcc5v0_core>; 51}; 52 53&u2phy1_host { 54 phy-supply = <&vcc5v0_usb2>; 55}; 56 57&vbus_typec { 58 regulator-always-on; 59 vin-supply = <&vdd_5v>; 60}; 61