1bbddb0fcSMaxime Ripard# SPDX-License-Identifier: GPL-2.0
2bbddb0fcSMaxime Ripard%YAML 1.2
3bbddb0fcSMaxime Ripard---
4bbddb0fcSMaxime Ripard$id: http://devicetree.org/schemas/i2c/allwinner,sun6i-a31-p2wi.yaml#
5bbddb0fcSMaxime Ripard$schema: http://devicetree.org/meta-schemas/core.yaml#
6bbddb0fcSMaxime Ripard
7bbddb0fcSMaxime Ripardtitle: Allwinner A31 P2WI (Push/Pull 2 Wires Interface) Device Tree Bindings
8bbddb0fcSMaxime Ripard
9bbddb0fcSMaxime Ripardmaintainers:
10bbddb0fcSMaxime Ripard  - Chen-Yu Tsai <wens@csie.org>
115c7404bbSMaxime Ripard  - Maxime Ripard <mripard@kernel.org>
12bbddb0fcSMaxime Ripard
13bbddb0fcSMaxime RipardallOf:
14bbddb0fcSMaxime Ripard  - $ref: /schemas/i2c/i2c-controller.yaml#
15bbddb0fcSMaxime Ripard
16bbddb0fcSMaxime Ripardproperties:
17bbddb0fcSMaxime Ripard  compatible:
18bbddb0fcSMaxime Ripard    const: allwinner,sun6i-a31-p2wi
19bbddb0fcSMaxime Ripard
20bbddb0fcSMaxime Ripard  reg:
21bbddb0fcSMaxime Ripard    maxItems: 1
22bbddb0fcSMaxime Ripard
23bbddb0fcSMaxime Ripard  interrupts:
24bbddb0fcSMaxime Ripard    maxItems: 1
25bbddb0fcSMaxime Ripard
26bbddb0fcSMaxime Ripard  clocks:
27bbddb0fcSMaxime Ripard    maxItems: 1
28bbddb0fcSMaxime Ripard
29bbddb0fcSMaxime Ripard  resets:
30bbddb0fcSMaxime Ripard    maxItems: 1
31bbddb0fcSMaxime Ripard
32bbddb0fcSMaxime Ripard  clock-frequency:
33bbddb0fcSMaxime Ripard    minimum: 1
34bbddb0fcSMaxime Ripard    maximum: 6000000
35bbddb0fcSMaxime Ripard
36bbddb0fcSMaxime Ripardrequired:
37bbddb0fcSMaxime Ripard  - compatible
38bbddb0fcSMaxime Ripard  - reg
39bbddb0fcSMaxime Ripard  - interrupts
40bbddb0fcSMaxime Ripard  - clocks
41bbddb0fcSMaxime Ripard  - resets
42bbddb0fcSMaxime Ripard
43454f5d9dSMaxime RipardunevaluatedProperties: false
44bbddb0fcSMaxime Ripard
45bbddb0fcSMaxime Ripardexamples:
46bbddb0fcSMaxime Ripard  - |
47bbddb0fcSMaxime Ripard    i2c@1f03400 {
48bbddb0fcSMaxime Ripard        compatible = "allwinner,sun6i-a31-p2wi";
49bbddb0fcSMaxime Ripard        reg = <0x01f03400 0x400>;
50bbddb0fcSMaxime Ripard        interrupts = <0 39 4>;
51bbddb0fcSMaxime Ripard        clocks = <&apb0_gates 3>;
5200386171SMaxime Ripard        clock-frequency = <100000>;
53bbddb0fcSMaxime Ripard        resets = <&apb0_rst 3>;
54bbddb0fcSMaxime Ripard        #address-cells = <1>;
55bbddb0fcSMaxime Ripard        #size-cells = <0>;
56bbddb0fcSMaxime Ripard
57bbddb0fcSMaxime Ripard        axp221: pmic@68 {
58*239f2bb1SMaxime Ripard            /* compatible = "x-powers,axp221"; */
59bbddb0fcSMaxime Ripard            reg = <0x68>;
60bbddb0fcSMaxime Ripard        };
61bbddb0fcSMaxime Ripard    };
62bbddb0fcSMaxime Ripard
63bbddb0fcSMaxime Ripard...
64