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