blob: 8056dc843e76f10ef66ee10e9b2cea0279fc7dc6 [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
16&rng {
17 status = "okay";
18};
Jagan Teki5a1d0ac2020-04-28 15:30:15 +053019
20&i2c0 {
21 u-boot,dm-pre-reloc;
22};
23
24&rk808 {
25 u-boot,dm-pre-reloc;
26};
Frank Wangbeaa1392020-05-26 11:34:33 +080027
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 Yang0d590072020-08-11 14:44:30 +080040
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};