mirror of
				https://github.com/oplus-giulia-dev/android_kernel_oneplus_sm8650-devicetrees
				synced 2025-11-04 14:45:59 +08:00 
			
		
		
		
	Add snapshot of device tree bindings from keystone common kernel, branch
"android-mainline-keystone-qcom-release" at 3da6de37c76b ("Snap for
8113462 from e98653b1be1521039c56a905ccc4860bac47118c to
android-mainline-keystone-qcom-release").
Change-Id: I05e4ecc6512d1e8b085f4495b16eb559a0a94de0
		
	
		
			
				
	
	
		
			64 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			64 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
 | 
						|
%YAML 1.2
 | 
						|
---
 | 
						|
$id: http://devicetree.org/schemas/dma/altr,msgdma.yaml#
 | 
						|
$schema: http://devicetree.org/meta-schemas/core.yaml#
 | 
						|
 | 
						|
title: Altera mSGDMA IP core
 | 
						|
 | 
						|
maintainers:
 | 
						|
  - Olivier Dautricourt <olivier.dautricourt@orolia.com>
 | 
						|
 | 
						|
description: |
 | 
						|
  Altera / Intel modular Scatter-Gather Direct Memory Access (mSGDMA)
 | 
						|
  intellectual property (IP)
 | 
						|
 | 
						|
allOf:
 | 
						|
  - $ref: "dma-controller.yaml#"
 | 
						|
 | 
						|
properties:
 | 
						|
  compatible:
 | 
						|
    const: altr,socfpga-msgdma
 | 
						|
 | 
						|
  reg:
 | 
						|
    items:
 | 
						|
      - description: Control and Status Register Slave Port
 | 
						|
      - description: Descriptor Slave Port
 | 
						|
      - description: Response Slave Port (Optional)
 | 
						|
    minItems: 2
 | 
						|
 | 
						|
  reg-names:
 | 
						|
    items:
 | 
						|
      - const: csr
 | 
						|
      - const: desc
 | 
						|
      - const: resp
 | 
						|
    minItems: 2
 | 
						|
 | 
						|
  interrupts:
 | 
						|
    maxItems: 1
 | 
						|
 | 
						|
  "#dma-cells":
 | 
						|
    const: 1
 | 
						|
    description:
 | 
						|
      The cell identifies the channel id (must be 0)
 | 
						|
 | 
						|
required:
 | 
						|
  - compatible
 | 
						|
  - reg
 | 
						|
  - reg-names
 | 
						|
  - interrupts
 | 
						|
 | 
						|
unevaluatedProperties: false
 | 
						|
 | 
						|
examples:
 | 
						|
  - |
 | 
						|
    #include <dt-bindings/interrupt-controller/irq.h>
 | 
						|
 | 
						|
    msgdma_controller: dma-controller@ff200b00 {
 | 
						|
        compatible = "altr,socfpga-msgdma";
 | 
						|
        reg = <0xff200b00 0x100>, <0xff200c00 0x100>, <0xff200d00 0x100>;
 | 
						|
        reg-names = "csr", "desc", "resp";
 | 
						|
        interrupts = <0 67 IRQ_TYPE_LEVEL_HIGH>;
 | 
						|
        #dma-cells = <1>;
 | 
						|
    };
 |