John Clark | d88366e | 2023-10-13 01:19:22 +0000 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| 2 | /* |
| 3 | * Copyright (c) 2023 John Clark <inindev@gmail.com> |
| 4 | * |
| 5 | */ |
| 6 | |
| 7 | #include "rk3588-u-boot.dtsi" |
| 8 | |
John Clark | d88366e | 2023-10-13 01:19:22 +0000 | [diff] [blame] | 9 | &fspim1_pins { |
Jonas Karlman | ab956bb | 2024-04-22 06:28:50 +0000 | [diff] [blame] | 10 | bootph-pre-ram; |
| 11 | bootph-some-ram; |
John Clark | d88366e | 2023-10-13 01:19:22 +0000 | [diff] [blame] | 12 | }; |
| 13 | |
| 14 | &sfc { |
John Clark | d88366e | 2023-10-13 01:19:22 +0000 | [diff] [blame] | 15 | pinctrl-names = "default"; |
| 16 | pinctrl-0 = <&fspim1_pins>; |
| 17 | #address-cells = <1>; |
| 18 | #size-cells = <0>; |
| 19 | status = "okay"; |
| 20 | |
| 21 | flash@0 { |
John Clark | d88366e | 2023-10-13 01:19:22 +0000 | [diff] [blame] | 22 | compatible = "jedec,spi-nor"; |
| 23 | reg = <0>; |
Jonas Karlman | ab956bb | 2024-04-22 06:28:50 +0000 | [diff] [blame] | 24 | bootph-pre-ram; |
| 25 | bootph-some-ram; |
John Clark | d88366e | 2023-10-13 01:19:22 +0000 | [diff] [blame] | 26 | spi-max-frequency = <24000000>; |
| 27 | spi-rx-bus-width = <4>; |
| 28 | spi-tx-bus-width = <1>; |
| 29 | }; |
| 30 | }; |