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/spi-mxic.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 Macronix SPI controller Device Tree Bindings
    2 --------------------------------------------
    3 
    4 Required properties:
    5 - compatible: should be "mxicy,mx25f0a-spi"
    6 - #address-cells: should be 1
    7 - #size-cells: should be 0
    8 - reg: should contain 2 entries, one for the registers and one for the direct
    9        mapping area
   10 - reg-names: should contain "regs" and "dirmap"
   11 - interrupts: interrupt line connected to the SPI controller
   12 - clock-names: should contain "ps_clk", "send_clk" and "send_dly_clk"
   13 - clocks: should contain 3 entries for the "ps_clk", "send_clk" and
   14           "send_dly_clk" clocks
   15 
   16 Example:
   17 
   18         spi@43c30000 {
   19                 compatible = "mxicy,mx25f0a-spi";
   20                 reg = <0x43c30000 0x10000>, <0xa0000000 0x20000000>;
   21                 reg-names = "regs", "dirmap";
   22                 clocks = <&clkwizard 0>, <&clkwizard 1>, <&clkc 18>;
   23                 clock-names = "send_clk", "send_dly_clk", "ps_clk";
   24                 #address-cells = <1>;
   25                 #size-cells = <0>;
   26 
   27                 flash@0 {
   28                         compatible = "jedec,spi-nor";
   29                         reg = <0>;
   30                         spi-max-frequency = <25000000>;
   31                         spi-tx-bus-width = <4>;
   32                         spi-rx-bus-width = <4>;
   33                 };
   34         };

Cache object: 085a57487d32caf1ebbaa16d313819aa


[ 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.