^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) * Linear Technology / Analog Devices I2C bus switch
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) Required Properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) - compatible: Must contain one of the following.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) "lltc,ltc4305", "lltc,ltc4306"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) - reg: The I2C address of the device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) The following required properties are defined externally:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) - Standard I2C mux properties. See i2c-mux.txt in this directory.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) - I2C child bus nodes. See i2c-mux.txt in this directory.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) Optional Properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) - enable-gpios: Reference to the GPIO connected to the enable input.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) - i2c-mux-idle-disconnect: Boolean; if defined, forces mux to disconnect all
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) children in idle state. This is necessary for example, if there are several
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) multiplexers on the bus and the devices behind them use same I2C addresses.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) - gpio-controller: Marks the device node as a GPIO Controller.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) - #gpio-cells: Should be two. The first cell is the pin number and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) the second cell is used to specify flags.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) See ../gpio/gpio.txt for more information.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) - ltc,downstream-accelerators-enable: Enables the rise time accelerators
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) on the downstream port.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) - ltc,upstream-accelerators-enable: Enables the rise time accelerators
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) on the upstream port.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) ltc4306: i2c-mux@4a {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) compatible = "lltc,ltc4306";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) #address-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) #size-cells = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) reg = <0x4a>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) gpio-controller;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) #gpio-cells = <2>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) i2c@0 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) #address-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) #size-cells = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) reg = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) eeprom@50 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) compatible = "atmel,24c02";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) reg = <0x50>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) i2c@1 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) #address-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) #size-cells = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) reg = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) eeprom@50 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) compatible = "atmel,24c02";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) reg = <0x50>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) };