mirror of
https://github.com/armbian/build.git
synced 2025-09-19 04:31:38 +02:00
* Bump meson and meson64 EDGE kernel to 6.9.y * Rename patch folders * Adjust broken patches, one remaining * Add overlay support * meson64: rename overlays to dtso, update makefile * Update meson-gx-socinfo-sm driver patchset for meson64-6.9: * add SoC ID patches for S905L, A113X * fix memory double free in driver * update dt bindings --------- Signed-off-by: Patrick Yavitz <pyavitz@armbian.com> Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com> Signed-off-by: Viacheslav Bocharov <adeep@lexina.in> Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com> Co-authored-by: Paolo Sabatino <paolo.sabatino@gmail.com> Co-authored-by: Viacheslav Bocharov <adeep@lexina.in>
44 lines
814 B
Plaintext
44 lines
814 B
Plaintext
/dts-v1/;
|
|
/plugin/;
|
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
#include <dt-bindings/gpio/meson-g12a-gpio.h>
|
|
#include <dt-bindings/thermal/thermal.h>
|
|
|
|
/ {
|
|
compatible = "amlogic,a311d", "amlogic,g12a", "amlogic,g12b", "amlogic,sm1";
|
|
|
|
fragment@0 {
|
|
target-path = "/";
|
|
__overlay__ {
|
|
fan: gpio-fan {
|
|
compatible = "gpio-fan";
|
|
gpios = <&gpio GPIOX_5 GPIO_ACTIVE_HIGH>;
|
|
gpio-fan,speed-map = <0 0>, <5000 1>;
|
|
#cooling-cells = <2>;
|
|
};
|
|
};
|
|
};
|
|
|
|
fragment@1 {
|
|
target = <&cpu_thermal>;
|
|
polling-delay = <2000>;
|
|
__overlay__ {
|
|
trips {
|
|
cpu_active: cpu-active {
|
|
temperature = <55000>;
|
|
hysteresis = <10000>;
|
|
type = "active";
|
|
};
|
|
};
|
|
|
|
cooling-maps {
|
|
map {
|
|
trip = <&cpu_active>;
|
|
cooling-device = <&fan THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|