xref: /linux/Documentation/devicetree/bindings/spi/qca,ar934x-spi.yaml (revision 24168c5e6dfbdd5b414f048f47f75d64533296ca)
1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/spi/qca,ar934x-spi.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm Atheros AR934x/QCA95xx SoC SPI controller
8
9maintainers:
10  - Chuanhong Guo <gch981213@gmail.com>
11
12allOf:
13  - $ref: spi-controller.yaml#
14
15properties:
16  compatible:
17    const: qca,ar934x-spi
18
19  reg:
20    maxItems: 1
21
22  clocks:
23    maxItems: 1
24
25required:
26  - compatible
27  - reg
28  - clocks
29  - '#address-cells'
30  - '#size-cells'
31
32unevaluatedProperties: false
33
34examples:
35  - |
36    #include <dt-bindings/clock/ath79-clk.h>
37    spi: spi@1f000000 {
38        compatible = "qca,ar934x-spi";
39        reg = <0x1f000000 0x1c>;
40        clocks = <&pll ATH79_CLK_AHB>;
41        #address-cells = <1>;
42        #size-cells = <0>;
43    };
44