xref: /freebsd-src/sys/contrib/device-tree/Bindings/memory-controllers/fsl/fsl,ddr.yaml (revision d5b0e70f7e04d971691517ce1304d86a1e367e2e)
1*8cc087a1SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*8cc087a1SEmmanuel Vadot%YAML 1.2
3*8cc087a1SEmmanuel Vadot---
4*8cc087a1SEmmanuel Vadot$id: http://devicetree.org/schemas/memory-controllers/fsl/fsl,ddr.yaml#
5*8cc087a1SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*8cc087a1SEmmanuel Vadot
7*8cc087a1SEmmanuel Vadottitle: Freescale DDR memory controller
8*8cc087a1SEmmanuel Vadot
9*8cc087a1SEmmanuel Vadotmaintainers:
10*8cc087a1SEmmanuel Vadot  - Borislav Petkov <bp@alien8.de>
11*8cc087a1SEmmanuel Vadot  - York Sun <york.sun@nxp.com>
12*8cc087a1SEmmanuel Vadot
13*8cc087a1SEmmanuel Vadotproperties:
14*8cc087a1SEmmanuel Vadot  $nodename:
15*8cc087a1SEmmanuel Vadot    pattern: "^memory-controller@[0-9a-f]+$"
16*8cc087a1SEmmanuel Vadot
17*8cc087a1SEmmanuel Vadot  compatible:
18*8cc087a1SEmmanuel Vadot    oneOf:
19*8cc087a1SEmmanuel Vadot      - items:
20*8cc087a1SEmmanuel Vadot          - enum:
21*8cc087a1SEmmanuel Vadot              - fsl,qoriq-memory-controller-v4.4
22*8cc087a1SEmmanuel Vadot              - fsl,qoriq-memory-controller-v4.5
23*8cc087a1SEmmanuel Vadot              - fsl,qoriq-memory-controller-v4.7
24*8cc087a1SEmmanuel Vadot              - fsl,qoriq-memory-controller-v5.0
25*8cc087a1SEmmanuel Vadot          - const: fsl,qoriq-memory-controller
26*8cc087a1SEmmanuel Vadot      - enum:
27*8cc087a1SEmmanuel Vadot          - fsl,bsc9132-memory-controller
28*8cc087a1SEmmanuel Vadot          - fsl,mpc8536-memory-controller
29*8cc087a1SEmmanuel Vadot          - fsl,mpc8540-memory-controller
30*8cc087a1SEmmanuel Vadot          - fsl,mpc8541-memory-controller
31*8cc087a1SEmmanuel Vadot          - fsl,mpc8544-memory-controller
32*8cc087a1SEmmanuel Vadot          - fsl,mpc8548-memory-controller
33*8cc087a1SEmmanuel Vadot          - fsl,mpc8555-memory-controller
34*8cc087a1SEmmanuel Vadot          - fsl,mpc8560-memory-controller
35*8cc087a1SEmmanuel Vadot          - fsl,mpc8568-memory-controller
36*8cc087a1SEmmanuel Vadot          - fsl,mpc8569-memory-controller
37*8cc087a1SEmmanuel Vadot          - fsl,mpc8572-memory-controller
38*8cc087a1SEmmanuel Vadot          - fsl,mpc8349-memory-controller
39*8cc087a1SEmmanuel Vadot          - fsl,p1020-memory-controller
40*8cc087a1SEmmanuel Vadot          - fsl,p1021-memory-controller
41*8cc087a1SEmmanuel Vadot          - fsl,p2020-memory-controller
42*8cc087a1SEmmanuel Vadot          - fsl,qoriq-memory-controller
43*8cc087a1SEmmanuel Vadot
44*8cc087a1SEmmanuel Vadot  interrupts:
45*8cc087a1SEmmanuel Vadot    maxItems: 1
46*8cc087a1SEmmanuel Vadot
47*8cc087a1SEmmanuel Vadot  little-endian:
48*8cc087a1SEmmanuel Vadot    description:
49*8cc087a1SEmmanuel Vadot      Specifies little-endian access to registers. If omitted, big-endian will
50*8cc087a1SEmmanuel Vadot      be used.
51*8cc087a1SEmmanuel Vadot    type: boolean
52*8cc087a1SEmmanuel Vadot
53*8cc087a1SEmmanuel Vadot  reg:
54*8cc087a1SEmmanuel Vadot    maxItems: 1
55*8cc087a1SEmmanuel Vadot
56*8cc087a1SEmmanuel Vadotrequired:
57*8cc087a1SEmmanuel Vadot  - compatible
58*8cc087a1SEmmanuel Vadot  - interrupts
59*8cc087a1SEmmanuel Vadot  - reg
60*8cc087a1SEmmanuel Vadot
61*8cc087a1SEmmanuel VadotadditionalProperties: false
62*8cc087a1SEmmanuel Vadot
63*8cc087a1SEmmanuel Vadotexamples:
64*8cc087a1SEmmanuel Vadot  - |
65*8cc087a1SEmmanuel Vadot    memory-controller@2000 {
66*8cc087a1SEmmanuel Vadot        compatible = "fsl,bsc9132-memory-controller";
67*8cc087a1SEmmanuel Vadot        reg = <0x2000 0x1000>;
68*8cc087a1SEmmanuel Vadot        interrupts = <16 2 1 8>;
69*8cc087a1SEmmanuel Vadot    };
70*8cc087a1SEmmanuel Vadot
71*8cc087a1SEmmanuel Vadot  - |
72*8cc087a1SEmmanuel Vadot    memory-controller@8000 {
73*8cc087a1SEmmanuel Vadot        compatible = "fsl,qoriq-memory-controller-v4.7",
74*8cc087a1SEmmanuel Vadot                     "fsl,qoriq-memory-controller";
75*8cc087a1SEmmanuel Vadot        reg = <0x8000 0x1000>;
76*8cc087a1SEmmanuel Vadot        interrupts = <16 2 1 23>;
77*8cc087a1SEmmanuel Vadot    };
78