Path: blob/master/Documentation/devicetree/bindings/i2c/apple,i2c.yaml
26307 views
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/i2c/apple,i2c.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Apple/PASemi I2C controller78maintainers:9- Sven Peter <sven@svenpeter.dev>1011description: |12Apple SoCs such as the M1 come with a I2C controller based on the one found13in machines with P. A. Semi's PWRficient processors.14The bus is used to communicate with e.g. USB PD chips or the speaker15amp.1617allOf:18- $ref: /schemas/i2c/i2c-controller.yaml#1920properties:21compatible:22items:23- enum:24- apple,s5l8960x-i2c25- apple,t7000-i2c26- apple,s8000-i2c27- apple,t8010-i2c28- apple,t8015-i2c29- apple,t8103-i2c30- apple,t8112-i2c31- apple,t6000-i2c32- const: apple,i2c3334reg:35maxItems: 13637clocks:38items:39- description: I2C bus reference clock4041interrupts:42maxItems: 14344clock-frequency:45description: |46Desired I2C bus clock frequency in Hz. If not specified, 100 kHz will be47used. This frequency is generated by dividing the reference clock.48Allowed values are between ref_clk/(16*4) and ref_clk/(16*255).4950power-domains:51maxItems: 15253required:54- compatible55- reg56- clocks57- interrupts5859unevaluatedProperties: false6061examples:62- |63i2c@35010000 {64compatible = "apple,t8103-i2c", "apple,i2c";65reg = <0x35010000 0x4000>;66interrupt-parent = <&aic>;67interrupts = <0 627 4>;68clocks = <&ref_clk>;69#address-cells = <1>;70#size-cells = <0>;71};727374