aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/dts/r8a779f0-spider-u-boot.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/dts/r8a779f0-spider-u-boot.dtsi')
-rw-r--r--arch/arm/dts/r8a779f0-spider-u-boot.dtsi41
1 files changed, 41 insertions, 0 deletions
diff --git a/arch/arm/dts/r8a779f0-spider-u-boot.dtsi b/arch/arm/dts/r8a779f0-spider-u-boot.dtsi
new file mode 100644
index 00000000000..2fc7e7789a2
--- /dev/null
+++ b/arch/arm/dts/r8a779f0-spider-u-boot.dtsi
@@ -0,0 +1,41 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Device Tree Source extras for U-Boot for the Spider board
+ *
+ * Copyright (C) 2021 Renesas Electronics Corp.
+ */
+
+#include "r8a779f0-u-boot.dtsi"
+
+/ {
+ aliases {
+ spi0 = &rpc;
+ };
+};
+
+&pfc {
+ qspi0_pins: qspi0 {
+ groups = "qspi0_ctrl", "qspi0_data4";
+ function = "qspi0";
+ };
+};
+
+&rpc {
+ pinctrl-0 = <&qspi0_pins>;
+ pinctrl-names = "default";
+
+ #address-cells = <1>;
+ #size-cells = <0>;
+ spi-max-frequency = <40000000>;
+ status = "okay";
+
+ spi-flash@0 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "s25fs512s", "jedec,spi-nor";
+ reg = <0>;
+ spi-tx-bus-width = <1>;
+ spi-rx-bus-width = <1>;
+ spi-max-frequency = <40000000>;
+ };
+};