Andy Yan | bc23c16 | 2024-02-17 19:24:59 +0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| 2 | |
| 3 | #include "rk3588s-u-boot.dtsi" |
| 4 | |
| 5 | &fspim2_pins { |
Jonas Karlman | ab956bb | 2024-04-22 06:28:50 +0000 | [diff] [blame] | 6 | bootph-pre-ram; |
| 7 | bootph-some-ram; |
Andy Yan | bc23c16 | 2024-02-17 19:24:59 +0800 | [diff] [blame] | 8 | }; |
| 9 | |
| 10 | &sdhci { |
| 11 | cap-mmc-highspeed; |
| 12 | mmc-hs200-1_8v; |
| 13 | }; |
| 14 | |
| 15 | &sfc { |
Andy Yan | bc23c16 | 2024-02-17 19:24:59 +0800 | [diff] [blame] | 16 | pinctrl-names = "default"; |
| 17 | pinctrl-0 = <&fspim2_pins>; |
| 18 | status = "okay"; |
| 19 | |
| 20 | flash@0 { |
Andy Yan | bc23c16 | 2024-02-17 19:24:59 +0800 | [diff] [blame] | 21 | compatible = "jedec,spi-nor"; |
| 22 | reg = <0>; |
Jonas Karlman | ab956bb | 2024-04-22 06:28:50 +0000 | [diff] [blame] | 23 | bootph-pre-ram; |
| 24 | bootph-some-ram; |
Andy Yan | bc23c16 | 2024-02-17 19:24:59 +0800 | [diff] [blame] | 25 | spi-max-frequency = <24000000>; |
| 26 | spi-rx-bus-width = <4>; |
| 27 | spi-tx-bus-width = <1>; |
| 28 | }; |
| 29 | }; |