diff options
author | Marek Vasut <marek.vasut+renesas@gmail.com> | 2018-02-13 21:34:03 +0100 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2018-04-17 11:38:55 +0200 |
commit | 5e7f63db92d7313dcf0ef7aa4c3c3c4c9b43a4fc (patch) | |
tree | 6a40350926110a0b3272a9dc869ceaa06dae83fa /arch/arm | |
parent | 93365eff6096e14be2ae3f7190baf819a20bf99f (diff) |
ARM: rmobile: Enable RPC QSPI on R8A77970 V3M Eagle
Enable the RPC QSPI driver on R8A77970 V3M Eagle and configure
the environment layout to match that used by old U-Boot.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/dts/r8a77970-eagle.dts | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/dts/r8a77970-eagle.dts b/arch/arm/dts/r8a77970-eagle.dts index cb76c89b57..c051cddb25 100644 --- a/arch/arm/dts/r8a77970-eagle.dts +++ b/arch/arm/dts/r8a77970-eagle.dts @@ -17,6 +17,7 @@ aliases { serial0 = &scif0; ethernet0 = &avb; + spi0 = &rpc; }; chosen { @@ -59,6 +60,25 @@ }; }; +&rpc { + num-cs = <1>; + status = "okay"; + spi-max-frequency = <50000000>; + #address-cells = <1>; + #size-cells = <0>; + + flash0: spi-flash@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "s25fs512s", "spi-flash", "jedec,spi-nor"; + spi-max-frequency = <50000000>; + spi-tx-bus-width = <1>; + spi-rx-bus-width = <1>; + reg = <0>; + status = "okay"; + }; +}; + &scif0 { pinctrl-0 = <&scif0_pins>; pinctrl-names = "default"; |