Marek Vasut | 526c951 | 2020-03-31 19:51:36 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause |
| 2 | /* |
| 3 | * Copyright (C) 2020 Marek Vasut <marex@denx.de> |
| 4 | */ |
| 5 | |
| 6 | #include "stm32mp15xx-dhcor-u-boot.dtsi" |
| 7 | |
| 8 | / { |
| 9 | aliases { |
| 10 | mmc0 = &sdmmc1; |
| 11 | mmc1 = &sdmmc2; |
| 12 | usb0 = &usbotg_hs; |
| 13 | }; |
| 14 | |
| 15 | config { |
| 16 | u-boot,boot-led = "led1"; |
| 17 | u-boot,error-led = "led4"; |
Marek Vasut | 47b98ba | 2020-04-22 13:18:11 +0200 | [diff] [blame] | 18 | dh,board-coding-gpios = <&gpiog 13 0>, <&gpiod 9 0>; |
Marek Vasut | 526c951 | 2020-03-31 19:51:36 +0200 | [diff] [blame] | 19 | }; |
| 20 | }; |
| 21 | |
Marek Vasut | b004949 | 2021-11-13 03:27:37 +0100 | [diff] [blame^] | 22 | |
| 23 | ðernet0 { |
| 24 | mdio0 { |
| 25 | ethernet-phy@7 { |
| 26 | reset-gpios = <&gpioz 2 GPIO_ACTIVE_LOW>; |
| 27 | reset-assert-us = <11000>; |
| 28 | reset-deassert-us = <1000>; |
| 29 | }; |
| 30 | }; |
| 31 | }; |
| 32 | |
Marek Vasut | 526c951 | 2020-03-31 19:51:36 +0200 | [diff] [blame] | 33 | &sdmmc1 { |
| 34 | u-boot,dm-spl; |
| 35 | }; |
| 36 | |
| 37 | &sdmmc1_b4_pins_a { |
| 38 | u-boot,dm-spl; |
| 39 | pins1 { |
| 40 | u-boot,dm-spl; |
| 41 | }; |
| 42 | pins2 { |
| 43 | u-boot,dm-spl; |
| 44 | }; |
| 45 | }; |
| 46 | |
| 47 | &sdmmc1_dir_pins_b { |
| 48 | u-boot,dm-spl; |
| 49 | pins1 { |
| 50 | u-boot,dm-spl; |
| 51 | }; |
| 52 | pins2 { |
| 53 | u-boot,dm-spl; |
| 54 | }; |
| 55 | }; |
| 56 | |
| 57 | &sdmmc2 { |
| 58 | u-boot,dm-spl; |
| 59 | }; |
| 60 | |
| 61 | &sdmmc2_b4_pins_a { |
| 62 | u-boot,dm-spl; |
| 63 | pins1 { |
| 64 | u-boot,dm-spl; |
| 65 | }; |
| 66 | pins2 { |
| 67 | u-boot,dm-spl; |
| 68 | }; |
| 69 | }; |
| 70 | |
Marek Vasut | 29d247a | 2021-07-20 23:46:07 +0200 | [diff] [blame] | 71 | &sdmmc2_d47_pins_c { |
Marek Vasut | 526c951 | 2020-03-31 19:51:36 +0200 | [diff] [blame] | 72 | u-boot,dm-spl; |
| 73 | pins { |
| 74 | u-boot,dm-spl; |
| 75 | }; |
| 76 | }; |
| 77 | |
| 78 | &uart4 { |
| 79 | u-boot,dm-pre-reloc; |
| 80 | }; |
| 81 | |
| 82 | &uart4_pins_b { |
| 83 | u-boot,dm-pre-reloc; |
| 84 | pins1 { |
| 85 | u-boot,dm-pre-reloc; |
| 86 | }; |
| 87 | pins2 { |
| 88 | u-boot,dm-pre-reloc; |
Marek Vasut | 8d9de5b | 2020-08-22 22:45:36 +0200 | [diff] [blame] | 89 | /delete-property/ bias-disable; |
| 90 | bias-pull-up; |
Marek Vasut | 526c951 | 2020-03-31 19:51:36 +0200 | [diff] [blame] | 91 | }; |
| 92 | }; |
| 93 | |
| 94 | &usbotg_hs { |
| 95 | u-boot,force-b-session-valid; |
| 96 | hnp-srp-disable; |
| 97 | }; |