Peter Robinson | 606050d | 2020-01-20 09:18:18 +0000 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | |
| 3 | #include "rk3399-u-boot.dtsi" |
| 4 | / { |
| 5 | config { |
| 6 | u-boot,spl-payload-offset = <0x40000>; /* @ 256KB */ |
| 7 | u-boot,mmc-env-offset = <0x4000>; /* @ 16KB */ |
| 8 | u-boot,efi-partition-entries-offset = <0x200000>; /* 2MB */ |
| 9 | u-boot,boot-led = "module_led"; |
| 10 | sysreset-gpio = <&gpio1 RK_PA6 GPIO_ACTIVE_HIGH>; |
| 11 | }; |
| 12 | |
| 13 | chosen { |
| 14 | stdout-path = "serial0:115200n8"; |
| 15 | u-boot,spl-boot-order = \ |
| 16 | "same-as-spl", &spiflash, &sdhci, &sdmmc; |
| 17 | }; |
| 18 | |
| 19 | aliases { |
| 20 | spi0 = &spi1; |
| 21 | spi1 = &spi5; |
| 22 | }; |
| 23 | |
| 24 | }; |
Jagan Teki | 435970a | 2020-04-28 15:30:14 +0530 | [diff] [blame^] | 25 | |
| 26 | &bios_enable { |
| 27 | u-boot,dm-pre-reloc; |
| 28 | }; |
| 29 | |
| 30 | &gpio1 { |
| 31 | u-boot,dm-pre-reloc; |
| 32 | }; |
| 33 | |
| 34 | &gpio3 { |
| 35 | u-boot,dm-pre-reloc; |
| 36 | }; |
| 37 | |
| 38 | &spiflash { |
| 39 | u-boot,dm-pre-reloc; |
| 40 | }; |