blob: 3ced97cfaafa5681f5606262d326056fba0c0387 [file] [log] [blame]
Fabio Estevam2ef69ef2023-01-10 17:18:08 -03001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright 2019 NXP
4 */
5
6#include "imx8mm-u-boot.dtsi"
7
8/ {
9 wdt-reboot {
10 compatible = "wdt-reboot";
11 wdt = <&wdog1>;
Simon Glassd3a98cb2023-02-13 08:56:33 -070012 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -030013 };
14
15 firmware {
16 optee {
17 compatible = "linaro,optee-tz";
18 method = "smc";
19 };
20 };
21};
22
23&aips4 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070024 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -030025};
26
27&reg_usdhc2_vmmc {
28 u-boot,off-on-delay-us = <20000>;
29};
30
31&pinctrl_reg_usdhc2_vmmc {
Simon Glassd3a98cb2023-02-13 08:56:33 -070032 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -030033};
34
35&pinctrl_uart2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070036 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -030037};
38
39&pinctrl_usdhc2_gpio {
Simon Glassd3a98cb2023-02-13 08:56:33 -070040 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -030041};
42
43&pinctrl_usdhc2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070044 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -030045};
46
47&pinctrl_usdhc3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070048 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -030049};
50
51&gpio1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070052 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -030053};
54
55&gpio2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070056 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -030057};
58
59&gpio3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070060 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -030061};
62
63&gpio4 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070064 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -030065};
66
67&gpio5 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070068 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -030069};
70
71&uart2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070072 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -030073};
74
75&usbmisc1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070076 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -030077};
78
79&usbphynop1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070080 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -030081};
82
83&usbotg1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070084 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -030085};
86
87&usdhc1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070088 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -030089};
90
91&usdhc2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070092 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -030093 sd-uhs-sdr104;
94 sd-uhs-ddr50;
95 assigned-clocks = <&clk IMX8MM_CLK_USDHC2>;
96 assigned-clock-rates = <400000000>;
97 assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_400M>;
98};
99
100&usdhc3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700101 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -0300102 mmc-hs400-1_8v;
103 mmc-hs400-enhanced-strobe;
104 /*
105 * prevents voltage switch warn: driver will switch even at
106 * fixed voltage
107 */
108 /delete-property/ vmmc-supply;
109 /delete-property/ vqmmc-supply;
110 assigned-clocks = <&clk IMX8MM_CLK_USDHC3>;
111 assigned-clock-rates = <400000000>;
112 assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_400M>;
113};
114
115&i2c1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700116 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -0300117};
118
119&{/soc@0/bus@30800000/i2c@30a20000/pmic@25} {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700120 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -0300121};
122
123&{/soc@0/bus@30800000/i2c@30a20000/pmic@25/regulators} {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700124 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -0300125};
126
127&pinctrl_i2c1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700128 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -0300129};
130
131&pinctrl_pmic {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700132 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -0300133};
134
135&wdog1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700136 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -0300137};