mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-02-26 01:31:57 +00:00
mediatek: filogic: BPi-R4: wire up pinctrl for pwm-fan
Assign pwm function of PWM0 pin to the pwm-fan. This is mostly just cosmetics as it basically reflects the default setting of that pin. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
parent
2cbd230091
commit
591272d197
@ -297,11 +297,22 @@
|
|||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&pio {
|
||||||
|
pwm0_pins: pwm0-pins {
|
||||||
|
mux {
|
||||||
|
groups = "pwm0";
|
||||||
|
function = "pwm";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
&pwm {
|
&pwm {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
&fan {
|
&fan {
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&pwm0_pins>;
|
||||||
pwms = <&pwm 0 50000>;
|
pwms = <&pwm 0 50000>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user