mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 02:38:56 +00:00
a99d70c180
Add initial support for NanoPi M4B, a minor revision of the original NanoPi M4. Commit details of rk3399-nanopi-m4b.dts sync from Linux 5.12-rc4: "arm64: dts: rockchip: Add NanoPi M4B board" (sha1: c7b03115003f7f337ab165542cee37148cf30a8a) Signed-off-by: Alexandre Vicenzi <alexandre.vicenzi@suse.com> Reviewed-by: Kever Yang <kever.yang@rock-cihps.com>
52 lines
908 B
Text
52 lines
908 B
Text
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
/*
|
|
* FriendlyElec NanoPi M4B board device tree source
|
|
*
|
|
* Copyright (c) 2020 Chen-Yu Tsai <wens@csie.org>
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include "rk3399-nanopi-m4.dts"
|
|
|
|
/ {
|
|
model = "FriendlyElec NanoPi M4B";
|
|
compatible = "friendlyarm,nanopi-m4b", "rockchip,rk3399";
|
|
|
|
adc-keys {
|
|
compatible = "adc-keys";
|
|
io-channels = <&saradc 1>;
|
|
io-channel-names = "buttons";
|
|
keyup-threshold-microvolt = <1500000>;
|
|
poll-interval = <100>;
|
|
|
|
recovery {
|
|
label = "Recovery";
|
|
linux,code = <KEY_VENDOR>;
|
|
press-threshold-microvolt = <18000>;
|
|
};
|
|
};
|
|
};
|
|
|
|
/* No USB type-C PD power manager */
|
|
/delete-node/ &fusb0;
|
|
|
|
&i2c4 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&u2phy0_host {
|
|
phy-supply = <&vcc5v0_usb2>;
|
|
};
|
|
|
|
&u2phy0_otg {
|
|
phy-supply = <&vbus_typec>;
|
|
};
|
|
|
|
&u2phy1_otg {
|
|
phy-supply = <&vcc5v0_usb1>;
|
|
};
|
|
|
|
&vbus_typec {
|
|
enable-active-high;
|
|
gpios = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH>;
|
|
};
|