1// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
2/*
3 * Copyright (c) 2017-2023, STMicroelectronics - All Rights Reserved
4 * Author: Ludovic Barre <ludovic.barre@st.com> for STMicroelectronics.
5 */
6/dts-v1/;
7
8#include "stm32mp157c-ed1.dts"
9
10/ {
11	model = "STMicroelectronics STM32MP157C eval daughter on eval mother";
12	compatible = "st,stm32mp157c-ev1", "st,stm32mp157c-ed1", "st,stm32mp157";
13
14	aliases {
15		serial1 = &usart3;
16	};
17
18	chosen {
19		stdout-path = "serial0:115200n8";
20	};
21};
22
23&fmc {
24	pinctrl-names = "default";
25	pinctrl-0 = <&fmc_pins_a>;
26	status = "okay";
27
28	nand-controller@4,0 {
29		status = "okay";
30
31		nand@0 {
32			reg = <0>;
33			nand-on-flash-bbt;
34			#address-cells = <1>;
35			#size-cells = <1>;
36		};
37	};
38};
39
40&qspi {
41	pinctrl-names = "default";
42	pinctrl-0 = <&qspi_clk_pins_a
43		     &qspi_bk1_pins_a
44		     &qspi_cs1_pins_a>;
45	reg = <0x58003000 0x1000>, <0x70000000 0x4000000>;
46	#address-cells = <1>;
47	#size-cells = <0>;
48	status = "okay";
49
50	flash0: flash@0 {
51		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	};
58};
59
60&usart3 {
61	pinctrl-names = "default";
62	pinctrl-0 = <&usart3_pins_b>;
63	uart-has-rtscts;
64	status = "disabled";
65};
66