blob: 5fd3b99118052165324fd78277c924458b424dc7 [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
38&eqos {
Marcel Ziswiler36a439d2022-02-07 11:54:13 +010039 /delete-property/ assigned-clocks;
40 /delete-property/ assigned-clock-parents;
41 /delete-property/ assigned-clock-rates;
42};
43
44&gpio1 {
45 u-boot,dm-spl;
46};
47
48&gpio2 {
49 u-boot,dm-spl;
Marcel Ziswilerf8621462022-07-21 15:46:44 +020050
51 regulator-ethphy {
52 gpio-hog;
53 gpios = <20 GPIO_ACTIVE_HIGH>;
54 line-name = "reg_ethphy";
55 output-high;
56 pinctrl-names = "default";
57 pinctrl-0 = <&pinctrl_reg_eth>;
58 };
Marcel Ziswiler36a439d2022-02-07 11:54:13 +010059};
60
61&gpio3 {
62 u-boot,dm-spl;
63};
64
65&gpio4 {
66 u-boot,dm-spl;
67};
68
69&gpio5 {
70 u-boot,dm-spl;
71};
72
73&i2c1 {
74 u-boot,dm-spl;
Marcel Ziswilerf8621462022-07-21 15:46:44 +020075
76 eeprom_module: eeprom@50 {
77 compatible = "i2c-eeprom";
78 pagesize = <16>;
79 reg = <0x50>;
80 };
Marcel Ziswiler36a439d2022-02-07 11:54:13 +010081};
82
83&i2c2 {
84 u-boot,dm-spl;
85};
86
87&i2c3 {
88 u-boot,dm-spl;
89};
90
Marcel Ziswilerf8621462022-07-21 15:46:44 +020091&i2c4 {
92 /* EEPROM on display adapter (MIPI DSI Display Adapter) */
93 eeprom_display_adapter: eeprom@50 {
94 compatible = "i2c-eeprom";
95 pagesize = <16>;
96 reg = <0x50>;
97 };
98
99 /* EEPROM on carrier board */
100 eeprom_carrier_board: eeprom@57 {
101 compatible = "i2c-eeprom";
102 pagesize = <16>;
103 reg = <0x57>;
104 };
105};
106
107&pca9450 {
108 u-boot,dm-spl;
109};
110
Marcel Ziswiler36a439d2022-02-07 11:54:13 +0100111&pinctrl_i2c1 {
112 u-boot,dm-spl;
113};
114
Marcel Ziswilerf8621462022-07-21 15:46:44 +0200115&pinctrl_usdhc2_pwr_en {
Marcel Ziswiler36a439d2022-02-07 11:54:13 +0100116 u-boot,dm-spl;
117 u-boot,off-on-delay-us = <20000>;
118};
119
120&pinctrl_uart3 {
121 u-boot,dm-spl;
122};
123
Marcel Ziswilerf8621462022-07-21 15:46:44 +0200124&pinctrl_usdhc2_cd {
Marcel Ziswiler36a439d2022-02-07 11:54:13 +0100125 u-boot,dm-spl;
126};
127
128&pinctrl_usdhc2 {
129 u-boot,dm-spl;
130};
131
132&pinctrl_usdhc3 {
133 u-boot,dm-spl;
134};
135
136&pinctrl_wdog {
137 u-boot,dm-spl;
138};
139
Marcel Ziswiler36a439d2022-02-07 11:54:13 +0100140&reg_usdhc2_vmmc {
141 u-boot,dm-spl;
142};
143
144&uart3 {
145 u-boot,dm-spl;
146};
147
Marcel Ziswilerf8621462022-07-21 15:46:44 +0200148&usdhc1 {
149 status = "disabled";
150};
151
Marcel Ziswiler36a439d2022-02-07 11:54:13 +0100152&usdhc2 {
153 assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_400M>;
154 assigned-clock-rates = <400000000>;
155 assigned-clocks = <&clk IMX8MP_CLK_USDHC2>;
156 sd-uhs-ddr50;
157 sd-uhs-sdr104;
158 u-boot,dm-spl;
159};
160
161&usdhc3 {
162 assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_400M>;
163 assigned-clock-rates = <400000000>;
164 assigned-clocks = <&clk IMX8MP_CLK_USDHC3>;
165 mmc-hs400-1_8v;
166 mmc-hs400-enhanced-strobe;
167 u-boot,dm-spl;
168};
169
170&wdog1 {
171 u-boot,dm-spl;
172};