64 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/i2c/allwinner,sun6i-a31-p2wi.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Allwinner A31 P2WI (Push/Pull 2 Wires Interface)8 9maintainers:10 - Chen-Yu Tsai <wens@csie.org>11 - Maxime Ripard <mripard@kernel.org>12 13allOf:14 - $ref: /schemas/i2c/i2c-controller.yaml#15 16properties:17 compatible:18 const: allwinner,sun6i-a31-p2wi19 20 reg:21 maxItems: 122 23 interrupts:24 maxItems: 125 26 clocks:27 maxItems: 128 29 resets:30 maxItems: 131 32 clock-frequency:33 minimum: 134 maximum: 600000035 36required:37 - compatible38 - reg39 - interrupts40 - clocks41 - resets42 43unevaluatedProperties: false44 45examples:46 - |47 i2c@1f03400 {48 compatible = "allwinner,sun6i-a31-p2wi";49 reg = <0x01f03400 0x400>;50 interrupts = <0 39 4>;51 clocks = <&apb0_gates 3>;52 clock-frequency = <100000>;53 resets = <&apb0_rst 3>;54 #address-cells = <1>;55 #size-cells = <0>;56 57 axp221: pmic@68 {58 /* compatible = "x-powers,axp221"; */59 reg = <0x68>;60 };61 };62 63...64