Peter Robinson | 9fb8e24 | 2020-04-20 20:27:36 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * Copyright (C) 2019 Peter Robinson <pbrobinson at gmail.com> |
| 4 | */ |
| 5 | |
| 6 | #include "rk3399-u-boot.dtsi" |
| 7 | #include "rk3399-sdram-lpddr4-100.dtsi" |
| 8 | |
| 9 | / { |
Peter Robinson | 9fb8e24 | 2020-04-20 20:27:36 +0100 | [diff] [blame] | 10 | chosen { |
Peter Robinson | f9d6743 | 2020-06-08 23:50:30 +0100 | [diff] [blame] | 11 | u-boot,spl-boot-order = "same-as-spl", &sdhci, &spiflash, &sdmmc; |
| 12 | }; |
| 13 | |
| 14 | config { |
| 15 | u-boot,spl-payload-offset = <0x60000>; /* @ 384KB */ |
Peter Robinson | 9fb8e24 | 2020-04-20 20:27:36 +0100 | [diff] [blame] | 16 | }; |
| 17 | }; |
| 18 | |
| 19 | &i2c0 { |
| 20 | u-boot,dm-pre-reloc; |
| 21 | }; |
| 22 | |
| 23 | &rk808 { |
| 24 | u-boot,dm-pre-reloc; |
| 25 | }; |
| 26 | |
Peter Robinson | 9fb8e24 | 2020-04-20 20:27:36 +0100 | [diff] [blame] | 27 | &sdhci { |
| 28 | max-frequency = <25000000>; |
| 29 | u-boot,dm-pre-reloc; |
| 30 | }; |
| 31 | |
| 32 | &sdmmc { |
| 33 | max-frequency = <20000000>; |
| 34 | u-boot,dm-pre-reloc; |
| 35 | }; |
| 36 | |
| 37 | &spiflash { |
| 38 | u-boot,dm-pre-reloc; |
| 39 | }; |
| 40 | |
| 41 | &vdd_log { |
| 42 | regulator-init-microvolt = <950000>; |
| 43 | }; |