// SPDX-License-Identifier: GPL-2.0+ #include /{ chosen { bootargs = "root=/dev/mmcblk0p1 rw rootwait"; }; 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; mmc0 = &sdio1; spi0 = &qspi; }; button1 { compatible = "st,button1"; button-gpio = <&gpioc 13 0>; }; led1 { compatible = "st,led1"; led-gpio = <&gpiof 10 0>; }; }; &fmc { /* * Memory configuration from sdram datasheet IS42S32800G-6BLI */ bank1: bank@0 { bootph-all; st,sdram-control = /bits/ 8 ; st,sdram-timing = /bits/ 8 ; st,sdram-refcount = <1539>; }; }; &mac { phy-mode = "mii"; }; &pinctrl { ethernet_mii: mii@0 { pins { pinmux = , /*ETH_MII_CRS */ , /*ETH_MII_RX_CLK */ , /*ETH_MII_RX_DV */ , /*ETH_MII_MCO1 */ , /*ETH_MII_TXD0 */ , /*ETH_MII_TXD1 */ , /*ETH_MII_TXD2 */ , /*ETH_MII_TXD3 */ , /*ETH_MII_TX_CLK */ , /*ETH_MII_RXD0 */ , /*ETH_MII_RXD1 */ , /*ETH_MII_RXD2 */ , /*ETH_MII_RXD3 */ , /*ETH_MII_TX_EN */ , /*ETH_MII_MDC */ ; /*ETH_MII_MDIO */ slew-rate = <2>; }; }; fmc_pins: fmc@0 { pins { pinmux = , /* D31 */ , /* D30 */ , /* D29 */ , /* D28 */ , /* D27 */ , /* D26 */ , /* D25 */ , /* D24 */ , /* D23 */ , /* D22 */ , /* D21 */ , /* D20 */ , /* D19 */ , /* D18 */ , /* D17 */ , /* D16 */ , /* D15 */ , /* D14 */ , /* D13 */ , /* D12 */ , /* D11 */ , /* D10 */ , /* D9 */ , /* D8 */ , /* D7 */ , /* D6 */ , /* D5 */ , /* D4 */ , /* D3 */ , /* D2 */ , /* D1 */ , /* D0 */ , /* NBL3 */ , /* NBL2 */ , /* NBL1 */ , /* NBL0 */ , /* BA1 */ , /* BA0 */ , /* A11 */ , /* A10 */ , /* A9 */ , /* A8 */ , /* A7 */ , /* A6 */ , /* A5 */ , /* A4 */ , /* A3 */ , /* A2 */ , /* A1 */ , /* A0 */ , /* SDNE0 */ , /* SDNWE */ , /* SDNRAS */ , /* SDNCAS */ , /* SDCKE0 */ ; /* SDCLK> */ slew-rate = <2>; }; }; qspi_pins: qspi@0 { pins { pinmux = , /* _FUNC_QUADSPI_CLK */ , /*_FUNC_QUADSPI_BK1_NCS */ , /* _FUNC_QUADSPI_BK1_IO0 */ , /* _FUNC_QUADSPI_BK1_IO1 */ , /* AF_FUNC_QUADSPI_BK1_IO3 */ ; /* _FUNC_QUADSPI_BK1_IO2 */ slew-rate = <2>; }; }; usart1_pins_a: usart1-0 { bootph-all; pins1 { bootph-all; }; pins2 { bootph-all; }; }; }; &qspi { reg = <0xa0001000 0x1000>, <0x90000000 0x4000000>; qflash0: n25q512a@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>; }; };