blob: 530abdb72bcc4749cb64c2df3fb4e66c6dd9a043 [file] [log] [blame]
Marek Vasutb700f032019-07-29 19:59:44 +02001// 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 };
Tam Nguyen5d5664f2023-02-27 23:58:47 +010015
16 sysinfo {
17 compatible = "renesas,rcar-sysinfo";
18 i2c-eeprom = <&sysinfo_eeprom>;
19 u-boot,dm-pre-reloc;
20 };
21};
22
23&i2c0 {
24 u-boot,dm-pre-reloc;
25
26 sysinfo_eeprom: eeprom@50 {
27 compatible = "rohm,br24t01", "atmel,24c01";
28 reg = <0x50>;
29 pagesize = <8>;
30 u-boot,dm-pre-reloc;
31 };
Marek Vasutb700f032019-07-29 19:59:44 +020032};
33
34&rpc {
35 num-cs = <1>;
36 status = "okay";
37 spi-max-frequency = <50000000>;
38 #address-cells = <1>;
39 #size-cells = <0>;
40
41 flash0: spi-flash@0 {
42 #address-cells = <1>;
43 #size-cells = <1>;
44 compatible = "s25fs512s", "jedec,spi-nor";
Marek Vasut94254b92022-12-22 22:17:20 +010045 m25p,fast-read;
Marek Vasutb700f032019-07-29 19:59:44 +020046 spi-max-frequency = <50000000>;
47 spi-tx-bus-width = <1>;
48 spi-rx-bus-width = <1>;
49 reg = <0>;
50 status = "okay";
51 };
52};