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