-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Documentation: DT: Add Freescale DSPI driver
This patch adds the document for DSPI driver under Documentation/devicetree/bindings/spi/. Signed-off-by: Chao Fu <b44548@freescale.com> Signed-off-by: Mark Brown <broonie@linaro.org>
- Loading branch information
Chao Fu
authored and
Mark Brown
committed
Aug 22, 2013
1 parent
b36f4be
commit 9cbd72e
Showing
1 changed file
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
ARM Freescale DSPI controller | ||
|
||
Required properties: | ||
- compatible : "fsl,vf610-dspi" | ||
- reg : Offset and length of the register set for the device | ||
- interrupts : Should contain SPI controller interrupt | ||
- clocks: from common clock binding: handle to dspi clock. | ||
- clock-names: from common clock binding: Shall be "dspi". | ||
- pinctrl-0: pin control group to be used for this controller. | ||
- pinctrl-names: must contain a "default" entry. | ||
- spi-num-chipselects : the number of the chipselect signals. | ||
- bus-num : the slave chip chipselect signal number. | ||
Example: | ||
|
||
dspi0@4002c000 { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
compatible = "fsl,vf610-dspi"; | ||
reg = <0x4002c000 0x1000>; | ||
interrupts = <0 67 0x04>; | ||
clocks = <&clks VF610_CLK_DSPI0>; | ||
clock-names = "dspi"; | ||
spi-num-chipselects = <5>; | ||
bus-num = <0>; | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&pinctrl_dspi0_1>; | ||
status = "okay"; | ||
|
||
sflash: at26df081a@0 { | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
compatible = "atmel,at26df081a"; | ||
spi-max-frequency = <16000000>; | ||
spi-cpol; | ||
spi-cpha; | ||
reg = <0>; | ||
linux,modalias = "m25p80"; | ||
modal = "at26df081a"; | ||
}; | ||
}; | ||
|
||
|