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"; |
Peter Robinson | 68b13a0 | 2019-11-09 20:30:06 +0000 | [diff] [blame] | 12 | }; |
13 | }; | ||||
Lin Jinhan | 3e714cf | 2020-03-31 17:39:57 +0800 | [diff] [blame] | 14 | |
Jagan Teki | 5a1d0ac | 2020-04-28 15:30:15 +0530 | [diff] [blame] | 15 | &i2c0 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 16 | bootph-all; |
Jagan Teki | 5a1d0ac | 2020-04-28 15:30:15 +0530 | [diff] [blame] | 17 | }; |
18 | |||||
19 | &rk808 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 20 | bootph-all; |
Jagan Teki | 5a1d0ac | 2020-04-28 15:30:15 +0530 | [diff] [blame] | 21 | }; |
Frank Wang | beaa139 | 2020-05-26 11:34:33 +0800 | [diff] [blame] | 22 | |
Jonas Karlman | 47f7e5f | 2024-04-30 15:30:20 +0000 | [diff] [blame^] | 23 | &sdmmc { |
24 | bus-width = <4>; | ||||
25 | cap-mmc-highspeed; | ||||
26 | cap-sd-highspeed; | ||||
27 | cd-gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; | ||||
28 | disable-wp; | ||||
29 | max-frequency = <150000000>; | ||||
30 | pinctrl-names = "default"; | ||||
31 | pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_bus4>; | ||||
32 | status = "okay"; | ||||
33 | }; | ||||
34 | |||||
Frank Wang | beaa139 | 2020-05-26 11:34:33 +0800 | [diff] [blame] | 35 | &tcphy1 { |
36 | status = "okay"; | ||||
37 | }; | ||||
38 | |||||
39 | &usbdrd3_1 { | ||||
40 | status = "okay"; | ||||
41 | }; | ||||
42 | |||||
43 | &usbdrd_dwc3_1 { | ||||
44 | dr_mode = "host"; | ||||
45 | status = "okay"; | ||||
46 | }; | ||||
Kever Yang | 0d59007 | 2020-08-11 14:44:30 +0800 | [diff] [blame] | 47 | |
Kever Yang | 6185c81 | 2020-12-07 10:52:51 +0800 | [diff] [blame] | 48 | &vdd_center { |
49 | regulator-init-microvolt = <900000>; | ||||
50 | }; |