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