diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2017-11-23 10:01:17 +0100 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2017-12-21 14:28:05 +0100 |
commit | ce41217532e55b2e5f94a6700654c3f557f14def (patch) | |
tree | 6021920364dbfffcc1fae037c77e915358b7c228 /arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi | |
parent | 884a956954bfe1fe3976798de1631513e02cd1f6 (diff) |
ARM: dts: imx6ull: Add Colibri iMX6ULL device trees
Initial add of Colibri iMX6ULL device trees, copied and adopted
from the Toradex toradex_4.1-2.0.x-imx branch.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi | 61 |
1 files changed, 61 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..d5496de4da78 --- /dev/null +++ b/arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi @@ -0,0 +1,61 @@ +/* + * 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"; +// vmmc-supply = <®_wifi_pwd>; + +#if 0 + mwifiex: wifi@1 { +//??? what is it really? + compatible = "marvell,sd8787"; + reg = <1>; + interrupt-parent = <&pio>; + interrupts = <38 IRQ_TYPE_LEVEL_LOW>; + + marvell,caldata_00_txpwrlimit_2g_cfg_set = /bits/ 8 <0x01 0x00 0x06 0x00 0x08 0x02 0x89 0x01>; + marvell,wakeup-pin = <3>; + }; +#endif +}; |