| 1 |
* CA8210 IEEE 802.15.4 * |
| 2 |
|
| 3 |
Required properties: |
| 4 |
- compatible: Should be "cascoda,ca8210" |
| 5 |
- reg: Controlling chip select |
| 6 |
- spi-max-frequency: Maximum clock speed, should be *less than* |
| 7 |
4000000 |
| 8 |
- spi-cpol: Requires inverted clock polarity |
| 9 |
- reset-gpio: GPIO attached to reset |
| 10 |
- irq-gpio: GPIO attached to IRQ |
| 11 |
Optional properties: |
| 12 |
- extclock-enable: Include for the ca8210 to route its 16MHz clock |
| 13 |
to an output |
| 14 |
- extclock-freq: Frequency in Hz of the external clock |
| 15 |
- extclock-gpio: GPIO of the ca8210 to output the clock on |
| 16 |
|
| 17 |
Example: |
| 18 |
ca8210@0 { |
| 19 |
compatible = "cascoda,ca8210"; |
| 20 |
reg = <0>; |
| 21 |
spi-max-frequency = <3000000>; |
| 22 |
spi-cpol; |
| 23 |
reset-gpio = <&gpio1 1 GPIO_ACTIVE_LOW>; |
| 24 |
irq-gpio = <&gpio1 2 GPIO_ACTIVE_HIGH>; |
| 25 |
extclock-enable; |
| 26 |
extclock-freq = 16000000; |
| 27 |
extclock-gpio = 2; |
| 28 |
}; |