| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
- %YAML 1.2
- ---
- $id: http://devicetree.org/schemas/spmi/apple,spmi.yaml#
- $schema: http://devicetree.org/meta-schemas/core.yaml#
- title: Apple SPMI controller
- maintainers:
- - Sasha Finkelstein <fnkl.kernel@gmail.com>
- description: A SPMI controller present on most Apple SoCs
- allOf:
- - $ref: spmi.yaml#
- properties:
- compatible:
- oneOf:
- - items:
- - enum:
- - apple,t6020-spmi
- - apple,t8012-spmi
- - apple,t8015-spmi
- - const: apple,t8103-spmi
- - items:
- - enum:
- # Do not add additional SoC to this list.
- - apple,t8103-spmi
- - apple,t6000-spmi
- - apple,t8112-spmi
- - const: apple,spmi
- reg:
- maxItems: 1
- required:
- - compatible
- - reg
- unevaluatedProperties: false
- examples:
- - |
- #include <dt-bindings/spmi/spmi.h>
- spmi@920a1300 {
- compatible = "apple,t6000-spmi", "apple,spmi";
- reg = <0x920a1300 0x100>;
- #address-cells = <2>;
- #size-cells = <0>;
- pmic@f {
- reg = <0xf SPMI_USID>;
- /* PMIC-specific properties */
- };
- };
|