blob: 38db56059d69187cbc299999df3375ef2dd94326 [file] [log] [blame]
Marcel Ziswiler2712c782022-07-21 15:41:23 +02001// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2/*
3 * Copyright 2020-2022 Toradex
4 */
5
6#include "imx8mm-u-boot.dtsi"
7
8/ {
Emanuele Ghidoliff939c22024-02-23 10:11:40 +01009 aliases {
10 eeprom0 = &eeprom_module;
11 eeprom1 = &eeprom_carrier_board;
12 eeprom2 = &eeprom_display_adapter;
13 };
14
Emanuele Ghidoli26b5cba2024-02-23 10:11:41 +010015 sysinfo {
16 compatible = "toradex,sysinfo";
17 };
18
Marcel Ziswiler2712c782022-07-21 15:41:23 +020019 wdt-reboot {
20 compatible = "wdt-reboot";
Simon Glassd3a98cb2023-02-13 08:56:33 -070021 bootph-pre-ram;
Marcel Ziswiler2712c782022-07-21 15:41:23 +020022 wdt = <&wdog1>;
23 };
24};
25
Marcel Ziswiler2712c782022-07-21 15:41:23 +020026&{/soc@0/bus@30800000/i2c@30a20000/pmic@25} {
Simon Glassd3a98cb2023-02-13 08:56:33 -070027 bootph-pre-ram;
Marcel Ziswiler2712c782022-07-21 15:41:23 +020028};
29
30&{/soc@0/bus@30800000/i2c@30a20000/pmic@25/regulators} {
Simon Glassd3a98cb2023-02-13 08:56:33 -070031 bootph-pre-ram;
Marcel Ziswiler2712c782022-07-21 15:41:23 +020032};
33
Marcel Ziswiler8d322832023-08-23 00:17:25 +020034&aips4 {
35 bootph-pre-ram;
36};
37
Marcel Ziswiler2712c782022-07-21 15:41:23 +020038&binman_uboot {
39 offset = <0x5fc00>;
40};
41
42&gpio1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070043 bootph-pre-ram;
Marcel Ziswiler2712c782022-07-21 15:41:23 +020044};
45
46&gpio2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070047 bootph-pre-ram;
Marcel Ziswiler2712c782022-07-21 15:41:23 +020048};
49
50&gpio3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070051 bootph-pre-ram;
Marcel Ziswiler2712c782022-07-21 15:41:23 +020052};
53
54&gpio4 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070055 bootph-pre-ram;
Marcel Ziswiler2712c782022-07-21 15:41:23 +020056};
57
58&gpio5 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070059 bootph-pre-ram;
Andrejs Cainikovs5ab25a12023-07-11 11:09:16 +020060
61 ctrl-sleep-moci-hog {
62 bootph-pre-ram;
63 };
Marcel Ziswiler2712c782022-07-21 15:41:23 +020064};
65
66&i2c1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070067 bootph-pre-ram;
Marcel Ziswiler2712c782022-07-21 15:41:23 +020068
69 eeprom_module: eeprom@50 {
70 compatible = "i2c-eeprom";
71 pagesize = <16>;
72 reg = <0x50>;
73 };
74};
75
76&i2c2 {
77 status = "okay";
78};
79
80&i2c4 {
81 /* EEPROM on display adapter (MIPI DSI Display Adapter) */
82 eeprom_display_adapter: eeprom@50 {
83 compatible = "i2c-eeprom";
84 pagesize = <16>;
85 reg = <0x50>;
86 };
87
88 /* EEPROM on carrier board */
89 eeprom_carrier_board: eeprom@57 {
90 compatible = "i2c-eeprom";
91 pagesize = <16>;
92 reg = <0x57>;
93 };
94};
95
Andrejs Cainikovs5ab25a12023-07-11 11:09:16 +020096&pinctrl_ctrl_sleep_moci {
97 bootph-pre-ram;
98};
99
Marcel Ziswiler2712c782022-07-21 15:41:23 +0200100&pinctrl_i2c1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700101 bootph-pre-ram;
Marcel Ziswiler2712c782022-07-21 15:41:23 +0200102};
103
104&pinctrl_pmic {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700105 bootph-pre-ram;
Marcel Ziswiler2712c782022-07-21 15:41:23 +0200106};
107
108&pinctrl_uart1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700109 bootph-pre-ram;
Marcel Ziswiler2712c782022-07-21 15:41:23 +0200110};
111
112&pinctrl_usdhc1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700113 bootph-pre-ram;
Marcel Ziswiler2712c782022-07-21 15:41:23 +0200114};
115
116&pinctrl_usdhc2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700117 bootph-pre-ram;
Marcel Ziswiler2712c782022-07-21 15:41:23 +0200118};
119
120&pinctrl_wdog {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700121 bootph-pre-ram;
Marcel Ziswiler2712c782022-07-21 15:41:23 +0200122};
123
124&uart1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700125 bootph-pre-ram;
Marcel Ziswiler2712c782022-07-21 15:41:23 +0200126};
127
Marcel Ziswiler8d322832023-08-23 00:17:25 +0200128&usbmisc1 {
129 bootph-pre-ram;
130};
131
132/* Verdin USB_1 */
133&usbotg1 {
134 bootph-pre-ram;
135};
136
137&usbphynop1 {
138 bootph-pre-ram;
139};
140
Marcel Ziswiler2712c782022-07-21 15:41:23 +0200141&usdhc1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700142 bootph-pre-ram;
Marcel Ziswiler2712c782022-07-21 15:41:23 +0200143};
144
145&usdhc2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700146 bootph-pre-ram;
Marcel Ziswiler2712c782022-07-21 15:41:23 +0200147};
148
149&usdhc3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700150 bootph-pre-ram;
Marcel Ziswiler2712c782022-07-21 15:41:23 +0200151};
152
153&wdog1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700154 bootph-pre-ram;
Marcel Ziswiler2712c782022-07-21 15:41:23 +0200155};