xref: /freebsd/sys/contrib/device-tree/Bindings/i2c/i2c-arb.txt (revision 2e3507c25e42292b45a5482e116d278f5515d04d)
1Common i2c arbitration bus properties.
2
3- i2c-arb child node
4
5Required properties for the i2c-arb child node:
6- #address-cells = <1>;
7- #size-cells = <0>;
8
9Optional properties for i2c-arb child node:
10- Child nodes conforming to i2c bus binding
11
12
13Example :
14
15	/*
16	   An NXP pca9541 I2C bus master selector at address 0x74
17	   with a NXP pca8574 GPIO expander attached.
18	 */
19
20	arb@74 {
21		compatible = "nxp,pca9541";
22		reg = <0x74>;
23
24		i2c-arb {
25			#address-cells = <1>;
26			#size-cells = <0>;
27
28			gpio@38 {
29				compatible = "nxp,pca8574";
30				reg = <0x38>;
31				#gpio-cells = <2>;
32				gpio-controller;
33			};
34		};
35	};
36