blob: bdbeca528c68c049daad2f5dbf911110a1ad8ebf [file] [log] [blame]
Lukasz Majewski010e58d2019-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 Majewski0d30b6c2023-05-19 12:43:43 +020015 aliases {
16 /delete-property/ spi1;
17 /delete-property/ usbphy0;
18 /delete-property/ usbphy1;
19 };
Lukasz Majewski010e58d2019-12-08 22:06:56 +010020 apb@80000000 {
Simon Glass8c103c32023-02-13 08:56:33 -070021 bootph-pre-ram;
Lukasz Majewski010e58d2019-12-08 22:06:56 +010022
23 apbh@80000000 {
Simon Glass8c103c32023-02-13 08:56:33 -070024 bootph-pre-ram;
Lukasz Majewski010e58d2019-12-08 22:06:56 +010025 };
26
27 apbx@80040000 {
Simon Glass8c103c32023-02-13 08:56:33 -070028 bootph-pre-ram;
Lukasz Majewski010e58d2019-12-08 22:06:56 +010029 };
30 };
31};
32
33&clks {
Simon Glass8c103c32023-02-13 08:56:33 -070034 bootph-pre-ram;
Lukasz Majewskib8ce78a2023-05-19 12:43:50 +020035 status = "disable";
Lukasz Majewski010e58d2019-12-08 22:06:56 +010036};
37
Lukasz Majewski9a1efec2023-05-19 12:43:47 +020038&duart {
Lukasz Majewski01744482023-05-19 12:43:49 +020039 /delete-property/ clocks;
Lukasz Majewski9a1efec2023-05-19 12:43:47 +020040 bootph-pre-ram;
Lukasz Majewski70b4d612023-05-19 12:43:48 +020041 type = <1>; /* TYPE_PL011 */
Lukasz Majewski9a1efec2023-05-19 12:43:47 +020042};
43
Lukasz Majewski010e58d2019-12-08 22:06:56 +010044&gpio0 {
Simon Glass8c103c32023-02-13 08:56:33 -070045 bootph-pre-ram;
Lukasz Majewski010e58d2019-12-08 22:06:56 +010046};
47
Lukasz Majewskic5e8c332023-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 Majewski010e58d2019-12-08 22:06:56 +010064&pinctrl {
Lukasz Majewski0d30b6c2023-05-19 12:43:43 +020065 /delete-property/ pinctrl-names;
66 /delete-property/ pinctrl-0;
Simon Glass8c103c32023-02-13 08:56:33 -070067 bootph-pre-ram;
Lukasz Majewski010e58d2019-12-08 22:06:56 +010068};
69
Lukasz Majewskic5e8c332023-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 Majewski010e58d2019-12-08 22:06:56 +010076&ssp0 {
Simon Glass8c103c32023-02-13 08:56:33 -070077 bootph-pre-ram;
Lukasz Majewski010e58d2019-12-08 22:06:56 +010078};
79
80&ssp3 {
Marcel Ziswiler063195d2022-10-22 23:59:45 +020081 num-cs = <2>;
82 spi-max-frequency = <40000000>;
Simon Glass8c103c32023-02-13 08:56:33 -070083 bootph-pre-ram;
Lukasz Majewski010e58d2019-12-08 22:06:56 +010084};
Lukasz Majewski0d30b6c2023-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;