blob: e04766ad09cb0979dee21048abd01383db0d7d0a [file] [log] [blame]
Quentin Schulz00a6f602023-01-09 11:36:45 +01001// 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 Glass4de36172023-01-07 14:07:18 -070020 fit {
Quentin Schulz00a6f602023-01-09 11:36:45 +010021 offset = <((CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR - 64) * 512)>;
22 };
23 };
24};
25
26&emmc_clk {
Simon Glassd3a98cb2023-02-13 08:56:33 -070027 bootph-all;
Quentin Schulz00a6f602023-01-09 11:36:45 +010028};
29
30&emmc_cmd {
Simon Glassd3a98cb2023-02-13 08:56:33 -070031 bootph-all;
Quentin Schulz00a6f602023-01-09 11:36:45 +010032};
33
34&emmc_bus8 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070035 bootph-all;
Quentin Schulz00a6f602023-01-09 11:36:45 +010036};
37
38&gpio0 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070039 bootph-all;
Quentin Schulz00a6f602023-01-09 11:36:45 +010040};
41
42&gpio1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070043 bootph-all;
Quentin Schulz00a6f602023-01-09 11:36:45 +010044};
45
46&gpio2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070047 bootph-all;
Quentin Schulz00a6f602023-01-09 11:36:45 +010048
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 Glassd3a98cb2023-02-13 08:56:33 -070056 bootph-all;
Quentin Schulz00a6f602023-01-09 11:36:45 +010057 };
58};
59
60&pinctrl {
Simon Glassd3a98cb2023-02-13 08:56:33 -070061 bootph-all;
Quentin Schulz00a6f602023-01-09 11:36:45 +010062};
63
64&pcfg_pull_none_8ma {
Simon Glassd3a98cb2023-02-13 08:56:33 -070065 bootph-all;
Quentin Schulz00a6f602023-01-09 11:36:45 +010066};
67
68&pcfg_pull_up_8ma {
Simon Glassd3a98cb2023-02-13 08:56:33 -070069 bootph-all;
Quentin Schulz00a6f602023-01-09 11:36:45 +010070};
71
72&sdmmc_bus4 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070073 bootph-all;
Quentin Schulz00a6f602023-01-09 11:36:45 +010074};
75
76&sdmmc_clk {
Simon Glassd3a98cb2023-02-13 08:56:33 -070077 bootph-all;
Quentin Schulz00a6f602023-01-09 11:36:45 +010078};
79
80&sdmmc_cmd {
Simon Glassd3a98cb2023-02-13 08:56:33 -070081 bootph-all;
Quentin Schulz00a6f602023-01-09 11:36:45 +010082};
83
84&sdmmc_det {
Simon Glassd3a98cb2023-02-13 08:56:33 -070085 bootph-all;
Quentin Schulz00a6f602023-01-09 11:36:45 +010086};
87
88&uart0 {
89 clock-frequency = <24000000>;
Simon Glassd3a98cb2023-02-13 08:56:33 -070090 bootph-all;
Quentin Schulz00a6f602023-01-09 11:36:45 +010091};