blob: 29ea27636366dc5f4816d9d8ab2ff0addda00732 [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
Quentin Schulz00a6f602023-01-09 11:36:45 +010018&emmc_clk {
Simon Glassd3a98cb2023-02-13 08:56:33 -070019 bootph-all;
Quentin Schulz00a6f602023-01-09 11:36:45 +010020};
21
22&emmc_cmd {
Simon Glassd3a98cb2023-02-13 08:56:33 -070023 bootph-all;
Quentin Schulz00a6f602023-01-09 11:36:45 +010024};
25
26&emmc_bus8 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070027 bootph-all;
Quentin Schulz00a6f602023-01-09 11:36:45 +010028};
29
30&gpio0 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070031 bootph-all;
Quentin Schulz00a6f602023-01-09 11:36:45 +010032};
33
34&gpio1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070035 bootph-all;
Quentin Schulz00a6f602023-01-09 11:36:45 +010036};
37
38&gpio2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070039 bootph-all;
Quentin Schulz00a6f602023-01-09 11:36:45 +010040
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 Glassd3a98cb2023-02-13 08:56:33 -070048 bootph-all;
Quentin Schulz00a6f602023-01-09 11:36:45 +010049 };
50};
51
52&pinctrl {
Simon Glassd3a98cb2023-02-13 08:56:33 -070053 bootph-all;
Quentin Schulz00a6f602023-01-09 11:36:45 +010054};
55
56&pcfg_pull_none_8ma {
Simon Glassd3a98cb2023-02-13 08:56:33 -070057 bootph-all;
Quentin Schulz00a6f602023-01-09 11:36:45 +010058};
59
60&pcfg_pull_up_8ma {
Simon Glassd3a98cb2023-02-13 08:56:33 -070061 bootph-all;
Quentin Schulz00a6f602023-01-09 11:36:45 +010062};
63
64&sdmmc_bus4 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070065 bootph-all;
Quentin Schulz00a6f602023-01-09 11:36:45 +010066};
67
68&sdmmc_clk {
Simon Glassd3a98cb2023-02-13 08:56:33 -070069 bootph-all;
Quentin Schulz00a6f602023-01-09 11:36:45 +010070};
71
72&sdmmc_cmd {
Simon Glassd3a98cb2023-02-13 08:56:33 -070073 bootph-all;
Quentin Schulz00a6f602023-01-09 11:36:45 +010074};
75
76&sdmmc_det {
Simon Glassd3a98cb2023-02-13 08:56:33 -070077 bootph-all;
Quentin Schulz00a6f602023-01-09 11:36:45 +010078};
79
80&uart0 {
81 clock-frequency = <24000000>;
Simon Glassd3a98cb2023-02-13 08:56:33 -070082 bootph-all;
Quentin Schulz00a6f602023-01-09 11:36:45 +010083};