Hai Pham | c02d56e | 2024-01-28 16:52:09 +0100 | [diff] [blame] | 1 | // 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 | |
Hai Pham | c02d56e | 2024-01-28 16:52:09 +0100 | [diff] [blame] | 8 | #include "r8a779h0-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 | flash@0 { |
| 33 | #address-cells = <1>; |
| 34 | #size-cells = <1>; |
| 35 | compatible = "s25fs512s", "jedec,spi-nor"; |
| 36 | reg = <0>; |
| 37 | spi-max-frequency = <40000000>; |
| 38 | spi-tx-bus-width = <1>; |
| 39 | spi-rx-bus-width = <1>; |
| 40 | }; |
| 41 | }; |