aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/dts/r8a77980-condor-u-boot.dts
blob: 530abdb72bcc4749cb64c2df3fb4e66c6dd9a043 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// 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;
	};

	sysinfo {
		compatible = "renesas,rcar-sysinfo";
		i2c-eeprom = <&sysinfo_eeprom>;
		u-boot,dm-pre-reloc;
	};
};

&i2c0 {
	u-boot,dm-pre-reloc;

	sysinfo_eeprom: eeprom@50 {
		compatible = "rohm,br24t01", "atmel,24c01";
		reg = <0x50>;
		pagesize = <8>;
		u-boot,dm-pre-reloc;
	};
};

&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";
		m25p,fast-read;
		spi-max-frequency = <50000000>;
		spi-tx-bus-width = <1>;
		spi-rx-bus-width = <1>;
		reg = <0>;
		status = "okay";
	};
};