1// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
2/*
3 * Copyright (C) STMicroelectronics 2017-2019 - 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	chosen {
15		stdout-path = "serial0:115200n8";
16	};
17
18	aliases {
19		serial1 = &usart3;
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 &qspi_bk1_pins_a>;
43	reg = <0x58003000 0x1000>, <0x70000000 0x4000000>;
44	#address-cells = <1>;
45	#size-cells = <0>;
46	status = "okay";
47
48	flash0: mx66l51235l@0 {
49		compatible = "jedec,spi-nor";
50		reg = <0>;
51		spi-rx-bus-width = <4>;
52		spi-max-frequency = <108000000>;
53		#address-cells = <1>;
54		#size-cells = <1>;
55	};
56};
57
58&usart3 {
59	pinctrl-names = "default";
60	pinctrl-0 = <&usart3_pins_a>;
61	status = "disabled";
62};
63