diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2017-11-16 21:07:27 +0100 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2017-11-27 10:12:20 +0100 |
commit | 8d5f3e4f71972bca32b80889f2787942c7e3ed1f (patch) | |
tree | f51250aaab03755ccdc0001d3d45a4e3e8d5cfc7 /arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi | |
parent | 166fb4842e780f63c31622af706335e7dcd48c24 (diff) |
colibri_imx6ull: add dtb for wifi variant
Add a device tree for the Colibri iMX6ULL 512MB Wi-Fi / BT.
This is done by splitting out common nodes / properties into
common *dtsi files and keep only the differences in a separate
files.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
Diffstat (limited to 'arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi b/arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi new file mode 100644 index 000000000000..cd890c5a24a5 --- /dev/null +++ b/arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi @@ -0,0 +1,52 @@ +/* + * Copyright (C) 2017 Toradex AG + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#include "imx6ull-colibri.dtsi" + +/ { + reg_wifi_pwd: regulator-wifi-pwd { + compatible = "regulator-fixed"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_wifi_pdn>; + gpio = <&gpio5 11 0>; + enable-active-high; + regulator-always-on; + regulator-name = "WIFI_PDN"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; +}; + +&iomuxc { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_hog_1 &pinctrl_hog_2 &pinctrl_hog_3 + &pinctrl_hog_4 &pinctrl_hog_5>; + +}; + +&iomuxc_snvs { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_snvs_hog_1 &pinctrl_snvs_hog_2>; +}; + +&usdhc2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usdhc2>; + no-1-8-v; + disable-wp; + enable-sdio-wakeup; + keep-power-in-suspend; + broken-cd; + /* non-removable;*/ + status = "okay"; + /* + * Does not work for a WiFi chip since vmmc get turned on only during + * SDIO communication... + */ +// vmmc-supply = <®_wifi_pwd>; +}; |