aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts
diff options
context:
space:
mode:
authorPeter Geis <pgwipeout@gmail.com>2022-05-11 11:01:15 -0400
committerHeiko Stuebner <heiko@sntech.de>2022-06-07 10:31:20 +0200
commitfb4f915c44ee059c9a3916c6c5389c2cc35e2f59 (patch)
treea1d94d45947e025e9073001629c0873dfcd49783 /arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts
parentf2906aa863381afb0015a9eb7fefad885d4e5a56 (diff)
downloadlinux-fb4f915c44ee059c9a3916c6c5389c2cc35e2f59.tar.gz
arm64: dts: rockchip: add Quartz64-A fan pinctrl
The Quartz64 Model A fan is bound to a single gpio. Prevent pinctrl issues in the future by binding the pinctrl assignment for the gpio. Signed-off-by: Peter Geis <pgwipeout@gmail.com> Link: https://lore.kernel.org/r/20220511150117.113070-5-pgwipeout@gmail.com Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts')
-rw-r--r--arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts b/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts
index 1534e11a9ad1..ded6b1e734e2 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 @@
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>;
};
@@ -524,6 +526,12 @@
};
};
+ 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>;