xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*4882a593Smuzhiyun%YAML 1.2
3*4882a593Smuzhiyun---
4*4882a593Smuzhiyun$id: http://devicetree.org/schemas/arm/arm,vexpress-juno.yaml#
5*4882a593Smuzhiyun$schema: http://devicetree.org/meta-schemas/core.yaml#
6*4882a593Smuzhiyun
7*4882a593Smuzhiyuntitle: ARM Versatile Express and Juno Boards Device Tree Bindings
8*4882a593Smuzhiyun
9*4882a593Smuzhiyunmaintainers:
10*4882a593Smuzhiyun  - Sudeep Holla <sudeep.holla@arm.com>
11*4882a593Smuzhiyun  - Linus Walleij <linus.walleij@linaro.org>
12*4882a593Smuzhiyun
13*4882a593Smuzhiyundescription: |+
14*4882a593Smuzhiyun  ARM's Versatile Express platform were built as reference designs for exploring
15*4882a593Smuzhiyun  multicore Cortex-A class systems. The Versatile Express family contains both
16*4882a593Smuzhiyun  32 bit (Aarch32) and 64 bit (Aarch64) systems.
17*4882a593Smuzhiyun
18*4882a593Smuzhiyun  The board consist of a motherboard and one or more daughterboards (tiles). The
19*4882a593Smuzhiyun  motherboard provides a set of peripherals. Processor and RAM "live" on the
20*4882a593Smuzhiyun  tiles.
21*4882a593Smuzhiyun
22*4882a593Smuzhiyun  The motherboard and each core tile should be described by a separate Device
23*4882a593Smuzhiyun  Tree source file, with the tile's description including the motherboard file
24*4882a593Smuzhiyun  using an include directive. As the motherboard can be initialized in one of
25*4882a593Smuzhiyun  two different configurations ("memory maps"), care must be taken to include
26*4882a593Smuzhiyun  the correct one.
27*4882a593Smuzhiyun
28*4882a593Smuzhiyun  When a new generation of boards were introduced under the name "Juno", these
29*4882a593Smuzhiyun  shared to many common characteristics with the Versatile Express that the
30*4882a593Smuzhiyun  "arm,vexpress" compatible was retained in the root node, and these are
31*4882a593Smuzhiyun  included in this binding schema as well.
32*4882a593Smuzhiyun
33*4882a593Smuzhiyun  The root node indicates the CPU SoC on the core tile, and this
34*4882a593Smuzhiyun  is a daughterboard to the main motherboard. The name used in the compatible
35*4882a593Smuzhiyun  string shall match the name given in the core tile's technical reference
36*4882a593Smuzhiyun  manual, followed by "arm,vexpress" as an additional compatible value. If
37*4882a593Smuzhiyun  further subvariants are released of the core tile, even more fine-granular
38*4882a593Smuzhiyun  compatible strings with up to three compatible strings are used.
39*4882a593Smuzhiyun
40*4882a593Smuzhiyunproperties:
41*4882a593Smuzhiyun  $nodename:
42*4882a593Smuzhiyun    const: '/'
43*4882a593Smuzhiyun  compatible:
44*4882a593Smuzhiyun    oneOf:
45*4882a593Smuzhiyun      - description: CoreTile Express A9x4 (V2P-CA9) has 4 Cortex A9 CPU cores
46*4882a593Smuzhiyun          in MPCore configuration in a test chip on the core tile. See ARM
47*4882a593Smuzhiyun          DUI 0448I. This was the first Versatile Express platform.
48*4882a593Smuzhiyun        items:
49*4882a593Smuzhiyun          - const: arm,vexpress,v2p-ca9
50*4882a593Smuzhiyun          - const: arm,vexpress
51*4882a593Smuzhiyun      - description: CoreTile Express A5x2 (V2P-CA5s) has 2 Cortex A5 CPU cores
52*4882a593Smuzhiyun          in a test chip on the core tile. It is intended to evaluate NEON, FPU
53*4882a593Smuzhiyun          and Jazelle support in the Cortex A5 family. See ARM DUI 0541C.
54*4882a593Smuzhiyun        items:
55*4882a593Smuzhiyun          - const: arm,vexpress,v2p-ca5s
56*4882a593Smuzhiyun          - const: arm,vexpress
57*4882a593Smuzhiyun      - description: Coretile Express A15x2 (V2P-CA15) has 2 Cortex A15 CPU
58*4882a593Smuzhiyun          cores in a MPCore configuration in a test chip on the core tile. See
59*4882a593Smuzhiyun          ARM DUI 0604F.
60*4882a593Smuzhiyun        items:
61*4882a593Smuzhiyun          - const: arm,vexpress,v2p-ca15
62*4882a593Smuzhiyun          - const: arm,vexpress
63*4882a593Smuzhiyun      - description: CoreTile Express A15x4 (V2P-CA15, HBI-0237A) has 4 Cortex
64*4882a593Smuzhiyun          A15 CPU cores in a test chip on the core tile. This is the first test
65*4882a593Smuzhiyun          chip called "TC1".
66*4882a593Smuzhiyun        items:
67*4882a593Smuzhiyun          - const: arm,vexpress,v2p-ca15,tc1
68*4882a593Smuzhiyun          - const: arm,vexpress,v2p-ca15
69*4882a593Smuzhiyun          - const: arm,vexpress
70*4882a593Smuzhiyun      - description: Coretile Express A15x2 A7x3 (V2P-CA15_A7) has 2 Cortex A15
71*4882a593Smuzhiyun          CPU cores and 3 Cortex A7 cores in a big.LITTLE MPCore configuration
72*4882a593Smuzhiyun          in a test chip on the core tile. See ARM DDI 0503I.
73*4882a593Smuzhiyun        items:
74*4882a593Smuzhiyun          - const: arm,vexpress,v2p-ca15_a7
75*4882a593Smuzhiyun          - const: arm,vexpress
76*4882a593Smuzhiyun      - description: LogicTile Express 20MG (V2F-1XV7) has 2 Cortex A53 CPU
77*4882a593Smuzhiyun          cores in a test chip on the core tile. See ARM DDI 0498D.
78*4882a593Smuzhiyun        items:
79*4882a593Smuzhiyun          - const: arm,vexpress,v2f-1xv7,ca53x2
80*4882a593Smuzhiyun          - const: arm,vexpress,v2f-1xv7
81*4882a593Smuzhiyun          - const: arm,vexpress
82*4882a593Smuzhiyun      - description: Arm Versatile Express Juno "r0" (the first Juno board,
83*4882a593Smuzhiyun          V2M-Juno) was introduced as a vehicle for evaluating big.LITTLE on
84*4882a593Smuzhiyun          AArch64 CPU cores. It has 2 Cortex A57 CPU cores and 4 Cortex A53
85*4882a593Smuzhiyun          cores in a big.LITTLE configuration. It also features the MALI T624
86*4882a593Smuzhiyun          GPU. See ARM document 100113_0000_07_en.
87*4882a593Smuzhiyun        items:
88*4882a593Smuzhiyun          - const: arm,juno
89*4882a593Smuzhiyun          - const: arm,vexpress
90*4882a593Smuzhiyun      - description: Arm Versatile Express Juno r1 Development Platform
91*4882a593Smuzhiyun          (V2M-Juno r1) was introduced mainly aimed at development of PCIe
92*4882a593Smuzhiyun          based systems. Juno r1 also has support for AXI masters placed on
93*4882a593Smuzhiyun          the TLX connectors to join the coherency domain. Otherwise it is the
94*4882a593Smuzhiyun          same configuration as Juno r0. See ARM document 100122_0100_06_en.
95*4882a593Smuzhiyun        items:
96*4882a593Smuzhiyun          - const: arm,juno-r1
97*4882a593Smuzhiyun          - const: arm,juno
98*4882a593Smuzhiyun          - const: arm,vexpress
99*4882a593Smuzhiyun      - description: Arm Versatile Express Juno r2 Development Platform
100*4882a593Smuzhiyun          (V2M-Juno r2). It has the same feature set as Juno r0 and r1. See
101*4882a593Smuzhiyun          ARM document 100114_0200_04_en.
102*4882a593Smuzhiyun        items:
103*4882a593Smuzhiyun          - const: arm,juno-r2
104*4882a593Smuzhiyun          - const: arm,juno
105*4882a593Smuzhiyun          - const: arm,vexpress
106*4882a593Smuzhiyun      - description: Arm AEMv8a Versatile Express Real-Time System Model
107*4882a593Smuzhiyun          (VE RTSM) is a programmers view of the Versatile Express with Arm
108*4882a593Smuzhiyun          v8A hardware. See ARM DUI 0575D.
109*4882a593Smuzhiyun        items:
110*4882a593Smuzhiyun          - const: arm,rtsm_ve,aemv8a
111*4882a593Smuzhiyun          - const: arm,vexpress
112*4882a593Smuzhiyun      - description: Arm FVP (Fixed Virtual Platform) base model revision C
113*4882a593Smuzhiyun          See ARM Document 100964_1190_00_en.
114*4882a593Smuzhiyun        items:
115*4882a593Smuzhiyun          - const: arm,fvp-base-revc
116*4882a593Smuzhiyun          - const: arm,vexpress
117*4882a593Smuzhiyun      - description: Arm Foundation model for Aarch64
118*4882a593Smuzhiyun        items:
119*4882a593Smuzhiyun          - const: arm,foundation-aarch64
120*4882a593Smuzhiyun          - const: arm,vexpress
121*4882a593Smuzhiyun
122*4882a593Smuzhiyun  arm,hbi:
123*4882a593Smuzhiyun    $ref: '/schemas/types.yaml#/definitions/uint32'
124*4882a593Smuzhiyun    description: This indicates the ARM HBI (Hardware Board ID), this is
125*4882a593Smuzhiyun      ARM's unique board model ID, visible on the PCB's silkscreen.
126*4882a593Smuzhiyun
127*4882a593Smuzhiyun  arm,vexpress,site:
128*4882a593Smuzhiyun    description: As Versatile Express can be configured in number of physically
129*4882a593Smuzhiyun      different setups, the device tree should describe platform topology.
130*4882a593Smuzhiyun      For this reason the root node and main motherboard node must define this
131*4882a593Smuzhiyun      property, describing the physical location of the children nodes.
132*4882a593Smuzhiyun      0 means motherboard site, while 1 and 2 are daughterboard sites, and
133*4882a593Smuzhiyun      0xf means "sisterboard" which is the site containing the main CPU tile.
134*4882a593Smuzhiyun    $ref: '/schemas/types.yaml#/definitions/uint32'
135*4882a593Smuzhiyun    minimum: 0
136*4882a593Smuzhiyun    maximum: 15
137*4882a593Smuzhiyun
138*4882a593Smuzhiyun  arm,vexpress,position:
139*4882a593Smuzhiyun    description: When daughterboards are stacked on one site, their position
140*4882a593Smuzhiyun      in the stack be be described this attribute.
141*4882a593Smuzhiyun    $ref: '/schemas/types.yaml#/definitions/uint32'
142*4882a593Smuzhiyun    minimum: 0
143*4882a593Smuzhiyun    maximum: 3
144*4882a593Smuzhiyun
145*4882a593Smuzhiyun  arm,vexpress,dcc:
146*4882a593Smuzhiyun    description: When describing tiles consisting of more than one DCC, its
147*4882a593Smuzhiyun      number can be specified with this attribute.
148*4882a593Smuzhiyun    $ref: '/schemas/types.yaml#/definitions/uint32'
149*4882a593Smuzhiyun    minimum: 0
150*4882a593Smuzhiyun    maximum: 3
151*4882a593Smuzhiyun
152*4882a593SmuzhiyunpatternProperties:
153*4882a593Smuzhiyun  "^bus@[0-9a-f]+$":
154*4882a593Smuzhiyun    description: Static Memory Bus (SMB) node, if this exists it describes
155*4882a593Smuzhiyun      the connection between the motherboard and any tiles. Sometimes the
156*4882a593Smuzhiyun      compatible is placed directly under this node, sometimes it is placed
157*4882a593Smuzhiyun      in a subnode named "motherboard". Sometimes the compatible includes
158*4882a593Smuzhiyun      "arm,vexpress,v2?-p1" sometimes (on software models) is is just
159*4882a593Smuzhiyun      "simple-bus". If the compatible is placed in the "motherboard" node,
160*4882a593Smuzhiyun      it is stricter and always has two compatibles.
161*4882a593Smuzhiyun    type: object
162*4882a593Smuzhiyun    $ref: '/schemas/simple-bus.yaml'
163*4882a593Smuzhiyun
164*4882a593Smuzhiyun    properties:
165*4882a593Smuzhiyun      compatible:
166*4882a593Smuzhiyun        oneOf:
167*4882a593Smuzhiyun          - items:
168*4882a593Smuzhiyun              - enum:
169*4882a593Smuzhiyun                  - arm,vexpress,v2m-p1
170*4882a593Smuzhiyun                  - arm,vexpress,v2p-p1
171*4882a593Smuzhiyun              - const: simple-bus
172*4882a593Smuzhiyun          - const: simple-bus
173*4882a593Smuzhiyun      motherboard:
174*4882a593Smuzhiyun        type: object
175*4882a593Smuzhiyun        description: The motherboard description provides a single "motherboard"
176*4882a593Smuzhiyun          node using 2 address cells corresponding to the Static Memory Bus
177*4882a593Smuzhiyun          used between the motherboard and the tile. The first cell defines the
178*4882a593Smuzhiyun          Chip Select (CS) line number, the second cell address offset within
179*4882a593Smuzhiyun          the CS. All interrupt lines between the motherboard and the tile
180*4882a593Smuzhiyun          are active high and are described using single cell.
181*4882a593Smuzhiyun        properties:
182*4882a593Smuzhiyun          "#address-cells":
183*4882a593Smuzhiyun            const: 2
184*4882a593Smuzhiyun          "#size-cells":
185*4882a593Smuzhiyun            const: 1
186*4882a593Smuzhiyun          compatible:
187*4882a593Smuzhiyun            items:
188*4882a593Smuzhiyun              - enum:
189*4882a593Smuzhiyun                  - arm,vexpress,v2m-p1
190*4882a593Smuzhiyun                  - arm,vexpress,v2p-p1
191*4882a593Smuzhiyun              - const: simple-bus
192*4882a593Smuzhiyun          arm,v2m-memory-map:
193*4882a593Smuzhiyun            description: This describes the memory map type.
194*4882a593Smuzhiyun            $ref: '/schemas/types.yaml#/definitions/string'
195*4882a593Smuzhiyun            enum:
196*4882a593Smuzhiyun              - rs1
197*4882a593Smuzhiyun              - rs2
198*4882a593Smuzhiyun
199*4882a593Smuzhiyun        required:
200*4882a593Smuzhiyun          - compatible
201*4882a593Smuzhiyun    required:
202*4882a593Smuzhiyun      - compatible
203*4882a593Smuzhiyun
204*4882a593SmuzhiyunallOf:
205*4882a593Smuzhiyun  - if:
206*4882a593Smuzhiyun      properties:
207*4882a593Smuzhiyun        compatible:
208*4882a593Smuzhiyun          contains:
209*4882a593Smuzhiyun            enum:
210*4882a593Smuzhiyun              - arm,vexpress,v2p-ca9
211*4882a593Smuzhiyun              - arm,vexpress,v2p-ca5s
212*4882a593Smuzhiyun              - arm,vexpress,v2p-ca15
213*4882a593Smuzhiyun              - arm,vexpress,v2p-ca15_a7
214*4882a593Smuzhiyun              - arm,vexpress,v2f-1xv7,ca53x2
215*4882a593Smuzhiyun    then:
216*4882a593Smuzhiyun      required:
217*4882a593Smuzhiyun        - arm,hbi
218*4882a593Smuzhiyun
219*4882a593SmuzhiyunadditionalProperties: true
220*4882a593Smuzhiyun
221*4882a593Smuzhiyun...
222