xref: /freebsd/sys/contrib/device-tree/src/arm64/allwinner/sun50i-h618-longan-module-3h.dtsi (revision 01950c46b8155250f64374fb72fc11faa44bf099)
1*01950c46SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2*01950c46SEmmanuel Vadot/*
3*01950c46SEmmanuel Vadot * Copyright (C) Jisheng Zhang <jszhang@kernel.org>
4*01950c46SEmmanuel Vadot */
5*01950c46SEmmanuel Vadot
6*01950c46SEmmanuel Vadot#include "sun50i-h616.dtsi"
7*01950c46SEmmanuel Vadot
8*01950c46SEmmanuel Vadot&mmc2 {
9*01950c46SEmmanuel Vadot	pinctrl-names = "default";
10*01950c46SEmmanuel Vadot	pinctrl-0 = <&mmc2_pins>;
11*01950c46SEmmanuel Vadot	vmmc-supply = <&reg_dldo1>;
12*01950c46SEmmanuel Vadot	vqmmc-supply = <&reg_aldo1>;
13*01950c46SEmmanuel Vadot	bus-width = <8>;
14*01950c46SEmmanuel Vadot	non-removable;
15*01950c46SEmmanuel Vadot	cap-mmc-hw-reset;
16*01950c46SEmmanuel Vadot	mmc-ddr-1_8v;
17*01950c46SEmmanuel Vadot	mmc-hs200-1_8v;
18*01950c46SEmmanuel Vadot	status = "okay";
19*01950c46SEmmanuel Vadot};
20*01950c46SEmmanuel Vadot
21*01950c46SEmmanuel Vadot&r_i2c {
22*01950c46SEmmanuel Vadot	status = "okay";
23*01950c46SEmmanuel Vadot
24*01950c46SEmmanuel Vadot	axp313: pmic@36 {
25*01950c46SEmmanuel Vadot		compatible = "x-powers,axp313a";
26*01950c46SEmmanuel Vadot		reg = <0x36>;
27*01950c46SEmmanuel Vadot		#interrupt-cells = <1>;
28*01950c46SEmmanuel Vadot		interrupt-controller;
29*01950c46SEmmanuel Vadot
30*01950c46SEmmanuel Vadot		regulators {
31*01950c46SEmmanuel Vadot			reg_aldo1: aldo1 {
32*01950c46SEmmanuel Vadot				regulator-always-on;
33*01950c46SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
34*01950c46SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
35*01950c46SEmmanuel Vadot				regulator-name = "vcc-1v8-pll";
36*01950c46SEmmanuel Vadot			};
37*01950c46SEmmanuel Vadot
38*01950c46SEmmanuel Vadot			reg_dldo1: dldo1 {
39*01950c46SEmmanuel Vadot				regulator-always-on;
40*01950c46SEmmanuel Vadot				regulator-min-microvolt = <3300000>;
41*01950c46SEmmanuel Vadot				regulator-max-microvolt = <3300000>;
42*01950c46SEmmanuel Vadot				regulator-name = "vcc-3v3-io";
43*01950c46SEmmanuel Vadot			};
44*01950c46SEmmanuel Vadot
45*01950c46SEmmanuel Vadot			reg_dcdc1: dcdc1 {
46*01950c46SEmmanuel Vadot				regulator-always-on;
47*01950c46SEmmanuel Vadot				regulator-min-microvolt = <810000>;
48*01950c46SEmmanuel Vadot				regulator-max-microvolt = <990000>;
49*01950c46SEmmanuel Vadot				regulator-name = "vdd-gpu-sys";
50*01950c46SEmmanuel Vadot			};
51*01950c46SEmmanuel Vadot
52*01950c46SEmmanuel Vadot			reg_dcdc2: dcdc2 {
53*01950c46SEmmanuel Vadot				regulator-always-on;
54*01950c46SEmmanuel Vadot				regulator-min-microvolt = <810000>;
55*01950c46SEmmanuel Vadot				regulator-max-microvolt = <1100000>;
56*01950c46SEmmanuel Vadot				regulator-name = "vdd-cpu";
57*01950c46SEmmanuel Vadot			};
58*01950c46SEmmanuel Vadot
59*01950c46SEmmanuel Vadot			reg_dcdc3: dcdc3 {
60*01950c46SEmmanuel Vadot				regulator-always-on;
61*01950c46SEmmanuel Vadot				regulator-min-microvolt = <1100000>;
62*01950c46SEmmanuel Vadot				regulator-max-microvolt = <1100000>;
63*01950c46SEmmanuel Vadot				regulator-name = "vdd-dram";
64*01950c46SEmmanuel Vadot			};
65*01950c46SEmmanuel Vadot		};
66*01950c46SEmmanuel Vadot	};
67*01950c46SEmmanuel Vadot};
68*01950c46SEmmanuel Vadot
69*01950c46SEmmanuel Vadot&pio {
70*01950c46SEmmanuel Vadot	vcc-pc-supply = <&reg_dldo1>;
71*01950c46SEmmanuel Vadot	vcc-pf-supply = <&reg_dldo1>;
72*01950c46SEmmanuel Vadot	vcc-pg-supply = <&reg_aldo1>;
73*01950c46SEmmanuel Vadot	vcc-ph-supply = <&reg_dldo1>;
74*01950c46SEmmanuel Vadot	vcc-pi-supply = <&reg_dldo1>;
75*01950c46SEmmanuel Vadot};
76