Skip to content

Commit f3366d3

Browse files
committed
ARM: dts: at91: sama5d2_icp: add pwrseq for wilc
Add pwrseq bindings for WILC. Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
1 parent 5c25d2b commit f3366d3

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

arch/arm/boot/dts/at91-sama5d2_icp.dts

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,15 @@
3838
};
3939
};
4040

41+
wifi_pwrseq: wifi_pwrseq {
42+
compatible = "mmc-pwrseq-wilc";
43+
reset-gpios = <&pioA 8 GPIO_ACTIVE_HIGH>;
44+
powerdown-gpios = <&pioA 78 GPIO_ACTIVE_LOW>;
45+
pinctrl-0 = <&pinctrl_wilc_pwrseq_default>;
46+
pinctrl-names = "default";
47+
status = "okay"; /* Conflict with qspi1. */
48+
};
49+
4150
ahb {
4251
usb0: gadget@300000 {
4352
atmel,vbus-gpio = <&pioA PIN_PD23 GPIO_ACTIVE_LOW>;
@@ -70,7 +79,7 @@
7079
qspi1: spi@f0024000 {
7180
pinctrl-names = "default";
7281
pinctrl-0 = <&pinctrl_qspi1_default>;
73-
status = "okay";
82+
status = "disabled"; /* Conflict with wilc_pwrseq. */
7483
flash@0 {
7584
reg = <0>;
7685
compatible = "jedec,spi-nor";
@@ -677,6 +686,11 @@
677686
bias-pull-up;
678687
};
679688

689+
pinctrl_wilc_pwrseq_default: wilc_pwrseq_default {
690+
pinmux = <PIN_PA8__GPIO>,
691+
<PIN_PC15__GPIO>;
692+
bias-pull-up;
693+
};
680694
};
681695

682696
can1: can@fc050000 {

0 commit comments

Comments
 (0)