162306a36Sopenharmony_ci* Linear Technology / Analog Devices I2C bus switch 262306a36Sopenharmony_ci 362306a36Sopenharmony_ciRequired Properties: 462306a36Sopenharmony_ci 562306a36Sopenharmony_ci - compatible: Must contain one of the following. 662306a36Sopenharmony_ci "lltc,ltc4305", "lltc,ltc4306" 762306a36Sopenharmony_ci - reg: The I2C address of the device. 862306a36Sopenharmony_ci 962306a36Sopenharmony_ci The following required properties are defined externally: 1062306a36Sopenharmony_ci 1162306a36Sopenharmony_ci - Standard I2C mux properties. See i2c-mux.yaml in this directory. 1262306a36Sopenharmony_ci - I2C child bus nodes. See i2c-mux.yaml in this directory. 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_ciOptional Properties: 1562306a36Sopenharmony_ci 1662306a36Sopenharmony_ci - enable-gpios: Reference to the GPIO connected to the enable input. 1762306a36Sopenharmony_ci - i2c-mux-idle-disconnect: Boolean; if defined, forces mux to disconnect all 1862306a36Sopenharmony_ci children in idle state. This is necessary for example, if there are several 1962306a36Sopenharmony_ci multiplexers on the bus and the devices behind them use same I2C addresses. 2062306a36Sopenharmony_ci - gpio-controller: Marks the device node as a GPIO Controller. 2162306a36Sopenharmony_ci - #gpio-cells: Should be two. The first cell is the pin number and 2262306a36Sopenharmony_ci the second cell is used to specify flags. 2362306a36Sopenharmony_ci See ../gpio/gpio.txt for more information. 2462306a36Sopenharmony_ci - ltc,downstream-accelerators-enable: Enables the rise time accelerators 2562306a36Sopenharmony_ci on the downstream port. 2662306a36Sopenharmony_ci - ltc,upstream-accelerators-enable: Enables the rise time accelerators 2762306a36Sopenharmony_ci on the upstream port. 2862306a36Sopenharmony_ci 2962306a36Sopenharmony_ciExample: 3062306a36Sopenharmony_ci 3162306a36Sopenharmony_ci ltc4306: i2c-mux@4a { 3262306a36Sopenharmony_ci compatible = "lltc,ltc4306"; 3362306a36Sopenharmony_ci #address-cells = <1>; 3462306a36Sopenharmony_ci #size-cells = <0>; 3562306a36Sopenharmony_ci reg = <0x4a>; 3662306a36Sopenharmony_ci 3762306a36Sopenharmony_ci gpio-controller; 3862306a36Sopenharmony_ci #gpio-cells = <2>; 3962306a36Sopenharmony_ci 4062306a36Sopenharmony_ci i2c@0 { 4162306a36Sopenharmony_ci #address-cells = <1>; 4262306a36Sopenharmony_ci #size-cells = <0>; 4362306a36Sopenharmony_ci reg = <0>; 4462306a36Sopenharmony_ci 4562306a36Sopenharmony_ci eeprom@50 { 4662306a36Sopenharmony_ci compatible = "atmel,24c02"; 4762306a36Sopenharmony_ci reg = <0x50>; 4862306a36Sopenharmony_ci }; 4962306a36Sopenharmony_ci }; 5062306a36Sopenharmony_ci 5162306a36Sopenharmony_ci i2c@1 { 5262306a36Sopenharmony_ci #address-cells = <1>; 5362306a36Sopenharmony_ci #size-cells = <0>; 5462306a36Sopenharmony_ci reg = <1>; 5562306a36Sopenharmony_ci 5662306a36Sopenharmony_ci eeprom@50 { 5762306a36Sopenharmony_ci compatible = "atmel,24c02"; 5862306a36Sopenharmony_ci reg = <0x50>; 5962306a36Sopenharmony_ci }; 6062306a36Sopenharmony_ci }; 6162306a36Sopenharmony_ci }; 62