blob: c4327d318736972f1952ccd70dc851cefb2713dc [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/ {
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +02009 wdt-reboot {
10 compatible = "wdt-reboot";
Simon Glassd3a98cb2023-02-13 08:56:33 -070011 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020012 wdt = <&wdog1>;
13 };
Fabio Estevamc1e26342021-08-23 21:11:09 -030014};
15
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020016&{/soc@0/bus@30800000/i2c@30a30000/pmic@4b} {
Simon Glassd3a98cb2023-02-13 08:56:33 -070017 bootph-pre-ram;
Fabio Estevamc1e26342021-08-23 21:11:09 -030018};
19
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020020&{/soc@0/bus@30800000/i2c@30a30000/pmic@4b/regulators} {
Simon Glassd3a98cb2023-02-13 08:56:33 -070021 bootph-pre-ram;
Fabio Estevamc1e26342021-08-23 21:11:09 -030022};
23
Marcel Ziswilerd56d1172021-10-23 01:15:13 +020024&binman_fip {
25 arch = "arm64";
26 compression = "none";
27 description = "Trusted Firmware FIP";
28 load = <0x40310000>;
29 type = "firmware";
Fabio Estevamc1e26342021-08-23 21:11:09 -030030
Marcel Ziswilerd56d1172021-10-23 01:15:13 +020031 fip_blob {
32 filename = "fip.bin";
33 type = "blob-ext";
Fabio Estevamc1e26342021-08-23 21:11:09 -030034 };
Marcel Ziswilerd56d1172021-10-23 01:15:13 +020035};
Fabio Estevamc1e26342021-08-23 21:11:09 -030036
Simon Glassceea7842023-08-23 19:18:01 -060037/* This cannot work since it refers to a template node
Marcel Ziswilerd56d1172021-10-23 01:15:13 +020038&binman_configuration {
39 loadables = "atf", "fip";
Fabio Estevamc1e26342021-08-23 21:11:09 -030040};
Simon Glassceea7842023-08-23 19:18:01 -060041*/
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020042
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020043&fec1 {
44 phy-reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
45};
46
47&gpio1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070048 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020049};
50
51&gpio2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070052 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020053};
54
55&gpio3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070056 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020057};
58
59&gpio4 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070060 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020061};
62
63&gpio5 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070064 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020065};
66
67&i2c1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070068 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020069};
70
71&i2c2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070072 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020073};
74
75&pinctrl_i2c2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070076 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020077};
78
79&pinctrl_pmic {
Simon Glassd3a98cb2023-02-13 08:56:33 -070080 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020081};
82
83&pinctrl_uart3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070084 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020085};
86
87&pinctrl_usdhc2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070088 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020089};
90
91&pinctrl_usdhc2_gpio {
Simon Glassd3a98cb2023-02-13 08:56:33 -070092 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020093};
94
95&pinctrl_usdhc3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070096 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020097};
98
99&uart3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700100 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +0200101};
102
103&usdhc1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700104 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +0200105};
106
107&usdhc2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700108 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +0200109};
110
111&usdhc3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700112 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +0200113};
114
115&wdog1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700116 bootph-pre-ram;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +0200117};