Linux 6.7-rc7
[linux-modified.git] / arch / arm64 / boot / dts / freescale / imx8mp-verdin-wifi.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 /*
3  * Copyright 2022 Toradex
4  */
5
6 / {
7         reg_wifi_en: regulator-wifi-en {
8                 compatible = "regulator-fixed";
9                 enable-active-high;
10                 gpio = <&gpio2 11 GPIO_ACTIVE_HIGH>;
11                 pinctrl-names = "default";
12                 pinctrl-0 = <&pinctrl_wifi_pwr_en>;
13                 regulator-max-microvolt = <3300000>;
14                 regulator-min-microvolt = <3300000>;
15                 regulator-name = "PDn_AW-CM276NF";
16                 startup-delay-us = <2000>;
17         };
18 };
19
20 &gpio5 {
21         gpio-line-names = "SODIMM_42",
22                           "SODIMM_46",
23                           "SODIMM_187",
24                           "SODIMM_20",
25                           "SODIMM_22",
26                           "SODIMM_15",
27                           "SODIMM_196",
28                           "SODIMM_200",
29                           "SODIMM_198",
30                           "SODIMM_202",
31                           "",
32                           "",
33                           "",
34                           "",
35                           "",
36                           "",
37                           "SODIMM_55",
38                           "SODIMM_53",
39                           "SODIMM_95",
40                           "SODIMM_93",
41                           "SODIMM_14",
42                           "SODIMM_12",
43                           "SODIMM_129",
44                           "SODIMM_131",
45                           "SODIMM_137",
46                           "SODIMM_139",
47                           "SODIMM_147",
48                           "SODIMM_149",
49                           "SODIMM_151",
50                           "SODIMM_153";
51 };
52
53 &iomuxc {
54         pinctrl-names = "default";
55         pinctrl-0 = <&pinctrl_gpio1>, <&pinctrl_gpio2>,
56                     <&pinctrl_gpio3>, <&pinctrl_gpio4>,
57                     <&pinctrl_gpio7>, <&pinctrl_gpio8>,
58                     <&pinctrl_gpio_hog2>, <&pinctrl_gpio_hog3>, <&pinctrl_gpio_hog4>,
59                     <&pinctrl_hdmi_hog>;
60 };
61
62 /* On-module Bluetooth */
63 &uart4 {
64         uart-has-rtscts;
65         pinctrl-names = "default";
66         pinctrl-0 = <&pinctrl_bt_uart>;
67         status = "okay";
68
69         bluetooth {
70                 compatible = "mrvl,88w8997";
71                 max-speed = <921600>;
72         };
73 };
74
75 /* On-module Wi-Fi */
76 &usdhc1 {
77         bus-width = <4>;
78         keep-power-in-suspend;
79         max-frequency = <100000000>;
80         non-removable;
81         pinctrl-names = "default", "state_100mhz", "state_200mhz";
82         pinctrl-0 = <&pinctrl_usdhc1>, <&pinctrl_wifi_ctrl>;
83         pinctrl-1 = <&pinctrl_usdhc1_100mhz>, <&pinctrl_wifi_ctrl>;
84         pinctrl-2 = <&pinctrl_usdhc1_200mhz>, <&pinctrl_wifi_ctrl>;
85         vmmc-supply = <&reg_wifi_en>;
86         status = "okay";
87 };