1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/memory-cont 4 $id: http://devicetree.org/schemas/memory-controllers/qca,ath79-ddr-controller.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Qualcomm Atheros AR7xxx/AR9xxx DDR cont 7 title: Qualcomm Atheros AR7xxx/AR9xxx DDR controller 8 8 9 maintainers: 9 maintainers: 10 - Krzysztof Kozlowski <krzk@kernel.org> 10 - Krzysztof Kozlowski <krzk@kernel.org> 11 11 12 description: | 12 description: | 13 The DDR controller of the AR7xxx and AR9xxx 13 The DDR controller of the AR7xxx and AR9xxx families provides an interface to 14 flush the FIFO between various devices and t 14 flush the FIFO between various devices and the DDR. This is mainly used by 15 the IRQ controller to flush the FIFO before 15 the IRQ controller to flush the FIFO before running the interrupt handler of 16 such devices. 16 such devices. 17 17 18 properties: 18 properties: 19 compatible: 19 compatible: 20 oneOf: 20 oneOf: 21 - items: 21 - items: 22 - const: qca,ar9132-ddr-controller 22 - const: qca,ar9132-ddr-controller 23 - const: qca,ar7240-ddr-controller 23 - const: qca,ar7240-ddr-controller 24 - items: 24 - items: 25 - enum: 25 - enum: 26 - qca,ar7100-ddr-controller 26 - qca,ar7100-ddr-controller 27 - qca,ar7240-ddr-controller 27 - qca,ar7240-ddr-controller 28 28 29 "#qca,ddr-wb-channel-cells": 29 "#qca,ddr-wb-channel-cells": 30 description: | 30 description: | 31 Specifies the number of cells needed to 31 Specifies the number of cells needed to encode the write buffer channel 32 index. 32 index. 33 $ref: /schemas/types.yaml#/definitions/uin 33 $ref: /schemas/types.yaml#/definitions/uint32 34 const: 1 34 const: 1 35 35 36 reg: 36 reg: 37 maxItems: 1 37 maxItems: 1 38 38 39 required: 39 required: 40 - compatible 40 - compatible 41 - "#qca,ddr-wb-channel-cells" 41 - "#qca,ddr-wb-channel-cells" 42 - reg 42 - reg 43 43 44 additionalProperties: false 44 additionalProperties: false 45 45 46 examples: 46 examples: 47 - | 47 - | 48 ddr_ctrl: memory-controller@18000000 { 48 ddr_ctrl: memory-controller@18000000 { 49 compatible = "qca,ar9132-ddr-controlle 49 compatible = "qca,ar9132-ddr-controller", 50 "qca,ar7240-ddr-controlle 50 "qca,ar7240-ddr-controller"; 51 reg = <0x18000000 0x100>; 51 reg = <0x18000000 0x100>; 52 52 53 #qca,ddr-wb-channel-cells = <1>; 53 #qca,ddr-wb-channel-cells = <1>; 54 }; 54 }; 55 55 56 interrupt-controller { 56 interrupt-controller { 57 // ... 57 // ... 58 qca,ddr-wb-channel-interrupts = <2>, < 58 qca,ddr-wb-channel-interrupts = <2>, <3>, <4>, <5>; 59 qca,ddr-wb-channels = <&ddr_ctrl 3>, < 59 qca,ddr-wb-channels = <&ddr_ctrl 3>, <&ddr_ctrl 2>, 60 <&ddr_ctrl 0>, < 60 <&ddr_ctrl 0>, <&ddr_ctrl 1>; 61 }; 61 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.