Merge tag 'block-6.13-20242901' of git://git.kernel.dk/linux
[drm/drm-misc.git] / Documentation / devicetree / bindings / i2c / mediatek,mt7621-i2c.yaml
blob118ec00fc1905f3e7e04518f0f492c71f18501b8
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/i2c/mediatek,mt7621-i2c.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 maintainers:
8   - Stefan Roese <sr@denx.de>
10 title: Mediatek MT7621/MT7628 I2C master controller
12 allOf:
13   - $ref: /schemas/i2c/i2c-controller.yaml#
15 properties:
16   compatible:
17     const: mediatek,mt7621-i2c
19   reg:
20     maxItems: 1
22   clocks:
23     maxItems: 1
25   clock-names:
26     const: i2c
28   resets:
29     maxItems: 1
31   reset-names:
32     const: i2c
34 required:
35   - compatible
36   - reg
37   - resets
38   - "#address-cells"
39   - "#size-cells"
41 unevaluatedProperties: false
43 examples:
44   - |
45     #include <dt-bindings/clock/mt7621-clk.h>
46     #include <dt-bindings/reset/mt7621-reset.h>
48     i2c: i2c@900 {
49       compatible = "mediatek,mt7621-i2c";
50       reg = <0x900 0x100>;
51       clocks = <&sysc MT7621_CLK_I2C>;
52       clock-names = "i2c";
53       resets = <&sysc MT7621_RST_I2C>;
54       reset-names = "i2c";
56       #address-cells = <1>;
57       #size-cells = <0>;
59       pinctrl-names = "default";
60       pinctrl-0 = <&i2c_pins>;
61     };