Qualcomm Atheros AR7xxx/AR9xxx DDR controller

Schema identifier ($id): "http://devicetree.org/schemas/memory-controllers/qca,ath79-ddr-controller.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"

The DDR controller of the AR7xxx and AR9xxx families provides an interface to flush the FIFO between various devices and the DDR. This is mainly used by the IRQ controller to flush the FIFO before running the interrupt handler of such devices.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Exact value (const): "qca,ar9132-ddr-controller"

Item 2

Exact value (const): "qca,ar7240-ddr-controller"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "qca,ar7100-ddr-controller", "qca,ar7240-ddr-controller"

#qca,ddr-wb-channel-cells — required here #

Specifies the number of cells needed to encode the write buffer channel index.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Exact value (const): 1

reg — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "#qca,ddr-wb-channel-cells", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

ddr_ctrl: memory-controller@18000000 {
    compatible = "qca,ar9132-ddr-controller",
                 "qca,ar7240-ddr-controller";
    reg = <0x18000000 0x100>;

    #qca,ddr-wb-channel-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Edit this page