blob: 26fc8bcf440655edb09d67975c728c4b1e5c46c5 [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
8#include "r8a779f0-spider.dts"
9#include "r8a779f0-u-boot.dtsi"
10
11/ {
12 aliases {
13 spi0 = &rpc;
14 };
15};
16
17&pfc {
18 qspi0_pins: qspi0 {
19 groups = "qspi0_ctrl", "qspi0_data4";
20 function = "qspi0";
21 };
22};
23
24&rpc {
25 pinctrl-0 = <&qspi0_pins>;
26 pinctrl-names = "default";
27
28 #address-cells = <1>;
29 #size-cells = <0>;
30 spi-max-frequency = <40000000>;
31 status = "okay";
32
33 spi-flash@0 {
34 #address-cells = <1>;
35 #size-cells = <1>;
36 compatible = "s25fs512s", "jedec,spi-nor";
37 reg = <0>;
38 spi-tx-bus-width = <1>;
39 spi-rx-bus-width = <1>;
40 spi-max-frequency = <40000000>;
41 };
42};