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";
47 linux,code = <KEY_HOME>;
52 /* This turns on vbus for otg for host mode (dwc2) */
53 vcc5v_otg: vcc5v-otg-regulator {
54 compatible = "regulator-fixed";
56 regulator-name = "vcc5_host1";
62 clock-frequency = <8000000>;
70 pinctrl-names = "default";
71 pinctrl-0 = <&i2c3_pins>;
72 clock-frequency = <100000>;
76 compatible = "st,stmpe811";
78 interrupts = <15 IRQ_TYPE_EDGE_FALLING>;
79 interrupt-parent = <&gpioa>;
80 /* 3.25 MHz ADC clock speed */
84 /* internal ADC reference */
86 /* ADC converstion time: 80 clocks */
90 compatible = "st,stmpe-ts";
91 /* 8 sample average control */
93 /* 7 length fractional part in z */
96 * 50 mA typical 80 mA max touchscreen drivers
100 /* 1 ms panel driver settling time */
102 /* 5 ms touch detect interrupt delay */
103 st,touch-det-delay = <5>;
107 compatible = "st,stmpe-adc";
108 /* forbid to use ADC channels 3-0 (touch) */
109 st,norequest-mask = <0x0F>;
116 pinctrl-0 = <<dc_pins_b>;
117 pinctrl-names = "default";
120 ltdc_out_rgb: endpoint {
121 remote-endpoint = <&panel_in_rgb>;
127 assigned-clocks = <&rcc 1 CLK_RTC>;
128 assigned-clock-parents = <&rcc 1 CLK_LSI>;
134 pinctrl-0 = <&spi5_pins>;
135 pinctrl-names = "default";
136 #address-cells = <1>;
138 cs-gpios = <&gpioc 1 GPIO_ACTIVE_LOW>, <&gpioc 2 GPIO_ACTIVE_LOW>;
141 compatible = "st,l3gd20-gyro";
142 spi-max-frequency = <10000000>;
143 st,drdy-int-pin = <2>;
144 interrupt-parent = <&gpioa>;
145 interrupts = <1 IRQ_TYPE_EDGE_RISING>,
146 <2 IRQ_TYPE_EDGE_RISING>;
152 /* Connect panel-ilitek-9341 to ltdc */
153 compatible = "st,sf-tc240t-9370-t", "ilitek,ili9341";
156 spi-max-frequency = <10000000>;
157 dc-gpios = <&gpiod 13 0>;
159 panel_in_rgb: endpoint {
160 remote-endpoint = <<dc_out_rgb>;
167 /* Override timer5 to act as clockevent */
168 compatible = "st,stm32-timer";
171 /delete-property/#address-cells;
172 /delete-property/#size-cells;
173 /delete-property/clock-names;
175 /delete-node/timer@4;
179 pinctrl-0 = <&usart1_pins_a>;
180 pinctrl-names = "default";
185 compatible = "st,stm32f4x9-fsotg";
187 pinctrl-0 = <&usbotg_fs_pins_b>;
188 pinctrl-names = "default";