xref: /freebsd/sys/contrib/device-tree/Bindings/soc/fsl/cpm_qe/fsl,qe-muram.yaml (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
1*0e8011faSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*0e8011faSEmmanuel Vadot%YAML 1.2
3*0e8011faSEmmanuel Vadot---
4*0e8011faSEmmanuel Vadot$id: http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,qe-muram.yaml#
5*0e8011faSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*0e8011faSEmmanuel Vadot
7*0e8011faSEmmanuel Vadottitle: Freescale QUICC Engine Multi-User RAM (MURAM)
8*0e8011faSEmmanuel Vadot
9*0e8011faSEmmanuel Vadotmaintainers:
10*0e8011faSEmmanuel Vadot  - Frank Li <Frank.Li@nxp.com>
11*0e8011faSEmmanuel Vadot
12*0e8011faSEmmanuel Vadotdescription: Multi-User RAM (MURAM)
13*0e8011faSEmmanuel Vadot
14*0e8011faSEmmanuel Vadotproperties:
15*0e8011faSEmmanuel Vadot  compatible:
16*0e8011faSEmmanuel Vadot    items:
17*0e8011faSEmmanuel Vadot      - const: fsl,qe-muram
18*0e8011faSEmmanuel Vadot      - const: fsl,cpm-muram
19*0e8011faSEmmanuel Vadot
20*0e8011faSEmmanuel Vadot  ranges:
21*0e8011faSEmmanuel Vadot    maxItems: 1
22*0e8011faSEmmanuel Vadot
23*0e8011faSEmmanuel Vadot  "#address-cells":
24*0e8011faSEmmanuel Vadot    const: 1
25*0e8011faSEmmanuel Vadot
26*0e8011faSEmmanuel Vadot  "#size-cells":
27*0e8011faSEmmanuel Vadot    const: 1
28*0e8011faSEmmanuel Vadot
29*0e8011faSEmmanuel Vadot  mode:
30*0e8011faSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/string
31*0e8011faSEmmanuel Vadot    enum: [host, slave]
32*0e8011faSEmmanuel Vadot
33*0e8011faSEmmanuel Vadot
34*0e8011faSEmmanuel VadotpatternProperties:
35*0e8011faSEmmanuel Vadot  '^data\-only@[a-f0-9]+$':
36*0e8011faSEmmanuel Vadot    type: object
37*0e8011faSEmmanuel Vadot    properties:
38*0e8011faSEmmanuel Vadot      compatible:
39*0e8011faSEmmanuel Vadot        items:
40*0e8011faSEmmanuel Vadot          - const: fsl,qe-muram-data
41*0e8011faSEmmanuel Vadot          - const: fsl,cpm-muram-data
42*0e8011faSEmmanuel Vadot
43*0e8011faSEmmanuel Vadot      reg:
44*0e8011faSEmmanuel Vadot        maxItems: 1
45*0e8011faSEmmanuel Vadot
46*0e8011faSEmmanuel Vadot    required:
47*0e8011faSEmmanuel Vadot      - compatible
48*0e8011faSEmmanuel Vadot      - reg
49*0e8011faSEmmanuel Vadot
50*0e8011faSEmmanuel Vadot    additionalProperties: false
51*0e8011faSEmmanuel Vadot
52*0e8011faSEmmanuel Vadotrequired:
53*0e8011faSEmmanuel Vadot  - compatible
54*0e8011faSEmmanuel Vadot  - ranges
55*0e8011faSEmmanuel Vadot
56*0e8011faSEmmanuel VadotadditionalProperties: false
57*0e8011faSEmmanuel Vadot
58*0e8011faSEmmanuel Vadotexamples:
59*0e8011faSEmmanuel Vadot  - |
60*0e8011faSEmmanuel Vadot    muram@10000 {
61*0e8011faSEmmanuel Vadot        compatible = "fsl,qe-muram", "fsl,cpm-muram";
62*0e8011faSEmmanuel Vadot        ranges = <0 0x00010000 0x0000c000>;
63*0e8011faSEmmanuel Vadot        #address-cells = <1>;
64*0e8011faSEmmanuel Vadot        #size-cells = <1>;
65*0e8011faSEmmanuel Vadot
66*0e8011faSEmmanuel Vadot        data-only@0{
67*0e8011faSEmmanuel Vadot            compatible = "fsl,qe-muram-data",
68*0e8011faSEmmanuel Vadot                         "fsl,cpm-muram-data";
69*0e8011faSEmmanuel Vadot            reg = <0 0xc000>;
70*0e8011faSEmmanuel Vadot        };
71*0e8011faSEmmanuel Vadot     };
72