blob: bdbeca528c68c049daad2f5dbf911110a1ad8ebf [file] [log] [blame]
Lukasz Majewskif3adb662019-12-08 22:06:56 +01001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright 2019
4 * Lukasz Majewski, DENX Software Engineering, lukma@denx.de
5 *
6 * SPDX-License-Identifier: GPL-2.0+ or X11
7 */
8
9/*
10 * The minimal augmentation DTS U-Boot file to allow eMMC driver
11 * configuration in SPL for falcon boot.
12 */
13#include "imx28-u-boot.dtsi"
14/ {
Lukasz Majewski52fc8162023-05-19 12:43:43 +020015 aliases {
16 /delete-property/ spi1;
17 /delete-property/ usbphy0;
18 /delete-property/ usbphy1;
19 };
Lukasz Majewskif3adb662019-12-08 22:06:56 +010020 apb@80000000 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070021 bootph-pre-ram;
Lukasz Majewskif3adb662019-12-08 22:06:56 +010022
23 apbh@80000000 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070024 bootph-pre-ram;
Lukasz Majewskif3adb662019-12-08 22:06:56 +010025 };
26
27 apbx@80040000 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070028 bootph-pre-ram;
Lukasz Majewskif3adb662019-12-08 22:06:56 +010029 };
30 };
31};
32
33&clks {
Simon Glassd3a98cb2023-02-13 08:56:33 -070034 bootph-pre-ram;
Lukasz Majewskia66a1372023-05-19 12:43:50 +020035 status = "disable";
Lukasz Majewskif3adb662019-12-08 22:06:56 +010036};
37
Lukasz Majewskib90db232023-05-19 12:43:47 +020038&duart {
Lukasz Majewskidf2f8b72023-05-19 12:43:49 +020039 /delete-property/ clocks;
Lukasz Majewskib90db232023-05-19 12:43:47 +020040 bootph-pre-ram;
Lukasz Majewskieaa7d452023-05-19 12:43:48 +020041 type = <1>; /* TYPE_PL011 */
Lukasz Majewskib90db232023-05-19 12:43:47 +020042};
43
Lukasz Majewskif3adb662019-12-08 22:06:56 +010044&gpio0 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070045 bootph-pre-ram;
Lukasz Majewskif3adb662019-12-08 22:06:56 +010046};
47
Lukasz Majewski6a51f182023-05-19 12:43:44 +020048&mac0 {
49 phy-mode = "rmii";
50 pinctrl-names = "default";
51 pinctrl-0 = <&mac0_pins_a>;
52 phy-supply = <&reg_fec_3v3>;
53 phy-reset-gpios = <&gpio2 13 GPIO_ACTIVE_LOW>;
54 phy-reset-duration = <1>;
55 phy-reset-post-delay = <1>;
56 status = "okay";
57
58 fixed-link {
59 speed = <100>;
60 full-duplex;
61 };
62};
63
Lukasz Majewskif3adb662019-12-08 22:06:56 +010064&pinctrl {
Lukasz Majewski52fc8162023-05-19 12:43:43 +020065 /delete-property/ pinctrl-names;
66 /delete-property/ pinctrl-0;
Simon Glassd3a98cb2023-02-13 08:56:33 -070067 bootph-pre-ram;
Lukasz Majewskif3adb662019-12-08 22:06:56 +010068};
69
Lukasz Majewski6a51f182023-05-19 12:43:44 +020070&reg_fec_3v3 {
71 gpio = <&gpio0 0 GPIO_ACTIVE_HIGH>;
72 enable-active-high;
73 regulator-boot-on;
74};
75
Lukasz Majewskif3adb662019-12-08 22:06:56 +010076&ssp0 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070077 bootph-pre-ram;
Lukasz Majewskif3adb662019-12-08 22:06:56 +010078};
79
80&ssp3 {
Marcel Ziswiler2eefb902022-10-22 23:59:45 +020081 num-cs = <2>;
82 spi-max-frequency = <40000000>;
Simon Glassd3a98cb2023-02-13 08:56:33 -070083 bootph-pre-ram;
Lukasz Majewskif3adb662019-12-08 22:06:56 +010084};
Lukasz Majewski52fc8162023-05-19 12:43:43 +020085
86/delete-node/ &ssp2;
87/delete-node/ &usb0;
88/delete-node/ &usbphy0;
89/delete-node/ &usb1;
90/delete-node/ &usbphy1;
91/delete-node/ &hog_pins_a;
92/delete-node/ &hog_pins_tiva;
93/delete-node/ &hog_pins_coding;