blob: d93e1cbd8a7153b1f8c16949268ccda90f275ab8 [file] [log] [blame]
Fabio Estevamc1e26342021-08-23 21:11:09 -03001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright 2019 NXP
4 */
5
Marcel Ziswiler9888e122021-10-23 01:15:12 +02006#include "imx8mm-u-boot.dtsi"
7
Fabio Estevamc1e26342021-08-23 21:11:09 -03008/ {
Fabio Estevamc1e26342021-08-23 21:11:09 -03009 firmware {
10 optee {
11 compatible = "linaro,optee-tz";
12 method = "smc";
13 };
14 };
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020015
16 wdt-reboot {
17 compatible = "wdt-reboot";
Simon Glassd3a98cb2023-02-13 08:56:33 -070018 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020019 wdt = <&wdog1>;
20 };
Fabio Estevamc1e26342021-08-23 21:11:09 -030021};
22
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020023&{/soc@0/bus@30800000/i2c@30a30000/pmic@4b} {
Simon Glassd3a98cb2023-02-13 08:56:33 -070024 bootph-pre-ram;
Fabio Estevamc1e26342021-08-23 21:11:09 -030025};
26
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020027&{/soc@0/bus@30800000/i2c@30a30000/pmic@4b/regulators} {
Simon Glassd3a98cb2023-02-13 08:56:33 -070028 bootph-pre-ram;
Fabio Estevamc1e26342021-08-23 21:11:09 -030029};
30
Marcel Ziswilerd56d1172021-10-23 01:15:13 +020031&binman_fip {
32 arch = "arm64";
33 compression = "none";
34 description = "Trusted Firmware FIP";
35 load = <0x40310000>;
36 type = "firmware";
Fabio Estevamc1e26342021-08-23 21:11:09 -030037
Marcel Ziswilerd56d1172021-10-23 01:15:13 +020038 fip_blob {
39 filename = "fip.bin";
40 type = "blob-ext";
Fabio Estevamc1e26342021-08-23 21:11:09 -030041 };
Marcel Ziswilerd56d1172021-10-23 01:15:13 +020042};
Fabio Estevamc1e26342021-08-23 21:11:09 -030043
Simon Glassceea7842023-08-23 19:18:01 -060044/* This cannot work since it refers to a template node
Marcel Ziswilerd56d1172021-10-23 01:15:13 +020045&binman_configuration {
46 loadables = "atf", "fip";
Fabio Estevamc1e26342021-08-23 21:11:09 -030047};
Simon Glassceea7842023-08-23 19:18:01 -060048*/
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020049
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020050&fec1 {
51 phy-reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
52};
53
54&gpio1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070055 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020056};
57
58&gpio2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070059 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020060};
61
62&gpio3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070063 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020064};
65
66&gpio4 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070067 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020068};
69
70&gpio5 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070071 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020072};
73
74&i2c1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070075 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020076};
77
78&i2c2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070079 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020080};
81
82&pinctrl_i2c2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070083 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020084};
85
86&pinctrl_pmic {
Simon Glassd3a98cb2023-02-13 08:56:33 -070087 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020088};
89
90&pinctrl_uart3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070091 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020092};
93
94&pinctrl_usdhc2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070095 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020096};
97
98&pinctrl_usdhc2_gpio {
Simon Glassd3a98cb2023-02-13 08:56:33 -070099 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +0200100};
101
102&pinctrl_usdhc3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700103 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +0200104};
105
106&uart3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700107 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +0200108};
109
110&usdhc1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700111 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +0200112};
113
114&usdhc2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700115 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +0200116};
117
118&usdhc3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700119 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +0200120};
121
122&wdog1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700123 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +0200124};