46 lines
1.4 KiB
Diff
46 lines
1.4 KiB
Diff
From 0bf9a726c1abad458706fccee804cc6c1b313c57 Mon Sep 17 00:00:00 2001
|
|
From: Dongjin Kim <tobetter@gmail.com>
|
|
Date: Wed, 4 Aug 2021 23:15:26 +0900
|
|
Subject: [PATCH 65/75] ODROID-N2/N2Plus: arm64/dts: add full fan speed device
|
|
tree overlay
|
|
|
|
Change-Id: Ie2918384cf4c85a5650297ad984ec3c396ba5a24
|
|
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
|
|
---
|
|
.../boot/dts/amlogic/overlays/odroidn2/Makefile | 1 +
|
|
.../dts/amlogic/overlays/odroidn2/fanspeed-full.dts | 12 ++++++++++++
|
|
2 files changed, 13 insertions(+)
|
|
create mode 100644 arch/arm64/boot/dts/amlogic/overlays/odroidn2/fanspeed-full.dts
|
|
|
|
diff --git a/arch/arm64/boot/dts/amlogic/overlays/odroidn2/Makefile b/arch/arm64/boot/dts/amlogic/overlays/odroidn2/Makefile
|
|
index 6237323ced01..70ea1faad2ff 100644
|
|
--- a/arch/arm64/boot/dts/amlogic/overlays/odroidn2/Makefile
|
|
+++ b/arch/arm64/boot/dts/amlogic/overlays/odroidn2/Makefile
|
|
@@ -1,4 +1,5 @@
|
|
dtbo-y += \
|
|
+ fanspeed-full.dtbo \
|
|
hktft35.dtbo \
|
|
spi0.dtbo \
|
|
pwm_cd.dtbo \
|
|
diff --git a/arch/arm64/boot/dts/amlogic/overlays/odroidn2/fanspeed-full.dts b/arch/arm64/boot/dts/amlogic/overlays/odroidn2/fanspeed-full.dts
|
|
new file mode 100644
|
|
index 000000000000..a9ab37525b6a
|
|
--- /dev/null
|
|
+++ b/arch/arm64/boot/dts/amlogic/overlays/odroidn2/fanspeed-full.dts
|
|
@@ -0,0 +1,12 @@
|
|
+/dts-v1/;
|
|
+/plugin/;
|
|
+
|
|
+/{
|
|
+ fragment@0 {
|
|
+ target = <&pwmfan>;
|
|
+
|
|
+ __overlay__ {
|
|
+ cooling-levels = <220 220 220 220>;
|
|
+ };
|
|
+ };
|
|
+};
|
|
--
|
|
2.25.1
|
|
|