| 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 |
|
| 7 |
title: Qualcomm Atheros AR934x/QCA95xx SoC SPI controller |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Chuanhong Guo <[email protected]> |
| 11 |
|
| 12 |
allOf: |
| 13 |
- $ref: spi-controller.yaml# |
| 14 |
|
| 15 |
properties: |
| 16 |
compatible: |
| 17 |
const: qca,ar934x-spi |
| 18 |
|
| 19 |
reg: |
| 20 |
maxItems: 1 |
| 21 |
|
| 22 |
clocks: |
| 23 |
maxItems: 1 |
| 24 |
|
| 25 |
required: |
| 26 |
- compatible |
| 27 |
- reg |
| 28 |
- clocks |
| 29 |
- '#address-cells' |
| 30 |
- '#size-cells' |
| 31 |
|
| 32 |
unevaluatedProperties: false |
| 33 |
|
| 34 |
examples: |
| 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 |
}; |