summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi')
-rw-r--r--arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi55
1 files changed, 55 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..5d98763b1677
--- /dev/null
+++ b/arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi
@@ -0,0 +1,55 @@
+/*
+ * 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 &pinctrl_hog_7>;
+
+};
+
+&iomuxc_snvs {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_snvs_hog_1 &pinctrl_snvs_hog_2>;
+};
+
+&usdhc2 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_usdhc2>;
+ assigned-clocks = <&clks IMX6UL_CLK_USDHC2_SEL>, <&clks IMX6UL_CLK_USDHC2>;
+ assigned-clock-parents = <&clks IMX6UL_CLK_PLL2_PFD2>;
+ assigned-clock-rates = <0>, <198000000>;
+ 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 = <&reg_wifi_pwd>;
+};