xref: /linux/scripts/dtc/include-prefixes/arm/allwinner/sun8i-a33-vstar-core1.dtsi (revision 3888715c76956c6ea13577965586d5b891a1f3ff)
1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (C) 2024 Icenowy Zheng <uwu@icenowy.me>
4 */
5
6#include "sun8i-a33.dtsi"
7
8&mmc2 {
9	pinctrl-names = "default";
10	pinctrl-0 = <&mmc2_8bit_pins>;
11	vmmc-supply = <&reg_dcdc1>;
12	bus-width = <8>;
13	non-removable;
14	cap-mmc-hw-reset;
15	status = "okay";
16};
17
18&mmc2_8bit_pins {
19	/* Increase drive strength for DDR modes */
20	drive-strength = <40>;
21};
22
23&r_rsb {
24	status = "okay";
25
26	axp22x: pmic@3a3 {
27		compatible = "x-powers,axp223";
28		reg = <0x3a3>;
29		interrupt-parent = <&r_intc>;
30		interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_LOW>;
31		eldoin-supply = <&reg_dcdc1>;
32		x-powers,drive-vbus-en;
33	};
34};
35
36#include "axp223.dtsi"
37
38&reg_aldo1 {
39	regulator-always-on;
40	regulator-min-microvolt = <3300000>;
41	regulator-max-microvolt = <3300000>;
42	regulator-name = "vcc-io";
43};
44
45&reg_aldo2 {
46	regulator-always-on;
47	regulator-min-microvolt = <2350000>;
48	regulator-max-microvolt = <2650000>;
49	regulator-name = "vdd-dll";
50};
51
52&reg_aldo3 {
53	regulator-always-on;
54	regulator-min-microvolt = <3300000>;
55	regulator-max-microvolt = <3300000>;
56	regulator-name = "vcc-avcc";
57};
58
59&reg_dc5ldo {
60	regulator-always-on;
61	regulator-min-microvolt = <900000>;
62	regulator-max-microvolt = <1400000>;
63	regulator-name = "vdd-cpus";
64};
65
66&reg_dcdc1 {
67	regulator-always-on;
68	regulator-min-microvolt = <3300000>;
69	regulator-max-microvolt = <3300000>;
70	regulator-name = "vcc-3v3";
71};
72
73&reg_dcdc2 {
74	regulator-always-on;
75	regulator-min-microvolt = <900000>;
76	regulator-max-microvolt = <1400000>;
77	regulator-name = "vdd-sys";
78};
79
80&reg_dcdc3 {
81	regulator-always-on;
82	regulator-min-microvolt = <900000>;
83	regulator-max-microvolt = <1400000>;
84	regulator-name = "vdd-cpu";
85};
86
87&reg_dcdc5 {
88	regulator-always-on;
89	regulator-min-microvolt = <1500000>;
90	regulator-max-microvolt = <1500000>;
91	regulator-name = "vcc-dram";
92};
93
94&reg_rtc_ldo {
95	regulator-name = "vcc-rtc";
96};
97