e8c9924e863a35c5deb77fd70d18bf03336ef13e
[openwrt/staging/wigyori.git] /
1 From c699fbfdfd54630fc51b96da577f02e7b772eb37 Mon Sep 17 00:00:00 2001
2 From: Hugh Cole-Baker <sigmaris@gmail.com>
3 Date: Sat, 16 Dec 2023 21:21:34 +0000
4 Subject: [PATCH] arm64: dts: rockchip: Support poweroff on NanoPC-T6
5
6 The RK806 on the NanoPC-T6 can be used to power on/off the whole board.
7 Mark it as the system power controller.
8
9 Signed-off-by: Hugh Cole-Baker <sigmaris@gmail.com>
10 Link: https://lore.kernel.org/r/20231216212134.23314-1-sigmaris@gmail.com
11 Signed-off-by: Heiko Stuebner <heiko@sntech.de>
12 ---
13 arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dts | 2 ++
14 1 file changed, 2 insertions(+)
15
16 --- a/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dts
17 +++ b/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dts
18 @@ -569,6 +569,8 @@
19 pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>,
20 <&rk806_dvs2_null>, <&rk806_dvs3_null>;
21
22 + system-power-controller;
23 +
24 vcc1-supply = <&vcc4v0_sys>;
25 vcc2-supply = <&vcc4v0_sys>;
26 vcc3-supply = <&vcc4v0_sys>;