summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi
diff options
context:
space:
mode:
authorHai Pham <hai.pham.ud@renesas.com>2022-10-12 16:06:51 +0200
committerGeert Uytterhoeven <geert+renesas@glider.be>2022-10-17 15:38:49 +0200
commit5c1bf1e3209ecb163b9d74b134776ce8c326fd4f (patch)
tree059bf43465de634afb6f591717553dd024e84780 /arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi
parentd5014bede5e2bc88b53f6e374493f1418eacfc42 (diff)
arm64: dts: renesas: white-hawk-cpu: Add QSPI FLASH support
Describe the QSPI FLASH on the White Hawk CPU board. Signed-off-by: Hai Pham <hai.pham.ud@renesas.com> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/c3a01a8de924d6a3fcdb1ee0284544ad2ea5c8ec.1665583435.git.geert+renesas@glider.be
Diffstat (limited to 'arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi')
-rw-r--r--arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi33
1 files changed, 33 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi b/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi
index b306e5a10794..bb4dd08781ca 100644
--- a/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi
@@ -232,12 +232,45 @@
power-source = <1800>;
};
+ qspi0_pins: qspi0 {
+ groups = "qspi0_ctrl", "qspi0_data4";
+ function = "qspi0";
+ };
+
scif_clk_pins: scif_clk {
groups = "scif_clk";
function = "scif_clk";
};
};
+&rpc {
+ pinctrl-0 = <&qspi0_pins>;
+ pinctrl-names = "default";
+
+ status = "okay";
+
+ flash@0 {
+ compatible = "spansion,s25fs512s", "jedec,spi-nor";
+ reg = <0>;
+ spi-max-frequency = <40000000>;
+ spi-rx-bus-width = <4>;
+
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ boot@0 {
+ reg = <0x0 0x1200000>;
+ read-only;
+ };
+ user@1200000 {
+ reg = <0x1200000 0x2e00000>;
+ };
+ };
+ };
+};
+
&scif_clk {
clock-frequency = <24000000>;
};