The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/spi/ti_qspi.txt

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 TI QSPI controller.
    2 
    3 Required properties:
    4 - compatible : should be "ti,dra7xxx-qspi" or "ti,am4372-qspi".
    5 - reg: Should contain QSPI registers location and length.
    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.
   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 
   14 Recommended properties:
   15 - spi-max-frequency: Definition as per
   16                      Documentation/devicetree/bindings/spi/spi-bus.txt
   17 
   18 Optional properties:
   19 - syscon-chipselects: Handle to system control region contains QSPI
   20                       chipselect register and offset of that register.
   21 
   22 NOTE: TI QSPI controller requires different pinmux and IODelay
   23 parameters for Mode-0 and Mode-3 operations, which needs to be set up by
   24 the bootloader (U-Boot). Default configuration only supports Mode-0
   25 operation. Hence, "spi-cpol" and "spi-cpha" DT properties cannot be
   26 specified in the slave nodes of TI QSPI controller without appropriate
   27 modification to bootloader.
   28 
   29 Example:
   30 
   31 For am4372:
   32 qspi: qspi@47900000 {
   33         compatible = "ti,am4372-qspi";
   34         reg = <0x47900000 0x100>, <0x30000000 0x4000000>;
   35         reg-names = "qspi_base", "qspi_mmap";
   36         #address-cells = <1>;
   37         #size-cells = <0>;
   38         spi-max-frequency = <25000000>;
   39         ti,hwmods = "qspi";
   40 };
   41 
   42 For dra7xx:
   43 qspi: qspi@4b300000 {
   44         compatible = "ti,dra7xxx-qspi";
   45         reg = <0x4b300000 0x100>,
   46               <0x5c000000 0x4000000>,
   47         reg-names = "qspi_base", "qspi_mmap";
   48         syscon-chipselects = <&scm_conf 0x558>;
   49         #address-cells = <1>;
   50         #size-cells = <0>;
   51         spi-max-frequency = <48000000>;
   52         ti,hwmods = "qspi";
   53 };

Cache object: 3a767769c3cac8f6972d91c0ffd2189b


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.