blob: fb6951026d960aefd45b97318ddc074a76361f93 [file] [log] [blame]
Marek Vasut0b16ba52022-04-12 17:26:01 +02001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright 2022 Marek Vasut <marex@denx.de>
4 */
5
6#include "imx8mm-u-boot.dtsi"
7
8/ {
9 aliases {
10 eeprom0 = &eeprom;
11 mmc0 = &usdhc3; /* eMMC */
12 mmc1 = &usdhc2; /* MicroSD */
13 };
14
15 config {
16 dmo,ram-coding-gpios = <&gpio2 8 0>, <&gpio2 1 0>, <&gpio2 0 0>;
17 };
18
19 wdt-reboot {
20 compatible = "wdt-reboot";
21 wdt = <&wdog1>;
Simon Glassd3a98cb2023-02-13 08:56:33 -070022 bootph-pre-ram;
Marek Vasut0b16ba52022-04-12 17:26:01 +020023 };
24};
25
26&buck4_reg {
Simon Glassd3a98cb2023-02-13 08:56:33 -070027 bootph-pre-ram;
Marek Vasut0b16ba52022-04-12 17:26:01 +020028};
29
30&buck5_reg {
Simon Glassd3a98cb2023-02-13 08:56:33 -070031 bootph-pre-ram;
Marek Vasut0b16ba52022-04-12 17:26:01 +020032};
33
34&i2c1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070035 bootph-pre-ram;
Marek Vasut0b16ba52022-04-12 17:26:01 +020036};
37
38&pinctrl_hog_sbc {
Simon Glassd3a98cb2023-02-13 08:56:33 -070039 bootph-pre-ram;
Marek Vasut0b16ba52022-04-12 17:26:01 +020040};
41
42&pinctrl_i2c1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070043 bootph-pre-ram;
Marek Vasut0b16ba52022-04-12 17:26:01 +020044};
45
46&pinctrl_i2c1_gpio {
Simon Glassd3a98cb2023-02-13 08:56:33 -070047 bootph-pre-ram;
Marek Vasut0b16ba52022-04-12 17:26:01 +020048};
49
50&pinctrl_pmic {
Simon Glassd3a98cb2023-02-13 08:56:33 -070051 bootph-pre-ram;
Marek Vasut0b16ba52022-04-12 17:26:01 +020052};
53
54&pinctrl_uart3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070055 bootph-pre-ram;
Marek Vasut0b16ba52022-04-12 17:26:01 +020056};
57
58&pinctrl_usdhc2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070059 bootph-pre-ram;
Marek Vasut0b16ba52022-04-12 17:26:01 +020060};
61
62&pinctrl_usdhc3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070063 bootph-pre-ram;
Marek Vasut0b16ba52022-04-12 17:26:01 +020064};
65
66&pmic {
Simon Glassd3a98cb2023-02-13 08:56:33 -070067 bootph-pre-ram;
Marek Vasut0b16ba52022-04-12 17:26:01 +020068
69 regulators {
Simon Glassd3a98cb2023-02-13 08:56:33 -070070 bootph-pre-ram;
Marek Vasut0b16ba52022-04-12 17:26:01 +020071 };
72};
73
74&gpio1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070075 bootph-pre-ram;
Marek Vasut0b16ba52022-04-12 17:26:01 +020076};
77
78&gpio2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070079 bootph-pre-ram;
Marek Vasutd6e46182024-11-29 01:13:53 +010080 bootph-some-ram;
Marek Vasut602accd2023-12-18 19:02:14 +010081
82 dsi-reset-hog {
83 bootph-pre-ram;
84 gpio-hog;
85 output-high;
86 gpios = <2 GPIO_ACTIVE_LOW>;
87 line-name = "DSI_RESET_1V8#";
88 };
89
90
91 dsi-irq-hog {
92 bootph-pre-ram;
93 gpio-hog;
94 input;
95 gpios = <3 GPIO_ACTIVE_LOW>;
96 line-name = "DSI_IRQ_1V8#";
97 };
98
99 graphics-prsnt-hog {
100 bootph-pre-ram;
101 gpio-hog;
102 input;
103 gpios = <7 GPIO_ACTIVE_LOW>;
104 line-name = "GRAPHICS_PRSNT_1V8#";
105 };
Marek Vasut0b16ba52022-04-12 17:26:01 +0200106};
107
108&gpio3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700109 bootph-pre-ram;
Marek Vasut602accd2023-12-18 19:02:14 +0100110
111 bl-enable-hog {
112 bootph-pre-ram;
113 gpio-hog;
114 output-low;
115 gpios = <0 GPIO_ACTIVE_HIGH>;
116 line-name = "BL_ENABLE_1V8";
117 };
118
119 tft-enable-hog {
120 bootph-pre-ram;
121 gpio-hog;
122 output-low;
123 gpios = <6 GPIO_ACTIVE_HIGH>;
124 line-name = "TFT_ENABLE_1V8";
125 };
126
127 graphics-gpio0-hog {
128 bootph-pre-ram;
129 gpio-hog;
130 input;
131 gpios = <7 GPIO_ACTIVE_HIGH>;
132 line-name = "GRAPHICS_GPIO0_1V8";
133 };
Marek Vasut0b16ba52022-04-12 17:26:01 +0200134};
135
136&gpio4 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700137 bootph-pre-ram;
Marek Vasut0b16ba52022-04-12 17:26:01 +0200138};
139
140&gpio5 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700141 bootph-pre-ram;
Marek Vasut0b16ba52022-04-12 17:26:01 +0200142};
143
144&uart3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700145 bootph-pre-ram;
Marek Vasut0b16ba52022-04-12 17:26:01 +0200146};
147
148&usbotg1 {
149 dr_mode = "peripheral";
150};
151
152&usdhc2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700153 bootph-pre-ram;
Marek Vasut0b16ba52022-04-12 17:26:01 +0200154 sd-uhs-sdr104;
155 sd-uhs-ddr50;
156};
157
158&usdhc3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700159 bootph-pre-ram;
Marek Vasut0b16ba52022-04-12 17:26:01 +0200160 mmc-hs400-1_8v;
161 mmc-hs400-enhanced-strobe;
162};
163
164&wdog1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700165 bootph-pre-ram;
Marek Vasut0b16ba52022-04-12 17:26:01 +0200166};