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/i2c/i2c-mpc.yaml

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 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
    2 %YAML 1.2
    3 ---
    4 $id: http://devicetree.org/schemas/i2c/i2c-mpc.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: I2C-Bus adapter for MPC824x/83xx/85xx/86xx/512x/52xx SoCs
    8 
    9 maintainers:
   10   - Chris Packham <chris.packham@alliedtelesis.co.nz>
   11 
   12 allOf:
   13   - $ref: /schemas/i2c/i2c-controller.yaml#
   14 
   15 properties:
   16   compatible:
   17     oneOf:
   18       - items:
   19           - enum:
   20               - mpc5200-i2c
   21               - fsl,mpc5200-i2c
   22               - fsl,mpc5121-i2c
   23               - fsl,mpc8313-i2c
   24               - fsl,mpc8543-i2c
   25               - fsl,mpc8544-i2c
   26           - const: fsl-i2c
   27       - items:
   28           - const: fsl,mpc5200b-i2c
   29           - const: fsl,mpc5200-i2c
   30           - const: fsl-i2c
   31 
   32   reg:
   33     maxItems: 1
   34 
   35   interrupts:
   36     maxItems: 1
   37 
   38   fsl,preserve-clocking:
   39     $ref: /schemas/types.yaml#/definitions/flag
   40     description: |
   41       if defined, the clock settings from the bootloader are
   42       preserved (not touched)
   43 
   44   fsl,timeout:
   45     $ref: /schemas/types.yaml#/definitions/uint32
   46     description: |
   47       I2C bus timeout in microseconds
   48 
   49   fsl,i2c-erratum-a004447:
   50     $ref: /schemas/types.yaml#/definitions/flag
   51     description: |
   52       Indicates the presence of QorIQ erratum A-004447, which
   53       says that the standard i2c recovery scheme mechanism does
   54       not work and an alternate implementation is needed.
   55 
   56 required:
   57   - compatible
   58   - reg
   59   - interrupts
   60 
   61 unevaluatedProperties: false
   62 
   63 examples:
   64   - |
   65     /* MPC5121 based board */
   66     i2c@1740 {
   67         #address-cells = <1>;
   68         #size-cells = <0>;
   69         compatible = "fsl,mpc5121-i2c", "fsl-i2c";
   70         reg = <0x1740 0x20>;
   71         interrupts = <11 0x8>;
   72         interrupt-parent = <&ipic>;
   73         clock-frequency = <100000>;
   74     };
   75 
   76   - |
   77     /* MPC5200B based board */
   78     i2c@3d00 {
   79         #address-cells = <1>;
   80         #size-cells = <0>;
   81         compatible = "fsl,mpc5200b-i2c", "fsl,mpc5200-i2c", "fsl-i2c";
   82         reg = <0x3d00 0x40>;
   83         interrupts = <2 15 0>;
   84         interrupt-parent = <&mpc5200_pic>;
   85         fsl,preserve-clocking;
   86     };
   87 
   88   - |
   89     /* MPC8544 base board */
   90     i2c@3100 {
   91         #address-cells = <1>;
   92         #size-cells = <0>;
   93         compatible = "fsl,mpc8544-i2c", "fsl-i2c";
   94         reg = <0x3100 0x100>;
   95         interrupts = <43 2>;
   96         interrupt-parent = <&mpic>;
   97         clock-frequency = <400000>;
   98         fsl,timeout = <10000>;
   99     };
  100 ...

Cache object: b8b3b8e3fd655633b5f98ecb5b30ac72


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