Skip to content
/ linux Public
forked from torvalds/linux

Commit

Permalink
amr64: dts: rock 5a: enable usb wakeup (torvalds#91)
Browse files Browse the repository at this point in the history
Signed-off-by: Feng Zhang <feng@radxa.com>
  • Loading branch information
vamrs-feng authored and RadxaStephen committed Jul 3, 2023
1 parent a83dc51 commit ee829f3
Showing 1 changed file with 59 additions and 0 deletions.
59 changes: 59 additions & 0 deletions arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts
Original file line number Diff line number Diff line change
Expand Up @@ -725,6 +725,65 @@
};
};

&rockchip_suspend {
compatible = "rockchip,pm-rk3588";
status = "okay";
rockchip,sleep-debug-en = <1>;
rockchip,sleep-mode-config = <
(0
| RKPM_SLP_ARMOFF_DDRPD
)
>;
rockchip,wakeup-config = <
(0
| RKPM_GPIO_WKUP_EN
| RKPM_USB_WKUP_EN
)
>;
};

&avdd_0v75_s0 {
regulator-state-mem {
regulator-on-in-suspend;
regulator-min-microvolt = <837500>;
};
};

&avcc_1v8_s0 {
regulator-state-mem {
regulator-on-in-suspend;
regulator-suspend-microvolt = <1800000>;
};
};

&vcc_1v8_s0 {
regulator-state-mem {
regulator-on-in-suspend;
regulator-suspend-microvolt = <1800000>;
};
};

&vcc_3v3_s0 {
regulator-state-mem {
regulator-on-in-suspend;
regulator-suspend-microvolt = <3300000>;
};
};

&vdd_log_s0 {
regulator-state-mem {
regulator-on-in-suspend;
regulator-suspend-microvolt = <750000>;
};
};

&vdd_ddr_pll_s0 {
regulator-state-mem {
regulator-on-in-suspend;
regulator-suspend-microvolt = <850000>;
};
};

&pinctrl {

power {
Expand Down

0 comments on commit ee829f3

Please sign in to comment.