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