arm64: dts: rockchip: adjust the power supply based on the hardware for rk3588 boards

Signed-off-by: shengfei Xu <xsf@rock-chips.com>
Change-Id: I2f0bd82ac41313ba2a09fb91ce595824a47d0957
This commit is contained in:
shengfei Xu
2021-12-10 12:15:09 +00:00
committed by Tao Huang
parent 4e7395fe28
commit 516e6f7a0e
10 changed files with 78 additions and 57 deletions

View File

@@ -968,7 +968,6 @@
cap-sd-highspeed;
disable-wp;
sd-uhs-sdr104;
vmmc-supply = <&vcc_3v3_sd_s0>;
vqmmc-supply = <&vccio_sd_s0>;
status = "disabled";
};

View File

@@ -456,6 +456,7 @@
&sdmmc {
status = "okay";
vmmc-supply = <&vcc_3v3_sd_s0>;
};
&u2phy0_otg {

View File

@@ -1119,6 +1119,7 @@
&sdmmc {
status = "okay";
vmmc-supply = <&vcc_3v3_sd_s0>;
};
&u2phy1_otg {

View File

@@ -55,6 +55,16 @@
pinctrl-0 = <&typec5v_pwren>;
};
vcc_1v1_nldo_s3: vcc-1v1-nldo-s3 {
compatible = "regulator-fixed";
regulator-name = "vcc_1v1_nldo_s3";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <1100000>;
regulator-max-microvolt = <1100000>;
vin-supply = <&vcc5v0_sys>;
};
vcc3v3_au5426: vcc3v3-au5426 {
compatible = "regulator-fixed";
regulator-name = "vcc3v3_au5426";

View File

@@ -115,6 +115,16 @@
pinctrl-names = "default";
pinctrl-0 = <&vcc5v0_otg_en>;
};
vcc_1v1_nldo_s3: vcc-1v1-nldo-s3 {
compatible = "regulator-fixed";
regulator-name = "vcc_1v1_nldo_s3";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <1100000>;
regulator-max-microvolt = <1100000>;
vin-supply = <&vcc5v0_sys>;
};
};
&combphy0_ps {

View File

@@ -189,7 +189,7 @@
&saradc {
status = "okay";
vref-supply = <&vcc_1v8_cam_s0>;
vref-supply = <&avcc_1v8_s0>;
};
&tsadc {

View File

@@ -7,61 +7,6 @@
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/pinctrl/rockchip.h>
/ {
vcc_1v1_nldo_s3: vcc-1v1-nldo-s3 {
compatible = "regulator-fixed";
regulator-name = "vcc_1v1_nldo_s3";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <1100000>;
regulator-max-microvolt = <1100000>;
vin-supply = <&vcc5v0_sys>;
};
vcc_3v3_sd_s0: vcc-3v3-sd-s0 {
compatible = "regulator-fixed";
regulator-name = "vcc_3v3_sd_s0";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
gpios = <&gpio0 RK_PD4 GPIO_ACTIVE_LOW>;
enable-active-low;
vin-supply = <&vcc_3v3_s3>;
regulator-state-mem {
regulator-off-in-suspend;
};
};
vcc_1v2_cam_s0: vcc-1v2-cam-s0 {
compatible = "regulator-fixed";
regulator-name = "vcc_1v2_cam_s0";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
gpios = <&gpio1 RK_PA6 GPIO_ACTIVE_HIGH>;
enable-active-high;
vin-supply = <&vcc_3v3_s3>;
regulator-state-mem {
regulator-off-in-suspend;
};
};
vcc_1v8_cam_s0: vcc-1v2-cam-s0 {
compatible = "regulator-fixed";
regulator-name = "vcc_1v8_cam_s0";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
vin-supply = <&vcc_3v3_s3>;
};
vcc_2v8_cam_s0: vcc-1v2-cam-s0 {
compatible = "regulator-fixed";
regulator-name = "vcc_2v8_cam_s0";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>;
vin-supply = <&vcc_3v3_s3>;
};
};
&i2c0 {
status = "okay";

View File

@@ -844,6 +844,7 @@
&sdmmc {
status = "okay";
vmmc-supply = <&vcc_3v3_sd_s0>;
};
&pdm0 {

View File

@@ -261,6 +261,7 @@
&sdmmc {
status = "okay";
vmmc-supply = <&vcc_3v3_sd_s0>;
};
&sata2 {

View File

@@ -123,6 +123,58 @@
pinctrl-0 = <&vcc5v0_host_en>;
};
vcc_1v1_nldo_s3: vcc-1v1-nldo-s3 {
compatible = "regulator-fixed";
regulator-name = "vcc_1v1_nldo_s3";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <1100000>;
regulator-max-microvolt = <1100000>;
vin-supply = <&vcc5v0_sys>;
};
vcc_1v2_cam_s0: vcc-1v2-cam-s0 {
compatible = "regulator-fixed";
regulator-name = "vcc_1v2_cam_s0";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
gpios = <&gpio1 RK_PA6 GPIO_ACTIVE_HIGH>;
enable-active-high;
vin-supply = <&vcc_3v3_s3>;
regulator-state-mem {
regulator-off-in-suspend;
};
};
vcc_1v8_cam_s0: vcc-1v8-cam-s0 {
compatible = "regulator-fixed";
regulator-name = "vcc_1v8_cam_s0";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
vin-supply = <&vcc_3v3_s3>;
};
vcc_2v8_cam_s0: vcc-2v8-cam-s0 {
compatible = "regulator-fixed";
regulator-name = "vcc_2v8_cam_s0";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>;
vin-supply = <&vcc_3v3_s3>;
};
vcc_3v3_sd_s0: vcc-3v3-sd-s0 {
compatible = "regulator-fixed";
regulator-name = "vcc_3v3_sd_s0";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
gpios = <&gpio0 RK_PD4 GPIO_ACTIVE_LOW>;
enable-active-low;
vin-supply = <&vcc_3v3_s3>;
regulator-state-mem {
regulator-off-in-suspend;
};
};
wireless_bluetooth: wireless-bluetooth {
compatible = "bluetooth-platdata";
clocks = <&hym8563>;
@@ -717,6 +769,7 @@
&sdmmc {
status = "okay";
vmmc-supply = <&vcc_3v3_sd_s0>;
};
&spdif_tx1 {