0001 TI QSPI controller.
0002
0003 Required properties:
0004 - compatible : should be "ti,dra7xxx-qspi" or "ti,am4372-qspi".
0005 - reg: Should contain QSPI registers location and length.
0006 - reg-names: Should contain the resource reg names.
0007 - qspi_base: Qspi configuration register Address space
0008 - qspi_mmap: Memory mapped Address space
0009 - (optional) qspi_ctrlmod: Control module Address space
0010 - interrupts: should contain the qspi interrupt number.
0011 - #address-cells, #size-cells : Must be present if the device has sub-nodes
0012 - ti,hwmods: Name of the hwmod associated to the QSPI
0013
0014 Recommended properties:
0015 - spi-max-frequency: Definition as per
0016 Documentation/devicetree/bindings/spi/spi-bus.txt
0017
0018 Optional properties:
0019 - syscon-chipselects: Handle to system control region contains QSPI
0020 chipselect register and offset of that register.
0021
0022 NOTE: TI QSPI controller requires different pinmux and IODelay
0023 parameters for Mode-0 and Mode-3 operations, which needs to be set up by
0024 the bootloader (U-Boot). Default configuration only supports Mode-0
0025 operation. Hence, "spi-cpol" and "spi-cpha" DT properties cannot be
0026 specified in the slave nodes of TI QSPI controller without appropriate
0027 modification to bootloader.
0028
0029 Example:
0030
0031 For am4372:
0032 qspi: qspi@47900000 {
0033 compatible = "ti,am4372-qspi";
0034 reg = <0x47900000 0x100>, <0x30000000 0x4000000>;
0035 reg-names = "qspi_base", "qspi_mmap";
0036 #address-cells = <1>;
0037 #size-cells = <0>;
0038 spi-max-frequency = <25000000>;
0039 ti,hwmods = "qspi";
0040 };
0041
0042 For dra7xx:
0043 qspi: qspi@4b300000 {
0044 compatible = "ti,dra7xxx-qspi";
0045 reg = <0x4b300000 0x100>,
0046 <0x5c000000 0x4000000>,
0047 reg-names = "qspi_base", "qspi_mmap";
0048 syscon-chipselects = <&scm_conf 0x558>;
0049 #address-cells = <1>;
0050 #size-cells = <0>;
0051 spi-max-frequency = <48000000>;
0052 ti,hwmods = "qspi";
0053 };