1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Device Tree Source extras for U-Boot for the Condor board
4 *
5 * Copyright (C) 2019 Marek Vasut <marek.vasut@gmail.com>
6 */
7
8#include "r8a77980-condor.dts"
9#include "r8a77980-u-boot.dtsi"
10
11/ {
12	aliases {
13		spi0 = &rpc;
14	};
15};
16
17&rpc {
18	num-cs = <1>;
19	status = "okay";
20	spi-max-frequency = <50000000>;
21	#address-cells = <1>;
22	#size-cells = <0>;
23
24	flash0: spi-flash@0 {
25		#address-cells = <1>;
26		#size-cells = <1>;
27		compatible = "s25fs512s", "jedec,spi-nor";
28		spi-max-frequency = <50000000>;
29		spi-tx-bus-width = <1>;
30		spi-rx-bus-width = <1>;
31		reg = <0>;
32		status = "okay";
33	};
34};
35