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-aspeed.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 Device tree configuration for the I2C busses on the AST24XX, AST25XX, and AST26XX SoCs.
    2 
    3 Required Properties:
    4 - #address-cells        : should be 1
    5 - #size-cells           : should be 0
    6 - reg                   : address offset and range of bus
    7 - compatible            : should be "aspeed,ast2400-i2c-bus"
    8                           or "aspeed,ast2500-i2c-bus"
    9                           or "aspeed,ast2600-i2c-bus"
   10 - clocks                : root clock of bus, should reference the APB
   11                           clock in the second cell
   12 - resets                : phandle to reset controller with the reset number in
   13                           the second cell
   14 - interrupts            : interrupt number
   15 
   16 Optional Properties:
   17 - bus-frequency : frequency of the bus clock in Hz defaults to 100 kHz when not
   18                   specified
   19 - multi-master  : states that there is another master active on this bus.
   20 
   21 Example:
   22 
   23 i2c {
   24         compatible = "simple-bus";
   25         #address-cells = <1>;
   26         #size-cells = <1>;
   27         ranges = <0 0x1e78a000 0x1000>;
   28 
   29         i2c_ic: interrupt-controller@0 {
   30                 #interrupt-cells = <1>;
   31                 compatible = "aspeed,ast2400-i2c-ic";
   32                 reg = <0x0 0x40>;
   33                 interrupts = <12>;
   34                 interrupt-controller;
   35         };
   36 
   37         i2c0: i2c-bus@40 {
   38                 #address-cells = <1>;
   39                 #size-cells = <0>;
   40                 #interrupt-cells = <1>;
   41                 reg = <0x40 0x40>;
   42                 compatible = "aspeed,ast2400-i2c-bus";
   43                 clocks = <&syscon ASPEED_CLK_APB>;
   44                 resets = <&syscon ASPEED_RESET_I2C>;
   45                 bus-frequency = <100000>;
   46                 interrupts = <0>;
   47                 interrupt-parent = <&i2c_ic>;
   48         };
   49 };

Cache object: a4c9b59584b97d7cea850fd2859d42c2


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