Peter Robinson | 6a349e7 | 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 | 6a349e7 | 2020-04-20 20:27:36 +0100 | [diff] [blame] | 10 | chosen { |
Peter Robinson | cee3edd | 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 | 6a349e7 | 2020-04-20 20:27:36 +0100 | [diff] [blame] | 16 | }; |
| 17 | }; |
| 18 | |
Arnaud Patard (Rtp) | c3b469a | 2021-03-05 11:27:50 +0100 | [diff] [blame] | 19 | &edp { |
| 20 | rockchip,panel = <&edp_panel>; |
| 21 | }; |
| 22 | |
Peter Robinson | 6a349e7 | 2020-04-20 20:27:36 +0100 | [diff] [blame] | 23 | &sdhci { |
| 24 | max-frequency = <25000000>; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 25 | bootph-all; |
Peter Robinson | 6a349e7 | 2020-04-20 20:27:36 +0100 | [diff] [blame] | 26 | }; |
| 27 | |
| 28 | &sdmmc { |
| 29 | max-frequency = <20000000>; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 30 | bootph-all; |
Peter Robinson | 6a349e7 | 2020-04-20 20:27:36 +0100 | [diff] [blame] | 31 | }; |
| 32 | |
| 33 | &spiflash { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 34 | bootph-all; |
Peter Robinson | 6a349e7 | 2020-04-20 20:27:36 +0100 | [diff] [blame] | 35 | }; |
| 36 | |
| 37 | &vdd_log { |
| 38 | regulator-init-microvolt = <950000>; |
| 39 | }; |