arm64: dts: rockchip: rk3568 add io-domain for evb

The io-domain node should be matched to hardware power tree, lookup to
IO Power Domain Map on EVB Schematics For RK3568 file.

Change-Id: I03a0a66b3b21de055912624b893322fa4880a262
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
This commit is contained in:
Jianqun Xu
2020-10-15 11:39:19 +08:00
committed by Tao Huang
parent 8b375d3429
commit 7517c89360
3 changed files with 121 additions and 1 deletions

View File

@@ -22,3 +22,19 @@
status = "okay";
};
};
&io_domains {
status = "okay";
vccio1-supply = <&vccio1>;
vccio3-supply = <&vccio3>;
vccio4-supply = <&vccio4>;
vccio5-supply = <&vccio5>;
vccio6-supply = <&vccio6>;
vccio7-supply = <&vccio7>;
};
&pmu_io_domains {
status = "okay";
pmuio1-supply = <&vccpmuio1>;
pmuio2-supply = <&vccpmuio2>;
};

View File

@@ -37,6 +37,94 @@
regulator-max-microvolt = <5000000>;
vin-supply = <&dc_12v>;
};
/*
* Configure for io-domain node according to Power Sequence/IO Domain Map
* For example, RK3568 EVB V10
* -vccpmuio1,vccpmuio2
* -vccio1,vccio2,vccio3,vccio4,vccio5,vccio6,vccio7
*/
vccpmuio1: vcc-pmuio1 {
compatible = "regulator-fixed";
regulator-name = "vccpmuio1";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
vin-supply = <&vcc3v3_pmu>;
};
vccpmuio2: vcc-pmuio2 {
compatible = "regulator-fixed";
regulator-name = "vccpmuio2";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
vin-supply = <&vcc3v3_pmu>;
};
vccio1: vccio1 {
compatible = "regulator-fixed";
regulator-name = "vccio1";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
vin-supply = <&vccio_acodec>;
};
/* vccio2 reserved, selected by pin "FLASH_VOL_SEL" */
vccio3: vccio3 {
compatible = "regulator-fixed";
regulator-name = "vccio3";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
vin-supply = <&vccio_sd>;
};
vccio4: vccio4 {
compatible = "regulator-fixed";
regulator-name = "vccio4";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
vin-supply = <&vcc_1v8>;
};
vccio5: vccio5 {
compatible = "regulator-fixed";
regulator-name = "vccio5";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
vin-supply = <&vcc_3v3>;
};
vccio6: vccio6 {
compatible = "regulator-fixed";
regulator-name = "vccio6";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
vin-supply = <&vcc_1v8>;
};
vccio7: vccio7 {
compatible = "regulator-fixed";
regulator-name = "vccio7";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
vin-supply = <&vcc_3v3>;
};
};
&i2c0 {
@@ -212,7 +300,7 @@
vccio_sd: LDO_REG5 {
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
regulator-name = "vccio_sd";
regulator-state-mem {

View File

@@ -22,3 +22,19 @@
status = "okay";
};
};
&io_domains {
status = "okay";
vccio1-supply = <&vccio1>;
vccio3-supply = <&vccio3>;
vccio4-supply = <&vccio4>;
vccio5-supply = <&vccio5>;
vccio6-supply = <&vccio6>;
vccio7-supply = <&vccio7>;
};
&pmu_io_domains {
status = "okay";
pmuio1-supply = <&vccpmuio1>;
pmuio2-supply = <&vccpmuio2>;
};