Lines Matching +full:i2c +full:- +full:controller

1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/i2c/i2c-mt65xx.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MediaTek I2C controller
10 This driver interfaces with the native I2C controller present in
14 - $ref: /schemas/i2c/i2c-controller.yaml#
17 - Qii Wang <qii.wang@mediatek.com>
22 - const: mediatek,mt2712-i2c
23 - const: mediatek,mt6577-i2c
24 - const: mediatek,mt6589-i2c
25 - const: mediatek,mt7622-i2c
26 - const: mediatek,mt7981-i2c
27 - const: mediatek,mt7986-i2c
28 - const: mediatek,mt8168-i2c
29 - const: mediatek,mt8173-i2c
30 - const: mediatek,mt8183-i2c
31 - const: mediatek,mt8186-i2c
32 - const: mediatek,mt8188-i2c
33 - const: mediatek,mt8192-i2c
34 - items:
35 - enum:
36 - mediatek,mt7629-i2c
37 - mediatek,mt8516-i2c
38 - const: mediatek,mt2712-i2c
39 - items:
40 - enum:
41 - mediatek,mt2701-i2c
42 - mediatek,mt6797-i2c
43 - mediatek,mt7623-i2c
44 - const: mediatek,mt6577-i2c
45 - items:
46 - enum:
47 - mediatek,mt8365-i2c
48 - const: mediatek,mt8168-i2c
49 - items:
50 - enum:
51 - mediatek,mt6795-i2c
52 - const: mediatek,mt8173-i2c
53 - items:
54 - enum:
55 - mediatek,mt8195-i2c
56 - const: mediatek,mt8192-i2c
60 - description: Physical base address
61 - description: DMA base address
69 - description: Main clock for I2C bus
70 - description: Clock for I2C via DMA
71 - description: Bus arbitrator clock
72 - description: Clock for I2C from PMIC
74 clock-names:
77 - const: main
78 - const: dma
79 - const: arb
80 - const: pmic
82 clock-div:
84 description: Frequency divider of clock source in I2C module
86 clock-frequency:
91 mediatek,have-pmic:
92 description: Platform controls I2C from PMIC side
95 mediatek,use-push-pull:
96 description: Use push-pull mode I/O config
99 vbus-supply:
103 - compatible
104 - reg
105 - clocks
106 - clock-names
107 - clock-div
108 - interrupts
113 - |
114 #include <dt-bindings/interrupt-controller/arm-gic.h>
115 #include <dt-bindings/interrupt-controller/irq.h>
117 i2c0: i2c@1100d000 {
118 compatible = "mediatek,mt6577-i2c";
122 clock-names = "main", "dma";
123 clock-div = <16>;
124 clock-frequency = <400000>;
125 mediatek,have-pmic;
127 #address-cells = <1>;
128 #size-cells = <0>;