1 // SPDX-License-Identifier: GPL-2.0+ OR X11
3 * Copyright 2015 - Maxime Coquelin <mcoquelin.stm32@gmail.com>
7 #include "stm32f429.dtsi"
8 #include "stm32f429-pinctrl.dtsi"
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
11 #include <dt-bindings/gpio/gpio.h>
14 model = "STMicroelectronics STM32F429i-DISCO board";
15 compatible = "st,stm32f429i-disco", "st,stm32f429";
18 bootargs = "root=/dev/ram";
19 stdout-path = "serial0:115200n8";
23 device_type = "memory";
24 reg = <0x90000000 0x800000>;
32 compatible = "gpio-leds";
34 gpios = <&gpiog 14 0>;
37 gpios = <&gpiog 13 0>;
38 linux,default-trigger = "heartbeat";
43 compatible = "gpio-keys";
49 linux,code = <KEY_HOME>;
54 /* This turns on vbus for otg for host mode (dwc2) */
55 vcc5v_otg: vcc5v-otg-regulator {
56 compatible = "regulator-fixed";
58 regulator-name = "vcc5_host1";
64 clock-frequency = <8000000>;
72 pinctrl-names = "default";
73 pinctrl-0 = <&i2c3_pins>;
74 clock-frequency = <100000>;
78 compatible = "st,stmpe811";
80 interrupts = <15 IRQ_TYPE_EDGE_FALLING>;
81 interrupt-parent = <&gpioa>;
82 /* 3.25 MHz ADC clock speed */
86 /* internal ADC reference */
88 /* ADC converstion time: 80 clocks */
92 compatible = "st,stmpe-ts";
93 /* 8 sample average control */
95 /* 7 length fractional part in z */
98 * 50 mA typical 80 mA max touchscreen drivers
102 /* 1 ms panel driver settling time */
104 /* 5 ms touch detect interrupt delay */
105 st,touch-det-delay = <5>;
109 compatible = "st,stmpe-adc";
110 /* forbid to use ADC channels 3-0 (touch) */
111 st,norequest-mask = <0x0F>;
118 pinctrl-0 = <<dc_pins_b>;
119 pinctrl-names = "default";
122 ltdc_out_rgb: endpoint {
123 remote-endpoint = <&panel_in_rgb>;
129 assigned-clocks = <&rcc 1 CLK_RTC>;
130 assigned-clock-parents = <&rcc 1 CLK_LSI>;
136 pinctrl-0 = <&spi5_pins>;
137 pinctrl-names = "default";
138 #address-cells = <1>;
140 cs-gpios = <&gpioc 1 GPIO_ACTIVE_LOW>, <&gpioc 2 GPIO_ACTIVE_LOW>;
143 compatible = "st,l3gd20-gyro";
144 spi-max-frequency = <10000000>;
145 st,drdy-int-pin = <2>;
146 interrupt-parent = <&gpioa>;
147 interrupts = <1 IRQ_TYPE_EDGE_RISING>,
148 <2 IRQ_TYPE_EDGE_RISING>;
154 /* Connect panel-ilitek-9341 to ltdc */
155 compatible = "st,sf-tc240t-9370-t";
158 spi-max-frequency = <10000000>;
159 dc-gpios = <&gpiod 13 0>;
161 panel_in_rgb: endpoint {
162 remote-endpoint = <<dc_out_rgb>;
169 pinctrl-0 = <&usart1_pins_a>;
170 pinctrl-names = "default";
175 compatible = "st,stm32f4x9-fsotg";
177 pinctrl-0 = <&usbotg_fs_pins_b>;
178 pinctrl-names = "default";