| 1 |
Binding for Qualcomm Atheros AR7xxx/AR9xxx SPI controller |
| 2 |
|
| 3 |
Required properties: |
| 4 |
- compatible: has to be "qca,<soc-type>-spi", "qca,ar7100-spi" as fallback. |
| 5 |
- reg: Base address and size of the controllers memory area |
| 6 |
- clocks: phandle of the AHB clock. |
| 7 |
- clock-names: has to be "ahb". |
| 8 |
- #address-cells: <1>, as required by generic SPI binding. |
| 9 |
- #size-cells: <0>, also as required by generic SPI binding. |
| 10 |
|
| 11 |
Child nodes as per the generic SPI binding. |
| 12 |
|
| 13 |
Example: |
| 14 |
|
| 15 |
spi@1f000000 { |
| 16 |
compatible = "qca,ar9132-spi", "qca,ar7100-spi"; |
| 17 |
reg = <0x1f000000 0x10>; |
| 18 |
|
| 19 |
clocks = <&pll 2>; |
| 20 |
clock-names = "ahb"; |
| 21 |
|
| 22 |
#address-cells = <1>; |
| 23 |
#size-cells = <0>; |
| 24 |
}; |