| 1 |
// SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| 2 |
/* |
| 3 |
* Copyright (C) 2024 Icenowy Zheng <[email protected]> |
| 4 |
*/ |
| 5 |
|
| 6 |
#include "sun8i-a33.dtsi" |
| 7 |
|
| 8 |
&mmc2 { |
| 9 |
pinctrl-names = "default"; |
| 10 |
pinctrl-0 = <&mmc2_8bit_pins>; |
| 11 |
vmmc-supply = <®_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 = <®_dcdc1>; |
| 32 |
x-powers,drive-vbus-en; |
| 33 |
}; |
| 34 |
}; |
| 35 |
|
| 36 |
#include "axp223.dtsi" |
| 37 |
|
| 38 |
®_aldo1 { |
| 39 |
regulator-always-on; |
| 40 |
regulator-min-microvolt = <3300000>; |
| 41 |
regulator-max-microvolt = <3300000>; |
| 42 |
regulator-name = "vcc-io"; |
| 43 |
}; |
| 44 |
|
| 45 |
®_aldo2 { |
| 46 |
regulator-always-on; |
| 47 |
regulator-min-microvolt = <2350000>; |
| 48 |
regulator-max-microvolt = <2650000>; |
| 49 |
regulator-name = "vdd-dll"; |
| 50 |
}; |
| 51 |
|
| 52 |
®_aldo3 { |
| 53 |
regulator-always-on; |
| 54 |
regulator-min-microvolt = <3300000>; |
| 55 |
regulator-max-microvolt = <3300000>; |
| 56 |
regulator-name = "vcc-avcc"; |
| 57 |
}; |
| 58 |
|
| 59 |
®_dc5ldo { |
| 60 |
regulator-always-on; |
| 61 |
regulator-min-microvolt = <900000>; |
| 62 |
regulator-max-microvolt = <1400000>; |
| 63 |
regulator-name = "vdd-cpus"; |
| 64 |
}; |
| 65 |
|
| 66 |
®_dcdc1 { |
| 67 |
regulator-always-on; |
| 68 |
regulator-min-microvolt = <3300000>; |
| 69 |
regulator-max-microvolt = <3300000>; |
| 70 |
regulator-name = "vcc-3v3"; |
| 71 |
}; |
| 72 |
|
| 73 |
®_dcdc2 { |
| 74 |
regulator-always-on; |
| 75 |
regulator-min-microvolt = <900000>; |
| 76 |
regulator-max-microvolt = <1400000>; |
| 77 |
regulator-name = "vdd-sys"; |
| 78 |
}; |
| 79 |
|
| 80 |
®_dcdc3 { |
| 81 |
regulator-always-on; |
| 82 |
regulator-min-microvolt = <900000>; |
| 83 |
regulator-max-microvolt = <1400000>; |
| 84 |
regulator-name = "vdd-cpu"; |
| 85 |
}; |
| 86 |
|
| 87 |
®_dcdc5 { |
| 88 |
regulator-always-on; |
| 89 |
regulator-min-microvolt = <1500000>; |
| 90 |
regulator-max-microvolt = <1500000>; |
| 91 |
regulator-name = "vcc-dram"; |
| 92 |
}; |
| 93 |
|
| 94 |
®_rtc_ldo { |
| 95 |
regulator-name = "vcc-rtc"; |
| 96 |
}; |