Bind RPC and HyperFlash in DT on R-Car R8A78000 X5H Cortex-M33 RSIP.
RPC is used both to update the HF content, which includes the U-Boot on
RSIP itself and SCP firmware, as well as access the U-Boot environment
for U-Boot on RSIP.

Signed-off-by: Marek Vasut <[email protected]>
---
Cc: Nobuhiro Iwamatsu <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: [email protected]
---
 arch/arm/dts/r8a78000-ironhide-cm33-u-boot.dtsi | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/arch/arm/dts/r8a78000-ironhide-cm33-u-boot.dtsi 
b/arch/arm/dts/r8a78000-ironhide-cm33-u-boot.dtsi
index 356f633135d..872cbfdbad6 100644
--- a/arch/arm/dts/r8a78000-ironhide-cm33-u-boot.dtsi
+++ b/arch/arm/dts/r8a78000-ironhide-cm33-u-boot.dtsi
@@ -70,6 +70,23 @@
                reg = <0 0xb8940000 0 0xf000>;
        };
 
+       spi@c08c0000 {
+               compatible = "renesas,r8a78000-rpc-if",
+                            "renesas,rcar-gen5-rpc-if";
+               reg = <0 0xc08c0000 0 0x200>,
+                     <0 0x34000000 0 0x04000000>,
+                     <0 0xc08c8000 0 0x100>;
+               reg-names = "regs", "dirmap", "wbuf";
+               clocks = <&dummy_clk_rclk>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               flash@0 {
+                       compatible = "cypress,hyperflash", "cfi-flash";
+                       reg = <0>;
+               };
+       };
+
        scp@c1340000 {
                compatible = "renesas,r8a78000-rproc";
                reg = <0 0xc1340000 0 0x80000>;
-- 
2.53.0

Reply via email to