Lines Matching +full:i2c +full:- +full:gpio
1 Common i2c bus multiplexer/switch properties.
3 An i2c bus multiplexer/switch will have several child busses that are
4 numbered uniquely in a device dependent manner. The nodes for an i2c bus
8 - #address-cells = <1>;
9 This property is required if the i2c-mux child node does not exist.
11 - #size-cells = <0>;
12 This property is required if the i2c-mux child node does not exist.
14 - i2c-mux
15 For i2c multiplexers/switches that have child nodes that are a mixture
16 of both i2c child busses and other child nodes, the 'i2c-mux' subnode
17 can be used for populating the i2c child busses. If an 'i2c-mux'
18 subnode is present, only subnodes of this will be considered as i2c
21 Required properties for the i2c-mux child node:
22 - #address-cells = <1>;
23 - #size-cells = <0>;
25 Required properties for i2c child bus nodes:
26 - #address-cells = <1>;
27 - #size-cells = <0>;
28 - reg : The sub-bus number.
30 Optional properties for i2c child bus nodes:
31 - Other properties specific to the multiplexer/switch hardware.
32 - Child nodes conforming to i2c bus binding
38 An NXP pca9548 8 channel I2C multiplexer at address 0x70
39 with two NXP pca8574 GPIO expanders attached, one each to
46 #address-cells = <1>;
47 #size-cells = <0>;
49 i2c@3 {
50 #address-cells = <1>;
51 #size-cells = <0>;
54 gpio1: gpio@38 {
57 #gpio-cells = <2>;
58 gpio-controller;
61 i2c@4 {
62 #address-cells = <1>;
63 #size-cells = <0>;
66 gpio2: gpio@38 {
69 #gpio-cells = <2>;
70 gpio-controller;