Marek Vasut | 0b16ba5 | 2022-04-12 17:26:01 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
2 | /* | ||||
3 | * Copyright 2022 Marek Vasut <marex@denx.de> | ||||
4 | */ | ||||
5 | |||||
6 | #include "imx8mm-u-boot.dtsi" | ||||
7 | |||||
8 | / { | ||||
9 | aliases { | ||||
10 | eeprom0 = &eeprom; | ||||
11 | mmc0 = &usdhc3; /* eMMC */ | ||||
12 | mmc1 = &usdhc2; /* MicroSD */ | ||||
13 | }; | ||||
14 | |||||
15 | config { | ||||
16 | dmo,ram-coding-gpios = <&gpio2 8 0>, <&gpio2 1 0>, <&gpio2 0 0>; | ||||
17 | }; | ||||
18 | |||||
19 | wdt-reboot { | ||||
20 | compatible = "wdt-reboot"; | ||||
21 | wdt = <&wdog1>; | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 22 | bootph-pre-ram; |
Marek Vasut | 0b16ba5 | 2022-04-12 17:26:01 +0200 | [diff] [blame] | 23 | }; |
24 | }; | ||||
25 | |||||
26 | &buck4_reg { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 27 | bootph-pre-ram; |
Marek Vasut | 0b16ba5 | 2022-04-12 17:26:01 +0200 | [diff] [blame] | 28 | }; |
29 | |||||
30 | &buck5_reg { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 31 | bootph-pre-ram; |
Marek Vasut | 0b16ba5 | 2022-04-12 17:26:01 +0200 | [diff] [blame] | 32 | }; |
33 | |||||
34 | &i2c1 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 35 | bootph-pre-ram; |
Marek Vasut | 0b16ba5 | 2022-04-12 17:26:01 +0200 | [diff] [blame] | 36 | }; |
37 | |||||
38 | &pinctrl_hog_sbc { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 39 | bootph-pre-ram; |
Marek Vasut | 0b16ba5 | 2022-04-12 17:26:01 +0200 | [diff] [blame] | 40 | }; |
41 | |||||
42 | &pinctrl_i2c1 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 43 | bootph-pre-ram; |
Marek Vasut | 0b16ba5 | 2022-04-12 17:26:01 +0200 | [diff] [blame] | 44 | }; |
45 | |||||
46 | &pinctrl_i2c1_gpio { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 47 | bootph-pre-ram; |
Marek Vasut | 0b16ba5 | 2022-04-12 17:26:01 +0200 | [diff] [blame] | 48 | }; |
49 | |||||
50 | &pinctrl_pmic { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 51 | bootph-pre-ram; |
Marek Vasut | 0b16ba5 | 2022-04-12 17:26:01 +0200 | [diff] [blame] | 52 | }; |
53 | |||||
54 | &pinctrl_uart3 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 55 | bootph-pre-ram; |
Marek Vasut | 0b16ba5 | 2022-04-12 17:26:01 +0200 | [diff] [blame] | 56 | }; |
57 | |||||
58 | &pinctrl_usdhc2 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 59 | bootph-pre-ram; |
Marek Vasut | 0b16ba5 | 2022-04-12 17:26:01 +0200 | [diff] [blame] | 60 | }; |
61 | |||||
62 | &pinctrl_usdhc3 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 63 | bootph-pre-ram; |
Marek Vasut | 0b16ba5 | 2022-04-12 17:26:01 +0200 | [diff] [blame] | 64 | }; |
65 | |||||
66 | &pmic { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 67 | bootph-pre-ram; |
Marek Vasut | 0b16ba5 | 2022-04-12 17:26:01 +0200 | [diff] [blame] | 68 | |
69 | regulators { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 70 | bootph-pre-ram; |
Marek Vasut | 0b16ba5 | 2022-04-12 17:26:01 +0200 | [diff] [blame] | 71 | }; |
72 | }; | ||||
73 | |||||
74 | &gpio1 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 75 | bootph-pre-ram; |
Marek Vasut | 0b16ba5 | 2022-04-12 17:26:01 +0200 | [diff] [blame] | 76 | }; |
77 | |||||
78 | &gpio2 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 79 | bootph-pre-ram; |
Marek Vasut | 0b16ba5 | 2022-04-12 17:26:01 +0200 | [diff] [blame] | 80 | }; |
81 | |||||
82 | &gpio3 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 83 | bootph-pre-ram; |
Marek Vasut | 0b16ba5 | 2022-04-12 17:26:01 +0200 | [diff] [blame] | 84 | }; |
85 | |||||
86 | &gpio4 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 87 | bootph-pre-ram; |
Marek Vasut | 0b16ba5 | 2022-04-12 17:26:01 +0200 | [diff] [blame] | 88 | }; |
89 | |||||
90 | &gpio5 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 91 | bootph-pre-ram; |
Marek Vasut | 0b16ba5 | 2022-04-12 17:26:01 +0200 | [diff] [blame] | 92 | }; |
93 | |||||
94 | &uart3 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 95 | bootph-pre-ram; |
Marek Vasut | 0b16ba5 | 2022-04-12 17:26:01 +0200 | [diff] [blame] | 96 | }; |
97 | |||||
98 | &usbotg1 { | ||||
99 | dr_mode = "peripheral"; | ||||
100 | }; | ||||
101 | |||||
102 | &usdhc2 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 103 | bootph-pre-ram; |
Marek Vasut | 0b16ba5 | 2022-04-12 17:26:01 +0200 | [diff] [blame] | 104 | sd-uhs-sdr104; |
105 | sd-uhs-ddr50; | ||||
106 | }; | ||||
107 | |||||
108 | &usdhc3 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 109 | bootph-pre-ram; |
Marek Vasut | 0b16ba5 | 2022-04-12 17:26:01 +0200 | [diff] [blame] | 110 | mmc-hs400-1_8v; |
111 | mmc-hs400-enhanced-strobe; | ||||
112 | }; | ||||
113 | |||||
114 | &wdog1 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 115 | bootph-pre-ram; |
Marek Vasut | 0b16ba5 | 2022-04-12 17:26:01 +0200 | [diff] [blame] | 116 | }; |