blob: 271d511518e4f91b7b7911255700c220565096f3 [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&eqos {
Marcel Ziswiler36a439d2022-02-07 11:54:13 +010043 /delete-property/ assigned-clocks;
44 /delete-property/ assigned-clock-parents;
45 /delete-property/ assigned-clock-rates;
46};
47
48&gpio1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070049 bootph-pre-ram;
Marcel Ziswiler36a439d2022-02-07 11:54:13 +010050};
51
52&gpio2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070053 bootph-pre-ram;
Marcel Ziswilerf8621462022-07-21 15:46:44 +020054
55 regulator-ethphy {
56 gpio-hog;
57 gpios = <20 GPIO_ACTIVE_HIGH>;
58 line-name = "reg_ethphy";
59 output-high;
60 pinctrl-names = "default";
61 pinctrl-0 = <&pinctrl_reg_eth>;
62 };
Marcel Ziswiler36a439d2022-02-07 11:54:13 +010063};
64
65&gpio3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070066 bootph-pre-ram;
Marcel Ziswiler36a439d2022-02-07 11:54:13 +010067};
68
69&gpio4 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070070 bootph-pre-ram;
Marcel Ziswiler36a439d2022-02-07 11:54:13 +010071};
72
73&gpio5 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070074 bootph-pre-ram;
Marcel Ziswiler36a439d2022-02-07 11:54:13 +010075};
76
77&i2c1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070078 bootph-pre-ram;
Marcel Ziswilerf8621462022-07-21 15:46:44 +020079
80 eeprom_module: eeprom@50 {
81 compatible = "i2c-eeprom";
82 pagesize = <16>;
83 reg = <0x50>;
84 };
Marcel Ziswiler36a439d2022-02-07 11:54:13 +010085};
86
87&i2c2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070088 bootph-pre-ram;
Marcel Ziswiler36a439d2022-02-07 11:54:13 +010089};
90
91&i2c3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070092 bootph-pre-ram;
Marcel Ziswiler36a439d2022-02-07 11:54:13 +010093};
94
Marcel Ziswilerf8621462022-07-21 15:46:44 +020095&i2c4 {
96 /* EEPROM on display adapter (MIPI DSI Display Adapter) */
97 eeprom_display_adapter: eeprom@50 {
98 compatible = "i2c-eeprom";
99 pagesize = <16>;
100 reg = <0x50>;
101 };
102
103 /* EEPROM on carrier board */
104 eeprom_carrier_board: eeprom@57 {
105 compatible = "i2c-eeprom";
106 pagesize = <16>;
107 reg = <0x57>;
108 };
109};
110
111&pca9450 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700112 bootph-pre-ram;
Marcel Ziswilerf8621462022-07-21 15:46:44 +0200113};
114
Marcel Ziswiler36a439d2022-02-07 11:54:13 +0100115&pinctrl_i2c1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700116 bootph-pre-ram;
Marcel Ziswiler36a439d2022-02-07 11:54:13 +0100117};
118
Marcel Ziswilerf8621462022-07-21 15:46:44 +0200119&pinctrl_usdhc2_pwr_en {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700120 bootph-pre-ram;
Marcel Ziswiler36a439d2022-02-07 11:54:13 +0100121 u-boot,off-on-delay-us = <20000>;
122};
123
124&pinctrl_uart3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700125 bootph-pre-ram;
Marcel Ziswiler36a439d2022-02-07 11:54:13 +0100126};
127
Marcel Ziswilerf8621462022-07-21 15:46:44 +0200128&pinctrl_usdhc2_cd {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700129 bootph-pre-ram;
Marcel Ziswiler36a439d2022-02-07 11:54:13 +0100130};
131
132&pinctrl_usdhc2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700133 bootph-pre-ram;
Marcel Ziswiler36a439d2022-02-07 11:54:13 +0100134};
135
136&pinctrl_usdhc3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700137 bootph-pre-ram;
Marcel Ziswiler36a439d2022-02-07 11:54:13 +0100138};
139
140&pinctrl_wdog {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700141 bootph-pre-ram;
Marcel Ziswiler36a439d2022-02-07 11:54:13 +0100142};
143
Marcel Ziswiler36a439d2022-02-07 11:54:13 +0100144&reg_usdhc2_vmmc {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700145 bootph-pre-ram;
Marcel Ziswiler36a439d2022-02-07 11:54:13 +0100146};
147
Andrejs Cainikovs654d41c2022-10-04 13:06:30 +0200148&sec_jr0 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700149 bootph-pre-ram;
Andrejs Cainikovs654d41c2022-10-04 13:06:30 +0200150};
151
152&sec_jr1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700153 bootph-pre-ram;
Andrejs Cainikovs654d41c2022-10-04 13:06:30 +0200154};
155
156&sec_jr2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700157 bootph-pre-ram;
Andrejs Cainikovs654d41c2022-10-04 13:06:30 +0200158};
159
Marcel Ziswiler36a439d2022-02-07 11:54:13 +0100160&uart3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700161 bootph-pre-ram;
Marcel Ziswiler36a439d2022-02-07 11:54:13 +0100162};
163
Marcel Ziswilerf8621462022-07-21 15:46:44 +0200164&usdhc1 {
165 status = "disabled";
166};
167
Marcel Ziswiler36a439d2022-02-07 11:54:13 +0100168&usdhc2 {
169 assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_400M>;
170 assigned-clock-rates = <400000000>;
171 assigned-clocks = <&clk IMX8MP_CLK_USDHC2>;
172 sd-uhs-ddr50;
173 sd-uhs-sdr104;
Simon Glassd3a98cb2023-02-13 08:56:33 -0700174 bootph-pre-ram;
Marcel Ziswiler36a439d2022-02-07 11:54:13 +0100175};
176
177&usdhc3 {
178 assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_400M>;
179 assigned-clock-rates = <400000000>;
180 assigned-clocks = <&clk IMX8MP_CLK_USDHC3>;
181 mmc-hs400-1_8v;
182 mmc-hs400-enhanced-strobe;
Simon Glassd3a98cb2023-02-13 08:56:33 -0700183 bootph-pre-ram;
Marcel Ziswiler36a439d2022-02-07 11:54:13 +0100184};
185
186&wdog1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700187 bootph-pre-ram;
Marcel Ziswiler36a439d2022-02-07 11:54:13 +0100188};