2023-10-19 14:51:39 +00:00
|
|
|
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
2021-01-11 20:11:53 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2020 Arm Ltd.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
|
2023-10-19 14:51:39 +00:00
|
|
|
#include "sun50i-h616-orangepi-zero.dtsi"
|
2021-01-11 20:11:53 +00:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "OrangePi Zero2";
|
|
|
|
compatible = "xunlong,orangepi-zero2", "allwinner,sun50i-h616";
|
|
|
|
};
|
|
|
|
|
|
|
|
&emac0 {
|
|
|
|
phy-supply = <®_dcdce>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&mmc0 {
|
|
|
|
vmmc-supply = <®_dcdce>;
|
2023-01-12 11:22:20 +00:00
|
|
|
};
|
|
|
|
|
2021-01-11 20:11:53 +00:00
|
|
|
&r_rsb {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
axp305: pmic@745 {
|
|
|
|
compatible = "x-powers,axp305", "x-powers,axp805",
|
|
|
|
"x-powers,axp806";
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <1>;
|
|
|
|
reg = <0x745>;
|
|
|
|
|
|
|
|
x-powers,self-working-mode;
|
|
|
|
vina-supply = <®_vcc5v>;
|
|
|
|
vinb-supply = <®_vcc5v>;
|
|
|
|
vinc-supply = <®_vcc5v>;
|
|
|
|
vind-supply = <®_vcc5v>;
|
|
|
|
vine-supply = <®_vcc5v>;
|
|
|
|
aldoin-supply = <®_vcc5v>;
|
|
|
|
bldoin-supply = <®_vcc5v>;
|
|
|
|
cldoin-supply = <®_vcc5v>;
|
|
|
|
|
|
|
|
regulators {
|
|
|
|
reg_aldo1: aldo1 {
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
regulator-name = "vcc-sys";
|
|
|
|
};
|
|
|
|
|
|
|
|
reg_aldo2: aldo2 { /* 3.3V on headers */
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
regulator-name = "vcc3v3-ext";
|
|
|
|
};
|
|
|
|
|
|
|
|
reg_aldo3: aldo3 { /* 3.3V on headers */
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
regulator-name = "vcc3v3-ext2";
|
|
|
|
};
|
|
|
|
|
|
|
|
reg_bldo1: bldo1 {
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
regulator-name = "vcc1v8";
|
|
|
|
};
|
|
|
|
|
|
|
|
bldo2 {
|
|
|
|
/* unused */
|
|
|
|
};
|
|
|
|
|
|
|
|
bldo3 {
|
|
|
|
/* unused */
|
|
|
|
};
|
|
|
|
|
|
|
|
bldo4 {
|
|
|
|
/* unused */
|
|
|
|
};
|
|
|
|
|
|
|
|
cldo1 {
|
|
|
|
/* reserved */
|
|
|
|
};
|
|
|
|
|
|
|
|
cldo2 {
|
|
|
|
/* unused */
|
|
|
|
};
|
|
|
|
|
|
|
|
cldo3 {
|
|
|
|
/* unused */
|
|
|
|
};
|
|
|
|
|
|
|
|
reg_dcdca: dcdca {
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-min-microvolt = <810000>;
|
2022-09-10 23:04:41 +00:00
|
|
|
regulator-max-microvolt = <1100000>;
|
2021-01-11 20:11:53 +00:00
|
|
|
regulator-name = "vdd-cpu";
|
|
|
|
};
|
|
|
|
|
|
|
|
reg_dcdcc: dcdcc {
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-min-microvolt = <810000>;
|
2022-09-10 23:04:41 +00:00
|
|
|
regulator-max-microvolt = <990000>;
|
2021-01-11 20:11:53 +00:00
|
|
|
regulator-name = "vdd-gpu-sys";
|
|
|
|
};
|
|
|
|
|
|
|
|
reg_dcdcd: dcdcd {
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-min-microvolt = <1500000>;
|
|
|
|
regulator-max-microvolt = <1500000>;
|
|
|
|
regulator-name = "vdd-dram";
|
|
|
|
};
|
|
|
|
|
|
|
|
reg_dcdce: dcdce {
|
2022-09-10 23:04:41 +00:00
|
|
|
regulator-always-on;
|
2021-01-11 20:11:53 +00:00
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
regulator-name = "vcc-eth-mmc";
|
|
|
|
};
|
|
|
|
|
|
|
|
sw {
|
|
|
|
/* unused */
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2022-09-10 23:04:41 +00:00
|
|
|
&pio {
|
|
|
|
vcc-pc-supply = <®_aldo1>;
|
|
|
|
vcc-pf-supply = <®_aldo1>;
|
|
|
|
vcc-pg-supply = <®_bldo1>;
|
|
|
|
vcc-ph-supply = <®_aldo1>;
|
|
|
|
vcc-pi-supply = <®_aldo1>;
|
|
|
|
};
|