blob: a102639010d6c95820d5cc5eb4f547fd19ca8841 [file] [log] [blame]
Hai Phamff3812c2023-02-28 22:37:08 +01001// SPDX-License-Identifier: GPL-2.0
2/*
3 * Device Tree Source extras for U-Boot for the White Hawk board
4 *
5 * Copyright (C) 2021 Renesas Electronics Corp.
6 */
7
Hai Phamff3812c2023-02-28 22:37:08 +01008#include "r8a779g0-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>;
Cong Dang84fc3042023-06-20 00:41:50 +020030 status = "disabled";
Hai Phamff3812c2023-02-28 22:37:08 +010031
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};