blob: aecf7dbe383c90fb40c1cf4bda2c3f0870c748d9 [file] [log] [blame]
Levin Duc62a9d82019-07-26 15:43:54 +08001// 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/ {
Suniel Mahesh154d7f92020-03-25 21:07:36 +053010 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 };
Levin Duc62a9d82019-07-26 15:43:54 +080019};
20
Jagan Teki5cc21182020-04-28 15:30:17 +053021/*
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
Jonas Karlman20e63412024-04-30 15:30:25 +000035&gpio4 {
36 bootph-pre-ram;
37};
38
Jagan Teki5d00e002020-06-04 20:21:40 +053039&spi1 {
Jonas Karlman6a6b4f52024-04-30 15:30:24 +000040 flash@0 {
41 bootph-pre-ram;
42 bootph-some-ram;
Jagan Teki5d00e002020-06-04 20:21:40 +053043 };
44};
45
Jonas Karlman20e63412024-04-30 15:30:25 +000046&vcc3v0_sd {
47 bootph-pre-ram;
48};
49
50&vcc3v0_sd_en {
51 bootph-pre-ram;
52};
53
Jonas Karlman47f7e5f2024-04-30 15:30:20 +000054&vcc5v0_host {
55 regulator-always-on;
Levin Duc62a9d82019-07-26 15:43:54 +080056};
Jagan Teki5cc21182020-04-28 15:30:17 +053057
Jonas Karlman47f7e5f2024-04-30 15:30:20 +000058&vcc_sdio {
Jagan Teki5cc21182020-04-28 15:30:17 +053059 regulator-always-on;
60};
61
62&vcc_sys {
63 regulator-always-on;
64};
65
Jonas Karlman47f7e5f2024-04-30 15:30:20 +000066&vdd_log {
67 regulator-min-microvolt = <430000>;
68 regulator-init-microvolt = <950000>;
Jagan Teki5cc21182020-04-28 15:30:17 +053069};