Merge tag 'armsoc-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / imx6ull-colibri-wifi.dtsi
1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
2 /*
3  * Copyright 2018 Toradex AG
4  */
5
6 #include "imx6ull-colibri.dtsi"
7
8 / {
9         memory@80000000 {
10                 device_type = "memory";
11                 reg = <0x80000000 0x20000000>;
12         };
13
14         wifi_pwrseq: sdio-pwrseq {
15                 compatible = "mmc-pwrseq-simple";
16                 pinctrl-names = "default";
17                 pinctrl-0 = <&pinctrl_snvs_wifi_pdn>;
18                 reset-gpios = <&gpio5 11 GPIO_ACTIVE_LOW>;
19         };
20 };
21
22 &cpu0 {
23         clock-frequency = <792000000>;
24 };
25
26 &iomuxc {
27         pinctrl-names = "default";
28         pinctrl-0 = <&pinctrl_gpio1 &pinctrl_gpio2 &pinctrl_gpio3
29                 &pinctrl_gpio4 &pinctrl_gpio5>;
30
31 };
32
33 &iomuxc_snvs {
34         pinctrl-names = "default";
35         pinctrl-0 = <&pinctrl_snvs_gpio1 &pinctrl_snvs_gpio2>;
36 };
37
38 &usdhc2 {
39         pinctrl-names = "default";
40         pinctrl-0 = <&pinctrl_usdhc2>;
41         assigned-clocks = <&clks IMX6UL_CLK_USDHC2_SEL>, <&clks IMX6UL_CLK_USDHC2>;
42         assigned-clock-parents = <&clks IMX6UL_CLK_PLL2_PFD2>;
43         assigned-clock-rates = <0>, <198000000>;
44         cap-power-off-card;
45         keep-power-in-suspend;
46         mmc-pwrseq = <&wifi_pwrseq>;
47         no-1-8-v;
48         non-removable;
49         vmmc-supply = <&reg_module_3v3>;
50         wakeup-source;
51         status = "okay";
52 };