David Bauer | dcde9f6 | 2021-01-07 00:06:11 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * (C) Copyright 2018-2019 Rockchip Electronics Co., Ltd |
| 4 | * (C) Copyright 2020 David Bauer |
| 5 | */ |
| 6 | |
| 7 | #include "rk3328-u-boot.dtsi" |
| 8 | #include "rk3328-sdram-ddr4-666.dtsi" |
| 9 | / { |
| 10 | chosen { |
| 11 | u-boot,spl-boot-order = "same-as-spl", &sdmmc, &emmc; |
| 12 | }; |
| 13 | }; |
| 14 | |
| 15 | &gpio0 { |
| 16 | u-boot,dm-spl; |
| 17 | }; |
| 18 | |
| 19 | &pinctrl { |
| 20 | u-boot,dm-spl; |
| 21 | }; |
| 22 | |
Peter Robinson | 7715db3 | 2021-07-22 16:20:43 +0100 | [diff] [blame] | 23 | &sdmmc0m1_pin { |
David Bauer | dcde9f6 | 2021-01-07 00:06:11 +0100 | [diff] [blame] | 24 | u-boot,dm-spl; |
| 25 | }; |
| 26 | |
| 27 | &pcfg_pull_up_4ma { |
| 28 | u-boot,dm-spl; |
| 29 | }; |
| 30 | |
| 31 | /* Need this and all the pinctrl/gpio stuff above to set pinmux */ |
| 32 | &vcc_sd { |
| 33 | u-boot,dm-spl; |
| 34 | }; |
| 35 | |
| 36 | &gmac2io { |
| 37 | snps,reset-gpio = <&gpio1 RK_PC2 GPIO_ACTIVE_LOW>; |
| 38 | snps,reset-active-low; |
| 39 | snps,reset-delays-us = <0 10000 50000>; |
| 40 | }; |