Skip to content

Commit

Permalink
dts: rockchip: rock-3b: sync power supply with kernel
Browse files Browse the repository at this point in the history
Signed-off-by: Nascs Fang <[email protected]>
  • Loading branch information
nascs committed Nov 21, 2024
1 parent 09debbd commit a954bc4
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions arch/arm/dts/rk3568-rock-3b.dts
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,16 @@
vin-supply = <&dc_12v>;
};

vcc3v3_sys2: vcc3v3-sys2 {
compatible = "regulator-fixed";
regulator-name = "vcc3v3_sys2";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
vin-supply = <&vcc5v0_sys>;
};

vcc5v0_host: vcc5v0-host-regulator {
compatible = "regulator-fixed";
enable-active-high;
Expand Down Expand Up @@ -176,15 +186,14 @@
};

pcie30_3v3: gpio-regulator {
compatible = "regulator-fixed";
compatible = "regulator-gpio";
regulator-name = "pcie30_3v3";
regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <100000>;
regulator-max-microvolt = <3300000>;
enable-active-high;
gpio = <&gpio0 RK_PD4 GPIO_ACTIVE_HIGH>;
regulator-boot-on;
regulator-always-on;
vin-supply = <&vcc5v0_sys>;
gpios = <&gpio0 RK_PD4 GPIO_ACTIVE_HIGH>;
gpios-states = <0x1>;
states = <100000 0x0
3300000 0x1>;
};

sdio_pwrseq: sdio-pwrseq {
Expand Down Expand Up @@ -1035,7 +1044,7 @@
//rockchip,bifurcation;
reset-gpios = <&gpio2 RK_PD6 GPIO_ACTIVE_HIGH>;
pinctrl-0 = <&pcie30x2m1_pins>;
vpcie3v3-supply = <&pcie30_3v3>;
vpcie3v3-supply = <&vcc3v3_sys2>;
status = "okay";
};

Expand Down

0 comments on commit a954bc4

Please sign in to comment.