1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/spmi/apple,spmi.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Apple SPMI controller 8 9maintainers: 10 - Sasha Finkelstein <fnkl.kernel@gmail.com> 11 12description: A SPMI controller present on most Apple SoCs 13 14allOf: 15 - $ref: spmi.yaml# 16 17properties: 18 compatible: 19 items: 20 - enum: 21 - apple,t8103-spmi 22 - apple,t6000-spmi 23 - apple,t8112-spmi 24 - const: apple,spmi 25 26 reg: 27 maxItems: 1 28 29required: 30 - compatible 31 - reg 32 33unevaluatedProperties: false 34 35examples: 36 - | 37 #include <dt-bindings/spmi/spmi.h> 38 39 spmi@920a1300 { 40 compatible = "apple,t6000-spmi", "apple,spmi"; 41 reg = <0x920a1300 0x100>; 42 #address-cells = <2>; 43 #size-cells = <0>; 44 45 pmic@f { 46 reg = <0xf SPMI_USID>; 47 /* PMIC-specific properties */ 48 }; 49 }; 50