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 | 010e58d | 2019-12-08 22:06:56 +0100 | [diff] [blame] | 35 | }; |
| 36 | |
Lukasz Majewski | 9a1efec | 2023-05-19 12:43:47 +0200 | [diff] [blame] | 37 | &duart { |
| 38 | bootph-pre-ram; |
Lukasz Majewski | 70b4d61 | 2023-05-19 12:43:48 +0200 | [diff] [blame^] | 39 | type = <1>; /* TYPE_PL011 */ |
Lukasz Majewski | 9a1efec | 2023-05-19 12:43:47 +0200 | [diff] [blame] | 40 | }; |
| 41 | |
Lukasz Majewski | 010e58d | 2019-12-08 22:06:56 +0100 | [diff] [blame] | 42 | &gpio0 { |
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 43 | bootph-pre-ram; |
Lukasz Majewski | 010e58d | 2019-12-08 22:06:56 +0100 | [diff] [blame] | 44 | }; |
| 45 | |
Lukasz Majewski | c5e8c33 | 2023-05-19 12:43:44 +0200 | [diff] [blame] | 46 | &mac0 { |
| 47 | phy-mode = "rmii"; |
| 48 | pinctrl-names = "default"; |
| 49 | pinctrl-0 = <&mac0_pins_a>; |
| 50 | phy-supply = <®_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 Majewski | 010e58d | 2019-12-08 22:06:56 +0100 | [diff] [blame] | 62 | &pinctrl { |
Lukasz Majewski | 0d30b6c | 2023-05-19 12:43:43 +0200 | [diff] [blame] | 63 | /delete-property/ pinctrl-names; |
| 64 | /delete-property/ pinctrl-0; |
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 65 | bootph-pre-ram; |
Lukasz Majewski | 010e58d | 2019-12-08 22:06:56 +0100 | [diff] [blame] | 66 | }; |
| 67 | |
Lukasz Majewski | c5e8c33 | 2023-05-19 12:43:44 +0200 | [diff] [blame] | 68 | ®_fec_3v3 { |
| 69 | gpio = <&gpio0 0 GPIO_ACTIVE_HIGH>; |
| 70 | enable-active-high; |
| 71 | regulator-boot-on; |
| 72 | }; |
| 73 | |
Lukasz Majewski | 010e58d | 2019-12-08 22:06:56 +0100 | [diff] [blame] | 74 | &ssp0 { |
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 75 | bootph-pre-ram; |
Lukasz Majewski | 010e58d | 2019-12-08 22:06:56 +0100 | [diff] [blame] | 76 | }; |
| 77 | |
| 78 | &ssp3 { |
Marcel Ziswiler | 063195d | 2022-10-22 23:59:45 +0200 | [diff] [blame] | 79 | num-cs = <2>; |
| 80 | spi-max-frequency = <40000000>; |
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 81 | bootph-pre-ram; |
Lukasz Majewski | 010e58d | 2019-12-08 22:06:56 +0100 | [diff] [blame] | 82 | }; |
Lukasz Majewski | 0d30b6c | 2023-05-19 12:43:43 +0200 | [diff] [blame] | 83 | |
| 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; |