blob: 2fc7e7789a2a834c1d961ef3d136018f3c86f432 [file] [log] [blame]
Hai Pham2df54972023-02-28 22:34:46 +01001// SPDX-License-Identifier: GPL-2.0
2/*
3 * Device Tree Source extras for U-Boot for the Spider board
4 *
5 * Copyright (C) 2021 Renesas Electronics Corp.
6 */
7
Hai Pham2df54972023-02-28 22:34:46 +01008#include "r8a779f0-u-boot.dtsi"
9
10/ {
11 aliases {
12 spi0 = &rpc;
13 };
14};
15
16&pfc {
17 qspi0_pins: qspi0 {
18 groups = "qspi0_ctrl", "qspi0_data4";
19 function = "qspi0";
20 };
21};
22
23&rpc {
24 pinctrl-0 = <&qspi0_pins>;
25 pinctrl-names = "default";
26
27 #address-cells = <1>;
28 #size-cells = <0>;
29 spi-max-frequency = <40000000>;
30 status = "okay";
31
32 spi-flash@0 {
33 #address-cells = <1>;
34 #size-cells = <1>;
35 compatible = "s25fs512s", "jedec,spi-nor";
36 reg = <0>;
37 spi-tx-bus-width = <1>;
38 spi-rx-bus-width = <1>;
39 spi-max-frequency = <40000000>;
40 };
41};