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