1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright (C) 2019 Jagan Teki <jagan@amarulasolutions.com>
4 */
5
6#include "rk3399-u-boot.dtsi"
7#include "rk3399-sdram-lpddr3-2GB-1600.dtsi"
8
9/ {
10	chosen {
11		u-boot,spl-boot-order = "same-as-spl", &sdhci, &sdmmc;
12	};
13
14	vdd_log: vdd-log {
15		compatible = "pwm-regulator";
16		pwms = <&pwm2 0 25000 1>;
17		regulator-name = "vdd_log";
18		regulator-always-on;
19		regulator-boot-on;
20		regulator-min-microvolt = <800000>;
21		regulator-max-microvolt = <1400000>;
22		regulator-init-microvolt = <950000>;
23		vin-supply = <&vcc5v0_sys>;
24	};
25
26};
27