18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * FriendlyElec NanoPi M4 board device tree source 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci * Copyright (c) 2018 FriendlyElec Computer Tech. Co., Ltd. 68c2ecf20Sopenharmony_ci * (http://www.friendlyarm.com) 78c2ecf20Sopenharmony_ci * 88c2ecf20Sopenharmony_ci * Copyright (c) 2018 Collabora Ltd. 98c2ecf20Sopenharmony_ci * Copyright (c) 2019 Arm Ltd. 108c2ecf20Sopenharmony_ci */ 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci/dts-v1/; 138c2ecf20Sopenharmony_ci#include "rk3399-nanopi4.dtsi" 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ci/ { 168c2ecf20Sopenharmony_ci model = "FriendlyElec NanoPi M4"; 178c2ecf20Sopenharmony_ci compatible = "friendlyarm,nanopi-m4", "rockchip,rk3399"; 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ci vdd_5v: vdd-5v { 208c2ecf20Sopenharmony_ci compatible = "regulator-fixed"; 218c2ecf20Sopenharmony_ci regulator-name = "vdd_5v"; 228c2ecf20Sopenharmony_ci regulator-always-on; 238c2ecf20Sopenharmony_ci regulator-boot-on; 248c2ecf20Sopenharmony_ci }; 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ci vcc5v0_core: vcc5v0-core { 278c2ecf20Sopenharmony_ci compatible = "regulator-fixed"; 288c2ecf20Sopenharmony_ci regulator-name = "vcc5v0_core"; 298c2ecf20Sopenharmony_ci regulator-always-on; 308c2ecf20Sopenharmony_ci regulator-boot-on; 318c2ecf20Sopenharmony_ci vin-supply = <&vdd_5v>; 328c2ecf20Sopenharmony_ci }; 338c2ecf20Sopenharmony_ci 348c2ecf20Sopenharmony_ci vcc5v0_usb1: vcc5v0-usb1 { 358c2ecf20Sopenharmony_ci compatible = "regulator-fixed"; 368c2ecf20Sopenharmony_ci regulator-name = "vcc5v0_usb1"; 378c2ecf20Sopenharmony_ci regulator-always-on; 388c2ecf20Sopenharmony_ci regulator-boot-on; 398c2ecf20Sopenharmony_ci vin-supply = <&vcc5v0_sys>; 408c2ecf20Sopenharmony_ci }; 418c2ecf20Sopenharmony_ci 428c2ecf20Sopenharmony_ci vcc5v0_usb2: vcc5v0-usb2 { 438c2ecf20Sopenharmony_ci compatible = "regulator-fixed"; 448c2ecf20Sopenharmony_ci regulator-name = "vcc5v0_usb2"; 458c2ecf20Sopenharmony_ci regulator-always-on; 468c2ecf20Sopenharmony_ci regulator-boot-on; 478c2ecf20Sopenharmony_ci vin-supply = <&vcc5v0_sys>; 488c2ecf20Sopenharmony_ci }; 498c2ecf20Sopenharmony_ci}; 508c2ecf20Sopenharmony_ci 518c2ecf20Sopenharmony_ci&vcc3v3_sys { 528c2ecf20Sopenharmony_ci vin-supply = <&vcc5v0_core>; 538c2ecf20Sopenharmony_ci}; 548c2ecf20Sopenharmony_ci 558c2ecf20Sopenharmony_ci&u2phy0_host { 568c2ecf20Sopenharmony_ci phy-supply = <&vcc5v0_usb1>; 578c2ecf20Sopenharmony_ci}; 588c2ecf20Sopenharmony_ci 598c2ecf20Sopenharmony_ci&u2phy1_host { 608c2ecf20Sopenharmony_ci phy-supply = <&vcc5v0_usb2>; 618c2ecf20Sopenharmony_ci}; 628c2ecf20Sopenharmony_ci 638c2ecf20Sopenharmony_ci&vbus_typec { 648c2ecf20Sopenharmony_ci regulator-always-on; 658c2ecf20Sopenharmony_ci vin-supply = <&vdd_5v>; 668c2ecf20Sopenharmony_ci}; 67