| 
     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 #include "rk3399-nanopi4.dtsi"
   14 
   15 / {
   16         model = "FriendlyElec NanoPi M4";
   17         compatible = "friendlyarm,nanopi-m4", "rockchip,rk3399";
   18 
   19         vdd_5v: vdd-5v {
   20                 compatible = "regulator-fixed";
   21                 regulator-name = "vdd_5v";
   22                 regulator-always-on;
   23                 regulator-boot-on;
   24         };
   25 
   26         vcc5v0_core: vcc5v0-core {
   27                 compatible = "regulator-fixed";
   28                 regulator-name = "vcc5v0_core";
   29                 regulator-always-on;
   30                 regulator-boot-on;
   31                 vin-supply = <&vdd_5v>;
   32         };
   33 
   34         vcc5v0_usb1: vcc5v0-usb1 {
   35                 compatible = "regulator-fixed";
   36                 regulator-name = "vcc5v0_usb1";
   37                 regulator-always-on;
   38                 regulator-boot-on;
   39                 vin-supply = <&vcc5v0_sys>;
   40         };
   41 
   42         vcc5v0_usb2: vcc5v0-usb2 {
   43                 compatible = "regulator-fixed";
   44                 regulator-name = "vcc5v0_usb2";
   45                 regulator-always-on;
   46                 regulator-boot-on;
   47                 vin-supply = <&vcc5v0_sys>;
   48         };
   49 };
   50 
   51 &vcc3v3_sys {
   52         vin-supply = <&vcc5v0_core>;
   53 };
   54 
   55 &u2phy0_host {
   56         phy-supply = <&vcc5v0_usb1>;
   57 };
   58 
   59 &u2phy1_host {
   60         phy-supply = <&vcc5v0_usb2>;
   61 };
   62 
   63 &vbus_typec {
   64         regulator-always-on;
   65         vin-supply = <&vdd_5v>;
   66 };
Cache object: 3cf8d4c20b5e7006126b82f8470e30de 
 
 |