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 | |||||
Quentin Schulz | 00a6f60 | 2023-01-09 11:36:45 +0100 | [diff] [blame] | 18 | &emmc_clk { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 19 | bootph-all; |
Quentin Schulz | 00a6f60 | 2023-01-09 11:36:45 +0100 | [diff] [blame] | 20 | }; |
21 | |||||
22 | &emmc_cmd { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 23 | bootph-all; |
Quentin Schulz | 00a6f60 | 2023-01-09 11:36:45 +0100 | [diff] [blame] | 24 | }; |
25 | |||||
26 | &emmc_bus8 { | ||||
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 | &gpio0 { | ||||
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 | &gpio1 { | ||||
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 | &gpio2 { | ||||
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 | * The Qseven BIOS_DISABLE signal on the PX30-µQ7 keeps the on-module | ||||
43 | * eMMC powered-down initially (in fact it keeps the reset signal | ||||
44 | * asserted). BIOS_DISABLE_OVERRIDE pin allows to re-enable eMMC after | ||||
45 | * the SPL has been booted from SD Card. | ||||
46 | */ | ||||
47 | bios-disable-override-hog { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 48 | bootph-all; |
Quentin Schulz | 00a6f60 | 2023-01-09 11:36:45 +0100 | [diff] [blame] | 49 | }; |
50 | }; | ||||
51 | |||||
52 | &pinctrl { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 53 | bootph-all; |
Quentin Schulz | 00a6f60 | 2023-01-09 11:36:45 +0100 | [diff] [blame] | 54 | }; |
55 | |||||
56 | &pcfg_pull_none_8ma { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 57 | bootph-all; |
Quentin Schulz | 00a6f60 | 2023-01-09 11:36:45 +0100 | [diff] [blame] | 58 | }; |
59 | |||||
60 | &pcfg_pull_up_8ma { | ||||
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 | &sdmmc_bus4 { | ||||
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 | &sdmmc_clk { | ||||
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_cmd { | ||||
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_det { | ||||
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 | &uart0 { | ||||
81 | clock-frequency = <24000000>; | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 82 | bootph-all; |
Quentin Schulz | 00a6f60 | 2023-01-09 11:36:45 +0100 | [diff] [blame] | 83 | }; |