David Bauer | b821e0d | 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" | ||||
David Bauer | b821e0d | 2021-01-07 00:06:11 +0100 | [diff] [blame] | 9 | |
10 | &gpio0 { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 11 | bootph-pre-ram; |
David Bauer | b821e0d | 2021-01-07 00:06:11 +0100 | [diff] [blame] | 12 | }; |
13 | |||||
14 | &pinctrl { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 15 | bootph-pre-ram; |
David Bauer | b821e0d | 2021-01-07 00:06:11 +0100 | [diff] [blame] | 16 | }; |
17 | |||||
Peter Robinson | 27e1b5e | 2021-07-22 16:20:43 +0100 | [diff] [blame] | 18 | &sdmmc0m1_pin { |
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 19 | bootph-pre-ram; |
David Bauer | b821e0d | 2021-01-07 00:06:11 +0100 | [diff] [blame] | 20 | }; |
21 | |||||
22 | &pcfg_pull_up_4ma { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 23 | bootph-pre-ram; |
David Bauer | b821e0d | 2021-01-07 00:06:11 +0100 | [diff] [blame] | 24 | }; |
25 | |||||
26 | /* Need this and all the pinctrl/gpio stuff above to set pinmux */ | ||||
27 | &vcc_sd { | ||||
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 28 | bootph-pre-ram; |
David Bauer | b821e0d | 2021-01-07 00:06:11 +0100 | [diff] [blame] | 29 | }; |
30 | |||||
31 | &gmac2io { | ||||
32 | snps,reset-gpio = <&gpio1 RK_PC2 GPIO_ACTIVE_LOW>; | ||||
33 | snps,reset-active-low; | ||||
34 | snps,reset-delays-us = <0 10000 50000>; | ||||
35 | }; |