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 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 27 | bootph-all; |
Quentin Schulz | 00a6f60 | 2023-01-09 11:36:45 +0100 | [diff] [blame] | 28 | }; |
29 | |||||
30 | &emmc_cmd { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 31 | bootph-all; |
Quentin Schulz | 00a6f60 | 2023-01-09 11:36:45 +0100 | [diff] [blame] | 32 | }; |
33 | |||||
34 | &emmc_bus8 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 35 | bootph-all; |
Quentin Schulz | 00a6f60 | 2023-01-09 11:36:45 +0100 | [diff] [blame] | 36 | }; |
37 | |||||
38 | &gpio0 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 39 | bootph-all; |
Quentin Schulz | 00a6f60 | 2023-01-09 11:36:45 +0100 | [diff] [blame] | 40 | }; |
41 | |||||
42 | &gpio1 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 43 | bootph-all; |
Quentin Schulz | 00a6f60 | 2023-01-09 11:36:45 +0100 | [diff] [blame] | 44 | }; |
45 | |||||
46 | &gpio2 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 47 | bootph-all; |
Quentin Schulz | 00a6f60 | 2023-01-09 11:36:45 +0100 | [diff] [blame] | 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 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 56 | bootph-all; |
Quentin Schulz | 00a6f60 | 2023-01-09 11:36:45 +0100 | [diff] [blame] | 57 | }; |
58 | }; | ||||
59 | |||||
60 | &pinctrl { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 61 | bootph-all; |
Quentin Schulz | 00a6f60 | 2023-01-09 11:36:45 +0100 | [diff] [blame] | 62 | }; |
63 | |||||
64 | &pcfg_pull_none_8ma { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 65 | bootph-all; |
Quentin Schulz | 00a6f60 | 2023-01-09 11:36:45 +0100 | [diff] [blame] | 66 | }; |
67 | |||||
68 | &pcfg_pull_up_8ma { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 69 | bootph-all; |
Quentin Schulz | 00a6f60 | 2023-01-09 11:36:45 +0100 | [diff] [blame] | 70 | }; |
71 | |||||
72 | &sdmmc_bus4 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 73 | bootph-all; |
Quentin Schulz | 00a6f60 | 2023-01-09 11:36:45 +0100 | [diff] [blame] | 74 | }; |
75 | |||||
76 | &sdmmc_clk { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 77 | bootph-all; |
Quentin Schulz | 00a6f60 | 2023-01-09 11:36:45 +0100 | [diff] [blame] | 78 | }; |
79 | |||||
80 | &sdmmc_cmd { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 81 | bootph-all; |
Quentin Schulz | 00a6f60 | 2023-01-09 11:36:45 +0100 | [diff] [blame] | 82 | }; |
83 | |||||
84 | &sdmmc_det { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 85 | bootph-all; |
Quentin Schulz | 00a6f60 | 2023-01-09 11:36:45 +0100 | [diff] [blame] | 86 | }; |
87 | |||||
88 | &uart0 { | ||||
89 | clock-frequency = <24000000>; | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 90 | bootph-all; |
Quentin Schulz | 00a6f60 | 2023-01-09 11:36:45 +0100 | [diff] [blame] | 91 | }; |