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