Path: blob/master/Documentation/devicetree/bindings/i2c/i2c-pxa.yaml
26307 views
# SPDX-License-Identifier: GPL-2.0-only1%YAML 1.22---3$id: http://devicetree.org/schemas/i2c/i2c-pxa.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Marvell MMP I2C controller78maintainers:9- Rob Herring <robh@kernel.org>1011allOf:12- $ref: /schemas/i2c/i2c-controller.yaml#13- if:14not:15required:16- mrvl,i2c-polling17then:18required:19- interrupts2021properties:22compatible:23enum:24- mrvl,mmp-twsi25- mrvl,pxa-i2c26- marvell,armada-3700-i2c2728reg:29maxItems: 13031interrupts:32maxItems: 13334clocks:35minItems: 13637resets:38minItems: 13940mrvl,i2c-polling:41$ref: /schemas/types.yaml#/definitions/flag42description: |43Disable interrupt of i2c controller. Polling status register of i2c44controller instead.4546mrvl,i2c-fast-mode:47$ref: /schemas/types.yaml#/definitions/flag48description: Enable fast mode of i2c controller.4950unevaluatedProperties: false5152required:53- compatible54- reg55- interrupts56- clocks57- '#address-cells'58- '#size-cells'5960examples:61- |62#include <dt-bindings/clock/marvell,mmp2.h>63i2c@d4011000 {64compatible = "mrvl,mmp-twsi";65reg = <0xd4011000 0x1000>;66interrupts = <7>;67clocks = <&soc_clocks MMP2_CLK_TWSI1>;68mrvl,i2c-fast-mode;69#address-cells = <1>;70#size-cells = <0>;71};7273...747576