Lukasz Majewski | 010e58d | 2019-12-08 22:06:56 +0100 | [diff] [blame] | 1 | // 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 Majewski | 0d30b6c | 2023-05-19 12:43:43 +0200 | [diff] [blame] | 15 | aliases { |
| 16 | /delete-property/ spi1; |
| 17 | /delete-property/ usbphy0; |
| 18 | /delete-property/ usbphy1; |
| 19 | }; |
Lukasz Majewski | 010e58d | 2019-12-08 22:06:56 +0100 | [diff] [blame] | 20 | apb@80000000 { |
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 21 | bootph-pre-ram; |
Lukasz Majewski | 010e58d | 2019-12-08 22:06:56 +0100 | [diff] [blame] | 22 | |
| 23 | apbh@80000000 { |
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 24 | bootph-pre-ram; |
Lukasz Majewski | 010e58d | 2019-12-08 22:06:56 +0100 | [diff] [blame] | 25 | }; |
| 26 | |
| 27 | apbx@80040000 { |
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 28 | bootph-pre-ram; |
Lukasz Majewski | 010e58d | 2019-12-08 22:06:56 +0100 | [diff] [blame] | 29 | }; |
| 30 | }; |
| 31 | }; |
| 32 | |
| 33 | &clks { |
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 34 | bootph-pre-ram; |
Lukasz Majewski | b8ce78a | 2023-05-19 12:43:50 +0200 | [diff] [blame] | 35 | status = "disable"; |
Lukasz Majewski | 010e58d | 2019-12-08 22:06:56 +0100 | [diff] [blame] | 36 | }; |
| 37 | |
Lukasz Majewski | 9a1efec | 2023-05-19 12:43:47 +0200 | [diff] [blame] | 38 | &duart { |
Lukasz Majewski | 0174448 | 2023-05-19 12:43:49 +0200 | [diff] [blame] | 39 | /delete-property/ clocks; |
Lukasz Majewski | 9a1efec | 2023-05-19 12:43:47 +0200 | [diff] [blame] | 40 | bootph-pre-ram; |
Lukasz Majewski | 70b4d61 | 2023-05-19 12:43:48 +0200 | [diff] [blame] | 41 | type = <1>; /* TYPE_PL011 */ |
Lukasz Majewski | 9a1efec | 2023-05-19 12:43:47 +0200 | [diff] [blame] | 42 | }; |
| 43 | |
Lukasz Majewski | 010e58d | 2019-12-08 22:06:56 +0100 | [diff] [blame] | 44 | &gpio0 { |
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 45 | bootph-pre-ram; |
Lukasz Majewski | 010e58d | 2019-12-08 22:06:56 +0100 | [diff] [blame] | 46 | }; |
| 47 | |
Lukasz Majewski | c5e8c33 | 2023-05-19 12:43:44 +0200 | [diff] [blame] | 48 | &mac0 { |
| 49 | phy-mode = "rmii"; |
| 50 | pinctrl-names = "default"; |
| 51 | pinctrl-0 = <&mac0_pins_a>; |
| 52 | phy-supply = <®_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 Majewski | 010e58d | 2019-12-08 22:06:56 +0100 | [diff] [blame] | 64 | &pinctrl { |
Lukasz Majewski | 0d30b6c | 2023-05-19 12:43:43 +0200 | [diff] [blame] | 65 | /delete-property/ pinctrl-names; |
| 66 | /delete-property/ pinctrl-0; |
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 67 | bootph-pre-ram; |
Lukasz Majewski | 010e58d | 2019-12-08 22:06:56 +0100 | [diff] [blame] | 68 | }; |
| 69 | |
Lukasz Majewski | c5e8c33 | 2023-05-19 12:43:44 +0200 | [diff] [blame] | 70 | ®_fec_3v3 { |
| 71 | gpio = <&gpio0 0 GPIO_ACTIVE_HIGH>; |
| 72 | enable-active-high; |
| 73 | regulator-boot-on; |
| 74 | }; |
| 75 | |
Lukasz Majewski | 010e58d | 2019-12-08 22:06:56 +0100 | [diff] [blame] | 76 | &ssp0 { |
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 77 | bootph-pre-ram; |
Lukasz Majewski | 010e58d | 2019-12-08 22:06:56 +0100 | [diff] [blame] | 78 | }; |
| 79 | |
| 80 | &ssp3 { |
Marcel Ziswiler | 063195d | 2022-10-22 23:59:45 +0200 | [diff] [blame] | 81 | num-cs = <2>; |
| 82 | spi-max-frequency = <40000000>; |
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 83 | bootph-pre-ram; |
Lukasz Majewski | 010e58d | 2019-12-08 22:06:56 +0100 | [diff] [blame] | 84 | }; |
Lukasz Majewski | 0d30b6c | 2023-05-19 12:43:43 +0200 | [diff] [blame] | 85 | |
| 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; |