18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright (C) 2019 Amarula Solutions B.V. 48c2ecf20Sopenharmony_ci * Author: Jagan Teki <jagan@amarulasolutions.com> 58c2ecf20Sopenharmony_ci */ 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ci/dts-v1/; 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci#include "rk3399-nanopi4.dtsi" 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci/ { 128c2ecf20Sopenharmony_ci model = "FriendlyARM NanoPi NEO4"; 138c2ecf20Sopenharmony_ci compatible = "friendlyarm,nanopi-neo4", "rockchip,rk3399"; 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ci vdd_5v: vdd-5v { 168c2ecf20Sopenharmony_ci compatible = "regulator-fixed"; 178c2ecf20Sopenharmony_ci regulator-name = "vdd_5v"; 188c2ecf20Sopenharmony_ci regulator-always-on; 198c2ecf20Sopenharmony_ci regulator-boot-on; 208c2ecf20Sopenharmony_ci }; 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ci vcc5v0_core: vcc5v0-core { 238c2ecf20Sopenharmony_ci compatible = "regulator-fixed"; 248c2ecf20Sopenharmony_ci regulator-name = "vcc5v0_core"; 258c2ecf20Sopenharmony_ci regulator-always-on; 268c2ecf20Sopenharmony_ci regulator-boot-on; 278c2ecf20Sopenharmony_ci vin-supply = <&vdd_5v>; 288c2ecf20Sopenharmony_ci }; 298c2ecf20Sopenharmony_ci 308c2ecf20Sopenharmony_ci vcc5v0_usb1: vcc5v0-usb1 { 318c2ecf20Sopenharmony_ci compatible = "regulator-fixed"; 328c2ecf20Sopenharmony_ci regulator-name = "vcc5v0_usb1"; 338c2ecf20Sopenharmony_ci regulator-always-on; 348c2ecf20Sopenharmony_ci regulator-boot-on; 358c2ecf20Sopenharmony_ci vin-supply = <&vcc5v0_sys>; 368c2ecf20Sopenharmony_ci }; 378c2ecf20Sopenharmony_ci}; 388c2ecf20Sopenharmony_ci 398c2ecf20Sopenharmony_ci&vcc3v3_sys { 408c2ecf20Sopenharmony_ci vin-supply = <&vcc5v0_core>; 418c2ecf20Sopenharmony_ci}; 428c2ecf20Sopenharmony_ci 438c2ecf20Sopenharmony_ci&u2phy0_host { 448c2ecf20Sopenharmony_ci phy-supply = <&vcc5v0_usb1>; 458c2ecf20Sopenharmony_ci}; 468c2ecf20Sopenharmony_ci 478c2ecf20Sopenharmony_ci&vbus_typec { 488c2ecf20Sopenharmony_ci regulator-always-on; 498c2ecf20Sopenharmony_ci vin-supply = <&vdd_5v>; 508c2ecf20Sopenharmony_ci}; 51