]> git.ipfire.org Git - thirdparty/u-boot.git/blob - src/riscv/allwinner/sun20i-common-regulators.dtsi
Squashed 'dts/upstream/' content from commit aaba2d45dc2a
[thirdparty/u-boot.git] / src / riscv / allwinner / sun20i-common-regulators.dtsi
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2 // Copyright (C) 2021-2022 Samuel Holland <samuel@sholland.org>
3
4 / {
5 reg_vcc: vcc {
6 compatible = "regulator-fixed";
7 regulator-name = "vcc";
8 regulator-min-microvolt = <5000000>;
9 regulator-max-microvolt = <5000000>;
10 };
11
12 reg_vcc_3v3: vcc-3v3 {
13 compatible = "regulator-fixed";
14 regulator-name = "vcc-3v3";
15 regulator-min-microvolt = <3300000>;
16 regulator-max-microvolt = <3300000>;
17 vin-supply = <&reg_vcc>;
18 };
19 };
20
21 &pio {
22 vcc-pb-supply = <&reg_vcc_3v3>;
23 vcc-pc-supply = <&reg_vcc_3v3>;
24 vcc-pd-supply = <&reg_vcc_3v3>;
25 vcc-pe-supply = <&reg_vcc_3v3>;
26 vcc-pf-supply = <&reg_vcc_3v3>;
27 vcc-pg-supply = <&reg_vcc_3v3>;
28 };