1 From 022c80564d30bba83b82a0ccdff74648e47862dd Mon Sep 17 00:00:00 2001
2 From: Serge Schneider <serge@raspberrypi.com>
3 Date: Mon, 2 Dec 2019 14:48:05 +0000
4 Subject: [PATCH] overlays: Add rpi-poe-plus overlay
6 Signed-off-by: Serge Schneider <serge@raspberrypi.com>
8 arch/arm/boot/dts/overlays/Makefile | 1 +
9 arch/arm/boot/dts/overlays/README | 21 +++++++++++++++++++
10 .../dts/overlays/rpi-poe-plus-overlay.dts | 19 +++++++++++++++++
11 3 files changed, 41 insertions(+)
12 create mode 100644 arch/arm/boot/dts/overlays/rpi-poe-plus-overlay.dts
14 --- a/arch/arm/boot/dts/overlays/Makefile
15 +++ b/arch/arm/boot/dts/overlays/Makefile
16 @@ -156,6 +156,7 @@ dtbo-$(CONFIG_ARCH_BCM2835) += \
24 --- a/arch/arm/boot/dts/overlays/README
25 +++ b/arch/arm/boot/dts/overlays/README
26 @@ -2505,6 +2505,27 @@ Params: poe_fan_temp0 Temperat
27 the fan slows down (default 5000)
31 +Info: Raspberry Pi PoE+ HAT fan
32 +Load: dtoverlay=rpi-poe-plus,<param>[=<val>]
33 +Params: poe_fan_temp0 Temperature (in millicelcius) at which the fan
34 + turns on (default 40000)
35 + poe_fan_temp0_hyst Temperature delta (in millicelcius) at which
36 + the fan turns off (default 2000)
37 + poe_fan_temp1 Temperature (in millicelcius) at which the fan
38 + speeds up (default 45000)
39 + poe_fan_temp1_hyst Temperature delta (in millicelcius) at which
40 + the fan slows down (default 2000)
41 + poe_fan_temp2 Temperature (in millicelcius) at which the fan
42 + speeds up (default 50000)
43 + poe_fan_temp2_hyst Temperature delta (in millicelcius) at which
44 + the fan slows down (default 2000)
45 + poe_fan_temp3 Temperature (in millicelcius) at which the fan
46 + speeds up (default 55000)
47 + poe_fan_temp3_hyst Temperature delta (in millicelcius) at which
48 + the fan slows down (default 5000)
52 Info: Configures the RPi Proto audio card
53 Load: dtoverlay=rpi-proto
55 +++ b/arch/arm/boot/dts/overlays/rpi-poe-plus-overlay.dts
57 +// SPDX-License-Identifier: (GPL-2.0 OR MIT)
58 +// Overlay for the Raspberry Pi PoE+ HAT.
60 +#include "rpi-poe-overlay.dts"
63 + compatible = "brcm,bcm2835";
68 + rpi_poe_power_supply: rpi-poe-power-supply@0 {
69 + compatible = "raspberrypi,rpi-poe-power-supply";
70 + firmware = <&firmware>;