blob: ae542fdcffad96a21b3d6d0a592809846bd9c7ff [file] [log] [blame]
Frieder Schrempf3048ecd2022-08-24 15:59:19 +02001// SPDX-License-Identifier: GPL-2.0+ OR MIT
2/*
3 * Copyright (C) 2019 Kontron Electronics GmbH
4 */
5
6#include "imx8mm-u-boot.dtsi"
7
8/ {
9 aliases {
10 usb0 = &usbotg1;
11 usb1 = &usbotg2;
12 };
13
14 wdt-reboot {
15 compatible = "wdt-reboot";
16 wdt = <&wdog1>;
Simon Glassd3a98cb2023-02-13 08:56:33 -070017 bootph-pre-ram;
Frieder Schrempf3048ecd2022-08-24 15:59:19 +020018 };
Frieder Schrempf3048ecd2022-08-24 15:59:19 +020019};
20
Frieder Schrempf3048ecd2022-08-24 15:59:19 +020021&i2c1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070022 bootph-pre-ram;
23 bootph-all;
Frieder Schrempf3048ecd2022-08-24 15:59:19 +020024};
25
26&i2c2 {
27 status = "okay";
Frieder Schrempf26e05b32022-08-24 15:59:20 +020028 pinctrl-names = "default";
29 pinctrl-0 = <&pinctrl_i2c2>;
30};
31
32&iomuxc {
33 pinctrl_i2c2: i2c2grp {
34 fsl,pins = <
35 MX8MM_IOMUXC_I2C2_SCL_I2C2_SCL 0x400001c3
36 MX8MM_IOMUXC_I2C2_SDA_I2C2_SDA 0x400001c3
37 >;
38 };
Frieder Schrempf3048ecd2022-08-24 15:59:19 +020039};
40
41&pinctrl_ecspi1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070042 bootph-pre-ram;
Frieder Schrempf3048ecd2022-08-24 15:59:19 +020043};
44
45&pinctrl_i2c1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070046 bootph-pre-ram;
Frieder Schrempf3048ecd2022-08-24 15:59:19 +020047};
48
49&pinctrl_pmic {
Simon Glassd3a98cb2023-02-13 08:56:33 -070050 bootph-pre-ram;
Frieder Schrempf3048ecd2022-08-24 15:59:19 +020051};
52
53&pinctrl_uart3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070054 bootph-pre-ram;
55 bootph-all;
Frieder Schrempf3048ecd2022-08-24 15:59:19 +020056};
57
58&pinctrl_usdhc1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070059 bootph-pre-ram;
Frieder Schrempf3048ecd2022-08-24 15:59:19 +020060};
61
62&pinctrl_usdhc1_100mhz {
Simon Glassd3a98cb2023-02-13 08:56:33 -070063 bootph-pre-ram;
Frieder Schrempf3048ecd2022-08-24 15:59:19 +020064};
65
66&pinctrl_usdhc1_200mhz {
Simon Glassd3a98cb2023-02-13 08:56:33 -070067 bootph-pre-ram;
Frieder Schrempf3048ecd2022-08-24 15:59:19 +020068};
69
70&pinctrl_usdhc2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070071 bootph-pre-ram;
Frieder Schrempf3048ecd2022-08-24 15:59:19 +020072};
73
74&pca9450 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070075 bootph-pre-ram;
Frieder Schrempf3048ecd2022-08-24 15:59:19 +020076};
77
78&{/soc@0/bus@30800000/i2c@30a20000/pmic@25/regulators} {
Simon Glassd3a98cb2023-02-13 08:56:33 -070079 bootph-pre-ram;
Frieder Schrempf3048ecd2022-08-24 15:59:19 +020080};
81
82&ecspi1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070083 bootph-pre-ram;
Frieder Schrempf3048ecd2022-08-24 15:59:19 +020084};
85
86&gpio1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070087 bootph-pre-ram;
Frieder Schrempf3048ecd2022-08-24 15:59:19 +020088};
89
90&gpio2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070091 bootph-pre-ram;
Frieder Schrempf3048ecd2022-08-24 15:59:19 +020092};
93
94&gpio3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070095 bootph-pre-ram;
Frieder Schrempf3048ecd2022-08-24 15:59:19 +020096};
97
98&gpio4 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070099 bootph-pre-ram;
Frieder Schrempf3048ecd2022-08-24 15:59:19 +0200100};
101
102&gpio5 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700103 bootph-pre-ram;
Frieder Schrempf3048ecd2022-08-24 15:59:19 +0200104};
105
106&uart3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700107 bootph-pre-ram;
108 bootph-all;
Frieder Schrempf3048ecd2022-08-24 15:59:19 +0200109};
110
111&usdhc1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700112 bootph-pre-ram;
Frieder Schrempf3048ecd2022-08-24 15:59:19 +0200113};
114
115&usdhc2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700116 bootph-pre-ram;
Frieder Schrempf3048ecd2022-08-24 15:59:19 +0200117};
118
119&wdog1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700120 bootph-pre-ram;
Frieder Schrempf3048ecd2022-08-24 15:59:19 +0200121};
122
123&pinctrl_wdog {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700124 bootph-pre-ram;
Frieder Schrempf3048ecd2022-08-24 15:59:19 +0200125};