Unverified Commit 089a55eb authored by Maxime Ripard's avatar Maxime Ripard
Browse files

dt-bindings: sunxi: Add CPU Configuration Controller Binding



Even though we've used the CPU configuration driver for some time and a
number of boards using it already, we never had a binding for it. Let's
add it based on what the driver expects and the boards are providing.

Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
Reviewed-by: default avatarJernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20210901091852.479202-35-maxime@cerno.tech
parent 6880fa6c
Loading
Loading
Loading
Loading
+38 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/arm/sunxi/allwinner,sun6i-a31-cpuconfig.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Allwinner CPU Configuration Controller Device Tree Bindings

maintainers:
  - Chen-Yu Tsai <wens@csie.org>
  - Maxime Ripard <mripard@kernel.org>

properties:
  compatible:
    enum:
      - allwinner,sun6i-a31-cpuconfig
      - allwinner,sun8i-a23-cpuconfig
      - allwinner,sun8i-a83t-cpucfg
      - allwinner,sun8i-a83t-r-cpucfg
      - allwinner,sun9i-a80-cpucfg

  reg:
    maxItems: 1

required:
  - compatible
  - reg

additionalProperties: false

examples:
  - |
      cpucfg@1f01c00 {
          compatible = "allwinner,sun6i-a31-cpuconfig";
          reg = <0x01f01c00 0x300>;
      };

...