blob: 89e64344c6de1f0f62b169a61fb2302d2456f034 [file] [log] [blame]
Peng Fanb72606c2022-07-26 16:41:10 +08001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright 2022 NXP
4 */
5
6/ {
7 wdt-reboot {
8 compatible = "wdt-reboot";
9 wdt = <&wdog3>;
Simon Glassd3a98cb2023-02-13 08:56:33 -070010 bootph-pre-ram;
Peng Fanb72606c2022-07-26 16:41:10 +080011 };
12
13 aliases {
14 usbgadget0 = &usbg1;
15 usbgadget1 = &usbg2;
16 };
17
18 usbg1: usbg1 {
19 compatible = "fsl,imx27-usb-gadget";
20 dr_mode = "peripheral";
21 chipidea,usb = <&usbotg1>;
22 status = "okay";
23 };
24
25 usbg2: usbg2 {
26 compatible = "fsl,imx27-usb-gadget";
27 dr_mode = "peripheral";
28 chipidea,usb = <&usbotg2>;
29 status = "okay";
30 };
31
32 firmware {
33 optee {
34 compatible = "linaro,optee-tz";
35 method = "smc";
36 };
37 };
38};
39
40&{/soc@0} {
Simon Glassd3a98cb2023-02-13 08:56:33 -070041 bootph-all;
42 bootph-pre-ram;
Peng Fanb72606c2022-07-26 16:41:10 +080043};
44
45&aips1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070046 bootph-pre-ram;
47 bootph-all;
Peng Fanb72606c2022-07-26 16:41:10 +080048};
49
50&aips2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070051 bootph-pre-ram;
Peng Fanb72606c2022-07-26 16:41:10 +080052};
53
54&aips3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070055 bootph-pre-ram;
Peng Fanb72606c2022-07-26 16:41:10 +080056};
57
58&iomuxc {
Simon Glassd3a98cb2023-02-13 08:56:33 -070059 bootph-pre-ram;
Peng Fanb72606c2022-07-26 16:41:10 +080060};
61
62&reg_usdhc2_vmmc {
63 u-boot,off-on-delay-us = <20000>;
Simon Glassd3a98cb2023-02-13 08:56:33 -070064 bootph-pre-ram;
Peng Fanb72606c2022-07-26 16:41:10 +080065};
66
67&pinctrl_reg_usdhc2_vmmc {
Simon Glassd3a98cb2023-02-13 08:56:33 -070068 bootph-pre-ram;
Peng Fanb72606c2022-07-26 16:41:10 +080069};
70
71&pinctrl_uart1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070072 bootph-pre-ram;
Peng Fanb72606c2022-07-26 16:41:10 +080073};
74
75&pinctrl_usdhc2_gpio {
Simon Glassd3a98cb2023-02-13 08:56:33 -070076 bootph-pre-ram;
Peng Fanb72606c2022-07-26 16:41:10 +080077};
78
79&pinctrl_usdhc2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070080 bootph-pre-ram;
Peng Fanb72606c2022-07-26 16:41:10 +080081};
82
83&gpio1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070084 bootph-pre-ram;
Peng Fanb72606c2022-07-26 16:41:10 +080085};
86
87&gpio2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070088 bootph-pre-ram;
Peng Fanb72606c2022-07-26 16:41:10 +080089};
90
91&gpio3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070092 bootph-pre-ram;
Peng Fanb72606c2022-07-26 16:41:10 +080093};
94
95&gpio4 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070096 bootph-pre-ram;
Peng Fanb72606c2022-07-26 16:41:10 +080097};
98
99&lpuart1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700100 bootph-pre-ram;
Peng Fanb72606c2022-07-26 16:41:10 +0800101};
102
103&usdhc1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700104 bootph-pre-ram;
Peng Fanb72606c2022-07-26 16:41:10 +0800105};
106
107&usdhc2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700108 bootph-pre-ram;
Peng Fanb72606c2022-07-26 16:41:10 +0800109 fsl,signal-voltage-switch-extra-delay-ms = <8>;
110};
111
112&lpi2c2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700113 bootph-pre-ram;
Peng Fanb72606c2022-07-26 16:41:10 +0800114};
115
116&{/soc@0/bus@44000000/i2c@44350000/pmic@25} {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700117 bootph-pre-ram;
Peng Fanb72606c2022-07-26 16:41:10 +0800118};
119
120&{/soc@0/bus@44000000/i2c@44350000/pmic@25/regulators} {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700121 bootph-pre-ram;
Peng Fanb72606c2022-07-26 16:41:10 +0800122};
123
124&pinctrl_lpi2c2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700125 bootph-pre-ram;
Peng Fanb72606c2022-07-26 16:41:10 +0800126};
127
128&fec {
129 phy-reset-gpios = <&pcal6524 16 GPIO_ACTIVE_LOW>;
130 phy-reset-duration = <15>;
131 phy-reset-post-delay = <100>;
132};
133
134&eqos {
135 compatible = "fsl,imx-eqos";
136};
137
138&ethphy1 {
139 reset-gpios = <&pcal6524 15 GPIO_ACTIVE_LOW>;
140 reset-assert-us = <15000>;
141 reset-deassert-us = <100000>;
142};
143
144&usbotg1 {
145 status = "okay";
146 extcon = <&ptn5110>;
147};
148
149&usbotg2 {
150 status = "okay";
151 extcon = <&ptn5110_2>;
152};
153
154&s4muap {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700155 bootph-pre-ram;
Peng Fanb72606c2022-07-26 16:41:10 +0800156 status = "okay";
157};