blob: efc1b9519efc2ce554a7cc16610106e7c231e32b [file] [log] [blame]
Hai Pham36b63c92023-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
8#include "r8a779g0-white-hawk.dts"
9#include "r8a779g0-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};