spi-sifive.yaml (c95baf12f5077419db01313ab61c2aac007d40cd) spi-sifive.yaml (3d21a46093352f7802b9c66c7cce35cd02a50e53)
1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/spi/spi-sifive.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: SiFive SPI controller
8

--- 36 unchanged lines hidden (view full) ---

45 maxItems: 1
46
47 description:
48 Must reference the frequency given to the controller
49
50 sifive,fifo-depth:
51 description:
52 Depth of hardware queues; defaults to 8
1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/spi/spi-sifive.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: SiFive SPI controller
8

--- 36 unchanged lines hidden (view full) ---

45 maxItems: 1
46
47 description:
48 Must reference the frequency given to the controller
49
50 sifive,fifo-depth:
51 description:
52 Depth of hardware queues; defaults to 8
53 allOf:
54 - $ref: "/schemas/types.yaml#/definitions/uint32"
55 - enum: [ 8 ]
56 - default: 8
53 $ref: "/schemas/types.yaml#/definitions/uint32"
54 enum: [8]
55 default: 8
57
58 sifive,max-bits-per-word:
59 description:
60 Maximum bits per word; defaults to 8
56
57 sifive,max-bits-per-word:
58 description:
59 Maximum bits per word; defaults to 8
61 allOf:
62 - $ref: "/schemas/types.yaml#/definitions/uint32"
63 - enum: [ 0, 1, 2, 3, 4, 5, 6, 7, 8 ]
64 - default: 8
60 $ref: "/schemas/types.yaml#/definitions/uint32"
61 enum: [0, 1, 2, 3, 4, 5, 6, 7, 8]
62 default: 8
65
66required:
67 - compatible
68 - reg
69 - interrupts
70 - clocks
71
72examples:

--- 14 unchanged lines hidden ---
63
64required:
65 - compatible
66 - reg
67 - interrupts
68 - clocks
69
70examples:

--- 14 unchanged lines hidden ---