Hai Pham | ff3812c | 2023-02-28 22:37:08 +0100 | [diff] [blame] | 1 | // 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 Pham | ff3812c | 2023-02-28 22:37:08 +0100 | [diff] [blame] | 8 | #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 Dang | 84fc304 | 2023-06-20 00:41:50 +0200 | [diff] [blame] | 30 | status = "disabled"; |
Hai Pham | ff3812c | 2023-02-28 22:37:08 +0100 | [diff] [blame] | 31 | |
| 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 | }; |