Back to home page

OSCL-LXR

 
 

    


0001 * Linear Technology / Analog Devices I2C bus switch
0002 
0003 Required Properties:
0004 
0005   - compatible: Must contain one of the following.
0006     "lltc,ltc4305", "lltc,ltc4306"
0007   - reg: The I2C address of the device.
0008 
0009   The following required properties are defined externally:
0010 
0011   - Standard I2C mux properties. See i2c-mux.yaml in this directory.
0012   - I2C child bus nodes. See i2c-mux.yaml in this directory.
0013 
0014 Optional Properties:
0015 
0016   - enable-gpios: Reference to the GPIO connected to the enable input.
0017   - i2c-mux-idle-disconnect: Boolean; if defined, forces mux to disconnect all
0018     children in idle state. This is necessary for example, if there are several
0019     multiplexers on the bus and the devices behind them use same I2C addresses.
0020   - gpio-controller: Marks the device node as a GPIO Controller.
0021   - #gpio-cells: Should be two.  The first cell is the pin number and
0022         the second cell is used to specify flags.
0023         See ../gpio/gpio.txt for more information.
0024   - ltc,downstream-accelerators-enable: Enables the rise time accelerators
0025         on the downstream port.
0026   - ltc,upstream-accelerators-enable: Enables the rise time accelerators
0027         on the upstream port.
0028 
0029 Example:
0030 
0031         ltc4306: i2c-mux@4a {
0032                 compatible = "lltc,ltc4306";
0033                 #address-cells = <1>;
0034                 #size-cells = <0>;
0035                 reg = <0x4a>;
0036 
0037                 gpio-controller;
0038                 #gpio-cells = <2>;
0039 
0040                 i2c@0 {
0041                         #address-cells = <1>;
0042                         #size-cells = <0>;
0043                         reg = <0>;
0044 
0045                         eeprom@50 {
0046                                 compatible = "atmel,24c02";
0047                                 reg = <0x50>;
0048                         };
0049                 };
0050 
0051                 i2c@1 {
0052                         #address-cells = <1>;
0053                         #size-cells = <0>;
0054                         reg = <1>;
0055 
0056                         eeprom@50 {
0057                                 compatible = "atmel,24c02";
0058                                 reg = <0x50>;
0059                         };
0060                 };
0061         };