blob: 13688ec0d0f2620c186f607c2a1975acf671f539 [file] [log] [blame]
Peng Fanf9220172019-08-27 06:26:08 +00001// SPDX-License-Identifier: GPL-2.0+
2/*
Gaurav Jainbce9acf2022-03-24 11:50:26 +05303 * Copyright 2019, 2021 NXP
Peng Fanf9220172019-08-27 06:26:08 +00004 */
5
Jagan Teki73d51182021-04-26 18:23:46 +05306#include "imx8mm-u-boot.dtsi"
7
Marek Vasut4512d502020-04-29 15:04:24 +02008/ {
9 wdt-reboot {
10 compatible = "wdt-reboot";
11 wdt = <&wdog1>;
Simon Glassd3a98cb2023-02-13 08:56:33 -070012 bootph-pre-ram;
Marek Vasut4512d502020-04-29 15:04:24 +020013 };
Clement Faurea93b0d92021-03-25 17:30:33 +080014
15 firmware {
16 optee {
17 compatible = "linaro,optee-tz";
18 method = "smc";
19 };
20 };
Marek Vasut4512d502020-04-29 15:04:24 +020021};
22
Fabio Estevam3cb058d2022-09-19 21:20:14 -030023&aips4 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070024 bootph-pre-ram;
Fabio Estevam3cb058d2022-09-19 21:20:14 -030025};
26
Andrey Zhizhikincf51a552020-12-05 17:29:17 +000027&reg_usdhc2_vmmc {
28 u-boot,off-on-delay-us = <20000>;
29};
30
Peng Fanf9220172019-08-27 06:26:08 +000031&pinctrl_reg_usdhc2_vmmc {
Simon Glassd3a98cb2023-02-13 08:56:33 -070032 bootph-pre-ram;
Peng Fanf9220172019-08-27 06:26:08 +000033};
34
35&pinctrl_uart2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070036 bootph-pre-ram;
Peng Fanf9220172019-08-27 06:26:08 +000037};
38
39&pinctrl_usdhc2_gpio {
Simon Glassd3a98cb2023-02-13 08:56:33 -070040 bootph-pre-ram;
Peng Fanf9220172019-08-27 06:26:08 +000041};
42
43&pinctrl_usdhc2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070044 bootph-pre-ram;
Peng Fanf9220172019-08-27 06:26:08 +000045};
46
47&pinctrl_usdhc3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070048 bootph-pre-ram;
Peng Fanf9220172019-08-27 06:26:08 +000049};
50
51&gpio1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070052 bootph-pre-ram;
Peng Fanf9220172019-08-27 06:26:08 +000053};
54
55&gpio2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070056 bootph-pre-ram;
Peng Fanf9220172019-08-27 06:26:08 +000057};
58
59&gpio3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070060 bootph-pre-ram;
Peng Fanf9220172019-08-27 06:26:08 +000061};
62
63&gpio4 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070064 bootph-pre-ram;
Peng Fanf9220172019-08-27 06:26:08 +000065};
66
67&gpio5 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070068 bootph-pre-ram;
Peng Fanf9220172019-08-27 06:26:08 +000069};
70
71&uart2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070072 bootph-pre-ram;
Peng Fanf9220172019-08-27 06:26:08 +000073};
74
Gaurav Jainbce9acf2022-03-24 11:50:26 +053075&crypto {
Simon Glassd3a98cb2023-02-13 08:56:33 -070076 bootph-pre-ram;
Gaurav Jainbce9acf2022-03-24 11:50:26 +053077};
78
79&sec_jr0 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070080 bootph-pre-ram;
Gaurav Jainbce9acf2022-03-24 11:50:26 +053081};
82
83&sec_jr1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070084 bootph-pre-ram;
Gaurav Jainbce9acf2022-03-24 11:50:26 +053085};
86
87&sec_jr2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070088 bootph-pre-ram;
Gaurav Jainbce9acf2022-03-24 11:50:26 +053089};
90
Fabio Estevam3cb058d2022-09-19 21:20:14 -030091&usbmisc1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070092 bootph-pre-ram;
Fabio Estevam3cb058d2022-09-19 21:20:14 -030093};
94
95&usbphynop1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070096 bootph-pre-ram;
Fabio Estevam3cb058d2022-09-19 21:20:14 -030097};
98
99&usbotg1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700100 bootph-pre-ram;
Fabio Estevam3cb058d2022-09-19 21:20:14 -0300101};
102
Peng Fanf9220172019-08-27 06:26:08 +0000103&usdhc1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700104 bootph-pre-ram;
Peng Fanf9220172019-08-27 06:26:08 +0000105};
106
107&usdhc2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700108 bootph-pre-ram;
Andrey Zhizhikin9aa95982020-12-05 17:29:18 +0000109 sd-uhs-sdr104;
110 sd-uhs-ddr50;
Haibo Chen26154952021-03-22 18:55:38 +0800111 fsl,signal-voltage-switch-extra-delay-ms = <8>;
Peng Fanf9220172019-08-27 06:26:08 +0000112};
113
114&usdhc3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700115 bootph-pre-ram;
Andrey Zhizhikin9aa95982020-12-05 17:29:18 +0000116 mmc-hs400-1_8v;
117 mmc-hs400-enhanced-strobe;
Peng Fanf9220172019-08-27 06:26:08 +0000118};
Peng Fana9e04332019-10-16 10:24:42 +0000119
120&i2c1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700121 bootph-pre-ram;
Peng Fana9e04332019-10-16 10:24:42 +0000122};
123
Marcel Ziswilerca453f22022-07-21 15:27:40 +0200124&{/soc@0/bus@30800000/i2c@30a20000/pmic@4b} {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700125 bootph-pre-ram;
Peng Fana9e04332019-10-16 10:24:42 +0000126};
127
Marcel Ziswilerca453f22022-07-21 15:27:40 +0200128&{/soc@0/bus@30800000/i2c@30a20000/pmic@4b/regulators} {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700129 bootph-pre-ram;
Peng Fana9e04332019-10-16 10:24:42 +0000130};
131
132&pinctrl_i2c1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700133 bootph-pre-ram;
Peng Fana9e04332019-10-16 10:24:42 +0000134};
135
136&pinctrl_pmic {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700137 bootph-pre-ram;
Peng Fana9e04332019-10-16 10:24:42 +0000138};
Peng Fane5f2b222019-10-22 03:30:04 +0000139
Peng Fana279d682022-05-05 19:05:58 +0800140&pinctrl_wdog {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700141 bootph-pre-ram;
Peng Fana279d682022-05-05 19:05:58 +0800142};
143
Peng Fane5f2b222019-10-22 03:30:04 +0000144&fec1 {
145 phy-reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
146};
Marek Vasut4512d502020-04-29 15:04:24 +0200147
148&wdog1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700149 bootph-pre-ram;
Marek Vasut4512d502020-04-29 15:04:24 +0200150};