2 * Copyright 2015 - Maxime Coquelin <mcoquelin.stm32@gmail.com>
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.
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,
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
35 * The above copyright notice and this permission notice shall be
36 * included in all copies or substantial portions of the Software.
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.
49 #include "stm32f429.dtsi"
50 #include "stm32f429-pinctrl.dtsi"
51 #include <dt-bindings/input/input.h>
52 #include <dt-bindings/gpio/gpio.h>
55 model = "STMicroelectronics STM32429i-EVAL board";
56 compatible = "st,stm32429i-eval", "st,stm32f429";
59 bootargs = "root=/dev/ram";
60 stdout-path = "serial0:115200n8";
64 reg = <0x00000000 0x2000000>;
72 clk_ext_camera: clk-ext-camera {
74 compatible = "fixed-clock";
75 clock-frequency = <24000000>;
80 dma-ranges = <0xc0000000 0x0 0x10000000>;
84 compatible = "simple-bus";
88 reg_vref: regulator@0 {
89 compatible = "regulator-fixed";
91 regulator-name = "vref";
92 regulator-min-microvolt = <3300000>;
93 regulator-max-microvolt = <3300000>;
98 compatible = "gpio-leds";
100 gpios = <&gpiog 6 1>;
101 linux,default-trigger = "heartbeat";
104 gpios = <&gpiog 7 1>;
107 gpios = <&gpiog 10 1>;
110 gpios = <&gpiog 12 1>;
115 compatible = "gpio-keys";
116 #address-cells = <1>;
121 linux,code = <KEY_WAKEUP>;
122 gpios = <&gpioa 0 0>;
126 linux,code = <KEY_RESTART>;
127 gpios = <&gpioc 13 0>;
131 usbotg_hs_phy: usbphy {
133 compatible = "usb-nop-xceiv";
134 clocks = <&rcc 0 STM32F4_AHB1_CLOCK(OTGHSULPI)>;
135 clock-names = "main_clk";
138 panel_rgb: panel-rgb {
139 compatible = "ampire,am-480272h3tmqw-t01h";
142 panel_in_rgb: endpoint {
143 remote-endpoint = <<dc_out_rgb>;
150 pinctrl-names = "default";
151 pinctrl-0 = <&adc3_in8_pin>;
152 vref-supply = <®_vref>;
155 st,adc-channels = <8>;
161 clock-frequency = <25000000>;
173 remote-endpoint = <&ov2640_0>;
183 pinctrl-0 = <&i2c1_pins>;
184 pinctrl-names = "default";
188 compatible = "ovti,ov2640";
190 resetb-gpios = <&stmpegpio 2 GPIO_ACTIVE_HIGH>;
191 pwdn-gpios = <&stmpegpio 0 GPIO_ACTIVE_LOW>;
192 clocks = <&clk_ext_camera>;
193 clock-names = "xvclk";
198 remote-endpoint = <&dcmi_0>;
203 stmpe1600: stmpe1600@42 {
204 compatible = "st,stmpe1600";
207 interrupt-parent = <&gpioi>;
208 interrupt-controller;
211 stmpegpio: stmpe_gpio {
212 compatible = "st,stmpe-gpio";
226 pinctrl-0 = <<dc_pins>;
227 pinctrl-names = "default";
231 ltdc_out_rgb: endpoint {
232 remote-endpoint = <&panel_in_rgb>;
239 pinctrl-0 = <ðernet_mii>;
240 pinctrl-names = "default";
242 phy-handle = <&phy1>;
244 #address-cells = <1>;
246 compatible = "snps,dwmac-mdio";
247 phy1: ethernet-phy@1 {
261 pinctrl-0 = <&pwm1_pins>;
262 pinctrl-names = "default";
275 pinctrl-0 = <&pwm3_pins>;
276 pinctrl-names = "default";
286 pinctrl-0 = <&usart1_pins_a>;
287 pinctrl-names = "default";
293 phys = <&usbotg_hs_phy>;
294 phy-names = "usb2-phy";
295 pinctrl-0 = <&usbotg_hs_pins_a>;
296 pinctrl-names = "default";