101950c46SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 201950c46SEmmanuel Vadot/* 301950c46SEmmanuel Vadot * Copyright (C) Jisheng Zhang <jszhang@kernel.org> 401950c46SEmmanuel Vadot */ 501950c46SEmmanuel Vadot 601950c46SEmmanuel Vadot#include "sun50i-h616.dtsi" 7*7d0873ebSEmmanuel Vadot#include "sun50i-h616-cpu-opp.dtsi" 8*7d0873ebSEmmanuel Vadot 9*7d0873ebSEmmanuel Vadot&cpu0 { 10*7d0873ebSEmmanuel Vadot cpu-supply = <®_dcdc2>; 11*7d0873ebSEmmanuel Vadot}; 1201950c46SEmmanuel Vadot 1301950c46SEmmanuel Vadot&mmc2 { 1401950c46SEmmanuel Vadot pinctrl-names = "default"; 1501950c46SEmmanuel Vadot pinctrl-0 = <&mmc2_pins>; 1601950c46SEmmanuel Vadot vmmc-supply = <®_dldo1>; 1701950c46SEmmanuel Vadot vqmmc-supply = <®_aldo1>; 1801950c46SEmmanuel Vadot bus-width = <8>; 1901950c46SEmmanuel Vadot non-removable; 2001950c46SEmmanuel Vadot cap-mmc-hw-reset; 2101950c46SEmmanuel Vadot mmc-ddr-1_8v; 2201950c46SEmmanuel Vadot mmc-hs200-1_8v; 2301950c46SEmmanuel Vadot status = "okay"; 2401950c46SEmmanuel Vadot}; 2501950c46SEmmanuel Vadot 2601950c46SEmmanuel Vadot&r_i2c { 2701950c46SEmmanuel Vadot status = "okay"; 2801950c46SEmmanuel Vadot 2901950c46SEmmanuel Vadot axp313: pmic@36 { 3001950c46SEmmanuel Vadot compatible = "x-powers,axp313a"; 3101950c46SEmmanuel Vadot reg = <0x36>; 3201950c46SEmmanuel Vadot #interrupt-cells = <1>; 3301950c46SEmmanuel Vadot interrupt-controller; 3401950c46SEmmanuel Vadot 3501950c46SEmmanuel Vadot regulators { 3601950c46SEmmanuel Vadot reg_aldo1: aldo1 { 3701950c46SEmmanuel Vadot regulator-always-on; 3801950c46SEmmanuel Vadot regulator-min-microvolt = <1800000>; 3901950c46SEmmanuel Vadot regulator-max-microvolt = <1800000>; 4001950c46SEmmanuel Vadot regulator-name = "vcc-1v8-pll"; 4101950c46SEmmanuel Vadot }; 4201950c46SEmmanuel Vadot 4301950c46SEmmanuel Vadot reg_dldo1: dldo1 { 4401950c46SEmmanuel Vadot regulator-always-on; 4501950c46SEmmanuel Vadot regulator-min-microvolt = <3300000>; 4601950c46SEmmanuel Vadot regulator-max-microvolt = <3300000>; 4701950c46SEmmanuel Vadot regulator-name = "vcc-3v3-io"; 4801950c46SEmmanuel Vadot }; 4901950c46SEmmanuel Vadot 5001950c46SEmmanuel Vadot reg_dcdc1: dcdc1 { 5101950c46SEmmanuel Vadot regulator-always-on; 5201950c46SEmmanuel Vadot regulator-min-microvolt = <810000>; 5301950c46SEmmanuel Vadot regulator-max-microvolt = <990000>; 5401950c46SEmmanuel Vadot regulator-name = "vdd-gpu-sys"; 5501950c46SEmmanuel Vadot }; 5601950c46SEmmanuel Vadot 5701950c46SEmmanuel Vadot reg_dcdc2: dcdc2 { 5801950c46SEmmanuel Vadot regulator-always-on; 5901950c46SEmmanuel Vadot regulator-min-microvolt = <810000>; 6001950c46SEmmanuel Vadot regulator-max-microvolt = <1100000>; 6101950c46SEmmanuel Vadot regulator-name = "vdd-cpu"; 6201950c46SEmmanuel Vadot }; 6301950c46SEmmanuel Vadot 6401950c46SEmmanuel Vadot reg_dcdc3: dcdc3 { 6501950c46SEmmanuel Vadot regulator-always-on; 6601950c46SEmmanuel Vadot regulator-min-microvolt = <1100000>; 6701950c46SEmmanuel Vadot regulator-max-microvolt = <1100000>; 6801950c46SEmmanuel Vadot regulator-name = "vdd-dram"; 6901950c46SEmmanuel Vadot }; 7001950c46SEmmanuel Vadot }; 7101950c46SEmmanuel Vadot }; 7201950c46SEmmanuel Vadot}; 7301950c46SEmmanuel Vadot 7401950c46SEmmanuel Vadot&pio { 7501950c46SEmmanuel Vadot vcc-pc-supply = <®_dldo1>; 7601950c46SEmmanuel Vadot vcc-pf-supply = <®_dldo1>; 7701950c46SEmmanuel Vadot vcc-pg-supply = <®_aldo1>; 7801950c46SEmmanuel Vadot vcc-ph-supply = <®_dldo1>; 7901950c46SEmmanuel Vadot vcc-pi-supply = <®_dldo1>; 8001950c46SEmmanuel Vadot}; 81