xref: /freebsd/sys/contrib/device-tree/src/riscv/allwinner/sun20i-common-regulators.dtsi (revision 84943d6f38e936ac3b7a3947ca26eeb27a39f938)
1*84943d6fSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2cb7aa33aSEmmanuel Vadot// Copyright (C) 2021-2022 Samuel Holland <samuel@sholland.org>
3cb7aa33aSEmmanuel Vadot
4cb7aa33aSEmmanuel Vadot/ {
5cb7aa33aSEmmanuel Vadot	reg_vcc: vcc {
6cb7aa33aSEmmanuel Vadot		compatible = "regulator-fixed";
7cb7aa33aSEmmanuel Vadot		regulator-name = "vcc";
8cb7aa33aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
9cb7aa33aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
10cb7aa33aSEmmanuel Vadot	};
11cb7aa33aSEmmanuel Vadot
12cb7aa33aSEmmanuel Vadot	reg_vcc_3v3: vcc-3v3 {
13cb7aa33aSEmmanuel Vadot		compatible = "regulator-fixed";
14cb7aa33aSEmmanuel Vadot		regulator-name = "vcc-3v3";
15cb7aa33aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
16cb7aa33aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
17cb7aa33aSEmmanuel Vadot		vin-supply = <&reg_vcc>;
18cb7aa33aSEmmanuel Vadot	};
19cb7aa33aSEmmanuel Vadot};
20cb7aa33aSEmmanuel Vadot
21cb7aa33aSEmmanuel Vadot&pio {
22cb7aa33aSEmmanuel Vadot	vcc-pb-supply = <&reg_vcc_3v3>;
23cb7aa33aSEmmanuel Vadot	vcc-pc-supply = <&reg_vcc_3v3>;
24cb7aa33aSEmmanuel Vadot	vcc-pd-supply = <&reg_vcc_3v3>;
25cb7aa33aSEmmanuel Vadot	vcc-pe-supply = <&reg_vcc_3v3>;
26cb7aa33aSEmmanuel Vadot	vcc-pf-supply = <&reg_vcc_3v3>;
27cb7aa33aSEmmanuel Vadot	vcc-pg-supply = <&reg_vcc_3v3>;
28cb7aa33aSEmmanuel Vadot};
29