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; |
Marek Vasut | 5f5ce60 | 2021-11-13 03:29:44 +0100 | [diff] [blame] | 35 | st,use-ckin; |
| 36 | st,cmd-gpios = <&gpiod 2 0>; |
| 37 | st,ck-gpios = <&gpioc 12 0>; |
| 38 | st,ckin-gpios = <&gpioe 4 0>; |
Marek Vasut | 526c951 | 2020-03-31 19:51:36 +0200 | [diff] [blame] | 39 | }; |
| 40 | |
| 41 | &sdmmc1_b4_pins_a { |
| 42 | u-boot,dm-spl; |
| 43 | pins1 { |
| 44 | u-boot,dm-spl; |
| 45 | }; |
| 46 | pins2 { |
| 47 | u-boot,dm-spl; |
| 48 | }; |
| 49 | }; |
| 50 | |
| 51 | &sdmmc1_dir_pins_b { |
| 52 | u-boot,dm-spl; |
| 53 | pins1 { |
| 54 | u-boot,dm-spl; |
| 55 | }; |
| 56 | pins2 { |
| 57 | u-boot,dm-spl; |
| 58 | }; |
| 59 | }; |
| 60 | |
| 61 | &sdmmc2 { |
| 62 | u-boot,dm-spl; |
| 63 | }; |
| 64 | |
| 65 | &sdmmc2_b4_pins_a { |
| 66 | u-boot,dm-spl; |
| 67 | pins1 { |
| 68 | u-boot,dm-spl; |
| 69 | }; |
| 70 | pins2 { |
| 71 | u-boot,dm-spl; |
| 72 | }; |
| 73 | }; |
| 74 | |
Marek Vasut | 29d247a | 2021-07-20 23:46:07 +0200 | [diff] [blame] | 75 | &sdmmc2_d47_pins_c { |
Marek Vasut | 526c951 | 2020-03-31 19:51:36 +0200 | [diff] [blame] | 76 | u-boot,dm-spl; |
| 77 | pins { |
| 78 | u-boot,dm-spl; |
| 79 | }; |
| 80 | }; |
| 81 | |
| 82 | &uart4 { |
| 83 | u-boot,dm-pre-reloc; |
| 84 | }; |
| 85 | |
| 86 | &uart4_pins_b { |
| 87 | u-boot,dm-pre-reloc; |
| 88 | pins1 { |
| 89 | u-boot,dm-pre-reloc; |
| 90 | }; |
| 91 | pins2 { |
| 92 | u-boot,dm-pre-reloc; |
Marek Vasut | 8d9de5b | 2020-08-22 22:45:36 +0200 | [diff] [blame] | 93 | /delete-property/ bias-disable; |
| 94 | bias-pull-up; |
Marek Vasut | 526c951 | 2020-03-31 19:51:36 +0200 | [diff] [blame] | 95 | }; |
| 96 | }; |
| 97 | |
| 98 | &usbotg_hs { |
| 99 | u-boot,force-b-session-valid; |
| 100 | hnp-srp-disable; |
| 101 | }; |