arm64: dts: rockchip: rv1126b-evb: Add power tree

Change-Id: I47bfe848f1d62ab9cfa5e9dd073fa93d489a150d
Signed-off-by: Shengfei Xu <xsf@rock-chips.com>
This commit is contained in:
Shengfei Xu
2025-03-21 15:44:07 +08:00
committed by Tao Huang
parent 98d7849521
commit 65cd0a8a56
3 changed files with 233 additions and 1 deletions

View File

@@ -137,6 +137,7 @@
compatible = "pwm-regulator";
pwms = <&pwm0_8ch_2 0 25000 1>;
regulator-name = "vdd_log";
regulator-init-microvolt = <905000>;
regulator-min-microvolt = <810000>;
regulator-max-microvolt = <1006000>;
regulator-always-on;
@@ -149,6 +150,7 @@
compatible = "pwm-regulator";
pwms = <&pwm0_8ch_0 0 25000 1>;
regulator-name = "vdd_cpu";
regulator-init-microvolt = <950000>;
regulator-min-microvolt = <750000>;
regulator-max-microvolt = <1100000>;
regulator-always-on;
@@ -161,6 +163,7 @@
compatible = "pwm-regulator";
pwms = <&pwm0_8ch_1 0 25000 1>;
regulator-name = "vdd_npu";
regulator-init-microvolt = <950000>;
regulator-min-microvolt = <750000>;
regulator-max-microvolt = <1100000>;
regulator-always-on;

View File

@@ -10,5 +10,145 @@
/ {
model = "Rockchip RV1126B EVB3 V10 Board";
compatible = "rockchip,rv1126b-evb3-v10", "rockchip,rv1126b";
vcc5v0_dcin: vcc5v0-dcin {
compatible = "regulator-fixed";
regulator-name = "vcc5v0_dcin";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
vin-supply = <&vcc12v_dcin>;
};
vccsys_stb: vccsys-stb {
compatible = "regulator-fixed";
regulator-name = "vccsys_stb";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
vin-supply = <&vcc5v0_dcin>;
};
vcc3v3_stb: vcc3v3-stb {
compatible = "regulator-fixed";
regulator-name = "vcc3v3_stb";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
vin-supply = <&vccsys_stb>;
};
vcc1v8_pmu: vdd1_1v8_ddr: vcc1v8_pmu {
compatible = "regulator-fixed";
regulator-name = "vcc3v3_stb";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
vin-supply = <&vccsys_stb>;
};
vcc_ddr: vcc_ddr {
compatible = "regulator-fixed";
regulator-name = "vcc_ddr";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
vin-supply = <&vccsys_stb>;
};
vcc3v3_pmu: vcc3v3-pmu {
compatible = "regulator-fixed";
regulator-name = "vcc3v3_pmu";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
vin-supply = <&vccsys_stb>;
};
vcc0v9_pmu: vcc0v9-pmu {
compatible = "regulator-fixed";
regulator-name = "vcc0v9_pmu";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <900000>;
regulator-max-microvolt = <900000>;
vin-supply = <&vcc1v8_pmu>;
};
vcc_1v8: vcc-1v8 {
compatible = "regulator-fixed";
regulator-name = "vcc_1v8";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
vin-supply = <&vcc3v3_stb>;
};
vcc_3v3: vcc3v3_dev: vcc-3v3 {
compatible = "regulator-fixed";
regulator-name = "vcc_3v3";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
vin-supply = <&vccsys_stb>;
};
vdd_log: vdd-log {
compatible = "pwm-regulator";
pwms = <&pwm1_4ch_2 0 25000 1>;
regulator-name = "vdd_log";
regulator-init-microvolt = <905000>;
regulator-min-microvolt = <810000>;
regulator-max-microvolt = <1006000>;
regulator-always-on;
regulator-boot-on;
pwm-supply = <&vccsys_stb>;
status = "okay";
};
vdd_cpu: vdd-cpu {
compatible = "pwm-regulator";
pwms = <&pwm1_4ch_0 0 25000 1>;
regulator-name = "vdd_cpu";
regulator-init-microvolt = <950000>;
regulator-min-microvolt = <750000>;
regulator-max-microvolt = <1100000>;
regulator-always-on;
regulator-boot-on;
pwm-supply = <&vccsys_stb>;
status = "okay";
};
vdd_npu: vdd-npu {
compatible = "pwm-regulator";
pwms = <&pwm1_4ch_1 0 25000 1>;
regulator-name = "vdd_cpu";
regulator-init-microvolt = <950000>;
regulator-min-microvolt = <750000>;
regulator-max-microvolt = <1100000>;
regulator-always-on;
regulator-boot-on;
pwm-supply = <&vccsys_stb>;
status = "okay";
};
};
&pwm1_4ch_0 {
status = "okay";
};
&pwm1_4ch_1 {
status = "okay";
};
&pwm1_4ch_2 {
status = "okay";
};

View File

@@ -10,5 +10,94 @@
/ {
model = "Rockchip RV1126B IOTEST V10 Board";
compatible = "rockchip,rv1126b-iotest-v10", "rockchip,rv1126b";
};
vcc_sys: vcc-sys {
compatible = "regulator-fixed";
regulator-name = "vcc_sys";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <3960000>;
regulator-max-microvolt = <3960000>;
vin-supply = <&vcc12v_dcin>;
};
vdd_logic: vdd-logic {
compatible = "regulator-fixed";
regulator-name = "vdd_logic";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <900000>;
regulator-max-microvolt = <900000>;
vin-supply = <&vcc_sys>;
};
vcc_ddr: vcc_ddr {
compatible = "regulator-fixed";
regulator-name = "vcc_ddr";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
vin-supply = <&vcc_sys>;
};
vcc_0v9: vcc-0v9 {
compatible = "regulator-fixed";
regulator-name = "vcc_0v9";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <900000>;
regulator-max-microvolt = <900000>;
vin-supply = <&vcc_sys>;
};
vcc_1v8: vcc-1v8 {
compatible = "regulator-fixed";
regulator-name = "vcc_1v8";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
vin-supply = <&vcc_sys>;
};
avdd_1v8: vcc-1v8 {
compatible = "regulator-fixed";
regulator-name = "avdd_1v8";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
vin-supply = <&vcc_sys>;
};
vdd_cpu: vdd-cpu {
compatible = "regulator-fixed";
regulator-name = "vdd_cpu";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <900000>;
regulator-max-microvolt = <900000>;
vin-supply = <&vcc_sys>;
};
vcc_3v3: vcc3v3_dev: vcc-3v3 {
compatible = "regulator-fixed";
regulator-name = "vcc_3v3";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
vin-supply = <&vcc_sys>;
};
vdd_npu: vdd-npu {
compatible = "regulator-fixed";
regulator-name = "vdd_npu";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <900000>;
regulator-max-microvolt = <900000>;
vin-supply = <&vcc_sys>;
};
};