mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 05:38:00 +00:00
1c61a8f958
Hardware -------- RockChip RK3588 ARM64 (8 cores) 4/8/16/32GB LPDDR4X RAM 2500 Base-T RGB LED eMMC Connector SPI-NOR 16MB Micro-SD Slot 2x USB 2.0 Port 2x USB 3.0 Port Headphone Jack M.2 E-Key M.2 M-Key USB PD 5/9/12/15/20V Power Install -------- Uncompress the OpenWrt sysupgrade and write it to a micro SD card or internal eMMC using dd. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org> Link: https://github.com/openwrt/openwrt/pull/16149 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
32 lines
1.2 KiB
Diff
32 lines
1.2 KiB
Diff
From 7738f551173540b3daa63a91b384b167eacd24fd Mon Sep 17 00:00:00 2001
|
|
From: John Clark <inindev@gmail.com>
|
|
Date: Mon, 25 Dec 2023 22:28:19 +0000
|
|
Subject: [PATCH] arm64: dts: rockchip: support poweroff on the rock-5b
|
|
|
|
Allow the rock-5b to poweroff its pmic. When issuing a "shutdown -h now"
|
|
on the rock-5b it reboots instead. Defining 'system-power-controller'
|
|
allows the rk806 to power down.
|
|
|
|
Commit c699fbfdfd54 ("arm64: dts: rockchip: Support poweroff on
|
|
NanoPC-T6") similarly resolves this issue for the nanopc-t6.
|
|
|
|
Signed-off-by: John Clark <inindev@gmail.com>
|
|
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
|
|
Link: https://lore.kernel.org/r/20231225222859.17153-1-inindev@gmail.com
|
|
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
|
|
---
|
|
arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
--- a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
|
|
+++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
|
|
@@ -426,6 +426,8 @@
|
|
pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>,
|
|
<&rk806_dvs2_null>, <&rk806_dvs3_null>;
|
|
|
|
+ system-power-controller;
|
|
+
|
|
vcc1-supply = <&vcc5v0_sys>;
|
|
vcc2-supply = <&vcc5v0_sys>;
|
|
vcc3-supply = <&vcc5v0_sys>;
|