Jagan Teki | 112f636 | 2019-05-07 23:51:50 +0530 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
2 | /* | ||||
3 | * Copyright (C) 2019 Jagan Teki <jagan@amarulasolutions.com> | ||||
4 | */ | ||||
5 | |||||
Jagan Teki | 46dbd40 | 2019-05-07 23:51:52 +0530 | [diff] [blame] | 6 | #include "rk3399-u-boot.dtsi" |
Jagan Teki | 112f636 | 2019-05-07 23:51:50 +0530 | [diff] [blame] | 7 | #include "rk3399-sdram-lpddr3-4GB-1600.dtsi" |
Peter Robinson | 68b13a0 | 2019-11-09 20:30:06 +0000 | [diff] [blame] | 8 | |
9 | / { | ||||
10 | chosen { | ||||
Kever Yang | 5e12b10 | 2020-06-03 15:25:28 +0800 | [diff] [blame] | 11 | stdout-path = "serial2:1500000n8"; |
Jagan Teki | 95b2b3e | 2020-05-24 20:26:18 +0530 | [diff] [blame] | 12 | u-boot,spl-boot-order = "same-as-spl", &sdhci, &sdmmc; |
Peter Robinson | 68b13a0 | 2019-11-09 20:30:06 +0000 | [diff] [blame] | 13 | }; |
14 | }; | ||||
Lin Jinhan | 3e714cf | 2020-03-31 17:39:57 +0800 | [diff] [blame] | 15 | |
Jagan Teki | 5a1d0ac | 2020-04-28 15:30:15 +0530 | [diff] [blame] | 16 | &i2c0 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 17 | bootph-all; |
Jagan Teki | 5a1d0ac | 2020-04-28 15:30:15 +0530 | [diff] [blame] | 18 | }; |
19 | |||||
20 | &rk808 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 21 | bootph-all; |
Jagan Teki | 5a1d0ac | 2020-04-28 15:30:15 +0530 | [diff] [blame] | 22 | }; |
Frank Wang | beaa139 | 2020-05-26 11:34:33 +0800 | [diff] [blame] | 23 | |
24 | &tcphy1 { | ||||
25 | status = "okay"; | ||||
26 | }; | ||||
27 | |||||
28 | &usbdrd3_1 { | ||||
29 | status = "okay"; | ||||
30 | }; | ||||
31 | |||||
32 | &usbdrd_dwc3_1 { | ||||
33 | dr_mode = "host"; | ||||
34 | status = "okay"; | ||||
35 | }; | ||||
Kever Yang | 0d59007 | 2020-08-11 14:44:30 +0800 | [diff] [blame] | 36 | |
Kever Yang | 6185c81 | 2020-12-07 10:52:51 +0800 | [diff] [blame] | 37 | &vdd_center { |
38 | regulator-init-microvolt = <900000>; | ||||
39 | }; | ||||
40 | |||||
Kever Yang | 0d59007 | 2020-08-11 14:44:30 +0800 | [diff] [blame] | 41 | &sdmmc { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 42 | bootph-all; |
Kever Yang | 0d59007 | 2020-08-11 14:44:30 +0800 | [diff] [blame] | 43 | bus-width = <4>; |
44 | cap-mmc-highspeed; | ||||
45 | cap-sd-highspeed; | ||||
46 | cd-gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; | ||||
47 | disable-wp; | ||||
48 | max-frequency = <150000000>; | ||||
49 | pinctrl-names = "default"; | ||||
50 | pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_bus4>; | ||||
51 | status = "okay"; | ||||
52 | }; |