blob: dfce63e4d428fe7019291a2ceaf1fa9bebb18869 [file] [log] [blame]
Jagan Teki112f6362019-05-07 23:51:50 +05301// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright (C) 2019 Jagan Teki <jagan@amarulasolutions.com>
4 */
5
Jagan Teki46dbd402019-05-07 23:51:52 +05306#include "rk3399-u-boot.dtsi"
Jagan Teki112f6362019-05-07 23:51:50 +05307#include "rk3399-sdram-lpddr3-4GB-1600.dtsi"
Peter Robinson68b13a02019-11-09 20:30:06 +00008
9/ {
10 chosen {
Kever Yang5e12b102020-06-03 15:25:28 +080011 stdout-path = "serial2:1500000n8";
Jagan Teki95b2b3e2020-05-24 20:26:18 +053012 u-boot,spl-boot-order = "same-as-spl", &sdhci, &sdmmc;
Peter Robinson68b13a02019-11-09 20:30:06 +000013 };
14};
Lin Jinhan3e714cf2020-03-31 17:39:57 +080015
Jagan Teki5a1d0ac2020-04-28 15:30:15 +053016&i2c0 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070017 bootph-all;
Jagan Teki5a1d0ac2020-04-28 15:30:15 +053018};
19
20&rk808 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070021 bootph-all;
Jagan Teki5a1d0ac2020-04-28 15:30:15 +053022};
Frank Wangbeaa1392020-05-26 11:34:33 +080023
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 Yang0d590072020-08-11 14:44:30 +080036
Kever Yang6185c812020-12-07 10:52:51 +080037&vdd_center {
38 regulator-init-microvolt = <900000>;
39};
40
Kever Yang0d590072020-08-11 14:44:30 +080041&sdmmc {
Simon Glassd3a98cb2023-02-13 08:56:33 -070042 bootph-all;
Kever Yang0d590072020-08-11 14:44:30 +080043 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};