Quentin Schulz | 00a6f60 | 2023-01-09 11:36:45 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | |
| 3 | #include "px30-u-boot.dtsi" |
| 4 | |
| 5 | / { |
| 6 | config { |
| 7 | u-boot,mmc-env-offset = <0x5000>; /* @ 20KB */ |
| 8 | u-boot,efi-partition-entries-offset = <0x200000>; /* 2MB */ |
| 9 | u-boot,boot-led = "module_led"; |
| 10 | }; |
| 11 | |
| 12 | chosen { |
| 13 | stdout-path = "serial0:115200n8"; |
| 14 | u-boot,spl-boot-order = "same-as-spl", &emmc, &sdmmc; |
| 15 | }; |
| 16 | }; |
| 17 | |
| 18 | &binman { |
| 19 | simple-bin { |
Simon Glass | 4de3617 | 2023-01-07 14:07:18 -0700 | [diff] [blame^] | 20 | fit { |
Quentin Schulz | 00a6f60 | 2023-01-09 11:36:45 +0100 | [diff] [blame] | 21 | offset = <((CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR - 64) * 512)>; |
| 22 | }; |
| 23 | }; |
| 24 | }; |
| 25 | |
| 26 | &emmc_clk { |
| 27 | u-boot,dm-pre-reloc; |
| 28 | }; |
| 29 | |
| 30 | &emmc_cmd { |
| 31 | u-boot,dm-pre-reloc; |
| 32 | }; |
| 33 | |
| 34 | &emmc_bus8 { |
| 35 | u-boot,dm-pre-reloc; |
| 36 | }; |
| 37 | |
| 38 | &gpio0 { |
| 39 | u-boot,dm-pre-reloc; |
| 40 | }; |
| 41 | |
| 42 | &gpio1 { |
| 43 | u-boot,dm-pre-reloc; |
| 44 | }; |
| 45 | |
| 46 | &gpio2 { |
| 47 | u-boot,dm-pre-reloc; |
| 48 | |
| 49 | /* |
| 50 | * The Qseven BIOS_DISABLE signal on the PX30-µQ7 keeps the on-module |
| 51 | * eMMC powered-down initially (in fact it keeps the reset signal |
| 52 | * asserted). BIOS_DISABLE_OVERRIDE pin allows to re-enable eMMC after |
| 53 | * the SPL has been booted from SD Card. |
| 54 | */ |
| 55 | bios-disable-override-hog { |
| 56 | u-boot,dm-pre-reloc; |
| 57 | }; |
| 58 | }; |
| 59 | |
| 60 | &pinctrl { |
| 61 | u-boot,dm-pre-reloc; |
| 62 | }; |
| 63 | |
| 64 | &pcfg_pull_none_8ma { |
| 65 | u-boot,dm-pre-reloc; |
| 66 | }; |
| 67 | |
| 68 | &pcfg_pull_up_8ma { |
| 69 | u-boot,dm-pre-reloc; |
| 70 | }; |
| 71 | |
| 72 | &sdmmc_bus4 { |
| 73 | u-boot,dm-pre-reloc; |
| 74 | }; |
| 75 | |
| 76 | &sdmmc_clk { |
| 77 | u-boot,dm-pre-reloc; |
| 78 | }; |
| 79 | |
| 80 | &sdmmc_cmd { |
| 81 | u-boot,dm-pre-reloc; |
| 82 | }; |
| 83 | |
| 84 | &sdmmc_det { |
| 85 | u-boot,dm-pre-reloc; |
| 86 | }; |
| 87 | |
| 88 | &uart0 { |
| 89 | clock-frequency = <24000000>; |
| 90 | u-boot,dm-pre-reloc; |
| 91 | }; |