Skip to content
Snippets Groups Projects
Commit 46ecdfc1 authored by Rosen Penev's avatar Rosen Penev Committed by Gregory CLEMENT
Browse files

ARM: dts: armada388-helios4: assign pinctrl to each fan


Split up the pins for each fan. This is needed in order to control them

Fixes: ced8025b ("ARM: dts: armada388-helios4")

Signed-off-by: default avatarRosen Penev <rosenp@gmail.com>
Signed-off-by: default avatarGregory CLEMENT <gregory.clement@bootlin.com>
parent e011c902
No related branches found
No related tags found
No related merge requests found
......@@ -127,11 +127,15 @@ usb-led {
fan1: j10-pwm {
compatible = "pwm-fan";
pwms = <&gpio1 9 40000>; /* Target freq:25 kHz */
pinctrl-names = "default";
pinctrl-0 = <&helios_fan1_pins>;
};
fan2: j17-pwm {
compatible = "pwm-fan";
pwms = <&gpio1 23 40000>; /* Target freq:25 kHz */
pinctrl-names = "default";
pinctrl-0 = <&helios_fan2_pins>;
};
usb2_phy: usb2-phy {
......@@ -302,9 +306,12 @@ helios_io_led_pins: helios-io-led-pins {
"mpp54";
marvell,function = "gpio";
};
helios_fan_pins: helios-fan-pins {
marvell,pins = "mpp41", "mpp43",
"mpp48", "mpp55";
helios_fan1_pins: helios_fan1_pins {
marvell,pins = "mpp41", "mpp43";
marvell,function = "gpio";
};
helios_fan2_pins: helios_fan2_pins {
marvell,pins = "mpp48", "mpp55";
marvell,function = "gpio";
};
microsom_spi1_cs_pins: spi1-cs-pins {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment