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