179af73b3SMatthew Gerlach# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
279af73b3SMatthew Gerlach# Copyright (C) 2022, Intel Corporation
379af73b3SMatthew Gerlach%YAML 1.2
479af73b3SMatthew Gerlach---
5*45698208SRob Herring$id: http://devicetree.org/schemas/soc/intel/intel,hps-copy-engine.yaml#
6*45698208SRob Herring$schema: http://devicetree.org/meta-schemas/core.yaml#
779af73b3SMatthew Gerlach
879af73b3SMatthew Gerlachtitle: Intel HPS Copy Engine
979af73b3SMatthew Gerlach
1079af73b3SMatthew Gerlachmaintainers:
1179af73b3SMatthew Gerlach  - Matthew Gerlach <matthew.gerlach@linux.intel.com>
1279af73b3SMatthew Gerlach
1379af73b3SMatthew Gerlachdescription: |
1479af73b3SMatthew Gerlach  The Intel Hard Processor System (HPS) Copy Engine is an IP block used to copy
1579af73b3SMatthew Gerlach  a bootable image from host memory to HPS DDR.  Additionally, there is a
1679af73b3SMatthew Gerlach  register the HPS can use to indicate the state of booting the copied image as
1779af73b3SMatthew Gerlach  well as a keep-a-live indication to the host.
1879af73b3SMatthew Gerlach
1979af73b3SMatthew Gerlachproperties:
2079af73b3SMatthew Gerlach  compatible:
2179af73b3SMatthew Gerlach    const: intel,hps-copy-engine
2279af73b3SMatthew Gerlach
2379af73b3SMatthew Gerlach  '#dma-cells':
2479af73b3SMatthew Gerlach    const: 1
2579af73b3SMatthew Gerlach
2679af73b3SMatthew Gerlach  reg:
2779af73b3SMatthew Gerlach    maxItems: 1
2879af73b3SMatthew Gerlach
2979af73b3SMatthew Gerlachrequired:
3079af73b3SMatthew Gerlach  - compatible
3179af73b3SMatthew Gerlach  - reg
3279af73b3SMatthew Gerlach
3379af73b3SMatthew GerlachadditionalProperties: false
3479af73b3SMatthew Gerlach
3579af73b3SMatthew Gerlachexamples:
3679af73b3SMatthew Gerlach  - |
3779af73b3SMatthew Gerlach    bus@80000000 {
3879af73b3SMatthew Gerlach        compatible = "simple-bus";
3979af73b3SMatthew Gerlach        reg = <0x80000000 0x60000000>,
4079af73b3SMatthew Gerlach              <0xf9000000 0x00100000>;
4179af73b3SMatthew Gerlach        reg-names = "axi_h2f", "axi_h2f_lw";
4279af73b3SMatthew Gerlach        #address-cells = <2>;
4379af73b3SMatthew Gerlach        #size-cells = <1>;
4479af73b3SMatthew Gerlach        ranges = <0x00000000 0x00000000 0xf9000000 0x00001000>;
4579af73b3SMatthew Gerlach
4679af73b3SMatthew Gerlach        dma-controller@0 {
4779af73b3SMatthew Gerlach            compatible = "intel,hps-copy-engine";
4879af73b3SMatthew Gerlach            reg = <0x00000000 0x00000000 0x00001000>;
4979af73b3SMatthew Gerlach            #dma-cells = <1>;
5079af73b3SMatthew Gerlach        };
5179af73b3SMatthew Gerlach    };
52