summaryrefslogtreecommitdiff
path: root/arch/arm/dts/r8a77980-condor-u-boot.dts
blob: 1b22c7f0b9da77f5ba9b0ba05305d4066a6d9801 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// SPDX-License-Identifier: GPL-2.0
/*
 * Device Tree Source extras for U-Boot for the Condor board
 *
 * Copyright (C) 2019 Marek Vasut <marek.vasut@gmail.com>
 */

#include "r8a77980-condor.dts"
#include "r8a77980-u-boot.dtsi"

/ {
	aliases {
		spi0 = &rpc;
	};
};

&rpc {
	num-cs = <1>;
	status = "okay";
	spi-max-frequency = <50000000>;
	#address-cells = <1>;
	#size-cells = <0>;

	flash0: spi-flash@0 {
		#address-cells = <1>;
		#size-cells = <1>;
		compatible = "s25fs512s", "jedec,spi-nor";
		spi-max-frequency = <50000000>;
		spi-tx-bus-width = <1>;
		spi-rx-bus-width = <1>;
		reg = <0>;
		status = "okay";
	};
};