blob: 5e39b1493dbe69cc27c0a1fb3743215981fbd966 [file] [log] [blame]
Jagan Tekiddf49cb2019-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 Teki90430fa2019-05-07 23:51:52 +05306#include "rk3399-u-boot.dtsi"
Jagan Tekiddf49cb2019-05-07 23:51:50 +05307#include "rk3399-sdram-lpddr3-4GB-1600.dtsi"
Peter Robinsone7505d02019-11-09 20:30:06 +00008
9/ {
10 chosen {
Kever Yang3d82b1b2020-06-03 15:25:28 +080011 stdout-path = "serial2:1500000n8";
Jagan Teki97de3932020-05-24 20:26:18 +053012 u-boot,spl-boot-order = "same-as-spl", &sdhci, &sdmmc;
Peter Robinsone7505d02019-11-09 20:30:06 +000013 };
14};
Lin Jinhan91e858d2020-03-31 17:39:57 +080015
Jagan Tekif44bf1b2020-04-28 15:30:15 +053016&i2c0 {
17 u-boot,dm-pre-reloc;
18};
19
20&rk808 {
21 u-boot,dm-pre-reloc;
22};
Frank Wang86554ab2020-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 Yangd6092e32020-08-11 14:44:30 +080036
Kever Yang2a6eb3b2020-12-07 10:52:51 +080037&vdd_center {
38 regulator-init-microvolt = <900000>;
39};
40
Kever Yangd6092e32020-08-11 14:44:30 +080041&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};