xref: /freebsd/sys/contrib/device-tree/src/arm64/rockchip/rk3399-nanopi-neo4.dts (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2*c66ec88fSEmmanuel Vadot/*
3*c66ec88fSEmmanuel Vadot * Copyright (C) 2019 Amarula Solutions B.V.
4*c66ec88fSEmmanuel Vadot * Author: Jagan Teki <jagan@amarulasolutions.com>
5*c66ec88fSEmmanuel Vadot */
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel Vadot/dts-v1/;
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel Vadot#include "rk3399-nanopi4.dtsi"
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel Vadot/ {
12*c66ec88fSEmmanuel Vadot	model = "FriendlyARM NanoPi NEO4";
13*c66ec88fSEmmanuel Vadot	compatible = "friendlyarm,nanopi-neo4", "rockchip,rk3399";
14*c66ec88fSEmmanuel Vadot
15*c66ec88fSEmmanuel Vadot	vdd_5v: vdd-5v {
16*c66ec88fSEmmanuel Vadot		compatible = "regulator-fixed";
17*c66ec88fSEmmanuel Vadot		regulator-name = "vdd_5v";
18*c66ec88fSEmmanuel Vadot		regulator-always-on;
19*c66ec88fSEmmanuel Vadot		regulator-boot-on;
20*c66ec88fSEmmanuel Vadot	};
21*c66ec88fSEmmanuel Vadot
22*c66ec88fSEmmanuel Vadot	vcc5v0_core: vcc5v0-core {
23*c66ec88fSEmmanuel Vadot		compatible = "regulator-fixed";
24*c66ec88fSEmmanuel Vadot		regulator-name = "vcc5v0_core";
25*c66ec88fSEmmanuel Vadot		regulator-always-on;
26*c66ec88fSEmmanuel Vadot		regulator-boot-on;
27*c66ec88fSEmmanuel Vadot		vin-supply = <&vdd_5v>;
28*c66ec88fSEmmanuel Vadot	};
29*c66ec88fSEmmanuel Vadot
30*c66ec88fSEmmanuel Vadot	vcc5v0_usb1: vcc5v0-usb1 {
31*c66ec88fSEmmanuel Vadot		compatible = "regulator-fixed";
32*c66ec88fSEmmanuel Vadot		regulator-name = "vcc5v0_usb1";
33*c66ec88fSEmmanuel Vadot		regulator-always-on;
34*c66ec88fSEmmanuel Vadot		regulator-boot-on;
35*c66ec88fSEmmanuel Vadot		vin-supply = <&vcc5v0_sys>;
36*c66ec88fSEmmanuel Vadot	};
37*c66ec88fSEmmanuel Vadot};
38*c66ec88fSEmmanuel Vadot
39*c66ec88fSEmmanuel Vadot&vcc3v3_sys {
40*c66ec88fSEmmanuel Vadot	vin-supply = <&vcc5v0_core>;
41*c66ec88fSEmmanuel Vadot};
42*c66ec88fSEmmanuel Vadot
43*c66ec88fSEmmanuel Vadot&u2phy0_host {
44*c66ec88fSEmmanuel Vadot	phy-supply = <&vcc5v0_usb1>;
45*c66ec88fSEmmanuel Vadot};
46*c66ec88fSEmmanuel Vadot
47*c66ec88fSEmmanuel Vadot&vbus_typec {
48*c66ec88fSEmmanuel Vadot	regulator-always-on;
49*c66ec88fSEmmanuel Vadot	vin-supply = <&vdd_5v>;
50*c66ec88fSEmmanuel Vadot};
51