mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
imx6: use gpio led for controlling fan on tbs matrix
This commit is contained in:
parent
1a69ba02ed
commit
2bd488fec9
@ -0,0 +1,25 @@
|
|||||||
|
--- a/arch/arm/boot/dts/imx6q-tbs2910.dts 2016-09-17 15:27:28.950265621 +0200
|
||||||
|
+++ b/arch/arm/boot/dts/imx6q-tbs2910.dts 2016-09-17 15:28:25.984089674 +0200
|
||||||
|
@@ -84,17 +84,14 @@
|
||||||
|
gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
|
||||||
|
linux,default-trigger = "heartbeat";
|
||||||
|
};
|
||||||
|
- };
|
||||||
|
|
||||||
|
- fan {
|
||||||
|
- compatible = "gpio-fan";
|
||||||
|
- pinctrl-names = "default";
|
||||||
|
- pinctrl-0 = <&pinctrl_gpio_fan>;
|
||||||
|
- gpios = <&gpio3 28 GPIO_ACTIVE_HIGH>;
|
||||||
|
- gpio-fan,speed-map = <0 0
|
||||||
|
- 3000 1>;
|
||||||
|
+ fan {
|
||||||
|
+ gpios = <&gpio3 28 0>;
|
||||||
|
+ default-state = "off";
|
||||||
|
+ };
|
||||||
|
};
|
||||||
|
|
||||||
|
+
|
||||||
|
sound {
|
||||||
|
compatible = "fsl,imx-audio-sgtl5000";
|
||||||
|
model = "imx-sgtl5000";
|
Loading…
x
Reference in New Issue
Block a user