2 * Copyright 2016 Toradex AG
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
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 the
12 * License, or (at your option) any later version.
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.
21 * b) Permission is hereby granted, free of charge, to any person
22 * obtaining a copy of this software and associated documentation
23 * files (the "Software"), to deal in the Software without
24 * restriction, including without limitation the rights to use,
25 * copy, modify, merge, publish, distribute, sublicense, and/or
26 * sell copies of the Software, and to permit persons to whom the
27 * Software is furnished to do so, subject to the following
30 * The above copyright notice and this permission notice shall be
31 * included in all copies or substantial portions of the Software.
33 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
34 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
35 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
36 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
37 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
38 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
39 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
40 * OTHER DEALINGS IN THE SOFTWARE.
45 stdout-path = "serial0:115200n8";
48 /* fixed crystal dedicated to mpc258x */
50 compatible = "fixed-clock";
52 clock-frequency = <16000000>;
56 compatible = "gpio-keys";
57 pinctrl-names = "default";
58 pinctrl-0 = <&pinctrl_gpiokeys>;
62 gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>;
63 linux,code = <KEY_WAKEUP>;
64 debounce-interval = <10>;
70 compatible = "edt,et057090dhu";
72 power-supply = <®_3v3>;
76 remote-endpoint = <&lcdif_out>;
81 reg_3v3: regulator-3v3 {
82 compatible = "regulator-fixed";
83 regulator-name = "3.3V";
84 regulator-min-microvolt = <3300000>;
85 regulator-max-microvolt = <3300000>;
88 reg_5v0: regulator-5v0 {
89 compatible = "regulator-fixed";
90 regulator-name = "5V";
91 regulator-min-microvolt = <5000000>;
92 regulator-max-microvolt = <5000000>;
95 reg_usbh_vbus: regulator-usbh-vbus {
96 compatible = "regulator-fixed";
97 pinctrl-names = "default";
98 pinctrl-0 = <&pinctrl_usbh_reg>;
99 regulator-name = "VCC_USB[1-4]";
100 regulator-min-microvolt = <5000000>;
101 regulator-max-microvolt = <5000000>;
102 gpio = <&gpio4 7 GPIO_ACTIVE_LOW>;
103 vin-supply = <®_5v0>;
108 brightness-levels = <0 4 8 16 32 64 128 255>;
109 default-brightness-level = <6>;
110 power-supply = <®_3v3>;
127 compatible = "microchip,mcp2515";
128 pinctrl-names = "default";
129 pinctrl-0 = <&pinctrl_can_int>;
132 interrupt-parent = <&gpio5>;
133 interrupts = <2 IRQ_TYPE_EDGE_FALLING>;
134 spi-max-frequency = <10000000>;
135 vdd-supply = <®_3v3>;
136 xceiver-supply = <®_5v0>;
149 * Touchscreen is using SODIMM 28/30, also used for PWM<B>, PWM<C>,
150 * aka pwm2, pwm3. so if you enable touchscreen, disable the pwms
153 compatible = "atmel,maxtouch";
154 pinctrl-names = "default";
155 pinctrl-0 = <&pinctrl_gpiotouch>;
157 interrupt-parent = <&gpio1>;
158 interrupts = <9 IRQ_TYPE_EDGE_FALLING>; /* SODIMM 28 */
159 reset-gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>; /* SODIMM 30 */
163 /* M41T0M6 real time clock on carrier board */
165 compatible = "st,m41t0";
174 lcdif_out: endpoint {
175 remote-endpoint = <&panel_in>;
213 keep-power-in-suspend;
215 vmmc-supply = <®_3v3>;
220 pinctrl_gpiotouch: touchgpios {
222 MX7D_PAD_GPIO1_IO09__GPIO1_IO9 0x74
223 MX7D_PAD_GPIO1_IO10__GPIO1_IO10 0x14