blob: 935ba9465dca4032c549b8e83ccac4fe2a08ccce [file] [log] [blame]
Hai Phamc02d56e2024-01-28 16:52:09 +01001// SPDX-License-Identifier: GPL-2.0
2/*
3 * Device Tree Source extras for U-Boot for the Gray Hawk board
4 *
5 * Copyright (C) 2023 Renesas Electronics Corp.
6 */
7
8#include "r8a779h0-gray-hawk.dts"
9#include "r8a779h0-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 flash@0 {
34 #address-cells = <1>;
35 #size-cells = <1>;
36 compatible = "s25fs512s", "jedec,spi-nor";
37 reg = <0>;
38 spi-max-frequency = <40000000>;
39 spi-tx-bus-width = <1>;
40 spi-rx-bus-width = <1>;
41 };
42};