blob: 4ca2f5f7befc8d89e0d4a9dfd08badf4c44df96d [file] [log] [blame]
/*
* Copyright (c) 2020 Teslabs Engineering S.L.
*
* SPDX-License-Identifier: Apache-2.0
*/
&i2c0 {
status = "okay";
mux: tca9546a@77 {
compatible = "ti,tca9546a";
reg = <0x77>;
status = "okay";
label = "i2c_mux";
#address-cells = <1>;
#size-cells = <0>;
ch0: mux_i2c@0 {
label = "mux_dw_0";
reg = <0>;
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
compatible = "ti,tca9546a-channel";
};
ch1: mux_i2c@1 {
label = "mux_dw_1";
reg = <1>;
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
compatible = "ti,tca9546a-channel";
};
};
};
/{
aliases {
i2c-channel-0 = &ch0;
i2c-channel-1 = &ch1;
};
};