1/*
2 * Copyright (c) 2020 Teslabs Engineering S.L.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7&i2c0 {
8	status = "okay";
9	mux: tca9546a@77 {
10		compatible = "ti,tca9546a";
11		reg = <0x77>;
12		status = "okay";
13		#address-cells = <1>;
14		#size-cells = <0>;
15
16		ch0: mux_i2c@0 {
17			compatible = "ti,tca9546a-channel";
18			reg = <0>;
19			#address-cells = <1>;
20			#size-cells = <0>;
21		};
22
23		ch1: mux_i2c@1 {
24			compatible = "ti,tca9546a-channel";
25			reg = <1>;
26			#address-cells = <1>;
27			#size-cells = <0>;
28        };
29	};
30};
31
32/{
33	aliases {
34		i2c-channel-0 = &ch0;
35		i2c-channel-1 = &ch1;
36	};
37};
38