1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/memory-controllers/renesas,rpc-if.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Renesas Reduced Pin Count Interface (RPC-IF)
10 - Sergei Shtylyov <sergei.shtylyov@gmail.com>
13 Renesas RPC-IF allows a SPI flash or HyperFlash connected to the SoC to
14 be accessed via the external address space read mode or the manual mode.
16 The flash chip itself should be represented by a subnode of the RPC-IF node.
17 The flash interface is selected based on the "compatible" property of this
19 - if it contains "jedec,spi-nor", then SPI is used;
20 - if it contains "cfi-flash", then HyperFlash is used.
23 - $ref: "/schemas/spi/spi-controller.yaml#"
29 - renesas,r8a77970-rpc-if # R-Car V3M
30 - renesas,r8a77980-rpc-if # R-Car V3H
31 - renesas,r8a77995-rpc-if # R-Car D3
32 - const: renesas,rcar-gen3-rpc-if # a generic R-Car gen3 device
36 - description: RPC-IF registers
37 - description: direct mapping read mode area
38 - description: write buffer area
64 unevaluatedProperties: false
68 #include <dt-bindings/clock/renesas-cpg-mssr.h>
69 #include <dt-bindings/power/r8a77995-sysc.h>
72 compatible = "renesas,r8a77995-rpc-if", "renesas,rcar-gen3-rpc-if";
73 reg = <0xee200000 0x200>,
74 <0x08000000 0x4000000>,
76 reg-names = "regs", "dirmap", "wbuf";
77 clocks = <&cpg CPG_MOD 917>;
78 power-domains = <&sysc R8A77995_PD_ALWAYS_ON>;
84 compatible = "jedec,spi-nor";
86 spi-max-frequency = <40000000>;
87 spi-tx-bus-width = <1>;
88 spi-rx-bus-width = <1>;