2 * USB armory MkI device tree file
3 * https://inversepath.com/usbarmory
5 * Copyright (C) 2015, Inverse Path
6 * Andrej Rosano <andrej@inversepath.com>
8 * This file is dual-licensed: you can use it either under the terms
9 * of the GPL or the X11 license, at your option. Note that this dual
10 * licensing only applies to this file, and not this project as a
13 * a) This file is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU General Public License as
15 * published by the Free Software Foundation; either version 2 of the
16 * License, or (at your option) any later version.
18 * This file is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
25 * b) Permission is hereby granted, free of charge, to any person
26 * obtaining a copy of this software and associated documentation
27 * files (the "Software"), to deal in the Software without
28 * restriction, including without limitation the rights to use,
29 * copy, modify, merge, publish, distribute, sublicense, and/or
30 * sell copies of the Software, and to permit persons to whom the
31 * Software is furnished to do so, subject to the following
34 * The above copyright notice and this permission notice shall be
35 * included in all copies or substantial portions of the Software.
37 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
38 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
39 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
40 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
41 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
42 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
43 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
44 * OTHER DEALINGS IN THE SOFTWARE.
51 model = "Inverse Path USB armory";
52 compatible = "inversepath,imx53-usbarmory", "fsl,imx53";
61 device_type = "memory";
62 reg = <0x70000000 0x20000000>;
66 compatible = "gpio-leds";
67 pinctrl-names = "default";
68 pinctrl-0 = <&pinctrl_led>;
72 gpios = <&gpio4 27 GPIO_ACTIVE_LOW>;
73 linux,default-trigger = "heartbeat";
79 * Not every i.MX53 P/N supports clock > 800MHz.
80 * As USB armory does not mount a specific P/N set a safe clock upper limit.
92 pinctrl-names = "default";
93 pinctrl-0 = <&pinctrl_esdhc1>;
98 pinctrl_esdhc1: esdhc1grp {
100 MX53_PAD_SD1_DATA0__ESDHC1_DAT0 0x1d5
101 MX53_PAD_SD1_DATA1__ESDHC1_DAT1 0x1d5
102 MX53_PAD_SD1_DATA2__ESDHC1_DAT2 0x1d5
103 MX53_PAD_SD1_DATA3__ESDHC1_DAT3 0x1d5
104 MX53_PAD_SD1_CMD__ESDHC1_CMD 0x1d5
105 MX53_PAD_SD1_CLK__ESDHC1_CLK 0x1d5
109 pinctrl_i2c1_pmic: i2c1grp {
111 MX53_PAD_EIM_D21__I2C1_SCL 0x80
112 MX53_PAD_EIM_D28__I2C1_SDA 0x80
116 pinctrl_led: ledgrp {
118 MX53_PAD_DISP0_DAT6__GPIO4_27 0x1e4
123 * UART mode pin header configuration
124 * 3 - GPIO5[26], pull-down 100K
125 * 4 - GPIO5[27], pull-down 100K
126 * 5 - TX, pull-up 100K
127 * 6 - RX, pull-up 100K
128 * 7 - GPIO5[30], pull-down 100K
130 pinctrl_uart1: uart1grp {
132 MX53_PAD_CSI0_DAT8__GPIO5_26 0xc0
133 MX53_PAD_CSI0_DAT9__GPIO5_27 0xc0
134 MX53_PAD_CSI0_DAT10__UART1_TXD_MUX 0x1e4
135 MX53_PAD_CSI0_DAT11__UART1_RXD_MUX 0x1e4
136 MX53_PAD_CSI0_DAT12__GPIO5_30 0xc0
142 pinctrl-0 = <&pinctrl_i2c1_pmic>;
146 compatible = "lltc,ltc3589-2";
151 regulator-min-microvolt = <591930>;
152 regulator-max-microvolt = <1224671>;
153 lltc,fb-voltage-divider = <100000 158000>;
154 regulator-ramp-delay = <7000>;
160 regulator-min-microvolt = <704123>;
161 regulator-max-microvolt = <1456803>;
162 lltc,fb-voltage-divider = <180000 191000>;
163 regulator-ramp-delay = <7000>;
169 regulator-min-microvolt = <1341250>;
170 regulator-max-microvolt = <2775000>;
171 lltc,fb-voltage-divider = <270000 100000>;
172 regulator-ramp-delay = <7000>;
178 regulator-min-microvolt = <3387341>;
179 regulator-max-microvolt = <3387341>;
180 lltc,fb-voltage-divider = <511000 158000>;
186 regulator-min-microvolt = <1306329>;
187 regulator-max-microvolt = <1306329>;
188 lltc,fb-voltage-divider = <100000 158000>;
194 regulator-min-microvolt = <704123>;
195 regulator-max-microvolt = <1456806>;
196 lltc,fb-voltage-divider = <180000 191000>;
197 regulator-ramp-delay = <7000>;
203 regulator-min-microvolt = <2800000>;
204 regulator-max-microvolt = <2800000>;
209 regulator-min-microvolt = <1200000>;
210 regulator-max-microvolt = <3200000>;
217 pinctrl-names = "default";
218 pinctrl-0 = <&pinctrl_uart1>;
223 dr_mode = "peripheral";