diff options
author | Gao Pan <pandy.gao@nxp.com> | 2016-11-22 16:52:16 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-11-23 15:37:29 +0300 |
commit | a17efbc5ef9468aae32c7799a0ebc329c15cd0dc (patch) | |
tree | d27aa9673c79a3f2f5d5332b70ac3baf4d58e570 /Documentation/devicetree/bindings/spi | |
parent | 5314987de5e5f5e38436ef4a69328bc472bbd63e (diff) | |
download | linux-a17efbc5ef9468aae32c7799a0ebc329c15cd0dc.tar.xz |
spi: imx: add devicetree binding for lpspi
Add a binding document for lpspi driver
Signed-off-by: Gao Pan <pandy.gao@nxp.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/spi')
-rw-r--r-- | Documentation/devicetree/bindings/spi/spi-fsl-lpspi.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.txt b/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.txt new file mode 100644 index 000000000000..225ace1d0c65 --- /dev/null +++ b/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.txt @@ -0,0 +1,19 @@ +* Freescale Low Power SPI (LPSPI) for i.MX + +Required properties: +- compatible : + - "fsl,imx7ulp-spi" for LPSPI compatible with the one integrated on i.MX7ULP soc +- reg : address and length of the lpspi master registers +- interrupt-parent : core interrupt controller +- interrupts : lpspi interrupt +- clocks : lpspi clock specifier + +Examples: + +lpspi2: lpspi@40290000 { + compatible = "fsl,imx7ulp-spi"; + reg = <0x40290000 0x10000>; + interrupt-parent = <&intc>; + interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clks IMX7ULP_CLK_LPSPI2>; +}; |