blob: f4a3b43b8ff1e239992e0653d27dcdb793bafe07 [file] [log] [blame]
Marek Vasut3ebb9192019-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 Nguyenc8eaebb2023-02-27 23:58:47 +010015
16 sysinfo {
17 compatible = "renesas,rcar-sysinfo";
18 i2c-eeprom = <&sysinfo_eeprom>;
Tom Rinia5faa4a2023-03-14 10:58:41 -040019 bootph-all;
Tam Nguyenc8eaebb2023-02-27 23:58:47 +010020 };
21};
22
23&i2c0 {
Tom Rinia5faa4a2023-03-14 10:58:41 -040024 bootph-all;
Tam Nguyenc8eaebb2023-02-27 23:58:47 +010025
26 sysinfo_eeprom: eeprom@50 {
27 compatible = "rohm,br24t01", "atmel,24c01";
28 reg = <0x50>;
29 pagesize = <8>;
Tom Rinia5faa4a2023-03-14 10:58:41 -040030 bootph-all;
Tam Nguyenc8eaebb2023-02-27 23:58:47 +010031 };
Marek Vasut3ebb9192019-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 Vasut3405cfa2022-12-22 22:17:20 +010045 m25p,fast-read;
Marek Vasut3ebb9192019-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};