blob: fa3fbe6c810f9ed399a3cc01617540f111d6d218 [file] [log] [blame]
Chris Morgan8bff9a62024-09-19 09:00:19 -05001// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2
3#include "rk356x-u-boot.dtsi"
4
5/ {
6 chosen {
7 u-boot,spl-boot-order = &sdmmc0, &sdhci;
8 };
9
10 /*
11 * Adding fixed regulator to work around driver regulator
12 * requirements. Note that the correct regulator is on by
13 * default at boot and that saradc regulator gets corrected
14 * when proper device-tree is loaded.
15 */
16 vcc_1v8_dummy: vcc-1v8-dummy {
17 bootph-pre-ram;
18 bootph-some-ram;
19 compatible = "regulator-fixed";
20 regulator-always-on;
21 regulator-boot-on;
22 regulator-min-microvolt = <1800000>;
23 regulator-max-microvolt = <1800000>;
24 regulator-name = "vcc_1v8_dummy";
25 status = "okay";
26 };
27};
28
29&saradc {
30 bootph-pre-ram;
31 bootph-some-ram;
32 vref-supply = <&vcc_1v8_dummy>;
33 status = "okay";
34};