arm64: dts: rockchip: rv1126b-evb2-v10: Add power tree

Change-Id: I2aae289097f6f4b95797906f1ed083c17c582e59
Signed-off-by: Shengfei Xu <xsf@rock-chips.com>
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
This commit is contained in:
Shengfei Xu
2025-03-11 11:18:03 +08:00
committed by Tao Huang
parent cf58fe7419
commit 0223f2d53b
2 changed files with 164 additions and 0 deletions

View File

@@ -9,6 +9,15 @@
chosen {
bootargs = "earlycon=uart8250,mmio32,0x20810000 console=ttyFIQ0 root=/dev/mmcblk0p5 rootfstype=ext4 rootwait snd_soc_core.prealloc_buffer_size_kbytes=16 coherent_pool=32K";
};
vcc12v_dcin: vcc12v-dcin {
compatible = "regulator-fixed";
regulator-name = "vcc12v_dcin";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <12000000>;
regulator-max-microvolt = <12000000>;
};
};
&fiq_debugger {

View File

@@ -10,5 +10,160 @@
/ {
model = "Rockchip RV1126B EVB2 V10 Board";
compatible = "rockchip,rv1126b-evb2-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>;
};
vdd2_1v1_ddr: vdd2_1v1_ddr {
compatible = "regulator-fixed";
regulator-name = "vdd2_1v1_ddr";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <1100000>;
regulator-max-microvolt = <1100000>;
vin-supply = <&vccsys_stb>;
};
vddq_0v6_lp4x: vddq-0v6-lp4x {
compatible = "regulator-fixed";
regulator-name = "vddq_0v6_lp4x";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <600000>;
regulator-max-microvolt = <600000>;
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_mipi: vcc-mipi{
compatible = "regulator-fixed";
regulator-name = "vcc_mipi";
regulator-always-on;
regulator-boot-on;
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 = <&vccsys_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 = <&pwm0_8ch_2 0 25000 1>;
regulator-name = "vdd_log";
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 = <&pwm0_8ch_0 0 25000 1>;
regulator-name = "vdd_cpu";
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 = <&pwm0_8ch_1 0 25000 1>;
regulator-name = "vdd_npu";
regulator-min-microvolt = <750000>;
regulator-max-microvolt = <1100000>;
regulator-always-on;
regulator-boot-on;
pwm-supply = <&vccsys_stb>;
status = "okay";
};
};
&pwm0_8ch_0 {
status = "okay";
};
&pwm0_8ch_1 {
status = "okay";
};
&pwm0_8ch_2 {
status = "okay";
};