blob: 494229e4e62a020f0b00a0bc7207fe9ac374f2cd [file] [log] [blame]
Marcel Ziswilera68bad02022-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 Glass8c103c32023-02-13 08:56:33 -070018 bootph-pre-ram;
Marcel Ziswilera68bad02022-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 Glass8c103c32023-02-13 08:56:33 -070030 bootph-pre-ram;
Marcel Ziswilera68bad02022-07-21 15:41:23 +020031};
32
33&{/soc@0/bus@30800000/i2c@30a20000/pmic@25/regulators} {
Simon Glass8c103c32023-02-13 08:56:33 -070034 bootph-pre-ram;
Marcel Ziswilera68bad02022-07-21 15:41:23 +020035};
36
37&binman_uboot {
38 offset = <0x5fc00>;
39};
40
41&gpio1 {
Simon Glass8c103c32023-02-13 08:56:33 -070042 bootph-pre-ram;
Marcel Ziswilera68bad02022-07-21 15:41:23 +020043};
44
45&gpio2 {
Simon Glass8c103c32023-02-13 08:56:33 -070046 bootph-pre-ram;
Marcel Ziswilera68bad02022-07-21 15:41:23 +020047};
48
49&gpio3 {
Simon Glass8c103c32023-02-13 08:56:33 -070050 bootph-pre-ram;
Marcel Ziswilera68bad02022-07-21 15:41:23 +020051};
52
53&gpio4 {
Simon Glass8c103c32023-02-13 08:56:33 -070054 bootph-pre-ram;
Marcel Ziswilera68bad02022-07-21 15:41:23 +020055};
56
57&gpio5 {
Simon Glass8c103c32023-02-13 08:56:33 -070058 bootph-pre-ram;
Marcel Ziswilera68bad02022-07-21 15:41:23 +020059};
60
61&i2c1 {
Simon Glass8c103c32023-02-13 08:56:33 -070062 bootph-pre-ram;
Marcel Ziswilera68bad02022-07-21 15:41:23 +020063
64 eeprom_module: eeprom@50 {
65 compatible = "i2c-eeprom";
66 pagesize = <16>;
67 reg = <0x50>;
68 };
69};
70
71&i2c2 {
72 status = "okay";
73};
74
75&i2c4 {
76 /* EEPROM on display adapter (MIPI DSI Display Adapter) */
77 eeprom_display_adapter: eeprom@50 {
78 compatible = "i2c-eeprom";
79 pagesize = <16>;
80 reg = <0x50>;
81 };
82
83 /* EEPROM on carrier board */
84 eeprom_carrier_board: eeprom@57 {
85 compatible = "i2c-eeprom";
86 pagesize = <16>;
87 reg = <0x57>;
88 };
89};
90
91&pinctrl_i2c1 {
Simon Glass8c103c32023-02-13 08:56:33 -070092 bootph-pre-ram;
Marcel Ziswilera68bad02022-07-21 15:41:23 +020093};
94
95&pinctrl_pmic {
Simon Glass8c103c32023-02-13 08:56:33 -070096 bootph-pre-ram;
Marcel Ziswilera68bad02022-07-21 15:41:23 +020097};
98
99&pinctrl_uart1 {
Simon Glass8c103c32023-02-13 08:56:33 -0700100 bootph-pre-ram;
Marcel Ziswilera68bad02022-07-21 15:41:23 +0200101};
102
103&pinctrl_usdhc1 {
Simon Glass8c103c32023-02-13 08:56:33 -0700104 bootph-pre-ram;
Marcel Ziswilera68bad02022-07-21 15:41:23 +0200105};
106
107&pinctrl_usdhc2 {
Simon Glass8c103c32023-02-13 08:56:33 -0700108 bootph-pre-ram;
Marcel Ziswilera68bad02022-07-21 15:41:23 +0200109};
110
111&pinctrl_wdog {
Simon Glass8c103c32023-02-13 08:56:33 -0700112 bootph-pre-ram;
Marcel Ziswilera68bad02022-07-21 15:41:23 +0200113};
114
115&uart1 {
Simon Glass8c103c32023-02-13 08:56:33 -0700116 bootph-pre-ram;
Marcel Ziswilera68bad02022-07-21 15:41:23 +0200117};
118
119&usdhc1 {
Simon Glass8c103c32023-02-13 08:56:33 -0700120 bootph-pre-ram;
Marcel Ziswilera68bad02022-07-21 15:41:23 +0200121};
122
123&usdhc2 {
Simon Glass8c103c32023-02-13 08:56:33 -0700124 bootph-pre-ram;
Marcel Ziswilera68bad02022-07-21 15:41:23 +0200125};
126
127&usdhc3 {
Simon Glass8c103c32023-02-13 08:56:33 -0700128 bootph-pre-ram;
Marcel Ziswilera68bad02022-07-21 15:41:23 +0200129};
130
131&wdog1 {
Simon Glass8c103c32023-02-13 08:56:33 -0700132 bootph-pre-ram;
Marcel Ziswilera68bad02022-07-21 15:41:23 +0200133};