mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-06 21:24:29 +00:00
b2f5da9dd0
Add initial support for Nanopi M4 board. Specification - Rockchip RK3399 - Dual-Channel 4GB LPDDR3-1866 - SD card slot - eMMC socket - RTL8211E 1Gbps - AP6356S WiFI/BT - HDMI In/Out, DP, MIPI DSI/CSI - USB 3.0 x4 - USB Type C power and data - GPIO1, GPIO2 expansion ports - DC5V/3A Commit details of rk3399-nanopi-m4.dts sync from Linux 5.1-rc2: "arm64: dts: rockchip: Refine nanopi4 differences" (sha1: c62ffaf5026d0b7633e62b2cea8450b5543c349a) Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
66 lines
1.2 KiB
Text
66 lines
1.2 KiB
Text
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
/*
|
|
* FriendlyElec NanoPi M4 board device tree source
|
|
*
|
|
* Copyright (c) 2018 FriendlyElec Computer Tech. Co., Ltd.
|
|
* (http://www.friendlyarm.com)
|
|
*
|
|
* Copyright (c) 2018 Collabora Ltd.
|
|
* Copyright (c) 2019 Arm Ltd.
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include "rk3399-nanopi4.dtsi"
|
|
|
|
/ {
|
|
model = "FriendlyElec NanoPi M4";
|
|
compatible = "friendlyarm,nanopi-m4", "rockchip,rk3399";
|
|
|
|
vdd_5v: vdd-5v {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "vdd_5v";
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
|
|
vcc5v0_core: vcc5v0-core {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "vcc5v0_core";
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
vin-supply = <&vdd_5v>;
|
|
};
|
|
|
|
vcc5v0_usb1: vcc5v0-usb1 {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "vcc5v0_usb1";
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
vin-supply = <&vcc5v0_sys>;
|
|
};
|
|
|
|
vcc5v0_usb2: vcc5v0-usb2 {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "vcc5v0_usb2";
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
vin-supply = <&vcc5v0_sys>;
|
|
};
|
|
};
|
|
|
|
&vcc3v3_sys {
|
|
vin-supply = <&vcc5v0_core>;
|
|
};
|
|
|
|
&u2phy0_host {
|
|
phy-supply = <&vcc5v0_usb1>;
|
|
};
|
|
|
|
&u2phy1_host {
|
|
phy-supply = <&vcc5v0_usb2>;
|
|
};
|
|
|
|
&vbus_typec {
|
|
regulator-always-on;
|
|
vin-supply = <&vdd_5v>;
|
|
};
|