blob: 50289cf6d740f952ae246d5b7a2de98172aa84a4 [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 Majewski010e58d2019-12-08 22:06:56 +010035};
36
Lukasz Majewski9a1efec2023-05-19 12:43:47 +020037&duart {
38 bootph-pre-ram;
Lukasz Majewski70b4d612023-05-19 12:43:48 +020039 type = <1>; /* TYPE_PL011 */
Lukasz Majewski9a1efec2023-05-19 12:43:47 +020040};
41
Lukasz Majewski010e58d2019-12-08 22:06:56 +010042&gpio0 {
Simon Glass8c103c32023-02-13 08:56:33 -070043 bootph-pre-ram;
Lukasz Majewski010e58d2019-12-08 22:06:56 +010044};
45
Lukasz Majewskic5e8c332023-05-19 12:43:44 +020046&mac0 {
47 phy-mode = "rmii";
48 pinctrl-names = "default";
49 pinctrl-0 = <&mac0_pins_a>;
50 phy-supply = <&reg_fec_3v3>;
51 phy-reset-gpios = <&gpio2 13 GPIO_ACTIVE_LOW>;
52 phy-reset-duration = <1>;
53 phy-reset-post-delay = <1>;
54 status = "okay";
55
56 fixed-link {
57 speed = <100>;
58 full-duplex;
59 };
60};
61
Lukasz Majewski010e58d2019-12-08 22:06:56 +010062&pinctrl {
Lukasz Majewski0d30b6c2023-05-19 12:43:43 +020063 /delete-property/ pinctrl-names;
64 /delete-property/ pinctrl-0;
Simon Glass8c103c32023-02-13 08:56:33 -070065 bootph-pre-ram;
Lukasz Majewski010e58d2019-12-08 22:06:56 +010066};
67
Lukasz Majewskic5e8c332023-05-19 12:43:44 +020068&reg_fec_3v3 {
69 gpio = <&gpio0 0 GPIO_ACTIVE_HIGH>;
70 enable-active-high;
71 regulator-boot-on;
72};
73
Lukasz Majewski010e58d2019-12-08 22:06:56 +010074&ssp0 {
Simon Glass8c103c32023-02-13 08:56:33 -070075 bootph-pre-ram;
Lukasz Majewski010e58d2019-12-08 22:06:56 +010076};
77
78&ssp3 {
Marcel Ziswiler063195d2022-10-22 23:59:45 +020079 num-cs = <2>;
80 spi-max-frequency = <40000000>;
Simon Glass8c103c32023-02-13 08:56:33 -070081 bootph-pre-ram;
Lukasz Majewski010e58d2019-12-08 22:06:56 +010082};
Lukasz Majewski0d30b6c2023-05-19 12:43:43 +020083
84/delete-node/ &ssp2;
85/delete-node/ &usb0;
86/delete-node/ &usbphy0;
87/delete-node/ &usb1;
88/delete-node/ &usbphy1;
89/delete-node/ &hog_pins_a;
90/delete-node/ &hog_pins_tiva;
91/delete-node/ &hog_pins_coding;