speeds up (default 55000)
poe_fan_temp3_hyst Temperature delta (in millicelcius) at which
the fan slows down (default 5000)
+ i2c Control the fan via Linux I2C drivers instead of
+ the firmware.
Name: rpi-poe-plus
speeds up (default 55000)
poe_fan_temp3_hyst Temperature delta (in millicelcius) at which
the fan slows down (default 5000)
+ i2c Control the fan via Linux I2C drivers instead of
+ the firmware.
Name: rpi-proto
compatible = "brcm,bcm2835";
fragment@0 {
- target = <&firmware>;
- __overlay__ {
- fwpwm: pwm {
- compatible = "raspberrypi,firmware-poe-pwm";
- #pwm-cells = <2>;
- };
- };
- };
-
- fragment@1 {
target-path = "/";
__overlay__ {
fan: pwm-fan {
};
};
- fragment@2 {
+ fragment@1 {
target = <&cpu_thermal>;
__overlay__ {
trips {
};
};
- fragment@3 {
+ fragment@2 {
target-path = "/__overrides__";
__overlay__ {
poe_fan_temp0 = <&trip0>,"temperature:0";
};
};
+ fragment@3 {
+ target = <&firmware>;
+ __overlay__ {
+ fwpwm: pwm {
+ compatible = "raspberrypi,firmware-poe-pwm";
+ #pwm-cells = <2>;
+ };
+ };
+ };
+
+ fragment@4 {
+ target = <&i2c0>;
+ __dormant__ {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "okay";
+
+ poe_mfd: poe@51 {
+ compatible = "raspberrypi,poe-core";
+ reg = <0x51>;
+ status = "okay";
+
+ poe_mfd_pwm: poe_pwm@f0 {
+ compatible = "raspberrypi,poe-pwm";
+ reg = <0xf0>;
+ status = "okay";
+ #pwm-cells = <2>;
+ };
+ };
+ };
+ };
+
+ fragment@5 {
+ target = <&i2c0if>;
+ __dormant__ {
+ status = "okay";
+ };
+ };
+
+ fragment@6 {
+ target = <&i2c0mux>;
+ __dormant__ {
+ status = "okay";
+ };
+ };
+
__overrides__ {
poe_fan_temp0 = <&trip0>,"temperature:0";
poe_fan_temp0_hyst = <&trip0>,"hysteresis:0";
poe_fan_temp2_hyst = <&trip2>,"hysteresis:0";
poe_fan_temp3 = <&trip3>,"temperature:0";
poe_fan_temp3_hyst = <&trip3>,"hysteresis:0";
+ i2c = <0>, "-3+4+5+6",
+ <&fan>,"pwms:0=",<&poe_mfd_pwm>;
};
};
};
};
};
+ fragment@11 {
+ target = <&poe_mfd>;
+ __dormant__ {
+ rpi-poe-power-supply@f2 {
+ compatible = "raspberrypi,rpi-poe-power-supply";
+ reg = <0xf2>;
+ status = "okay";
+ };
+ };
+ };
+
+ __overrides__ {
+ i2c = <0>, "-3+4+5+6-10+11",
+ <&fan>,"pwms:0=",<&poe_mfd_pwm>;
+ };
};
&fan {