mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-03 08:47:13 +08:00
raspberry-pi-4: poe-hat: add PWM polarity value
This commit is contained in:
committed by
mergify[bot]
parent
fb12c8270a
commit
8f44cbb48c
@@ -18,7 +18,7 @@ in {
|
|||||||
|
|
||||||
hardware.deviceTree = {
|
hardware.deviceTree = {
|
||||||
overlays = [
|
overlays = [
|
||||||
# Equivalent to: https://github.com/raspberrypi/linux/blob/rpi-6.1.y/arch/arm/boot/dts/overlays/rpi-poe-overlay.dts
|
# Equivalent to: https://github.com/raspberrypi/linux/blob/rpi-6.6.y/arch/arm/boot/dts/overlays/rpi-poe-overlay.dts
|
||||||
{
|
{
|
||||||
name = "rpi-poe-overlay";
|
name = "rpi-poe-overlay";
|
||||||
dtsText = ''
|
dtsText = ''
|
||||||
@@ -38,7 +38,7 @@ in {
|
|||||||
compatible = "pwm-fan";
|
compatible = "pwm-fan";
|
||||||
cooling-levels = <0 1 10 100 255>;
|
cooling-levels = <0 1 10 100 255>;
|
||||||
#cooling-cells = <2>;
|
#cooling-cells = <2>;
|
||||||
pwms = <&fwpwm 0 80000>;
|
pwms = <&fwpwm 0 80000 0>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -19,8 +19,8 @@ in {
|
|||||||
hardware.deviceTree = {
|
hardware.deviceTree = {
|
||||||
overlays = [
|
overlays = [
|
||||||
# Combined equivalent to:
|
# Combined equivalent to:
|
||||||
# * https://github.com/raspberrypi/linux/blob/rpi-6.1.y/arch/arm/boot/dts/overlays/rpi-poe-overlay.dts
|
# * https://github.com/raspberrypi/linux/blob/rpi-6.6.y/arch/arm/boot/dts/overlays/rpi-poe-overlay.dts
|
||||||
# * https://github.com/raspberrypi/linux/blob/rpi-6.1.y/arch/arm/boot/dts/overlays/rpi-poe-plus-overlay.dts
|
# * https://github.com/raspberrypi/linux/blob/rpi-6.6.y/arch/arm/boot/dts/overlays/rpi-poe-plus-overlay.dts
|
||||||
{
|
{
|
||||||
name = "rpi-poe-plus-overlay";
|
name = "rpi-poe-plus-overlay";
|
||||||
dtsText = ''
|
dtsText = ''
|
||||||
@@ -40,7 +40,7 @@ in {
|
|||||||
compatible = "pwm-fan";
|
compatible = "pwm-fan";
|
||||||
cooling-levels = <0 1 10 100 255>;
|
cooling-levels = <0 1 10 100 255>;
|
||||||
#cooling-cells = <2>;
|
#cooling-cells = <2>;
|
||||||
pwms = <&fwpwm 0 80000>;
|
pwms = <&fwpwm 0 80000 0>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user