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 | |
| 9 | / { |
| 10 | chosen { |
| 11 | u-boot,spl-boot-order = "same-as-spl", &sdmmc, &sdhci; |
| 12 | }; |
| 13 | }; |
| 14 | |
| 15 | &fspim1_pins { |
| 16 | bootph-all; |
| 17 | }; |
| 18 | |
| 19 | &sfc { |
| 20 | bootph-pre-ram; |
| 21 | u-boot,spl-sfc-no-dma; |
| 22 | pinctrl-names = "default"; |
| 23 | pinctrl-0 = <&fspim1_pins>; |
| 24 | #address-cells = <1>; |
| 25 | #size-cells = <0>; |
| 26 | status = "okay"; |
| 27 | |
| 28 | flash@0 { |
| 29 | bootph-pre-ram; |
| 30 | compatible = "jedec,spi-nor"; |
| 31 | reg = <0>; |
| 32 | spi-max-frequency = <24000000>; |
| 33 | spi-rx-bus-width = <4>; |
| 34 | spi-tx-bus-width = <1>; |
| 35 | }; |
| 36 | }; |