| 1 |
// SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| 2 |
/* |
| 3 |
* Copyright (c) 2021 Rockchip Electronics Co., Ltd. |
| 4 |
* Copyright (c) 2023 Thomas McKahan |
| 5 |
* Copyright (c) 2024 Linaro Ltd. |
| 6 |
* |
| 7 |
*/ |
| 8 |
|
| 9 |
/dts-v1/; |
| 10 |
|
| 11 |
#include "rk3588-nanopc-t6.dtsi" |
| 12 |
|
| 13 |
/ { |
| 14 |
model = "FriendlyElec NanoPC-T6"; |
| 15 |
compatible = "friendlyarm,nanopc-t6", "rockchip,rk3588"; |
| 16 |
|
| 17 |
vdd_4g_3v3: regulator-vdd-4g-3v3 { |
| 18 |
compatible = "regulator-fixed"; |
| 19 |
enable-active-high; |
| 20 |
gpio = <&gpio4 RK_PC6 GPIO_ACTIVE_HIGH>; |
| 21 |
pinctrl-names = "default"; |
| 22 |
pinctrl-0 = <&pin_4g_lte_pwren>; |
| 23 |
regulator-name = "vdd_4g_3v3"; |
| 24 |
regulator-min-microvolt = <3300000>; |
| 25 |
regulator-max-microvolt = <3300000>; |
| 26 |
vin-supply = <&vcc5v0_sys>; |
| 27 |
}; |
| 28 |
}; |
| 29 |
|
| 30 |
&pinctrl { |
| 31 |
usb { |
| 32 |
pin_4g_lte_pwren: 4g-lte-pwren { |
| 33 |
rockchip,pins = <4 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>; |
| 34 |
}; |
| 35 |
}; |
| 36 |
}; |
| 37 |
|
| 38 |
&u2phy2_host { |
| 39 |
phy-supply = <&vdd_4g_3v3>; |
| 40 |
}; |