xref: /freebsd/sys/contrib/device-tree/Bindings/spi/qca,ar934x-spi.yaml (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
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
32examples:
33  - |
34    #include <dt-bindings/clock/ath79-clk.h>
35    spi: spi@1f000000 {
36        compatible = "qca,ar934x-spi";
37        reg = <0x1f000000 0x1c>;
38        clocks = <&pll ATH79_CLK_AHB>;
39        #address-cells = <1>;
40        #size-cells = <0>;
41    };
42