WIP FPC-III support
[linux/fpc-iii.git] / arch / arm64 / boot / dts / rockchip / rk3399-nanopi-m4.dts
blob60358ab8c7dfcc7d0b061cdc2f299f99342c4535
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  */
12 /dts-v1/;
13 #include "rk3399-nanopi4.dtsi"
15 / {
16         model = "FriendlyElec NanoPi M4";
17         compatible = "friendlyarm,nanopi-m4", "rockchip,rk3399";
19         vdd_5v: vdd-5v {
20                 compatible = "regulator-fixed";
21                 regulator-name = "vdd_5v";
22                 regulator-always-on;
23                 regulator-boot-on;
24         };
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         };
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         };
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         };
51 &vcc3v3_sys {
52         vin-supply = <&vcc5v0_core>;
55 &u2phy0_host {
56         phy-supply = <&vcc5v0_usb1>;
59 &u2phy1_host {
60         phy-supply = <&vcc5v0_usb2>;
63 &vbus_typec {
64         regulator-always-on;
65         vin-supply = <&vdd_5v>;