blob: 36289c175e6e40b47e72345b4f94439fb2132c7a [file] [log] [blame]
Marcel Ziswilerf8621462022-07-21 15:46:44 +02001// 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
70/* On-module Wi-Fi */
71&usdhc1 {
72 bus-width = <4>;
73 keep-power-in-suspend;
74 max-frequency = <100000000>;
75 non-removable;
76 pinctrl-names = "default", "state_100mhz", "state_200mhz";
77 pinctrl-0 = <&pinctrl_usdhc1>, <&pinctrl_wifi_ctrl>;
78 pinctrl-1 = <&pinctrl_usdhc1_100mhz>, <&pinctrl_wifi_ctrl>;
79 pinctrl-2 = <&pinctrl_usdhc1_200mhz>, <&pinctrl_wifi_ctrl>;
80 vmmc-supply = <&reg_wifi_en>;
81 status = "okay";
82};