~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/st/stm32429i-eval.dts

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /*
  2  * Copyright 2015 - Maxime Coquelin <mcoquelin.stm32@gmail.com>
  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 the
 12  *     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 #include "stm32f429.dtsi"
 50 #include "stm32f429-pinctrl.dtsi"
 51 #include <dt-bindings/input/input.h>
 52 #include <dt-bindings/gpio/gpio.h>
 53 #include <dt-bindings/media/video-interfaces.h>
 54 
 55 / {
 56         model = "STMicroelectronics STM32429i-EVAL board";
 57         compatible = "st,stm32429i-eval", "st,stm32f429";
 58 
 59         chosen {
 60                 bootargs = "root=/dev/ram";
 61                 stdout-path = "serial0:115200n8";
 62         };
 63 
 64         memory@0 {
 65                 device_type = "memory";
 66                 reg = <0x00000000 0x2000000>;
 67         };
 68 
 69         aliases {
 70                 serial0 = &usart1;
 71         };
 72 
 73         clocks {
 74                 clk_ext_camera: clk-ext-camera {
 75                         #clock-cells = <0>;
 76                         compatible = "fixed-clock";
 77                         clock-frequency = <24000000>;
 78                 };
 79         };
 80 
 81         soc {
 82                 dma-ranges = <0xc0000000 0x0 0x10000000>;
 83         };
 84 
 85         vdda: regulator-vdda {
 86                 compatible = "regulator-fixed";
 87                 regulator-name = "vdda";
 88                 regulator-min-microvolt = <3300000>;
 89                 regulator-max-microvolt = <3300000>;
 90         };
 91 
 92         vref: regulator-vref {
 93                 compatible = "regulator-fixed";
 94                 regulator-name = "vref";
 95                 regulator-min-microvolt = <3300000>;
 96                 regulator-max-microvolt = <3300000>;
 97         };
 98 
 99         vdd_panel: vdd-panel {
100                 compatible = "regulator-fixed";
101                 regulator-name = "vdd_panel";
102                 regulator-min-microvolt = <3300000>;
103                 regulator-max-microvolt = <3300000>;
104         };
105 
106         leds {
107                 compatible = "gpio-leds";
108                 led-green {
109                         gpios = <&gpiog 6 1>;
110                         linux,default-trigger = "heartbeat";
111                 };
112                 led-orange {
113                         gpios = <&gpiog 7 1>;
114                 };
115                 led-red {
116                         gpios = <&gpiog 10 1>;
117                 };
118                 led-blue {
119                         gpios = <&gpiog 12 1>;
120                 };
121         };
122 
123         gpio-keys {
124                 compatible = "gpio-keys";
125                 autorepeat;
126                 button-0 {
127                         label = "Wake up";
128                         linux,code = <KEY_WAKEUP>;
129                         gpios = <&gpioa 0 0>;
130                 };
131                 button-1 {
132                         label = "Tamper";
133                         linux,code = <KEY_RESTART>;
134                         gpios = <&gpioc 13 0>;
135                 };
136         };
137 
138         usbotg_hs_phy: usbphy {
139                 #phy-cells = <0>;
140                 compatible = "usb-nop-xceiv";
141                 clocks = <&rcc 0 STM32F4_AHB1_CLOCK(OTGHSULPI)>;
142                 clock-names = "main_clk";
143         };
144 
145         panel_rgb: panel-rgb {
146                 compatible = "ampire,am-480272h3tmqw-t01h";
147                 power-supply = <&vdd_panel>;
148                 status = "okay";
149                 port {
150                         panel_in_rgb: endpoint {
151                                 remote-endpoint = <&ltdc_out_rgb>;
152                         };
153                 };
154         };
155 
156         mmc_vcard: mmc_vcard {
157                 compatible = "regulator-fixed";
158                 regulator-name = "mmc_vcard";
159                 regulator-min-microvolt = <3300000>;
160                 regulator-max-microvolt = <3300000>;
161         };
162 };
163 
164 &adc {
165         pinctrl-names = "default";
166         pinctrl-0 = <&adc3_in8_pin>;
167         vdda-supply = <&vdda>;
168         vref-supply = <&vref>;
169         status = "okay";
170         adc3: adc@200 {
171                 st,adc-channels = <8>;
172                 status = "okay";
173         };
174 };
175 
176 &clk_hse {
177         clock-frequency = <25000000>;
178 };
179 
180 &crc {
181         status = "okay";
182 };
183 
184 &dcmi {
185         status = "okay";
186 
187         port {
188                 dcmi_0: endpoint {
189                         remote-endpoint = <&ov2640_0>;
190                         bus-type = <MEDIA_BUS_TYPE_PARALLEL>;
191                         bus-width = <8>;
192                         hsync-active = <0>;
193                         vsync-active = <0>;
194                         pclk-sample = <1>;
195                 };
196         };
197 };
198 
199 &i2c1 {
200         pinctrl-0 = <&i2c1_pins>;
201         pinctrl-names = "default";
202         status = "okay";
203 
204         ov2640: camera@30 {
205                 compatible = "ovti,ov2640";
206                 reg = <0x30>;
207                 resetb-gpios = <&stmpegpio 2 GPIO_ACTIVE_HIGH>;
208                 pwdn-gpios = <&stmpegpio 0 GPIO_ACTIVE_LOW>;
209                 clocks = <&clk_ext_camera>;
210                 clock-names = "xvclk";
211                 status = "okay";
212 
213                 port {
214                         ov2640_0: endpoint {
215                                 remote-endpoint = <&dcmi_0>;
216                         };
217                 };
218         };
219 
220         stmpe1600: stmpe1600@42 {
221                 compatible = "st,stmpe1600";
222                 reg = <0x42>;
223                 interrupts = <8 3>;
224                 interrupt-parent = <&gpioi>;
225                 wakeup-source;
226 
227                 stmpegpio: stmpe_gpio {
228                         compatible = "st,stmpe-gpio";
229                         gpio-controller;
230                         #gpio-cells = <2>;
231                 };
232         };
233 };
234 
235 &iwdg {
236         status = "okay";
237         timeout-sec = <32>;
238 };
239 
240 &ltdc {
241         status = "okay";
242         pinctrl-0 = <&ltdc_pins_a>;
243         pinctrl-names = "default";
244 
245         port {
246                 ltdc_out_rgb: endpoint {
247                         remote-endpoint = <&panel_in_rgb>;
248                 };
249         };
250 };
251 
252 &mac {
253         status = "okay";
254         pinctrl-0 = <&ethernet_mii>;
255         pinctrl-names = "default";
256         phy-mode = "mii";
257         phy-handle = <&phy1>;
258         mdio0 {
259                 #address-cells = <1>;
260                 #size-cells = <0>;
261                 compatible = "snps,dwmac-mdio";
262                 phy1: ethernet-phy@1 {
263                         reg = <1>;
264                 };
265         };
266 };
267 
268 &rtc {
269         status = "okay";
270 };
271 
272 &sdio {
273         status = "okay";
274         vmmc-supply = <&mmc_vcard>;
275         cd-gpios = <&stmpegpio 15 GPIO_ACTIVE_LOW>;
276         pinctrl-names = "default", "opendrain";
277         pinctrl-0 = <&sdio_pins>;
278         pinctrl-1 = <&sdio_pins_od>;
279         bus-width = <4>;
280         max-frequency = <12500000>;
281 };
282 
283 &timers1 {
284         status = "okay";
285 
286         pwm {
287                 pinctrl-0 = <&pwm1_pins>;
288                 pinctrl-names = "default";
289                 status = "okay";
290         };
291 
292         timer@0 {
293                 status = "okay";
294         };
295 };
296 
297 &timers3 {
298         status = "okay";
299 
300         pwm {
301                 pinctrl-0 = <&pwm3_pins>;
302                 pinctrl-names = "default";
303                 status = "okay";
304         };
305 
306         timer@2 {
307                 status = "okay";
308         };
309 };
310 
311 &timers5 {
312         /* Override timer5 to act as clockevent */
313         compatible = "st,stm32-timer";
314         interrupts = <50>;
315         status = "okay";
316         /delete-property/#address-cells;
317         /delete-property/#size-cells;
318         /delete-property/clock-names;
319         /delete-node/pwm;
320         /delete-node/timer@4;
321 };
322 
323 &usart1 {
324         pinctrl-0 = <&usart1_pins_a>;
325         pinctrl-names = "default";
326         status = "okay";
327 };
328 
329 &usbotg_hs {
330         dr_mode = "host";
331         phys = <&usbotg_hs_phy>;
332         phy-names = "usb2-phy";
333         pinctrl-0 = <&usbotg_hs_pins_a>;
334         pinctrl-names = "default";
335         status = "okay";
336 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php