Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c808c7b9 authored by Rob Herring's avatar Rob Herring
Browse files

dt-bindings: arm: Convert Xilinx board/soc bindings to json-schema



Convert Xilinx SoC bindings to DT schema format using json-schema.

Cc: Mark Rutland <mark.rutland@arm.com>
Cc: devicetree@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Acked-by: default avatarMichal Simek <michal.simek@xilinx.com>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent f3fb5732
Loading
Loading
Loading
Loading
+0 −83
Original line number Diff line number Diff line
Xilinx Zynq Platforms Device Tree Bindings

Boards with Zynq-7000 SOC based on an ARM Cortex A9 processor
shall have the following properties.

Required root node properties:
    - compatible = "xlnx,zynq-7000";

Additional compatible strings:

- Adapteva Parallella board
  "adapteva,parallella"

- Avnet MicroZed board
  "avnet,zynq-microzed"
  "xlnx,zynq-microzed"

- Avnet ZedBoard board
  "avnet,zynq-zed"
  "xlnx,zynq-zed"

- Digilent Zybo board
  "digilent,zynq-zybo"

- Digilent Zybo Z7 board
  "digilent,zynq-zybo-z7"

- Xilinx CC108 internal board
  "xlnx,zynq-cc108"

- Xilinx ZC702 internal board
  "xlnx,zynq-zc702"

- Xilinx ZC706 internal board
  "xlnx,zynq-zc706"

- Xilinx ZC770 internal board, with different FMC cards
  "xlnx,zynq-zc770-xm010"
  "xlnx,zynq-zc770-xm011"
  "xlnx,zynq-zc770-xm012"
  "xlnx,zynq-zc770-xm013"

---------------------------------------------------------------

Xilinx Zynq UltraScale+ MPSoC Platforms Device Tree Bindings

Boards with ZynqMP SOC based on an ARM Cortex A53 processor
shall have the following properties.

Required root node properties:
    - compatible = "xlnx,zynqmp";


Additional compatible strings:

- Xilinx internal board zc1232
  "xlnx,zynqmp-zc1232-revA", "xlnx,zynqmp-zc1232"

- Xilinx internal board zc1254
  "xlnx,zynqmp-zc1254-revA", "xlnx,zynqmp-zc1254"

- Xilinx internal board zc1275
  "xlnx,zynqmp-zc1275-revA", "xlnx,zynqmp-zc1275"

- Xilinx internal board zc1751
  "xlnx,zynqmp-zc1751"

- Xilinx 96boards compatible board zcu100
  "xlnx,zynqmp-zcu100-revC", "xlnx,zynqmp-zcu100"

- Xilinx evaluation board zcu102
  "xlnx,zynqmp-zcu102-revA", "xlnx,zynqmp-zcu102"
  "xlnx,zynqmp-zcu102-revB", "xlnx,zynqmp-zcu102"
  "xlnx,zynqmp-zcu102-rev1.0", "xlnx,zynqmp-zcu102"

- Xilinx evaluation board zcu104
  "xlnx,zynqmp-zcu104-revA", "xlnx,zynqmp-zcu104"

- Xilinx evaluation board zcu106
  "xlnx,zynqmp-zcu106-revA", "xlnx,zynqmp-zcu106"

- Xilinx evaluation board zcu111
  "xlnx,zynqmp-zcu111-revA", "xlnx,zynqmp-zcu111"
+82 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0
%YAML 1.2
---
$id: http://devicetree.org/schemas/arm/xilinx.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Xilinx Zynq Platforms Device Tree Bindings

maintainers:
  - Michal Simek <michal.simek@xilinx.com>

description: |
  Xilinx boards with Zynq-7000 SOC or Zynq UltraScale+ MPSoC

properties:
  $nodename:
    const: '/'
  compatible:
    oneOf:
      - items:
          - enum:
              - adapteva,parallella
              - digilent,zynq-zybo
              - digilent,zynq-zybo-z7
              - xlnx,zynq-cc108
              - xlnx,zynq-zc702
              - xlnx,zynq-zc706
              - xlnx,zynq-zc770-xm010
              - xlnx,zynq-zc770-xm011
              - xlnx,zynq-zc770-xm012
              - xlnx,zynq-zc770-xm013
          - const: xlnx,zynq-7000

      - items:
          - const: avnet,zynq-microzed
          - const: xlnx,zynq-microzed
          - const: xlnx,zynq-7000

      - items:
          - const: avnet,zynq-zed
          - const: xlnx,zynq-zed
          - const: xlnx,zynq-7000

      - items:
          - enum:
              - xlnx,zynqmp-zc1751
          - const: xlnx,zynqmp

      - description: Xilinx internal board zc1232
        items:
          - const: xlnx,zynqmp-zc1232-revA
          - const: xlnx,zynqmp-zc1232
          - const: xlnx,zynqmp

      - description: Xilinx internal board zc1254
        items:
          - const: xlnx,zynqmp-zc1254-revA
          - const: xlnx,zynqmp-zc1254
          - const: xlnx,zynqmp

      - description: Xilinx internal board zc1275
        items:
          - const: xlnx,zynqmp-zc1275-revA
          - const: xlnx,zynqmp-zc1275
          - const: xlnx,zynqmp

      - description: Xilinx 96boards compatible board zcu100
        items:
          - const: xlnx,zynqmp-zcu100-revC
          - const: xlnx,zynqmp-zcu100
          - const: xlnx,zynqmp

      - description: Xilinx evaluation board zcu102
        items:
          - enum:
              - xlnx,zynqmp-zcu102-revA
              - xlnx,zynqmp-zcu102-revB
              - xlnx,zynqmp-zcu102-rev1.0
          - const: xlnx,zynqmp-zcu102
          - const: xlnx,zynqmp

...