// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2017, STMicroelectronics - All Rights Reserved * Author(s): Patrice Chotard, for STMicroelectronics. */ #include /{ clocks { bootph-all; }; aliases { /* Aliases for gpios so as to use sequence */ gpio0 = &gpioa; gpio1 = &gpiob; gpio2 = &gpioc; gpio3 = &gpiod; gpio4 = &gpioe; gpio5 = &gpiof; gpio6 = &gpiog; gpio7 = &gpioh; gpio8 = &gpioi; gpio9 = &gpioj; gpio10 = &gpiok; spi0 = &qspi; }; soc { bootph-all; fmc: fmc@A0000000 { compatible = "st,stm32-fmc"; reg = <0xa0000000 0x1000>; clocks = <&rcc 0 STM32F4_AHB3_CLOCK(FMC)>; st,syscfg = <&syscfg>; pinctrl-0 = <&fmc_pins_d32>; pinctrl-names = "default"; st,mem_remap = <4>; bootph-all; /* * Memory configuration from sdram * MICRON MT48LC4M32B2B5-6A */ bank0: bank@0 { st,sdram-control = /bits/ 8 ; st,sdram-timing = /bits/ 8 ; st,sdram-refcount = < 1292 >; }; }; qspi: spi@A0001000 { compatible = "st,stm32f469-qspi"; #address-cells = <1>; #size-cells = <0>; reg = <0xa0001000 0x1000>, <0x90000000 0x10000000>; reg-names = "qspi", "qspi_mm"; interrupts = <91>; spi-max-frequency = <108000000>; clocks = <&rcc 0 STM32F4_AHB3_CLOCK(QSPI)>; resets = <&rcc STM32F4_AHB3_RESET(QSPI)>; pinctrl-0 = <&qspi_pins>; }; }; }; &clk_hse { bootph-all; }; &clk_i2s_ckin { bootph-all; }; &clk_lse { bootph-all; }; &dsi { clocks = <&rcc 0 STM32F4_APB2_CLOCK(DSI)>, <&rcc 0 STM32F4_APB2_CLOCK(LTDC)>, <&clk_hse>; clock-names = "pclk", "px_clk", "ref"; }; &gpioa { bootph-all; }; &gpiob { bootph-all; }; &gpioc { bootph-all; }; &gpiod { bootph-all; }; &gpioe { bootph-all; }; &gpiof { bootph-all; }; &gpiog { bootph-all; }; &gpioh { bootph-all; }; &gpioi { bootph-all; }; &gpioj { bootph-all; }; &gpiok { bootph-all; }; <dc { bootph-all; clocks = <&rcc 0 STM32F4_APB2_CLOCK(LTDC)>; }; &pinctrl { bootph-all; fmc_pins_d32: fmc_d32@0 { bootph-all; pins { pinmux = , /* D31 */ , /* D30 */ , /* D29 */ , /* D28 */ , /* D27 */ , /* D26 */ , /* D25 */ , /* D24 */ , /* D23 */ , /* D22 */ , /* D21 */ , /* D20 */ , /* D19 */ , /* D18 */ , /* D17 */ , /* D16 */ , /* D15 */ , /* D14 */ , /* D13 */ , /* D12 */ , /* D11 */ , /* D10 */ , /* D09 */ , /* D08 */ , /* D07 */ , /* D06 */ , /* D05 */ , /* D04 */ , /* D03 */ , /* D02 */ , /* D01 */ , /* D00 */ , /* NBL0 */ , /* NBL1 */ , /* NBL2 */ , /* NBL3 */ , /* BA1 */ , /* BA0 */ , /* A11 */ , /* A10 */ , /* A09 */ , /* A08 */ , /* A07 */ , /* A06 */ , /* A05 */ , /* A04 */ , /* A03 */ , /* A02 */ , /* A01 */ , /* A00 */ , /* SDNE0 */ , /* SDNWE */ , /* SDNRAS */ , /* SDNCAS */ , /* SDCKE0 */ ; /* SDCLK> */ slew-rate = <2>; bootph-all; }; }; qspi_pins: qspi@0 { pins { pinmux = , /* CLK */ , /* BK1_NCS */ , /* BK1_IO0 */ , /* BK1_IO1 */ , /* BK1_IO2 */ ; /* BK1_IO3 */ slew-rate = <2>; }; }; usart3_pins_a: usart3-0 { bootph-all; pins1 { bootph-all; }; pins2 { bootph-all; }; }; }; &pwrcfg { bootph-all; }; &qspi { reg = <0xa0001000 0x1000>, <0x90000000 0x1000000>; flash0: n25q128a@0 { #address-cells = <1>; #size-cells = <1>; compatible = "jedec,spi-nor"; spi-max-frequency = <108000000>; spi-tx-bus-width = <4>; spi-rx-bus-width = <4>; reg = <0>; }; }; &rcc { bootph-all; }; &syscfg { bootph-all; }; &timers5 { bootph-all; };