mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
82b3aea65f
Add a binding document for the spi/spi-xilinx Signed-off-by: Shubhrajyoti Datta <shubhraj@xilinx.com> Signed-off-by: Mark Brown <broonie@kernel.org>
23 lines
650 B
Plaintext
23 lines
650 B
Plaintext
Xilinx SPI controller Device Tree Bindings
|
|
-------------------------------------------------
|
|
|
|
Required properties:
|
|
- compatible : Should be "xlnx,xps-spi-2.00.a" or "xlnx,xps-spi-2.00.b"
|
|
- reg : Physical base address and size of SPI registers map.
|
|
- interrupts : Property with a value describing the interrupt
|
|
number.
|
|
- interrupt-parent : Must be core interrupt controller
|
|
|
|
Optional properties:
|
|
- xlnx,num-ss-bits : Number of chip selects used.
|
|
|
|
Example:
|
|
axi_quad_spi@41e00000 {
|
|
compatible = "xlnx,xps-spi-2.00.a";
|
|
interrupt-parent = <&intc>;
|
|
interrupts = <0 31 1>;
|
|
reg = <0x41e00000 0x10000>;
|
|
xlnx,num-ss-bits = <0x1>;
|
|
};
|
|
|