aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2015-03-02 22:41:45 -0500
committerShawn Guo <shawn.guo@linaro.org>2015-03-30 04:42:23 -0400
commit27b0b9d8515f1315ba3ec848aa58cf936200fe07 (patch)
tree8081a0498a82d65734217753dbca7df56f31f4e9 /arch/arm
parent7c8a0353799b2813a606b8862a6c43ed33df079a (diff)
ARM: dts: warp: Add initial WaRP Board support
The WaRP Board is a Wearable Reference Plaform. The board features: - Freescale i.MX6 SoloLite processor with 512MB of RAM - Freescale FXOS8700CQ 6-axis Xtrinsic sensor - Freescale Kinetis KL16 MCU - Freescale Xtrinsic MMA955xL intelligent motion sensing platform The board implements a hybrid architecture to address the evolving needs of the wearables market. The platform consists of a main board and an example daughtercard with the ability to add additional daughtercards for different usage models. For more information about the project, visit: http://www.warpboard.org/ Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/Makefile3
-rw-r--r--arch/arm/boot/dts/imx6sl-warp.dts190
2 files changed, 192 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 4a4ae422481b..8e7b9d55905d 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -299,7 +299,8 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
299 imx6q-wandboard.dtb \ 299 imx6q-wandboard.dtb \
300 imx6q-wandboard-revb1.dtb 300 imx6q-wandboard-revb1.dtb
301dtb-$(CONFIG_SOC_IMX6SL) += \ 301dtb-$(CONFIG_SOC_IMX6SL) += \
302 imx6sl-evk.dtb 302 imx6sl-evk.dtb \
303 imx6sl-warp.dtb
303dtb-$(CONFIG_SOC_IMX6SX) += \ 304dtb-$(CONFIG_SOC_IMX6SX) += \
304 imx6sx-sabreauto.dtb \ 305 imx6sx-sabreauto.dtb \
305 imx6sx-sdb-reva.dtb \ 306 imx6sx-sdb-reva.dtb \
diff --git a/arch/arm/boot/dts/imx6sl-warp.dts b/arch/arm/boot/dts/imx6sl-warp.dts
new file mode 100644
index 000000000000..904efc48b096
--- /dev/null
+++ b/arch/arm/boot/dts/imx6sl-warp.dts
@@ -0,0 +1,190 @@
1/*
2 * Copyright 2014, 2015 O.S. Systems Software LTDA.
3 *
4 * This file is dual-licensed: you can use it either under the terms
5 * of the GPL or the X11 license, at your option. Note that this dual
6 * licensing only applies to this file, and not this project as a
7 * whole.
8 *
9 * a) This file is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation; either version 2 of
12 * the License, or (at your option) any later version.
13 *
14 * This file is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public
20 * License along with this file; if not, write to the Free
21 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
22 * MA 02110-1301 USA
23 *
24 * Or, alternatively,
25 *
26 * b) Permission is hereby granted, free of charge, to any person
27 * obtaining a copy of this software and associated documentation
28 * files (the "Software"), to deal in the Software without
29 * restriction, including without limitation the rights to use,
30 * copy, modify, merge, publish, distribute, sublicense, and/or
31 * sell copies of the Software, and to permit persons to whom the
32 * Software is furnished to do so, subject to the following
33 * conditions:
34 *
35 * The above copyright notice and this permission notice shall be
36 * included in all copies or substantial portions of the Software.
37 *
38 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
39 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
40 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
41 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
42 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
43 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
44 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
45 * OTHER DEALINGS IN THE SOFTWARE.
46 */
47
48/dts-v1/;
49
50#include "imx6sl.dtsi"
51
52/ {
53 model = "WaRP Board";
54 compatible = "warp,imx6sl-warp", "fsl,imx6sl";
55
56 memory {
57 reg = <0x80000000 0x20000000>;
58 };
59
60 regulators {
61 compatible = "simple-bus";
62 #address-cells = <1>;
63 #size-cells = <0>;
64
65 reg_usb_otg1_vbus: regulator@0 {
66 compatible = "regulator-fixed";
67 reg = <0>;
68 regulator-name = "usb_otg1_vbus";
69 regulator-min-microvolt = <5000000>;
70 regulator-max-microvolt = <5000000>;
71 gpio = <&gpio4 0 0>;
72 enable-active-high;
73 };
74
75 reg_usb_otg2_vbus: regulator@1 {
76 compatible = "regulator-fixed";
77 reg = <1>;
78 regulator-name = "usb_otg2_vbus";
79 regulator-min-microvolt = <5000000>;
80 regulator-max-microvolt = <5000000>;
81 gpio = <&gpio4 2 0>;
82 enable-active-high;
83 };
84
85 reg_1p8v: regulator@2 {
86 compatible = "regulator-fixed";
87 reg = <2>;
88 regulator-name = "1P8V";
89 regulator-min-microvolt = <1800000>;
90 regulator-max-microvolt = <1800000>;
91 };
92 };
93};
94
95&uart1 {
96 pinctrl-names = "default";
97 pinctrl-0 = <&pinctrl_uart1>;
98 status = "okay";
99};
100
101&uart3 {
102 pinctrl-names = "default";
103 pinctrl-0 = <&pinctrl_uart3>;
104 status = "okay";
105};
106
107&usbotg1 {
108 vbus-supply = <&reg_usb_otg1_vbus>;
109 dr_mode = "host";
110 disable-over-current;
111 status = "okay";
112};
113
114&usbotg2 {
115 vbus-supply = <&reg_usb_otg2_vbus>;
116 disable-over-current;
117 status = "okay";
118};
119
120&usdhc2 {
121 pinctrl-names = "default", "state_100mhz", "state_200mhz";
122 pinctrl-0 = <&pinctrl_usdhc2>;
123 pinctrl-1 = <&pinctrl_usdhc2_100mhz>;
124 pinctrl-2 = <&pinctrl_usdhc2_200mhz>;
125 non-removable;
126 status = "okay";
127};
128
129&iomuxc {
130 imx6sl-warp {
131 pinctrl_uart1: uart1grp {
132 fsl,pins = <
133 MX6SL_PAD_UART1_RXD__UART1_RX_DATA 0x41b0b1
134 MX6SL_PAD_UART1_TXD__UART1_TX_DATA 0x41b0b1
135 >;
136 };
137
138 pinctrl_uart3: uart3grp {
139 fsl,pins = <
140 MX6SL_PAD_AUD_RXC__UART3_RX_DATA 0x41b0b1
141 MX6SL_PAD_AUD_RXC__UART3_TX_DATA 0x41b0b1
142 >;
143 };
144
145 pinctrl_usdhc2: usdhc2grp {
146 fsl,pins = <
147 MX6SL_PAD_SD2_CMD__SD2_CMD 0x417059
148 MX6SL_PAD_SD2_CLK__SD2_CLK 0x410059
149 MX6SL_PAD_SD2_DAT0__SD2_DATA0 0x417059
150 MX6SL_PAD_SD2_DAT1__SD2_DATA1 0x417059
151 MX6SL_PAD_SD2_DAT2__SD2_DATA2 0x417059
152 MX6SL_PAD_SD2_DAT3__SD2_DATA3 0x417059
153 MX6SL_PAD_SD2_DAT4__SD2_DATA4 0x417059
154 MX6SL_PAD_SD2_DAT5__SD2_DATA5 0x417059
155 MX6SL_PAD_SD2_DAT6__SD2_DATA6 0x417059
156 MX6SL_PAD_SD2_DAT7__SD2_DATA7 0x417059
157 >;
158 };
159
160 pinctrl_usdhc2_100mhz: usdhc2grp100mhz {
161 fsl,pins = <
162 MX6SL_PAD_SD2_CMD__SD2_CMD 0x4170b9
163 MX6SL_PAD_SD2_CLK__SD2_CLK 0x4100b9
164 MX6SL_PAD_SD2_DAT0__SD2_DATA0 0x4170b9
165 MX6SL_PAD_SD2_DAT1__SD2_DATA1 0x4170b9
166 MX6SL_PAD_SD2_DAT2__SD2_DATA2 0x4170b9
167 MX6SL_PAD_SD2_DAT3__SD2_DATA3 0x4170b9
168 MX6SL_PAD_SD2_DAT4__SD2_DATA4 0x4170b9
169 MX6SL_PAD_SD2_DAT5__SD2_DATA5 0x4170b9
170 MX6SL_PAD_SD2_DAT6__SD2_DATA6 0x4170b9
171 MX6SL_PAD_SD2_DAT7__SD2_DATA7 0x4170b9
172 >;
173 };
174
175 pinctrl_usdhc2_200mhz: usdhc2grp200mhz {
176 fsl,pins = <
177 MX6SL_PAD_SD2_CMD__SD2_CMD 0x4170f9
178 MX6SL_PAD_SD2_CLK__SD2_CLK 0x4100f9
179 MX6SL_PAD_SD2_DAT0__SD2_DATA0 0x4170f9
180 MX6SL_PAD_SD2_DAT1__SD2_DATA1 0x4170f9
181 MX6SL_PAD_SD2_DAT2__SD2_DATA2 0x4170f9
182 MX6SL_PAD_SD2_DAT3__SD2_DATA3 0x4170f9
183 MX6SL_PAD_SD2_DAT4__SD2_DATA4 0x4170f9
184 MX6SL_PAD_SD2_DAT5__SD2_DATA5 0x4170f9
185 MX6SL_PAD_SD2_DAT6__SD2_DATA6 0x4170f9
186 MX6SL_PAD_SD2_DAT7__SD2_DATA7 0x4170f9
187 >;
188 };
189 };
190};