Dash:
[t2.git] / package / base / linux / sifive-fans.patch.disabled
blob2cfde8256b191459a8b2e880cd5ee6fff7dafefa
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/linux/sifive-fans.patch.disabled
3 # Copyright (C) 2021 - 2022 The T2 SDE Project
4
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 --- linux-5.13/arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts.vanilla      2021-07-20 15:43:29.828968866 +0200
15 +++ linux-5.13/arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts      2021-07-20 15:47:26.605981081 +0200
16 @@ -70,6 +70,24 @@
17                         max-brightness = <255>;
18                         linux,default-trigger = "none";
19                 };
21 +                fan1 {
22 +                        label = "fan1";
23 +                        color = <LED_COLOR_ID_BLUE>;
24 +                        pwms = <&pwm1 2 7812500 PWM_POLARITY_INVERTED>;
25 +                        active-low = <1>;
26 +                        max-brightness = <255>;
27 +                        linux,default-trigger = "none";
28 +                };
30 +                fan2 {
31 +                        label = "fan2";
32 +                        color = <LED_COLOR_ID_BLUE>;
33 +                        pwms = <&pwm1 3 7812500 PWM_POLARITY_INVERTED>;
34 +                        active-low = <1>;
35 +                        max-brightness = <255>;
36 +                        linux,default-trigger = "none";
37 +                };
38         };
40         hfclk: hfclk {