sun8i-r40-feta40i.dtsi (2254B)
1// SPDX-License-Identifier: GPL-2.0+ OR MIT 2// Copyright (C) 2021 Ivan Uvarov <i.uvarov@cognitivepilot.com> 3// Based on the sun8i-r40-bananapi-m2-ultra.dts, which is: 4// Copyright (C) 2017 Chen-Yu Tsai <wens@csie.org> 5// Copyright (C) 2017 Icenowy Zheng <icenowy@aosc.io> 6 7#include "sun8i-r40.dtsi" 8 9&i2c0 { 10 status = "okay"; 11 12 axp22x: pmic@34 { 13 compatible = "x-powers,axp221"; 14 reg = <0x34>; 15 interrupt-parent = <&nmi_intc>; 16 interrupts = <0 IRQ_TYPE_LEVEL_LOW>; 17 }; 18}; 19 20#include "axp22x.dtsi" 21 22&mmc2 { 23 vmmc-supply = <®_dcdc1>; 24 vqmmc-supply = <®_aldo2>; 25 bus-width = <8>; 26 non-removable; 27 status = "okay"; 28}; 29 30&pio { 31 pinctrl-names = "default"; 32 pinctrl-0 = <&clk_out_a_pin>; 33 vcc-pa-supply = <®_dcdc1>; 34 vcc-pc-supply = <®_aldo2>; 35 vcc-pd-supply = <®_dcdc1>; 36 vcc-pf-supply = <®_dldo4>; 37 vcc-pg-supply = <®_dldo1>; 38}; 39 40®_aldo2 { 41 regulator-always-on; 42 regulator-min-microvolt = <1800000>; 43 regulator-max-microvolt = <1800000>; 44 regulator-name = "vcc-pa"; 45}; 46 47®_aldo3 { 48 regulator-always-on; 49 regulator-min-microvolt = <3000000>; 50 regulator-max-microvolt = <3000000>; 51 regulator-name = "avcc"; 52}; 53 54®_dcdc1 { 55 regulator-always-on; 56 regulator-min-microvolt = <3300000>; 57 regulator-max-microvolt = <3300000>; 58 regulator-name = "vcc-3v3"; 59}; 60 61®_dcdc2 { 62 regulator-always-on; 63 regulator-min-microvolt = <1100000>; 64 regulator-max-microvolt = <1100000>; 65 regulator-name = "vdd-cpu"; 66}; 67 68®_dcdc3 { 69 regulator-always-on; 70 regulator-min-microvolt = <1100000>; 71 regulator-max-microvolt = <1100000>; 72 regulator-name = "vdd-sys"; 73}; 74 75®_dcdc5 { 76 regulator-always-on; 77 regulator-min-microvolt = <1500000>; 78 regulator-max-microvolt = <1500000>; 79 regulator-name = "vcc-dram"; 80}; 81 82®_dldo1 { 83 regulator-always-on; 84 regulator-min-microvolt = <3300000>; 85 regulator-max-microvolt = <3300000>; 86 regulator-name = "vcc-wifi-io"; 87}; 88 89®_dldo4 { 90 regulator-always-on; 91 regulator-min-microvolt = <2500000>; 92 regulator-max-microvolt = <2500000>; 93 regulator-name = "vdd2v5-sata"; 94}; 95 96®_eldo2 { 97 regulator-min-microvolt = <1200000>; 98 regulator-max-microvolt = <1200000>; 99 regulator-name = "vdd1v2-sata"; 100}; 101 102®_eldo3 { 103 regulator-min-microvolt = <2800000>; 104 regulator-max-microvolt = <2800000>; 105 regulator-name = "vcc-pe"; 106};