1*7ef62cebSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*7ef62cebSEmmanuel Vadot%YAML 1.2
3*7ef62cebSEmmanuel Vadot---
4*7ef62cebSEmmanuel Vadot$id: http://devicetree.org/schemas/memory-controllers/brcm,brcmstb-memc-ddr.yaml#
5*7ef62cebSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*7ef62cebSEmmanuel Vadot
7*7ef62cebSEmmanuel Vadottitle: Memory controller (MEMC) for Broadcom STB
8*7ef62cebSEmmanuel Vadot
9*7ef62cebSEmmanuel Vadotmaintainers:
10*7ef62cebSEmmanuel Vadot  - Florian Fainelli <f.fainelli@gmail.com>
11*7ef62cebSEmmanuel Vadot
12*7ef62cebSEmmanuel Vadotproperties:
13*7ef62cebSEmmanuel Vadot  compatible:
14*7ef62cebSEmmanuel Vadot    items:
15*7ef62cebSEmmanuel Vadot      - enum:
16*7ef62cebSEmmanuel Vadot          - brcm,brcmstb-memc-ddr-rev-b.1.x
17*7ef62cebSEmmanuel Vadot          - brcm,brcmstb-memc-ddr-rev-b.2.0
18*7ef62cebSEmmanuel Vadot          - brcm,brcmstb-memc-ddr-rev-b.2.1
19*7ef62cebSEmmanuel Vadot          - brcm,brcmstb-memc-ddr-rev-b.2.2
20*7ef62cebSEmmanuel Vadot          - brcm,brcmstb-memc-ddr-rev-b.2.3
21*7ef62cebSEmmanuel Vadot          - brcm,brcmstb-memc-ddr-rev-b.2.5
22*7ef62cebSEmmanuel Vadot          - brcm,brcmstb-memc-ddr-rev-b.2.6
23*7ef62cebSEmmanuel Vadot          - brcm,brcmstb-memc-ddr-rev-b.2.7
24*7ef62cebSEmmanuel Vadot          - brcm,brcmstb-memc-ddr-rev-b.2.8
25*7ef62cebSEmmanuel Vadot          - brcm,brcmstb-memc-ddr-rev-b.3.0
26*7ef62cebSEmmanuel Vadot          - brcm,brcmstb-memc-ddr-rev-b.3.1
27*7ef62cebSEmmanuel Vadot          - brcm,brcmstb-memc-ddr-rev-c.1.0
28*7ef62cebSEmmanuel Vadot          - brcm,brcmstb-memc-ddr-rev-c.1.1
29*7ef62cebSEmmanuel Vadot          - brcm,brcmstb-memc-ddr-rev-c.1.2
30*7ef62cebSEmmanuel Vadot          - brcm,brcmstb-memc-ddr-rev-c.1.3
31*7ef62cebSEmmanuel Vadot          - brcm,brcmstb-memc-ddr-rev-c.1.4
32*7ef62cebSEmmanuel Vadot      - const: brcm,brcmstb-memc-ddr
33*7ef62cebSEmmanuel Vadot
34*7ef62cebSEmmanuel Vadot  reg:
35*7ef62cebSEmmanuel Vadot    maxItems: 1
36*7ef62cebSEmmanuel Vadot
37*7ef62cebSEmmanuel Vadot  clock-frequency:
38*7ef62cebSEmmanuel Vadot    description: DDR PHY frequency in Hz
39*7ef62cebSEmmanuel Vadot
40*7ef62cebSEmmanuel Vadotrequired:
41*7ef62cebSEmmanuel Vadot  - compatible
42*7ef62cebSEmmanuel Vadot  - reg
43*7ef62cebSEmmanuel Vadot
44*7ef62cebSEmmanuel VadotadditionalProperties: false
45*7ef62cebSEmmanuel Vadot
46*7ef62cebSEmmanuel Vadotexamples:
47*7ef62cebSEmmanuel Vadot  - |
48*7ef62cebSEmmanuel Vadot    memory-controller@9902000 {
49*7ef62cebSEmmanuel Vadot        compatible = "brcm,brcmstb-memc-ddr-rev-c.1.1", "brcm,brcmstb-memc-ddr";
50*7ef62cebSEmmanuel Vadot        reg = <0x9902000 0x600>;
51*7ef62cebSEmmanuel Vadot        clock-frequency = <2133000000>;
52*7ef62cebSEmmanuel Vadot    };
53