File tree 3 files changed +69
-12
lines changed
arch/arm/boot/dts/overlays 3 files changed +69
-12
lines changed Original file line number Diff line number Diff line change @@ -2858,6 +2858,8 @@ Params: poe_fan_temp0 Temperature (in millicelcius) at which the fan
2858
2858
speeds up (default 55000)
2859
2859
poe_fan_temp3_hyst Temperature delta (in millicelcius) at which
2860
2860
the fan slows down (default 5000)
2861
+ i2c Control the fan via Linux I2C drivers instead of
2862
+ the firmware.
2861
2863
2862
2864
2863
2865
Name: rpi-poe-plus
@@ -2879,6 +2881,8 @@ Params: poe_fan_temp0 Temperature (in millicelcius) at which the fan
2879
2881
speeds up (default 55000)
2880
2882
poe_fan_temp3_hyst Temperature delta (in millicelcius) at which
2881
2883
the fan slows down (default 5000)
2884
+ i2c Control the fan via Linux I2C drivers instead of
2885
+ the firmware.
2882
2886
2883
2887
2884
2888
Name: rpi-proto
Original file line number Diff line number Diff line change 8
8
compatible = "brcm,bcm2835";
9
9
10
10
fragment@0 {
11
- target = <&firmware>;
12
- __overlay__ {
13
- fwpwm: pwm {
14
- compatible = "raspberrypi,firmware-poe-pwm";
15
- #pwm-cells = <2>;
16
- };
17
- };
18
- };
19
-
20
- fragment@1 {
21
11
target-path = "/";
22
12
__overlay__ {
23
13
fan: pwm-fan {
29
19
};
30
20
};
31
21
32
- fragment@2 {
22
+ fragment@1 {
33
23
target = <&cpu_thermal>;
34
24
__overlay__ {
35
25
trips {
75
65
};
76
66
};
77
67
78
- fragment@3 {
68
+ fragment@2 {
79
69
target-path = "/__overrides__";
80
70
__overlay__ {
81
71
poe_fan_temp0 = <&trip0>,"temperature:0";
89
79
};
90
80
};
91
81
82
+ fragment@3 {
83
+ target = <&firmware>;
84
+ __overlay__ {
85
+ fwpwm: pwm {
86
+ compatible = "raspberrypi,firmware-poe-pwm";
87
+ #pwm-cells = <2>;
88
+ };
89
+ };
90
+ };
91
+
92
+ fragment@4 {
93
+ target = <&i2c0>;
94
+ __dormant__ {
95
+ #address-cells = <1>;
96
+ #size-cells = <0>;
97
+ status = "okay";
98
+
99
+ poe_mfd: poe@51 {
100
+ compatible = "raspberrypi,poe-core";
101
+ reg = <0x51>;
102
+ status = "okay";
103
+
104
+ poe_mfd_pwm: poe_pwm@f0 {
105
+ compatible = "raspberrypi,poe-pwm";
106
+ reg = <0xf0>;
107
+ status = "okay";
108
+ #pwm-cells = <2>;
109
+ };
110
+ };
111
+ };
112
+ };
113
+
114
+ fragment@5 {
115
+ target = <&i2c0if>;
116
+ __dormant__ {
117
+ status = "okay";
118
+ };
119
+ };
120
+
121
+ fragment@6 {
122
+ target = <&i2c0mux>;
123
+ __dormant__ {
124
+ status = "okay";
125
+ };
126
+ };
127
+
92
128
__overrides__ {
93
129
poe_fan_temp0 = <&trip0>,"temperature:0";
94
130
poe_fan_temp0_hyst = <&trip0>,"hysteresis:0";
98
134
poe_fan_temp2_hyst = <&trip2>,"hysteresis:0";
99
135
poe_fan_temp3 = <&trip3>,"temperature:0";
100
136
poe_fan_temp3_hyst = <&trip3>,"hysteresis:0";
137
+ i2c = <0>, "-3+4+5+6",
138
+ <&fan>,"pwms:0=",<&poe_mfd_pwm>;
101
139
};
102
140
};
Original file line number Diff line number Diff line change 16
16
};
17
17
};
18
18
};
19
+ fragment@11 {
20
+ target = <&poe_mfd>;
21
+ __dormant__ {
22
+ rpi-poe-power-supply@f2 {
23
+ compatible = "raspberrypi,rpi-poe-power-supply";
24
+ reg = <0xf2>;
25
+ status = "okay";
26
+ };
27
+ };
28
+ };
29
+
30
+ __overrides__ {
31
+ i2c = <0>, "-3+4+5+6-10+11",
32
+ <&fan>,"pwms:0=",<&poe_mfd_pwm>;
33
+ };
19
34
};
20
35
21
36
&fan {
You can’t perform that action at this time.
0 commit comments