blob: c9e0b4420500f94633b811bc15801152951d25fb [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 };
Fabio Estevam2ef69ef2023-01-10 17:18:08 -030014};
15
16&aips4 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070017 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -030018};
19
20&reg_usdhc2_vmmc {
21 u-boot,off-on-delay-us = <20000>;
22};
23
24&pinctrl_reg_usdhc2_vmmc {
Simon Glassd3a98cb2023-02-13 08:56:33 -070025 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -030026};
27
28&pinctrl_uart2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070029 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -030030};
31
32&pinctrl_usdhc2_gpio {
Simon Glassd3a98cb2023-02-13 08:56:33 -070033 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -030034};
35
36&pinctrl_usdhc2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070037 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -030038};
39
40&pinctrl_usdhc3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070041 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -030042};
43
44&gpio1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070045 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -030046};
47
48&gpio2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070049 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -030050};
51
52&gpio3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070053 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -030054};
55
56&gpio4 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070057 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -030058};
59
60&gpio5 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070061 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -030062};
63
64&uart2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070065 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -030066};
67
68&usbmisc1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070069 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -030070};
71
72&usbphynop1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070073 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -030074};
75
76&usbotg1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070077 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -030078};
79
80&usdhc1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070081 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -030082};
83
84&usdhc2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070085 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -030086 sd-uhs-sdr104;
87 sd-uhs-ddr50;
88 assigned-clocks = <&clk IMX8MM_CLK_USDHC2>;
89 assigned-clock-rates = <400000000>;
90 assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_400M>;
91};
92
93&usdhc3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070094 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -030095 mmc-hs400-1_8v;
96 mmc-hs400-enhanced-strobe;
97 /*
98 * prevents voltage switch warn: driver will switch even at
99 * fixed voltage
100 */
101 /delete-property/ vmmc-supply;
102 /delete-property/ vqmmc-supply;
103 assigned-clocks = <&clk IMX8MM_CLK_USDHC3>;
104 assigned-clock-rates = <400000000>;
105 assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_400M>;
106};
107
108&i2c1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700109 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -0300110};
111
112&{/soc@0/bus@30800000/i2c@30a20000/pmic@25} {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700113 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -0300114};
115
116&{/soc@0/bus@30800000/i2c@30a20000/pmic@25/regulators} {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700117 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -0300118};
119
120&pinctrl_i2c1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700121 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -0300122};
123
124&pinctrl_pmic {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700125 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -0300126};
127
128&wdog1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700129 bootph-pre-ram;
Fabio Estevam2ef69ef2023-01-10 17:18:08 -0300130};