]> git.ipfire.org Git - thirdparty/u-boot.git/blob - arch/arm/dts/rk3399-roc-pc-u-boot.dtsi
Prepare v2024.07-rc3
[thirdparty/u-boot.git] / arch / arm / dts / rk3399-roc-pc-u-boot.dtsi
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3 * Copyright (C) 2019 Levin Du <djw@t-chip.com.cn>
4 */
5
6 #include "rk3399-u-boot.dtsi"
7 #include "rk3399-sdram-lpddr4-100.dtsi"
8
9 / {
10 vcc_hub_en: vcc_hub_en-regulator {
11 compatible = "regulator-fixed";
12 enable-active-high;
13 gpio = <&gpio2 RK_PA4 GPIO_ACTIVE_HIGH>;
14 pinctrl-names = "default";
15 pinctrl-0 = <&hub_rst>;
16 regulator-name = "vcc_hub_en";
17 regulator-always-on;
18 };
19 };
20
21 /*
22 * should be placed inside mp8859, but not until mp8859 has
23 * its own dt-binding.
24 */
25 &dc_12v {
26 compatible = "regulator-fixed";
27 regulator-name = "dc_12v";
28 regulator-always-on;
29 regulator-boot-on;
30 regulator-min-microvolt = <12000000>;
31 regulator-max-microvolt = <12000000>;
32 vin-supply = <&vcc_vbus_typec0>;
33 };
34
35 &gpio4 {
36 bootph-pre-ram;
37 };
38
39 &spi1 {
40 flash@0 {
41 bootph-pre-ram;
42 bootph-some-ram;
43 };
44 };
45
46 &vcc3v0_sd {
47 bootph-pre-ram;
48 };
49
50 &vcc3v0_sd_en {
51 bootph-pre-ram;
52 };
53
54 &vcc5v0_host {
55 regulator-always-on;
56 };
57
58 &vcc_sdio {
59 regulator-always-on;
60 };
61
62 &vcc_sys {
63 regulator-always-on;
64 };
65
66 &vdd_log {
67 regulator-min-microvolt = <430000>;
68 regulator-init-microvolt = <950000>;
69 };