1 # SPDX-License-Identifier: GPL-2.0-only OR BSD 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/i2c/nxp,pca 4 $id: http://devicetree.org/schemas/i2c/nxp,pca9541.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: NXP PCA9541 I2C bus master selector 7 title: NXP PCA9541 I2C bus master selector 8 8 9 maintainers: 9 maintainers: 10 - Peter Rosin <peda@axentia.se> 10 - Peter Rosin <peda@axentia.se> 11 11 12 properties: 12 properties: 13 compatible: 13 compatible: 14 const: nxp,pca9541 14 const: nxp,pca9541 15 15 16 reg: 16 reg: 17 maxItems: 1 17 maxItems: 1 18 18 19 i2c-arb: 19 i2c-arb: 20 type: object 20 type: object 21 $ref: /schemas/i2c/i2c-controller.yaml 21 $ref: /schemas/i2c/i2c-controller.yaml 22 unevaluatedProperties: false 22 unevaluatedProperties: false 23 description: 23 description: 24 I2C arbitration bus node. 24 I2C arbitration bus node. 25 25 26 required: 26 required: 27 - compatible 27 - compatible 28 - reg 28 - reg 29 - i2c-arb 29 - i2c-arb 30 30 31 additionalProperties: false 31 additionalProperties: false 32 32 33 examples: 33 examples: 34 - | 34 - | 35 #include <dt-bindings/gpio/gpio.h> 35 #include <dt-bindings/gpio/gpio.h> 36 #include <dt-bindings/interrupt-controller 36 #include <dt-bindings/interrupt-controller/irq.h> 37 37 38 i2c { 38 i2c { 39 #address-cells = <1>; 39 #address-cells = <1>; 40 #size-cells = <0>; 40 #size-cells = <0>; 41 41 42 i2c-arbitrator@74 { 42 i2c-arbitrator@74 { 43 compatible = "nxp,pca9541"; 43 compatible = "nxp,pca9541"; 44 reg = <0x74>; 44 reg = <0x74>; 45 45 46 i2c-arb { 46 i2c-arb { 47 #address-cells = <1>; 47 #address-cells = <1>; 48 #size-cells = <0>; 48 #size-cells = <0>; 49 49 50 eeprom@54 { 50 eeprom@54 { 51 compatible = "atmel,24c08" 51 compatible = "atmel,24c08"; 52 reg = <0x54>; 52 reg = <0x54>; 53 }; 53 }; 54 }; 54 }; 55 }; 55 }; 56 }; 56 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.