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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/st/stm32f469-disco.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 2016 - Lee Jones <lee.jones@linaro.org>
  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 "stm32f469.dtsi"
 50 #include "stm32f469-pinctrl.dtsi"
 51 #include <dt-bindings/gpio/gpio.h>
 52 #include <dt-bindings/input/input.h>
 53 
 54 / {
 55         model = "STMicroelectronics STM32F469i-DISCO board";
 56         compatible = "st,stm32f469i-disco", "st,stm32f469";
 57 
 58         chosen {
 59                 bootargs = "root=/dev/ram";
 60                 stdout-path = "serial0:115200n8";
 61         };
 62 
 63         memory@0 {
 64                 device_type = "memory";
 65                 reg = <0x00000000 0x1000000>;
 66         };
 67 
 68         aliases {
 69                 serial0 = &usart3;
 70         };
 71 
 72         vcc_3v3: vcc-3v3 {
 73                 compatible = "regulator-fixed";
 74                 regulator-name = "vcc_3v3";
 75                 regulator-min-microvolt = <3300000>;
 76                 regulator-max-microvolt = <3300000>;
 77         };
 78 
 79         soc {
 80                 dma-ranges = <0xc0000000 0x0 0x10000000>;
 81         };
 82 
 83         leds {
 84                 compatible = "gpio-leds";
 85                 led-green {
 86                         gpios = <&gpiog 6 GPIO_ACTIVE_LOW>;
 87                         linux,default-trigger = "heartbeat";
 88                 };
 89                 led-orange {
 90                         gpios = <&gpiod 4 GPIO_ACTIVE_LOW>;
 91                 };
 92                 led-red {
 93                         gpios = <&gpiod 5 GPIO_ACTIVE_LOW>;
 94                 };
 95                 led-blue {
 96                         gpios = <&gpiok 3 GPIO_ACTIVE_LOW>;
 97                 };
 98         };
 99 
100         gpio-keys {
101                 compatible = "gpio-keys";
102                 autorepeat;
103                 button-0 {
104                         label = "User";
105                         linux,code = <KEY_WAKEUP>;
106                         gpios = <&gpioa 0 GPIO_ACTIVE_HIGH>;
107                 };
108         };
109 
110         /* This turns on vbus for otg for host mode (dwc2) */
111         vcc5v_otg: vcc5v-otg-regulator {
112                 compatible = "regulator-fixed";
113                 enable-active-high;
114                 gpio = <&gpiob 2 GPIO_ACTIVE_HIGH>;
115                 regulator-name = "vcc5_host1";
116                 regulator-always-on;
117         };
118 };
119 
120 &rcc {
121         compatible = "st,stm32f469-rcc", "st,stm32f42xx-rcc", "st,stm32-rcc";
122 };
123 
124 &clk_hse {
125         clock-frequency = <8000000>;
126 };
127 
128 &dma2d {
129         status = "okay";
130 };
131 
132 &dsi {
133         #address-cells = <1>;
134         #size-cells = <0>;
135         status = "okay";
136 
137         ports {
138                 #address-cells = <1>;
139                 #size-cells = <0>;
140 
141                 port@0 {
142                         reg = <0>;
143                         dsi_in: endpoint {
144                                 remote-endpoint = <&ltdc_out_dsi>;
145                         };
146                 };
147 
148                 port@1 {
149                         reg = <1>;
150                         dsi_out: endpoint {
151                                 remote-endpoint = <&dsi_panel_in>;
152                         };
153                 };
154         };
155 
156         panel@0 {
157                 compatible = "orisetech,otm8009a";
158                 reg = <0>; /* dsi virtual channel (0..3) */
159                 reset-gpios = <&gpioh 7 GPIO_ACTIVE_LOW>;
160                 power-supply = <&vcc_3v3>;
161                 status = "okay";
162 
163                 port {
164                         dsi_panel_in: endpoint {
165                                 remote-endpoint = <&dsi_out>;
166                         };
167                 };
168         };
169 };
170 
171 &ltdc {
172         status = "okay";
173 
174         port {
175                 ltdc_out_dsi: endpoint {
176                         remote-endpoint = <&dsi_in>;
177                 };
178         };
179 };
180 
181 &rtc {
182         status = "okay";
183 };
184 
185 &timers1 {
186         status = "okay";
187 
188         pwm {
189                 pinctrl-0 = <&pwm1_pins>;
190                 pinctrl-names = "default";
191                 status = "okay";
192         };
193 
194         timer@0 {
195                 status = "okay";
196         };
197 };
198 
199 &timers3 {
200         status = "okay";
201 
202         pwm {
203                 pinctrl-0 = <&pwm3_pins>;
204                 pinctrl-names = "default";
205                 status = "okay";
206         };
207 
208         timer@2 {
209                 status = "okay";
210         };
211 };
212 
213 &sdio {
214         status = "okay";
215         vmmc-supply = <&vcc_3v3>;
216         cd-gpios = <&gpiog 2 GPIO_ACTIVE_LOW>;
217         broken-cd;
218         pinctrl-names = "default", "opendrain";
219         pinctrl-0 = <&sdio_pins>;
220         pinctrl-1 = <&sdio_pins_od>;
221         bus-width = <4>;
222 };
223 
224 &timers5 {
225         /* Override timer5 to act as clockevent */
226         compatible = "st,stm32-timer";
227         interrupts = <50>;
228         status = "okay";
229         /delete-property/#address-cells;
230         /delete-property/#size-cells;
231         /delete-property/clock-names;
232         /delete-node/pwm;
233         /delete-node/timer@4;
234 };
235 
236 &usart3 {
237         pinctrl-0 = <&usart3_pins_a>;
238         pinctrl-names = "default";
239         status = "okay";
240 };
241 
242 &usbotg_fs {
243         dr_mode = "host";
244         pinctrl-0 = <&usbotg_fs_pins_a>;
245         pinctrl-names = "default";
246         status = "okay";
247 };

~ [ 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