blob: 484e31824b8573036a7c3b46c38821d1017c5fbf [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
Marcel Ziswilerd56d1172021-10-23 01:15:13 +020044&binman_configuration {
45 loadables = "atf", "fip";
Fabio Estevamc1e26342021-08-23 21:11:09 -030046};
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020047
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020048&fec1 {
49 phy-reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
50};
51
52&gpio1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070053 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020054};
55
56&gpio2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070057 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020058};
59
60&gpio3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070061 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020062};
63
64&gpio4 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070065 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020066};
67
68&gpio5 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070069 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020070};
71
72&i2c1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070073 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020074};
75
76&i2c2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070077 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020078};
79
80&pinctrl_i2c2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070081 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020082};
83
84&pinctrl_pmic {
Simon Glassd3a98cb2023-02-13 08:56:33 -070085 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020086};
87
88&pinctrl_uart3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070089 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020090};
91
92&pinctrl_usdhc2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070093 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020094};
95
96&pinctrl_usdhc2_gpio {
Simon Glassd3a98cb2023-02-13 08:56:33 -070097 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020098};
99
100&pinctrl_usdhc3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700101 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +0200102};
103
104&uart3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700105 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +0200106};
107
108&usdhc1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700109 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +0200110};
111
112&usdhc2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700113 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +0200114};
115
116&usdhc3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700117 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +0200118};
119
120&wdog1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700121 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +0200122};