1*833e5d42SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*833e5d42SEmmanuel Vadot%YAML 1.2 3*833e5d42SEmmanuel Vadot--- 4*833e5d42SEmmanuel Vadot$id: http://devicetree.org/schemas/dma/marvell,orion-xor.yaml# 5*833e5d42SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*833e5d42SEmmanuel Vadot 7*833e5d42SEmmanuel Vadottitle: Marvell XOR engine 8*833e5d42SEmmanuel Vadot 9*833e5d42SEmmanuel Vadotmaintainers: 10*833e5d42SEmmanuel Vadot - Andrew Lunn <andrew@lunn.ch> 11*833e5d42SEmmanuel Vadot - Gregory Clement <gregory.clement@bootlin.com> 12*833e5d42SEmmanuel Vadot 13*833e5d42SEmmanuel Vadotproperties: 14*833e5d42SEmmanuel Vadot compatible: 15*833e5d42SEmmanuel Vadot oneOf: 16*833e5d42SEmmanuel Vadot - items: 17*833e5d42SEmmanuel Vadot - const: marvell,armada-380-xor 18*833e5d42SEmmanuel Vadot - const: marvell,orion-xor 19*833e5d42SEmmanuel Vadot - enum: 20*833e5d42SEmmanuel Vadot - marvell,armada-3700-xor 21*833e5d42SEmmanuel Vadot - marvell,orion-xor 22*833e5d42SEmmanuel Vadot 23*833e5d42SEmmanuel Vadot reg: 24*833e5d42SEmmanuel Vadot items: 25*833e5d42SEmmanuel Vadot - description: Low registers for the XOR engine 26*833e5d42SEmmanuel Vadot - description: High registers for the XOR engine 27*833e5d42SEmmanuel Vadot 28*833e5d42SEmmanuel Vadot clocks: 29*833e5d42SEmmanuel Vadot maxItems: 1 30*833e5d42SEmmanuel Vadot 31*833e5d42SEmmanuel VadotpatternProperties: 32*833e5d42SEmmanuel Vadot "^(channel|xor)[0-9]+$": 33*833e5d42SEmmanuel Vadot description: XOR channel sub-node 34*833e5d42SEmmanuel Vadot type: object 35*833e5d42SEmmanuel Vadot additionalProperties: false 36*833e5d42SEmmanuel Vadot 37*833e5d42SEmmanuel Vadot properties: 38*833e5d42SEmmanuel Vadot interrupts: 39*833e5d42SEmmanuel Vadot description: Interrupt specifier for the XOR channel 40*833e5d42SEmmanuel Vadot items: 41*833e5d42SEmmanuel Vadot - description: Interrupt for this channel 42*833e5d42SEmmanuel Vadot 43*833e5d42SEmmanuel Vadot dmacap,memcpy: 44*833e5d42SEmmanuel Vadot type: boolean 45*833e5d42SEmmanuel Vadot deprecated: true 46*833e5d42SEmmanuel Vadot description: 47*833e5d42SEmmanuel Vadot Indicates that the XOR channel is capable of memcpy operations 48*833e5d42SEmmanuel Vadot 49*833e5d42SEmmanuel Vadot dmacap,memset: 50*833e5d42SEmmanuel Vadot type: boolean 51*833e5d42SEmmanuel Vadot deprecated: true 52*833e5d42SEmmanuel Vadot description: 53*833e5d42SEmmanuel Vadot Indicates that the XOR channel is capable of memset operations 54*833e5d42SEmmanuel Vadot 55*833e5d42SEmmanuel Vadot dmacap,xor: 56*833e5d42SEmmanuel Vadot type: boolean 57*833e5d42SEmmanuel Vadot deprecated: true 58*833e5d42SEmmanuel Vadot description: 59*833e5d42SEmmanuel Vadot Indicates that the XOR channel is capable of xor operations 60*833e5d42SEmmanuel Vadot 61*833e5d42SEmmanuel Vadot required: 62*833e5d42SEmmanuel Vadot - interrupts 63*833e5d42SEmmanuel Vadot 64*833e5d42SEmmanuel Vadotrequired: 65*833e5d42SEmmanuel Vadot - compatible 66*833e5d42SEmmanuel Vadot - reg 67*833e5d42SEmmanuel Vadot 68*833e5d42SEmmanuel VadotadditionalProperties: false 69*833e5d42SEmmanuel Vadot 70*833e5d42SEmmanuel Vadotexamples: 71*833e5d42SEmmanuel Vadot - | 72*833e5d42SEmmanuel Vadot xor@d0060900 { 73*833e5d42SEmmanuel Vadot compatible = "marvell,orion-xor"; 74*833e5d42SEmmanuel Vadot reg = <0xd0060900 0x100>, 75*833e5d42SEmmanuel Vadot <0xd0060b00 0x100>; 76*833e5d42SEmmanuel Vadot clocks = <&coreclk 0>; 77*833e5d42SEmmanuel Vadot 78*833e5d42SEmmanuel Vadot xor00 { 79*833e5d42SEmmanuel Vadot interrupts = <51>; 80*833e5d42SEmmanuel Vadot }; 81*833e5d42SEmmanuel Vadot xor01 { 82*833e5d42SEmmanuel Vadot interrupts = <52>; 83*833e5d42SEmmanuel Vadot }; 84*833e5d42SEmmanuel Vadot }; 85