Skip to content

Commit df5e14d

Browse files
author
Phil Elwell
committed
overlays: Add real parameters to the rpi-poe overlay
As a result of being loaded by the POE HAT EEPROM, the rpi-poe overlay doesn't expose parameters in the usual way; instead it adds them to the base Device Tree, and the user is expected to use "dtparam=..." to access them. To make the documentation correct and to protect users who load the overlay explicitly, expecting to be able to use the parameters, add real parameters to the overlay as well. Signed-off-by: Phil Elwell <[email protected]>
1 parent 94740d4 commit df5e14d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

arch/arm/boot/dts/overlays/rpi-poe-overlay.dts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,11 @@
6060
poe_fan_temp1_hyst = <&trip1>,"hysteresis:0";
6161
};
6262
};
63+
64+
__overrides__ {
65+
poe_fan_temp0 = <&trip0>,"temperature:0";
66+
poe_fan_temp0_hyst = <&trip0>,"hysteresis:0";
67+
poe_fan_temp1 = <&trip1>,"temperature:0";
68+
poe_fan_temp1_hyst = <&trip1>,"hysteresis:0";
69+
};
6370
};

0 commit comments

Comments
 (0)