Commit bdb90b6b authored by Boris BREZILLON's avatar Boris BREZILLON Committed by Nicolas Ferre

spi/atmel: document clock properties

Document the clock properties required by the spi-atmel driver.
Signed-off-by: default avatarBoris BREZILLON <b.brezillon@overkiz.com>
Signed-off-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
parent 425bb8d6
...@@ -5,6 +5,9 @@ Required properties: ...@@ -5,6 +5,9 @@ Required properties:
- reg: Address and length of the register set for the device - reg: Address and length of the register set for the device
- interrupts: Should contain spi interrupt - interrupts: Should contain spi interrupt
- cs-gpios: chipselects - cs-gpios: chipselects
- clock-names: tuple listing input clock names.
Required elements: "spi_clk"
- clocks: phandles to input clocks.
Example: Example:
...@@ -14,6 +17,8 @@ spi1: spi@fffcc000 { ...@@ -14,6 +17,8 @@ spi1: spi@fffcc000 {
interrupts = <13 4 5>; interrupts = <13 4 5>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
clocks = <&spi1_clk>;
clock-names = "spi_clk";
cs-gpios = <&pioB 3 0>; cs-gpios = <&pioB 3 0>;
status = "okay"; status = "okay";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment