Skip to content

Commit

Permalink
overlays: Add rpi-poe-plus overlay
Browse files Browse the repository at this point in the history
commit  131a6abaac64b638dbfab44a92f4403fc89ba569 from
https://github.com/raspberrypi/linux.git rpi-5.10.y

Signed-off-by: Serge Schneider <[email protected]>
Signed-off-by: Meng Li <[email protected]>
  • Loading branch information
XECDesign authored and limeng-linux committed Jul 23, 2021
1 parent c8e1e0b commit 6dbf5f5
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/boot/dts/overlays/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ dtbo-$(CONFIG_ARCH_BCM2835) += \
rpi-display.dtbo \
rpi-ft5406.dtbo \
rpi-poe.dtbo \
rpi-poe-plus.dtbo \
rpi-proto.dtbo \
rpi-sense.dtbo \
rpi-tv.dtbo \
Expand Down
21 changes: 21 additions & 0 deletions arch/arm/boot/dts/overlays/README
Original file line number Diff line number Diff line change
Expand Up @@ -2505,6 +2505,27 @@ Params: poe_fan_temp0 Temperature (in millicelcius) at which the fan
the fan slows down (default 5000)


Name: rpi-poe-plus
Info: Raspberry Pi PoE+ HAT fan
Load: dtoverlay=rpi-poe-plus,<param>[=<val>]
Params: poe_fan_temp0 Temperature (in millicelcius) at which the fan
turns on (default 40000)
poe_fan_temp0_hyst Temperature delta (in millicelcius) at which
the fan turns off (default 2000)
poe_fan_temp1 Temperature (in millicelcius) at which the fan
speeds up (default 45000)
poe_fan_temp1_hyst Temperature delta (in millicelcius) at which
the fan slows down (default 2000)
poe_fan_temp2 Temperature (in millicelcius) at which the fan
speeds up (default 50000)
poe_fan_temp2_hyst Temperature delta (in millicelcius) at which
the fan slows down (default 2000)
poe_fan_temp3 Temperature (in millicelcius) at which the fan
speeds up (default 55000)
poe_fan_temp3_hyst Temperature delta (in millicelcius) at which
the fan slows down (default 5000)


Name: rpi-proto
Info: Configures the RPi Proto audio card
Load: dtoverlay=rpi-proto
Expand Down
19 changes: 19 additions & 0 deletions arch/arm/boot/dts/overlays/rpi-poe-plus-overlay.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
// Overlay for the Raspberry Pi PoE+ HAT.

#include "rpi-poe-overlay.dts"

/ {
compatible = "brcm,bcm2835";

fragment@3 {
target-path = "/";
__overlay__ {
rpi_poe_power_supply: rpi-poe-power-supply@0 {
compatible = "raspberrypi,rpi-poe-power-supply";
firmware = <&firmware>;
status = "okay";
};
};
};
};

0 comments on commit 6dbf5f5

Please sign in to comment.