board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / board / stmicroelectronics / stm32f469-disco / patches / linux / 0002-ARM-stm32-Supply-a-DTS-file-for-the-STM32F469-Discov.patch
blob45f52282a6684f9ba03ba0a0835b63e8ab242353
1 From a08561ffdfb13986e2628296ccfd42f8a273b729 Mon Sep 17 00:00:00 2001
2 From: Lee Jones <lee.jones@linaro.org>
3 Date: Tue, 16 Feb 2016 13:53:47 +0000
4 Subject: [PATCH] ARM: stm32: Supply a DTS file for the STM32F469 Discovery
5 board
7 It's pretty similar to the STM32F429, but there are some
8 subtle changes required to boot successfully.
10 Signed-off-by: Lee Jones <lee.jones@linaro.org>
11 [Thomas: remove rdinit= from /chosen/bootargs.]
12 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
13 ---
14 arch/arm/boot/dts/stm32f469-disco.dts | 75 +++++++++++++++++++++++++++++++++++
15 1 file changed, 75 insertions(+)
16 create mode 100644 arch/arm/boot/dts/stm32f469-disco.dts
18 diff --git a/arch/arm/boot/dts/stm32f469-disco.dts b/arch/arm/boot/dts/stm32f469-disco.dts
19 new file mode 100644
20 index 0000000..9e73656
21 --- /dev/null
22 +++ b/arch/arm/boot/dts/stm32f469-disco.dts
23 @@ -0,0 +1,75 @@
24 +/*
25 + * Copyright 2016 - Lee Jones <lee.jones@linaro.org>
26 + *
27 + * This file is dual-licensed: you can use it either under the terms
28 + * of the GPL or the X11 license, at your option. Note that this dual
29 + * licensing only applies to this file, and not this project as a
30 + * whole.
31 + *
32 + * a) This file is free software; you can redistribute it and/or
33 + * modify it under the terms of the GNU General Public License as
34 + * published by the Free Software Foundation; either version 2 of the
35 + * License, or (at your option) any later version.
36 + *
37 + * This file is distributed in the hope that it will be useful,
38 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
39 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
40 + * GNU General Public License for more details.
41 + *
42 + * You should have received a copy of the GNU General Public
43 + * License along with this file; if not, write to the Free
44 + * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
45 + * MA 02110-1301 USA
46 + *
47 + * Or, alternatively,
48 + *
49 + * b) Permission is hereby granted, free of charge, to any person
50 + * obtaining a copy of this software and associated documentation
51 + * files (the "Software"), to deal in the Software without
52 + * restriction, including without limitation the rights to use,
53 + * copy, modify, merge, publish, distribute, sublicense, and/or
54 + * sell copies of the Software, and to permit persons to whom the
55 + * Software is furnished to do so, subject to the following
56 + * conditions:
57 + *
58 + * The above copyright notice and this permission notice shall be
59 + * included in all copies or substantial portions of the Software.
60 + *
61 + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
62 + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
63 + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
64 + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
65 + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
66 + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
67 + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
68 + * OTHER DEALINGS IN THE SOFTWARE.
69 + */
71 +/dts-v1/;
72 +#include "stm32f429.dtsi"
74 +/ {
75 + model = "STMicroelectronics STM32F469i-DISCO board";
76 + compatible = "st,stm32f469i-disco", "st,stm32f469";
78 + chosen {
79 + bootargs = "root=/dev/ram";
80 + stdout-path = "serial0:115200n8";
81 + };
83 + memory {
84 + reg = <0x00000000 0x800000>;
85 + };
87 + aliases {
88 + serial0 = &usart3;
89 + };
90 +};
92 +&clk_hse {
93 + clock-frequency = <8000000>;
94 +};
96 +&usart3 {
97 + status = "okay";
98 +};
99 --
100 2.6.4