Valentine Barshak | 638bb69 | 2019-04-23 23:44:57 +0300 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /* |
| 3 | * Device Tree Source extras for U-Boot for the Eagle board |
| 4 | * |
| 5 | * Copyright (C) 2019 Cogent Embedded, Inc. |
| 6 | */ |
| 7 | |
| 8 | #include "r8a77980-v3hsk.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", "spi-flash", "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 | |
| 36 | &i2c0 { |
| 37 | cpld { |
| 38 | compatible = "renesas,v3hsk-cpld"; |
| 39 | reg = <0x70>; |
| 40 | u-boot,i2c-offset-len = <2>; |
| 41 | }; |
| 42 | }; |