Loading arch/arm/boot/dts/overlays/Makefile +1 −0 Original line number Diff line number Diff line Loading @@ -103,6 +103,7 @@ dtbo-$(CONFIG_ARCH_BCM2835) += \ rpi-dac.dtbo \ rpi-display.dtbo \ rpi-ft5406.dtbo \ rpi-poe.dtbo \ rpi-proto.dtbo \ rpi-sense.dtbo \ rpi-tv.dtbo \ Loading arch/arm/boot/dts/overlays/README +6 −0 Original line number Diff line number Diff line Loading @@ -1576,6 +1576,12 @@ Params: touchscreen-size-x Touchscreen X resolution (default 800) touchscreen-swapped-x-y Swap X and Y cordinates (default 0); Name: rpi-poe Info: Raspberry Pi POE HAT Load: dtoverlay=rpi-poe Params: <None> Name: rpi-proto Info: Configures the RPi Proto audio card Load: dtoverlay=rpi-proto Loading arch/arm/boot/dts/overlays/rpi-poe-overlay.dts 0 → 100644 +61 −0 Original line number Diff line number Diff line /* * Overlay for the Raspberry Pi POE HAT. */ /dts-v1/; /plugin/; / { compatible = "brcm,bcm2708"; fragment@0 { target-path = "/"; __overlay__ { fan0: rpi-poe-fan@0 { compatible = "rpi-poe-fan"; firmware = <&firmware>; cooling-min-state = <0>; cooling-max-state = <3>; #cooling-cells = <2>; cooling-levels = <0 50 150 255>; status = "okay"; }; }; }; fragment@1 { target = <&cpu_thermal>; __overlay__ { trips { threshold: trip-point@0 { temperature = <45000>; hysteresis = <5000>; type = "active"; }; target: trip-point@1 { temperature = <50000>; hysteresis = <2000>; type = "active"; }; cpu_hot: cpu_hot@0 { temperature = <55000>; hysteresis = <2000>; type = "active"; }; }; cooling-maps { map0 { trip = <&threshold>; cooling-device = <&fan0 0 1>; }; map1 { trip = <&target>; cooling-device = <&fan0 1 2>; }; map2 { trip = <&cpu_hot>; cooling-device = <&fan0 2 3>; }; }; }; }; }; arch/arm/configs/bcm2709_defconfig +1 −0 Original line number Diff line number Diff line Loading @@ -658,6 +658,7 @@ CONFIG_HWMON=m CONFIG_SENSORS_DS1621=m CONFIG_SENSORS_JC42=m CONFIG_SENSORS_LM75=m CONFIG_SENSORS_RPI_POE_FAN=m CONFIG_SENSORS_SHT21=m CONFIG_SENSORS_SHT3x=m CONFIG_SENSORS_SHTC1=m Loading arch/arm/configs/bcmrpi_defconfig +1 −0 Original line number Diff line number Diff line Loading @@ -651,6 +651,7 @@ CONFIG_HWMON=m CONFIG_SENSORS_DS1621=m CONFIG_SENSORS_JC42=m CONFIG_SENSORS_LM75=m CONFIG_SENSORS_RPI_POE_FAN=m CONFIG_SENSORS_SHT21=m CONFIG_SENSORS_SHT3x=m CONFIG_SENSORS_SHTC1=m Loading Loading
arch/arm/boot/dts/overlays/Makefile +1 −0 Original line number Diff line number Diff line Loading @@ -103,6 +103,7 @@ dtbo-$(CONFIG_ARCH_BCM2835) += \ rpi-dac.dtbo \ rpi-display.dtbo \ rpi-ft5406.dtbo \ rpi-poe.dtbo \ rpi-proto.dtbo \ rpi-sense.dtbo \ rpi-tv.dtbo \ Loading
arch/arm/boot/dts/overlays/README +6 −0 Original line number Diff line number Diff line Loading @@ -1576,6 +1576,12 @@ Params: touchscreen-size-x Touchscreen X resolution (default 800) touchscreen-swapped-x-y Swap X and Y cordinates (default 0); Name: rpi-poe Info: Raspberry Pi POE HAT Load: dtoverlay=rpi-poe Params: <None> Name: rpi-proto Info: Configures the RPi Proto audio card Load: dtoverlay=rpi-proto Loading
arch/arm/boot/dts/overlays/rpi-poe-overlay.dts 0 → 100644 +61 −0 Original line number Diff line number Diff line /* * Overlay for the Raspberry Pi POE HAT. */ /dts-v1/; /plugin/; / { compatible = "brcm,bcm2708"; fragment@0 { target-path = "/"; __overlay__ { fan0: rpi-poe-fan@0 { compatible = "rpi-poe-fan"; firmware = <&firmware>; cooling-min-state = <0>; cooling-max-state = <3>; #cooling-cells = <2>; cooling-levels = <0 50 150 255>; status = "okay"; }; }; }; fragment@1 { target = <&cpu_thermal>; __overlay__ { trips { threshold: trip-point@0 { temperature = <45000>; hysteresis = <5000>; type = "active"; }; target: trip-point@1 { temperature = <50000>; hysteresis = <2000>; type = "active"; }; cpu_hot: cpu_hot@0 { temperature = <55000>; hysteresis = <2000>; type = "active"; }; }; cooling-maps { map0 { trip = <&threshold>; cooling-device = <&fan0 0 1>; }; map1 { trip = <&target>; cooling-device = <&fan0 1 2>; }; map2 { trip = <&cpu_hot>; cooling-device = <&fan0 2 3>; }; }; }; }; };
arch/arm/configs/bcm2709_defconfig +1 −0 Original line number Diff line number Diff line Loading @@ -658,6 +658,7 @@ CONFIG_HWMON=m CONFIG_SENSORS_DS1621=m CONFIG_SENSORS_JC42=m CONFIG_SENSORS_LM75=m CONFIG_SENSORS_RPI_POE_FAN=m CONFIG_SENSORS_SHT21=m CONFIG_SENSORS_SHT3x=m CONFIG_SENSORS_SHTC1=m Loading
arch/arm/configs/bcmrpi_defconfig +1 −0 Original line number Diff line number Diff line Loading @@ -651,6 +651,7 @@ CONFIG_HWMON=m CONFIG_SENSORS_DS1621=m CONFIG_SENSORS_JC42=m CONFIG_SENSORS_LM75=m CONFIG_SENSORS_RPI_POE_FAN=m CONFIG_SENSORS_SHT21=m CONFIG_SENSORS_SHT3x=m CONFIG_SENSORS_SHTC1=m Loading