blob: 0162f9b2da375203a94ce71f40f2bd1ebbac8844 [file] [log] [blame]
Marcel Ziswiler36a439d2022-02-07 11:54:13 +01001// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2/*
3 * Copyright 2022 Toradex
4 */
5
6#include "imx8mp-u-boot.dtsi"
7
8/ {
9 firmware {
10 optee {
11 compatible = "linaro,optee-tz";
12 method = "smc";
13 };
14 };
15
16 wdt-reboot {
17 compatible = "wdt-reboot";
Simon Glassd3a98cb2023-02-13 08:56:33 -070018 bootph-pre-ram;
Marcel Ziswiler36a439d2022-02-07 11:54:13 +010019 wdt = <&wdog1>;
20 };
21};
22
Marcel Ziswilerf8621462022-07-21 15:46:44 +020023&{/aliases} {
24 eeprom0 = &eeprom_module;
25 eeprom1 = &eeprom_carrier_board;
26 eeprom2 = &eeprom_display_adapter;
27};
28
Marcel Ziswiler36a439d2022-02-07 11:54:13 +010029&clk {
Simon Glassd3a98cb2023-02-13 08:56:33 -070030 bootph-all;
31 bootph-pre-ram;
Marcel Ziswiler36a439d2022-02-07 11:54:13 +010032 /delete-property/ assigned-clocks;
33 /delete-property/ assigned-clock-parents;
34 /delete-property/ assigned-clock-rates;
35
36};
37
Andrejs Cainikovs654d41c2022-10-04 13:06:30 +020038&crypto {
Simon Glassd3a98cb2023-02-13 08:56:33 -070039 bootph-pre-ram;
Andrejs Cainikovs654d41c2022-10-04 13:06:30 +020040};
41
Marcel Ziswiler36a439d2022-02-07 11:54:13 +010042&gpio1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070043 bootph-pre-ram;
Marcel Ziswiler36a439d2022-02-07 11:54:13 +010044};
45
46&gpio2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070047 bootph-pre-ram;
Marcel Ziswilerf8621462022-07-21 15:46:44 +020048
49 regulator-ethphy {
50 gpio-hog;
51 gpios = <20 GPIO_ACTIVE_HIGH>;
52 line-name = "reg_ethphy";
53 output-high;
54 pinctrl-names = "default";
55 pinctrl-0 = <&pinctrl_reg_eth>;
56 };
Marcel Ziswiler36a439d2022-02-07 11:54:13 +010057};
58
59&gpio3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070060 bootph-pre-ram;
Marcel Ziswiler36a439d2022-02-07 11:54:13 +010061};
62
63&gpio4 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070064 bootph-pre-ram;
Andrejs Cainikovsdd1587c2023-07-11 11:09:18 +020065
66 ctrl-sleep-moci-hog {
67 bootph-pre-ram;
68 };
Marcel Ziswiler36a439d2022-02-07 11:54:13 +010069};
70
71&gpio5 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070072 bootph-pre-ram;
Marcel Ziswiler36a439d2022-02-07 11:54:13 +010073};
74
75&i2c1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070076 bootph-pre-ram;
Marcel Ziswilerf8621462022-07-21 15:46:44 +020077
78 eeprom_module: eeprom@50 {
79 compatible = "i2c-eeprom";
80 pagesize = <16>;
81 reg = <0x50>;
82 };
Marcel Ziswiler36a439d2022-02-07 11:54:13 +010083};
84
85&i2c2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070086 bootph-pre-ram;
Marcel Ziswiler36a439d2022-02-07 11:54:13 +010087};
88
89&i2c3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070090 bootph-pre-ram;
Marcel Ziswiler36a439d2022-02-07 11:54:13 +010091};
92
Marcel Ziswilerf8621462022-07-21 15:46:44 +020093&i2c4 {
94 /* EEPROM on display adapter (MIPI DSI Display Adapter) */
95 eeprom_display_adapter: eeprom@50 {
96 compatible = "i2c-eeprom";
97 pagesize = <16>;
98 reg = <0x50>;
99 };
100
101 /* EEPROM on carrier board */
102 eeprom_carrier_board: eeprom@57 {
103 compatible = "i2c-eeprom";
104 pagesize = <16>;
105 reg = <0x57>;
106 };
107};
108
109&pca9450 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700110 bootph-pre-ram;
Marcel Ziswilerf8621462022-07-21 15:46:44 +0200111};
112
Andrejs Cainikovsdd1587c2023-07-11 11:09:18 +0200113&pinctrl_ctrl_sleep_moci {
114 bootph-pre-ram;
115};
116
Marcel Ziswiler36a439d2022-02-07 11:54:13 +0100117&pinctrl_i2c1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700118 bootph-pre-ram;
Marcel Ziswiler36a439d2022-02-07 11:54:13 +0100119};
120
Marcel Ziswilerf8621462022-07-21 15:46:44 +0200121&pinctrl_usdhc2_pwr_en {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700122 bootph-pre-ram;
Marcel Ziswiler36a439d2022-02-07 11:54:13 +0100123 u-boot,off-on-delay-us = <20000>;
124};
125
126&pinctrl_uart3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700127 bootph-pre-ram;
Marcel Ziswiler36a439d2022-02-07 11:54:13 +0100128};
129
Marcel Ziswilerf8621462022-07-21 15:46:44 +0200130&pinctrl_usdhc2_cd {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700131 bootph-pre-ram;
Marcel Ziswiler36a439d2022-02-07 11:54:13 +0100132};
133
134&pinctrl_usdhc2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700135 bootph-pre-ram;
Marcel Ziswiler36a439d2022-02-07 11:54:13 +0100136};
137
138&pinctrl_usdhc3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700139 bootph-pre-ram;
Marcel Ziswiler36a439d2022-02-07 11:54:13 +0100140};
141
142&pinctrl_wdog {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700143 bootph-pre-ram;
Marcel Ziswiler36a439d2022-02-07 11:54:13 +0100144};
145
Marcel Ziswiler36a439d2022-02-07 11:54:13 +0100146&reg_usdhc2_vmmc {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700147 bootph-pre-ram;
Marcel Ziswiler36a439d2022-02-07 11:54:13 +0100148};
149
Andrejs Cainikovs654d41c2022-10-04 13:06:30 +0200150&sec_jr0 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700151 bootph-pre-ram;
Andrejs Cainikovs654d41c2022-10-04 13:06:30 +0200152};
153
154&sec_jr1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700155 bootph-pre-ram;
Andrejs Cainikovs654d41c2022-10-04 13:06:30 +0200156};
157
158&sec_jr2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700159 bootph-pre-ram;
Andrejs Cainikovs654d41c2022-10-04 13:06:30 +0200160};
161
Marcel Ziswiler36a439d2022-02-07 11:54:13 +0100162&uart3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700163 bootph-pre-ram;
Marcel Ziswiler36a439d2022-02-07 11:54:13 +0100164};
165
Marcel Ziswilerf8621462022-07-21 15:46:44 +0200166&usdhc1 {
167 status = "disabled";
168};
169
Marcel Ziswiler36a439d2022-02-07 11:54:13 +0100170&usdhc2 {
171 assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_400M>;
172 assigned-clock-rates = <400000000>;
173 assigned-clocks = <&clk IMX8MP_CLK_USDHC2>;
174 sd-uhs-ddr50;
175 sd-uhs-sdr104;
Simon Glassd3a98cb2023-02-13 08:56:33 -0700176 bootph-pre-ram;
Marcel Ziswiler36a439d2022-02-07 11:54:13 +0100177};
178
179&usdhc3 {
180 assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_400M>;
181 assigned-clock-rates = <400000000>;
182 assigned-clocks = <&clk IMX8MP_CLK_USDHC3>;
183 mmc-hs400-1_8v;
184 mmc-hs400-enhanced-strobe;
Simon Glassd3a98cb2023-02-13 08:56:33 -0700185 bootph-pre-ram;
Marcel Ziswiler36a439d2022-02-07 11:54:13 +0100186};
187
188&wdog1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700189 bootph-pre-ram;
Marcel Ziswiler36a439d2022-02-07 11:54:13 +0100190};