Back to home page

OSCL-LXR

 
 

    


0001 * Two Wire Serial Interface (TWSI) / I2C
0002 
0003 - compatible: "cavium,octeon-3860-twsi"
0004 
0005   Compatibility with all cn3XXX, cn5XXX and cn6XXX SOCs.
0006 
0007   or
0008 
0009   compatible: "cavium,octeon-7890-twsi"
0010 
0011   Compatibility with cn78XX SOCs.
0012 
0013 - reg: The base address of the TWSI/I2C bus controller register bank.
0014 
0015 - #address-cells: Must be <1>.
0016 
0017 - #size-cells: Must be <0>.  I2C addresses have no size component.
0018 
0019 - interrupts: A single interrupt specifier.
0020 
0021 - clock-frequency: The I2C bus clock rate in Hz.
0022 
0023 Example:
0024         twsi0: i2c@1180000001000 {
0025                 #address-cells = <1>;
0026                 #size-cells = <0>;
0027                 compatible = "cavium,octeon-3860-twsi";
0028                 reg = <0x11800 0x00001000 0x0 0x200>;
0029                 interrupts = <0 45>;
0030                 clock-frequency = <100000>;
0031 
0032                 rtc@68 {
0033                         compatible = "dallas,ds1337";
0034                         reg = <0x68>;
0035                 };
0036                 tmp@4c {
0037                         compatible = "ti,tmp421";
0038                         reg = <0x4c>;
0039                 };
0040         };