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 | |
| 16 | &rng { |
| 17 | status = "okay"; |
| 18 | }; |
Jagan Teki | 5a1d0ac | 2020-04-28 15:30:15 +0530 | [diff] [blame] | 19 | |
| 20 | &i2c0 { |
| 21 | u-boot,dm-pre-reloc; |
| 22 | }; |
| 23 | |
| 24 | &rk808 { |
| 25 | u-boot,dm-pre-reloc; |
| 26 | }; |
Frank Wang | beaa139 | 2020-05-26 11:34:33 +0800 | [diff] [blame] | 27 | |
| 28 | &tcphy1 { |
| 29 | status = "okay"; |
| 30 | }; |
| 31 | |
| 32 | &usbdrd3_1 { |
| 33 | status = "okay"; |
| 34 | }; |
| 35 | |
| 36 | &usbdrd_dwc3_1 { |
| 37 | dr_mode = "host"; |
| 38 | status = "okay"; |
| 39 | }; |
Kever Yang | 0d59007 | 2020-08-11 14:44:30 +0800 | [diff] [blame] | 40 | |
| 41 | &sdmmc { |
| 42 | u-boot,dm-pre-reloc; |
| 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 | }; |