blob: e2746456b2bc7bee92aead90e94f6aed522f1f5a [file] [log] [blame]
Yann Gautier66386952018-07-05 16:49:51 +02001// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
2/*
Yann Gautierc55e2ee2023-10-18 14:17:04 +02003 * Copyright (c) 2017-2023, STMicroelectronics - All Rights Reserved
Yann Gautier66386952018-07-05 16:49:51 +02004 * Author: Ludovic Barre <ludovic.barre@st.com> for STMicroelectronics.
5 */
Yann Gautier66386952018-07-05 16:49:51 +02006/dts-v1/;
Yann Gautier7b7e4bf2019-01-17 19:16:03 +01007
Yann Gautier66386952018-07-05 16:49:51 +02008#include "stm32mp157c-ed1.dts"
9
10/ {
Yann Gautier7b7e4bf2019-01-17 19:16:03 +010011 model = "STMicroelectronics STM32MP157C eval daughter on eval mother";
Yann Gautier66386952018-07-05 16:49:51 +020012 compatible = "st,stm32mp157c-ev1", "st,stm32mp157c-ed1", "st,stm32mp157";
13
Yann Gautier7b7e4bf2019-01-17 19:16:03 +010014 aliases {
15 serial1 = &usart3;
16 };
Yann Gautierc55e2ee2023-10-18 14:17:04 +020017
18 chosen {
19 stdout-path = "serial0:115200n8";
20 };
Yann Gautier7b7e4bf2019-01-17 19:16:03 +010021};
22
23&fmc {
Lionel Debieved482c2d2019-09-24 17:49:12 +020024 pinctrl-names = "default";
25 pinctrl-0 = <&fmc_pins_a>;
Yann Gautier7b7e4bf2019-01-17 19:16:03 +010026 status = "okay";
Christophe Kerello749c9172020-07-16 16:57:34 +020027
28 nand-controller@4,0 {
29 status = "okay";
Yann Gautier7b7e4bf2019-01-17 19:16:03 +010030
Christophe Kerello749c9172020-07-16 16:57:34 +020031 nand@0 {
32 reg = <0>;
33 nand-on-flash-bbt;
34 #address-cells = <1>;
35 #size-cells = <1>;
36 };
Yann Gautier66386952018-07-05 16:49:51 +020037 };
38};
39
Yann Gautier7b7e4bf2019-01-17 19:16:03 +010040&qspi {
41 pinctrl-names = "default";
Yann Gautierc55e2ee2023-10-18 14:17:04 +020042 pinctrl-0 = <&qspi_clk_pins_a
43 &qspi_bk1_pins_a
44 &qspi_cs1_pins_a>;
Yann Gautier7b7e4bf2019-01-17 19:16:03 +010045 reg = <0x58003000 0x1000>, <0x70000000 0x4000000>;
46 #address-cells = <1>;
47 #size-cells = <0>;
48 status = "okay";
49
Yann Gautierc55e2ee2023-10-18 14:17:04 +020050 flash0: flash@0 {
Yann Gautier7b7e4bf2019-01-17 19:16:03 +010051 compatible = "jedec,spi-nor";
52 reg = <0>;
53 spi-rx-bus-width = <4>;
54 spi-max-frequency = <108000000>;
55 #address-cells = <1>;
56 #size-cells = <1>;
57 };
Yann Gautier7b7e4bf2019-01-17 19:16:03 +010058};
59
Yann Gautier66386952018-07-05 16:49:51 +020060&usart3 {
61 pinctrl-names = "default";
Yann Gautierbb053d52021-10-20 17:22:32 +020062 pinctrl-0 = <&usart3_pins_b>;
63 uart-has-rtscts;
Yann Gautier66386952018-07-05 16:49:51 +020064 status = "disabled";
65};