Peter Robinson | 0b437a0 | 2022-12-31 09:24:00 +0000 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * Copyright (C) 2022 Peter Robinson <pbrobinson at gmail.com> |
| 4 | */ |
| 5 | |
| 6 | #include "rk3399-u-boot.dtsi" |
| 7 | #include "rk3399-sdram-lpddr4-100.dtsi" |
| 8 | |
| 9 | / { |
| 10 | chosen { |
| 11 | u-boot,spl-boot-order = "same-as-spl", &sdhci, &sdmmc; |
| 12 | }; |
| 13 | |
| 14 | config { |
| 15 | u-boot,spl-payload-offset = <0x60000>; /* @ 384KB */ |
| 16 | }; |
| 17 | }; |
| 18 | |
| 19 | &rng { |
| 20 | status = "okay"; |
| 21 | }; |
| 22 | |
| 23 | &sdhci { |
| 24 | max-frequency = <25000000>; |
| 25 | u-boot,dm-pre-reloc; |
| 26 | }; |
| 27 | |
| 28 | &sdmmc { |
| 29 | max-frequency = <20000000>; |
| 30 | u-boot,dm-pre-reloc; |
| 31 | }; |