mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 15:56:49 +00:00
27 lines
962 B
Diff
27 lines
962 B
Diff
|
From c699fbfdfd54630fc51b96da577f02e7b772eb37 Mon Sep 17 00:00:00 2001
|
||
|
From: Hugh Cole-Baker <sigmaris@gmail.com>
|
||
|
Date: Sat, 16 Dec 2023 21:21:34 +0000
|
||
|
Subject: [PATCH] arm64: dts: rockchip: Support poweroff on NanoPC-T6
|
||
|
|
||
|
The RK806 on the NanoPC-T6 can be used to power on/off the whole board.
|
||
|
Mark it as the system power controller.
|
||
|
|
||
|
Signed-off-by: Hugh Cole-Baker <sigmaris@gmail.com>
|
||
|
Link: https://lore.kernel.org/r/20231216212134.23314-1-sigmaris@gmail.com
|
||
|
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
|
||
|
---
|
||
|
arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dts | 2 ++
|
||
|
1 file changed, 2 insertions(+)
|
||
|
|
||
|
--- a/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dts
|
||
|
+++ b/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dts
|
||
|
@@ -569,6 +569,8 @@
|
||
|
pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>,
|
||
|
<&rk806_dvs2_null>, <&rk806_dvs3_null>;
|
||
|
|
||
|
+ system-power-controller;
|
||
|
+
|
||
|
vcc1-supply = <&vcc4v0_sys>;
|
||
|
vcc2-supply = <&vcc4v0_sys>;
|
||
|
vcc3-supply = <&vcc4v0_sys>;
|