hifiveu: add new target for HiFive Unleashed/Unmatched RISC-V boards
[openwrt/staging/wigyori.git] / target / linux / hifiveu / patches-5.10 / 0007-dt-bindings-spi-Update-DT-binding-docs-to-support-Si.patch
1 From 8a3d7aa89632d354932a621eb4fe22c560a406bd Mon Sep 17 00:00:00 2001
2 From: Yash Shah <yash.shah@sifive.com>
3 Date: Tue, 8 Dec 2020 10:25:34 +0530
4 Subject: [PATCH 07/29] dt-bindings: spi: Update DT binding docs to support
5 SiFive FU740 SoC
6
7 Add new compatible strings to the DT binding documents to support SiFive
8 FU740-C000.
9
10 Signed-off-by: Yash Shah <yash.shah@sifive.com>
11 ---
12 Documentation/devicetree/bindings/spi/spi-sifive.yaml | 10 ++++++----
13 1 file changed, 6 insertions(+), 4 deletions(-)
14
15 diff --git a/Documentation/devicetree/bindings/spi/spi-sifive.yaml b/Documentation/devicetree/bindings/spi/spi-sifive.yaml
16 index 56dcf1d..6e7e394 100644
17 --- a/Documentation/devicetree/bindings/spi/spi-sifive.yaml
18 +++ b/Documentation/devicetree/bindings/spi/spi-sifive.yaml
19 @@ -17,15 +17,17 @@ allOf:
20 properties:
21 compatible:
22 items:
23 - - const: sifive,fu540-c000-spi
24 + - enum:
25 + - sifive,fu540-c000-spi
26 + - sifive,fu740-c000-spi
27 - const: sifive,spi0
28
29 description:
30 Should be "sifive,<chip>-spi" and "sifive,spi<version>".
31 Supported compatible strings are -
32 - "sifive,fu540-c000-spi" for the SiFive SPI v0 as integrated
33 - onto the SiFive FU540 chip, and "sifive,spi0" for the SiFive
34 - SPI v0 IP block with no chip integration tweaks.
35 + "sifive,fu540-c000-spi" and "sifive,fu740-c000-spi" for the SiFive SPI v0
36 + as integrated onto the SiFive FU540 and FU740 chip resp, and "sifive,spi0"
37 + for the SiFive SPI v0 IP block with no chip integration tweaks.
38 Please refer to sifive-blocks-ip-versioning.txt for details
39
40 SPI RTL that corresponds to the IP block version numbers can be found here -
41 --
42 2.7.4
43