blob: 2b268f55cb9566c702027bb8dbc3a7aad3432544 [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/ {
9 firmware {
10 optee {
11 compatible = "linaro,optee-tz";
12 method = "smc";
13 };
14 };
15
16 wdt-reboot {
17 compatible = "wdt-reboot";
Simon Glassd3a98cb2023-02-13 08:56:33 -070018 bootph-pre-ram;
Marcel Ziswiler2712c782022-07-21 15:41:23 +020019 wdt = <&wdog1>;
20 };
21};
22
23&{/aliases} {
24 eeprom0 = &eeprom_module;
25 eeprom1 = &eeprom_carrier_board;
26 eeprom2 = &eeprom_display_adapter;
27};
28
29&{/soc@0/bus@30800000/i2c@30a20000/pmic@25} {
Simon Glassd3a98cb2023-02-13 08:56:33 -070030 bootph-pre-ram;
Marcel Ziswiler2712c782022-07-21 15:41:23 +020031};
32
33&{/soc@0/bus@30800000/i2c@30a20000/pmic@25/regulators} {
Simon Glassd3a98cb2023-02-13 08:56:33 -070034 bootph-pre-ram;
Marcel Ziswiler2712c782022-07-21 15:41:23 +020035};
36
37&binman_uboot {
38 offset = <0x5fc00>;
39};
40
41&gpio1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070042 bootph-pre-ram;
Marcel Ziswiler2712c782022-07-21 15:41:23 +020043};
44
45&gpio2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070046 bootph-pre-ram;
Marcel Ziswiler2712c782022-07-21 15:41:23 +020047};
48
49&gpio3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070050 bootph-pre-ram;
Marcel Ziswiler2712c782022-07-21 15:41:23 +020051};
52
53&gpio4 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070054 bootph-pre-ram;
Marcel Ziswiler2712c782022-07-21 15:41:23 +020055};
56
57&gpio5 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070058 bootph-pre-ram;
Andrejs Cainikovs5ab25a12023-07-11 11:09:16 +020059
60 ctrl-sleep-moci-hog {
61 bootph-pre-ram;
62 };
Marcel Ziswiler2712c782022-07-21 15:41:23 +020063};
64
65&i2c1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070066 bootph-pre-ram;
Marcel Ziswiler2712c782022-07-21 15:41:23 +020067
68 eeprom_module: eeprom@50 {
69 compatible = "i2c-eeprom";
70 pagesize = <16>;
71 reg = <0x50>;
72 };
73};
74
75&i2c2 {
76 status = "okay";
77};
78
79&i2c4 {
80 /* EEPROM on display adapter (MIPI DSI Display Adapter) */
81 eeprom_display_adapter: eeprom@50 {
82 compatible = "i2c-eeprom";
83 pagesize = <16>;
84 reg = <0x50>;
85 };
86
87 /* EEPROM on carrier board */
88 eeprom_carrier_board: eeprom@57 {
89 compatible = "i2c-eeprom";
90 pagesize = <16>;
91 reg = <0x57>;
92 };
93};
94
Andrejs Cainikovs5ab25a12023-07-11 11:09:16 +020095&pinctrl_ctrl_sleep_moci {
96 bootph-pre-ram;
97};
98
Marcel Ziswiler2712c782022-07-21 15:41:23 +020099&pinctrl_i2c1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700100 bootph-pre-ram;
Marcel Ziswiler2712c782022-07-21 15:41:23 +0200101};
102
103&pinctrl_pmic {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700104 bootph-pre-ram;
Marcel Ziswiler2712c782022-07-21 15:41:23 +0200105};
106
107&pinctrl_uart1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700108 bootph-pre-ram;
Marcel Ziswiler2712c782022-07-21 15:41:23 +0200109};
110
111&pinctrl_usdhc1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700112 bootph-pre-ram;
Marcel Ziswiler2712c782022-07-21 15:41:23 +0200113};
114
115&pinctrl_usdhc2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700116 bootph-pre-ram;
Marcel Ziswiler2712c782022-07-21 15:41:23 +0200117};
118
119&pinctrl_wdog {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700120 bootph-pre-ram;
Marcel Ziswiler2712c782022-07-21 15:41:23 +0200121};
122
123&uart1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700124 bootph-pre-ram;
Marcel Ziswiler2712c782022-07-21 15:41:23 +0200125};
126
127&usdhc1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700128 bootph-pre-ram;
Marcel Ziswiler2712c782022-07-21 15:41:23 +0200129};
130
131&usdhc2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700132 bootph-pre-ram;
Marcel Ziswiler2712c782022-07-21 15:41:23 +0200133};
134
135&usdhc3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700136 bootph-pre-ram;
Marcel Ziswiler2712c782022-07-21 15:41:23 +0200137};
138
139&wdog1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700140 bootph-pre-ram;
Marcel Ziswiler2712c782022-07-21 15:41:23 +0200141};