1 * Arcx Anybus-S controller
3 This chip communicates with the SoC over a parallel bus. It is
4 expected that its Device Tree node is specified as the child of a node
5 corresponding to the parallel bus used for communication.
10 - compatible : The following chip-specific string:
11 "arcx,anybus-controller"
14 index 0: bus memory area where the cpld registers are located.
15 index 1: bus memory area of the first host's dual-port ram.
16 index 2: bus memory area of the second host's dual-port ram.
18 - reset-gpios : the GPIO pin connected to the reset line of the controller.
20 - interrupts : two interrupts:
21 index 0: interrupt connected to the first host
22 index 1: interrupt connected to the second host
23 Generic interrupt client node bindings are described in
24 interrupt-controller/interrupts.txt
26 Optional: use of subnodes
27 -------------------------
29 The card connected to a host may need additional properties. These can be
30 specified in subnodes to the controller node.
32 The subnodes are identified by the standard 'reg' property. Which information
33 exactly can be specified depends on the bindings for the function driver
36 Required controller node properties when using subnodes:
37 - #address-cells: should be one.
38 - #size-cells: should be zero.
40 Required subnode properties:
41 - reg: Must contain the host index of the card this subnode describes:
42 <0> for the first host on the controller
43 <1> for the second host on the controller
44 Note that only a single card can be plugged into a host, so the host
45 index uniquely describes the card location.
50 This example places the bridge on top of the i.MX WEIM parallel bus, see:
51 Documentation/devicetree/bindings/memory-controllers/fsl/fsl,imx-weim.yaml
55 compatible = "arcx,anybus-controller";
56 reg = <0 0 0x100>, <0 0x400000 0x800>, <1 0x400000 0x800>;
57 reset-gpios = <&gpio5 2 GPIO_ACTIVE_HIGH>;
58 interrupt-parent = <&gpio1>;
59 interrupts = <1 IRQ_TYPE_LEVEL_LOW>, <5 IRQ_TYPE_LEVEL_LOW>;
60 /* fsl,weim-cs-timing is a i.MX WEIM bus specific property */
61 fsl,weim-cs-timing = <0x024400b1 0x00001010 0x20081100
62 0x00000000 0xa0000240 0x00000000>;
63 /* optional subnode for a card plugged into the first host */
68 /* card specific properties go here */