diff options
Diffstat (limited to 'arch/arm/dts/stm32f469-disco-u-boot.dtsi')
-rw-r--r-- | arch/arm/dts/stm32f469-disco-u-boot.dtsi | 85 |
1 files changed, 62 insertions, 23 deletions
diff --git a/arch/arm/dts/stm32f469-disco-u-boot.dtsi b/arch/arm/dts/stm32f469-disco-u-boot.dtsi index 774f1b5e65..3da308e6a4 100644 --- a/arch/arm/dts/stm32f469-disco-u-boot.dtsi +++ b/arch/arm/dts/stm32f469-disco-u-boot.dtsi | |||
@@ -23,6 +23,7 @@ | |||
23 | gpio8 = &gpioi; | 23 | gpio8 = &gpioi; |
24 | gpio9 = &gpioj; | 24 | gpio9 = &gpioj; |
25 | gpio10 = &gpiok; | 25 | gpio10 = &gpiok; |
26 | spi0 = &qspi; | ||
26 | }; | 27 | }; |
27 | 28 | ||
28 | soc { | 29 | soc { |
@@ -64,6 +65,19 @@ | |||
64 | st,sdram-refcount = < 1292 >; | 65 | st,sdram-refcount = < 1292 >; |
65 | }; | 66 | }; |
66 | }; | 67 | }; |
68 | |||
69 | qspi: quadspi@A0001000 { | ||
70 | compatible = "st,stm32-qspi"; | ||
71 | #address-cells = <1>; | ||
72 | #size-cells = <0>; | ||
73 | reg = <0xA0001000 0x1000>, <0x90000000 0x10000000>; | ||
74 | reg-names = "qspi", "qspi_mm"; | ||
75 | interrupts = <91>; | ||
76 | spi-max-frequency = <108000000>; | ||
77 | clocks = <&rcc 0 STM32F4_AHB3_CLOCK(QSPI)>; | ||
78 | resets = <&rcc STM32F4_AHB3_RESET(QSPI)>; | ||
79 | pinctrl-0 = <&qspi_pins>; | ||
80 | }; | ||
67 | }; | 81 | }; |
68 | }; | 82 | }; |
69 | 83 | ||
@@ -71,23 +85,11 @@ | |||
71 | u-boot,dm-pre-reloc; | 85 | u-boot,dm-pre-reloc; |
72 | }; | 86 | }; |
73 | 87 | ||
74 | &clk_lse { | ||
75 | u-boot,dm-pre-reloc; | ||
76 | }; | ||
77 | |||
78 | &clk_i2s_ckin { | 88 | &clk_i2s_ckin { |
79 | u-boot,dm-pre-reloc; | 89 | u-boot,dm-pre-reloc; |
80 | }; | 90 | }; |
81 | 91 | ||
82 | &pwrcfg { | 92 | &clk_lse { |
83 | u-boot,dm-pre-reloc; | ||
84 | }; | ||
85 | |||
86 | &syscfg { | ||
87 | u-boot,dm-pre-reloc; | ||
88 | }; | ||
89 | |||
90 | &rcc { | ||
91 | u-boot,dm-pre-reloc; | 93 | u-boot,dm-pre-reloc; |
92 | }; | 94 | }; |
93 | 95 | ||
@@ -147,16 +149,6 @@ | |||
147 | }; | 149 | }; |
148 | 150 | ||
149 | &pinctrl { | 151 | &pinctrl { |
150 | usart3_pins_a: usart3@0 { | ||
151 | u-boot,dm-pre-reloc; | ||
152 | pins1 { | ||
153 | u-boot,dm-pre-reloc; | ||
154 | }; | ||
155 | pins2 { | ||
156 | u-boot,dm-pre-reloc; | ||
157 | }; | ||
158 | }; | ||
159 | |||
160 | fmc_pins_d32: fmc_d32@0 { | 152 | fmc_pins_d32: fmc_d32@0 { |
161 | u-boot,dm-pre-reloc; | 153 | u-boot,dm-pre-reloc; |
162 | pins | 154 | pins |
@@ -226,4 +218,51 @@ | |||
226 | u-boot,dm-pre-reloc; | 218 | u-boot,dm-pre-reloc; |
227 | }; | 219 | }; |
228 | }; | 220 | }; |
221 | |||
222 | qspi_pins: qspi@0 { | ||
223 | pins { | ||
224 | pinmux = <STM32_PINMUX('F',10, AF9)>, /* CLK */ | ||
225 | <STM32_PINMUX('B', 6, AF10)>, /* BK1_NCS */ | ||
226 | <STM32_PINMUX('F', 8, AF10)>, /* BK1_IO0 */ | ||
227 | <STM32_PINMUX('F', 9, AF10)>, /* BK1_IO1 */ | ||
228 | <STM32_PINMUX('F', 7, AF9)>, /* BK1_IO2 */ | ||
229 | <STM32_PINMUX('F', 6, AF9)>; /* BK1_IO3 */ | ||
230 | slew-rate = <2>; | ||
231 | }; | ||
232 | }; | ||
233 | |||
234 | usart3_pins_a: usart3@0 { | ||
235 | u-boot,dm-pre-reloc; | ||
236 | pins1 { | ||
237 | u-boot,dm-pre-reloc; | ||
238 | }; | ||
239 | pins2 { | ||
240 | u-boot,dm-pre-reloc; | ||
241 | }; | ||
242 | }; | ||
243 | }; | ||
244 | |||
245 | &pwrcfg { | ||
246 | u-boot,dm-pre-reloc; | ||
247 | }; | ||
248 | |||
249 | &rcc { | ||
250 | u-boot,dm-pre-reloc; | ||
251 | }; | ||
252 | |||
253 | &syscfg { | ||
254 | u-boot,dm-pre-reloc; | ||
255 | }; | ||
256 | |||
257 | &qspi { | ||
258 | reg = <0xA0001000 0x1000>, <0x90000000 0x1000000>; | ||
259 | flash0: n25q128a { | ||
260 | #address-cells = <1>; | ||
261 | #size-cells = <1>; | ||
262 | compatible = "jedec,spi-nor"; | ||
263 | spi-max-frequency = <108000000>; | ||
264 | spi-tx-bus-width = <4>; | ||
265 | spi-rx-bus-width = <4>; | ||
266 | reg = <0>; | ||
267 | }; | ||
229 | }; | 268 | }; |