]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blame - Documentation/devicetree/bindings/spi/ti_qspi.txt
Merge remote-tracking branch 'mkp-scsi/4.5/scsi-fixes' into fixes
[mirror_ubuntu-zesty-kernel.git] / Documentation / devicetree / bindings / spi / ti_qspi.txt
CommitLineData
505a1495
SP
1TI QSPI controller.
2
3Required properties:
09222fc3 4- compatible : should be "ti,dra7xxx-qspi" or "ti,am4372-qspi".
505a1495 5- reg: Should contain QSPI registers location and length.
52690a6a
SP
6- reg-names: Should contain the resource reg names.
7 - qspi_base: Qspi configuration register Address space
8 - qspi_mmap: Memory mapped Address space
9 - (optional) qspi_ctrlmod: Control module Address space
10- interrupts: should contain the qspi interrupt number.
505a1495
SP
11- #address-cells, #size-cells : Must be present if the device has sub-nodes
12- ti,hwmods: Name of the hwmod associated to the QSPI
13
14Recommended properties:
15- spi-max-frequency: Definition as per
16 Documentation/devicetree/bindings/spi/spi-bus.txt
17
1929d0b5
V
18Optional properties:
19- syscon-chipselects: Handle to system control region contains QSPI
20 chipselect register and offset of that register.
21
505a1495
SP
22Example:
23
2acb6c3e 24For am4372:
505a1495 25qspi: qspi@4b300000 {
2acb6c3e
V
26 compatible = "ti,am4372-qspi";
27 reg = <0x47900000 0x100>, <0x30000000 0x4000000>;
52690a6a 28 reg-names = "qspi_base", "qspi_mmap";
505a1495
SP
29 #address-cells = <1>;
30 #size-cells = <0>;
31 spi-max-frequency = <25000000>;
32 ti,hwmods = "qspi";
33};
1929d0b5
V
34
35For dra7xx:
36qspi: qspi@4b300000 {
37 compatible = "ti,dra7xxx-qspi";
38 reg = <0x4b300000 0x100>,
39 <0x5c000000 0x4000000>,
40 reg-names = "qspi_base", "qspi_mmap";
41 syscon-chipselects = <&scm_conf 0x558>;
42 #address-cells = <1>;
43 #size-cells = <0>;
44 spi-max-frequency = <48000000>;
45 ti,hwmods = "qspi";
46};