This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
resources:tools-software:linux-drivers:iio-amplifiers:ad8366 [24 Mar 2021 09:20] – [Example SPI device devicetree initialization] Michael Hennerich | resources:tools-software:linux-drivers:iio-amplifiers:ad8366 [24 Mar 2021 13:52] (current) – [Example SPI device devicetree initialization] Michael Hennerich | ||
---|---|---|---|
Line 74: | Line 74: | ||
**Required properties: | **Required properties: | ||
- | * **compatible**: | + | * **compatible**: |
+ | * " | ||
+ | * " | ||
+ | * " | ||
+ | * " | ||
+ | * " | ||
+ | * " | ||
+ | * " | ||
+ | * " | ||
+ | * " | ||
+ | * " | ||
* **reg**: SPI chip select number for the device | * **reg**: SPI chip select number for the device | ||
* **# | * **# | ||
Line 91: | Line 101: | ||
&spi0 { | &spi0 { | ||
status = " | status = " | ||
+ | |||
+ | hmc1018a: hmc1018a@0 { | ||
+ | # | ||
+ | # | ||
+ | compatible = " | ||
+ | reg = <0>; | ||
+ | spi-cpol; | ||
+ | spi-max-frequency = < | ||
+ | }; | ||
+ | |||
+ | adrf5720: adrf5731@1 { | ||
+ | # | ||
+ | # | ||
+ | compatible = " | ||
+ | reg = <1>; | ||
+ | spi-cpol; | ||
+ | spi-max-frequency = < | ||
+ | }; | ||
vga0_ad8366: | vga0_ad8366: | ||
Line 99: | Line 127: | ||
spi-max-frequency = < | spi-max-frequency = < | ||
}; | }; | ||
- | |||
}; | }; | ||
</ | </ |