Path: blob/master/Documentation/devicetree/bindings/dma/intel,ldma.yaml
26308 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/dma/intel,ldma.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Lightning Mountain centralized DMA controllers.78maintainers:9- chuanhua.lei@intel.com10- mallikarjunax.reddy@intel.com1112allOf:13- $ref: dma-controller.yaml#1415properties:16compatible:17enum:18- intel,lgm-cdma19- intel,lgm-dma2tx20- intel,lgm-dma1rx21- intel,lgm-dma1tx22- intel,lgm-dma0tx23- intel,lgm-dma324- intel,lgm-toe-dma3025- intel,lgm-toe-dma312627reg:28maxItems: 12930"#dma-cells":31const: 332description:33The first cell is the peripheral's DMA request line.34The second cell is the peripheral's (port) number corresponding to the channel.35The third cell is the burst length of the channel.3637dma-channels:38minimum: 139maximum: 164041dma-channel-mask:42maxItems: 14344clocks:45maxItems: 14647resets:48maxItems: 14950reset-names:51items:52- const: ctrl5354interrupts:55maxItems: 15657intel,dma-poll-cnt:58$ref: /schemas/types.yaml#/definitions/uint3259description:60DMA descriptor polling counter is used to control the poling mechanism61for the descriptor fetching for all channels.6263intel,dma-byte-en:64type: boolean65description:66DMA byte enable is only valid for DMA write(RX).67Byte enable(1) means DMA write will be based on the number of dwords68instead of the whole burst.6970intel,dma-drb:71type: boolean72description:73DMA descriptor read back to make sure data and desc synchronization.7475intel,dma-dburst-wr:76type: boolean77description:78Enable RX dynamic burst write. When it is enabled, the DMA does RX dynamic burst;79if it is disabled, the DMA RX will still support programmable fixed burst size of 2,4,8,16.80It only applies to RX DMA and memcopy DMA.8182required:83- compatible84- reg8586additionalProperties: false8788examples:89- |90dma0: dma-controller@e0e00000 {91compatible = "intel,lgm-cdma";92reg = <0xe0e00000 0x1000>;93#dma-cells = <3>;94dma-channels = <16>;95dma-channel-mask = <0xFFFF>;96interrupt-parent = <&ioapic1>;97interrupts = <82 1>;98resets = <&rcu0 0x30 0>;99reset-names = "ctrl";100clocks = <&cgu0 80>;101intel,dma-poll-cnt = <4>;102intel,dma-byte-en;103intel,dma-drb;104};105- |106dma3: dma-controller@ec800000 {107compatible = "intel,lgm-dma3";108reg = <0xec800000 0x1000>;109clocks = <&cgu0 71>;110resets = <&rcu0 0x10 9>;111#dma-cells = <3>;112intel,dma-poll-cnt = <16>;113intel,dma-byte-en;114intel,dma-dburst-wr;115};116117118