blob: 8a4cdc717d23f5638e5f55c47157507af9fa7720 [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";
18 u-boot,dm-spl;
19 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 {
30 u-boot,dm-pre-reloc;
31 u-boot,dm-spl;
32 /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 {
39 u-boot,dm-spl;
40};
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 {
49 u-boot,dm-spl;
50};
51
52&gpio2 {
53 u-boot,dm-spl;
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 {
66 u-boot,dm-spl;
67};
68
69&gpio4 {
70 u-boot,dm-spl;
71};
72
73&gpio5 {
74 u-boot,dm-spl;
75};
76
77&i2c1 {
78 u-boot,dm-spl;
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 {
88 u-boot,dm-spl;
89};
90
91&i2c3 {
92 u-boot,dm-spl;
93};
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 {
112 u-boot,dm-spl;
113};
114
Marcel Ziswiler36a439d2022-02-07 11:54:13 +0100115&pinctrl_i2c1 {
116 u-boot,dm-spl;
117};
118
Marcel Ziswilerf8621462022-07-21 15:46:44 +0200119&pinctrl_usdhc2_pwr_en {
Marcel Ziswiler36a439d2022-02-07 11:54:13 +0100120 u-boot,dm-spl;
121 u-boot,off-on-delay-us = <20000>;
122};
123
124&pinctrl_uart3 {
125 u-boot,dm-spl;
126};
127
Marcel Ziswilerf8621462022-07-21 15:46:44 +0200128&pinctrl_usdhc2_cd {
Marcel Ziswiler36a439d2022-02-07 11:54:13 +0100129 u-boot,dm-spl;
130};
131
132&pinctrl_usdhc2 {
133 u-boot,dm-spl;
134};
135
136&pinctrl_usdhc3 {
137 u-boot,dm-spl;
138};
139
140&pinctrl_wdog {
141 u-boot,dm-spl;
142};
143
Marcel Ziswiler36a439d2022-02-07 11:54:13 +0100144&reg_usdhc2_vmmc {
145 u-boot,dm-spl;
146};
147
Andrejs Cainikovs654d41c2022-10-04 13:06:30 +0200148&sec_jr0 {
149 u-boot,dm-spl;
150};
151
152&sec_jr1 {
153 u-boot,dm-spl;
154};
155
156&sec_jr2 {
157 u-boot,dm-spl;
158};
159
Marcel Ziswiler36a439d2022-02-07 11:54:13 +0100160&uart3 {
161 u-boot,dm-spl;
162};
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;
174 u-boot,dm-spl;
175};
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;
183 u-boot,dm-spl;
184};
185
186&wdog1 {
187 u-boot,dm-spl;
188};