Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
0002 /*
0003  * Copyright (C) 2019 Amarula Solutions B.V.
0004  * Author: Jagan Teki <jagan@amarulasolutions.com>
0005  */
0006 
0007 /dts-v1/;
0008 
0009 #include "rk3399-nanopi4.dtsi"
0010 
0011 / {
0012         model = "FriendlyARM NanoPi NEO4";
0013         compatible = "friendlyarm,nanopi-neo4", "rockchip,rk3399";
0014 
0015         vdd_5v: vdd-5v {
0016                 compatible = "regulator-fixed";
0017                 regulator-name = "vdd_5v";
0018                 regulator-always-on;
0019                 regulator-boot-on;
0020         };
0021 
0022         vcc5v0_core: vcc5v0-core {
0023                 compatible = "regulator-fixed";
0024                 regulator-name = "vcc5v0_core";
0025                 regulator-always-on;
0026                 regulator-boot-on;
0027                 vin-supply = <&vdd_5v>;
0028         };
0029 
0030         vcc5v0_usb1: vcc5v0-usb1 {
0031                 compatible = "regulator-fixed";
0032                 regulator-name = "vcc5v0_usb1";
0033                 regulator-always-on;
0034                 regulator-boot-on;
0035                 vin-supply = <&vcc5v0_sys>;
0036         };
0037 };
0038 
0039 &vcc3v3_sys {
0040         vin-supply = <&vcc5v0_core>;
0041 };
0042 
0043 &u2phy0_host {
0044         phy-supply = <&vcc5v0_usb1>;
0045 };
0046 
0047 &vbus_typec {
0048         regulator-always-on;
0049         vin-supply = <&vdd_5v>;
0050 };