42 lines
1.2 KiB
Diff
42 lines
1.2 KiB
Diff
From 4865a89948e099a4818e782c5104ab8b60228e14 Mon Sep 17 00:00:00 2001
|
|
From: Peter Geis <pgwipeout@gmail.com>
|
|
Date: Mon, 9 Aug 2021 13:42:54 -0400
|
|
Subject: [PATCH 101/478] arm64: dts: rockchip: add fan pinctrl to quartz64-a
|
|
|
|
Add the missing fan pinctrl to the Quartz64 Model A board device tree.
|
|
|
|
Signed-off-by: Peter Geis <pgwipeout@gmail.com>
|
|
---
|
|
arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts | 8 ++++++++
|
|
1 file changed, 8 insertions(+)
|
|
|
|
diff --git a/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts b/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts
|
|
index 122d80e5caf8..a3e033b95911 100644
|
|
--- a/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts
|
|
+++ b/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts
|
|
@@ -32,6 +32,8 @@ fan: gpio_fan {
|
|
gpios = <&gpio0 RK_PD5 GPIO_ACTIVE_HIGH>;
|
|
gpio-fan,speed-map = <0 0
|
|
4500 1>;
|
|
+ pinctrl-names = "default";
|
|
+ pinctrl-0 = <&fan_en_h>;
|
|
#cooling-cells = <2>;
|
|
};
|
|
|
|
@@ -539,6 +541,12 @@ bt_wake_l: bt-wake-l {
|
|
};
|
|
};
|
|
|
|
+ fan {
|
|
+ fan_en_h: fan-en-h {
|
|
+ rockchip,pins = <0 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>;
|
|
+ };
|
|
+ };
|
|
+
|
|
leds {
|
|
work_led_enable_h: work-led-enable-h {
|
|
rockchip,pins = <0 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>;
|
|
--
|
|
2.35.3
|
|
|