off-on-delay = <20000>;
enable-active-high;
};
-
- reg_wlan_en: regulator@10 {
- compatible = "regulator-fixed";
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_wifi_en>;
- regulator-name = "wlan";
- regulator-min-microvolt = <3300000>;
- regulator-max-microvolt = <3300000>;
- regulator-boot-on;
- gpios = <&gpio5 7 0>;
- startup-delay-us = <70000>;
- };
};
leds {
linux,default-trigger = "heartbeat";
};
};
+
+ wifi_pwrseq: wifi_pwrseq {
+ compatible = "mmc-pwrseq-simple";
+ reset-gpios = <&gpio5 7 GPIO_ACTIVE_LOW>, //RESET
+ <&gpio5 6 GPIO_ACTIVE_LOW>; //CHIP_EN
+ post-power-on-delay-ms = <10>;
+ };
};
&cpu0 {
pmic: pf1550@08 {
compatible = "fsl,pf1550";
interrupt-parent = <&gpio5>;
- interrupts = <4 8>;
+ interrupts = <8 IRQ_TYPE_LEVEL_LOW>;
reg = <0x08>;
- //pinctrl-0 = <&pinctrl_pf1550>;
+ pinctrl-0 = <&pinctrl_pf1550>;
onkey {
compatible = "fsl,pf1550-onkey";
pinctrl_hog_2: hoggrp-2 {
fsl,pins = <
MX6ULL_PAD_SNVS_TAMPER0__GPIO5_IO00 0x80000000
+ MX6ULL_PAD_SNVS_TAMPER4__GPIO5_IO04 0x80000000
>;
};
MX6ULL_PAD_SNVS_TAMPER9__GPIO5_IO09 0x1b0b0
>;
};
+
+ pinctrl_pf1550: pf1550 {
+ fsl,pins = <
+ MX6ULL_PAD_SNVS_TAMPER8__GPIO5_IO08 0x80000000
+ >;
+ };
};
};
};
&usdhc1 {
- /*pinctrl-names = "default", "state_100mhz", "state_200mhz";
- pinctrl-0 = <&pinctrl_usdhc1>;
- pinctrl-1 = <&pinctrl_usdhc1_100mhz>;
- pinctrl-2 = <&pinctrl_usdhc1_200mhz>;*/
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usdhc1>;
- //cd-gpios = <&gpio1 19 GPIO_ACTIVE_LOW>;
- //no-1-8-v;
- keep-power-in-suspend;
- enable-sdio-wakeup;
+ mmc-pwrseq = <&wifi_pwrseq>;
+ cap-power-off-card;
non-removable;
- wifi-host;
- //vmmc-supply = <®_sd1_vmmc>;
- //vmmc-supply = <®_wlan_en>;
bus-width = <4>;
status = "okay";
+ #address-cells = <1>;
+ #size-cells = <0>;
wilc_sdio: wilc_sdio@0{
compatible = "microchip,wilc1000";
pinctrl-0 = <&pinctrl_wifi_en>;
status = "okay";
- //interrupts = <5 IRQ_TYPE_EDGE_RISING>;
- //gpio_irq = <&gpio5 5 0>;
- gpio_reset = <&gpio5 7 0>;
- //reset-gpios = <&gpio5 7 0>;
- gpio_chip_en = <&gpio5 6 0>;
- //chip_en-gpios = <&gpio5 6 0>;
reg = <0>;
- bus-width = <4>;
};
};