Path: blob/master/Documentation/devicetree/bindings/i2c/brcm,iproc-i2c.yaml
53176 views
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause1%YAML 1.22---3$id: http://devicetree.org/schemas/i2c/brcm,iproc-i2c.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Broadcom iProc I2C controller78maintainers:9- Rafał Miłecki <rafal@milecki.pl>1011properties:12compatible:13enum:14- brcm,iproc-i2c15- brcm,iproc-nic-i2c1617reg:18minItems: 119maxItems: 22021clock-frequency:22enum: [ 100000, 400000 ]2324interrupts:25description: |26Should contain the I2C interrupt. For certain revisions of the I2C27controller, I2C interrupt is unwired to the interrupt controller. In such28case, this property should be left unspecified, and driver will fall back29to polling mode30maxItems: 13132brcm,ape-hsls-addr-mask:33$ref: /schemas/types.yaml#/definitions/uint3234description: Host view of address mask into the 'APE' co-processor3536allOf:37- $ref: /schemas/i2c/i2c-controller.yaml#38- if:39properties:40compatible:41contains:42const: brcm,iproc-nic-i2c43then:44properties:45reg:46minItems: 247required:48- brcm,ape-hsls-addr-mask49else:50properties:51reg:52maxItems: 15354unevaluatedProperties: false5556required:57- reg58- clock-frequency59- '#address-cells'60- '#size-cells'6162examples:63- |64#include <dt-bindings/interrupt-controller/arm-gic.h>6566i2c@18008000 {67compatible = "brcm,iproc-i2c";68reg = <0x18008000 0x100>;69#address-cells = <1>;70#size-cells = <0>;71interrupts = <GIC_SPI 85 IRQ_TYPE_NONE>;72clock-frequency = <100000>;7374wm8750@1a {75compatible = "wlf,wm8750";76reg = <0x1a>;77};78};798081