Jagan Teki | 2a2d35f | 2019-05-17 15:59:40 +0530 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * Copyright (C) 2019 Jagan Teki <jagan@amarulasolutions.com> |
| 4 | */ |
| 5 | |
| 6 | #include "rk3399-u-boot.dtsi" |
Jagan Teki | 2598b6c | 2019-07-16 17:27:44 +0530 | [diff] [blame] | 7 | #include "rk3399-sdram-lpddr4-100.dtsi" |
Kever Yang | 616b7fc | 2019-08-27 11:43:32 +0800 | [diff] [blame] | 8 | / { |
Jagan Teki | c0224a4 | 2019-12-21 13:24:39 +0530 | [diff] [blame] | 9 | aliases { |
| 10 | spi0 = &spi1; |
| 11 | }; |
| 12 | |
Kever Yang | 616b7fc | 2019-08-27 11:43:32 +0800 | [diff] [blame] | 13 | chosen { |
Marcin Juszkiewicz | 8b5fe24 | 2020-06-03 17:15:13 +0200 | [diff] [blame] | 14 | u-boot,spl-boot-order = "same-as-spl", &spi_flash, &sdmmc, &sdhci; |
| 15 | }; |
| 16 | |
| 17 | config { |
| 18 | u-boot,spl-payload-offset = <0x60000>; /* @ 384KB */ |
| 19 | }; |
| 20 | }; |
| 21 | |
Peter Robinson | 683f677 | 2020-06-08 23:50:28 +0100 | [diff] [blame] | 22 | &rng { |
| 23 | status = "okay"; |
| 24 | }; |
| 25 | |
Marcin Juszkiewicz | 8b5fe24 | 2020-06-03 17:15:13 +0200 | [diff] [blame] | 26 | &spi1 { |
| 27 | spi_flash: flash@0 { |
| 28 | u-boot,dm-pre-reloc; |
Kever Yang | 616b7fc | 2019-08-27 11:43:32 +0800 | [diff] [blame] | 29 | }; |
| 30 | }; |
Mark Kettenis | f232399 | 2019-06-21 23:16:45 +0200 | [diff] [blame] | 31 | |
Soeren Moch | e8baaa4 | 2019-11-07 12:11:22 +0100 | [diff] [blame] | 32 | &vdd_center { |
| 33 | regulator-min-microvolt = <950000>; |
| 34 | regulator-max-microvolt = <950000>; |
| 35 | }; |
| 36 | |
Mark Kettenis | f232399 | 2019-06-21 23:16:45 +0200 | [diff] [blame] | 37 | &vdd_log { |
| 38 | regulator-init-microvolt = <950000>; |
| 39 | }; |