Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a17efbc5 authored by Gao Pan's avatar Gao Pan Committed by Mark Brown
Browse files

spi: imx: add devicetree binding for lpspi



Add a binding document for lpspi driver

Signed-off-by: default avatarGao Pan <pandy.gao@nxp.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 5314987d
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
* 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>;
};