1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

96 lines
1.5 KiB

// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* Copyright (c) 2020 FriendlyElec Computer Tech. Co., Ltd.
* (http://www.friendlyarm.com)
*/
/dts-v1/;
#include "rk3399-nanopi4-common.dtsi"
/ {
model = "FriendlyElec NanoPi M4B";
compatible = "friendlyelec,nanopi-m4", "rockchip,rk3399";
vcc_otg_vbus: otg-vbus-regulator {
compatible = "regulator-fixed";
gpio = <&gpio4 26 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&otg_vbus_drv>;
regulator-name = "vcc_otg_vbus";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
enable-active-high;
};
};
&mach {
hwrev = <0x22>;
model = "NanoPi M4B";
};
&sdhci {
mmc-hs200-1_8v;
/delete-property/ mmc-hs400-1_8v;
/delete-property/ mmc-hs400-enhanced-strobe;
};
&i2s1 {
status = "okay";
rockchip,playback-channels = <2>;
rockchip,capture-channels = <2>;
#sound-dai-cells = <0>;
};
&pcie0 {
max-link-speed = <2>;
num-lanes = <2>;
};
&rt5651_card {
/delete-property/ pinctrl-0;
/delete-property/ simple-audio-card,hp-det-gpio;
simple-audio-card,cpu {
sound-dai = <&i2s1>;
};
};
&rk_wlan {
status = "okay";
wifi_chip_type = "ap6256";
};
&fusb0 {
status = "disabled";
};
&cdn_dp {
/delete-property/ extcon;
status = "disabled";
};
&tcphy0 {
/delete-property/ extcon;
};
&u2phy0_otg {
vbus-supply = <&vcc_otg_vbus>;
};
&u2phy0 {
/delete-property/ extcon;
};
&usbdrd_dwc3_0 {
/delete-property/ extcon;
extcon = <&u2phy0>;
};
&pinctrl {
usb {
otg_vbus_drv: otg-vbus-drv {
rockchip,pins = <4 26 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
};