# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/arm/hisilicon/controller/hip04-bootwrapper.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Bootwrapper boot method

maintainers:
  - Wei Xu <xuwei5@hisilicon.com>

description: Bootwrapper boot method (software protocol on SMP)

properties:
  compatible:
    items:
      - const: hisilicon,hip04-bootwrapper

  boot-method:
    $ref: /schemas/types.yaml#/definitions/uint32-array
    description: |
      Address and size of boot method.
      [0]: bootwrapper physical address
      [1]: bootwrapper size
      [2]: relocation physical address
      [3]: relocation size
    minItems: 2
    maxItems: 4

required:
  - compatible
  - boot-method

additionalProperties: false
...