blob: ea2f7159220c134b344ae98e6658a3b000b3e641 [file] [log] [blame]
Xu Ziyuan535b3dc2016-08-01 08:46:19 +08001/*
2 * (C) Copyright 2016 Rockchip Electronics Co., Ltd
3 *
4 * SPDX-License-Identifier: GPL-2.0+ X11
5 */
6
7/dts-v1/;
Eddie Cai1e1a79f2017-01-18 11:03:54 +08008#include "rk3288-tinker.dtsi"
Xu Ziyuan535b3dc2016-08-01 08:46:19 +08009
10/ {
Eddie Cai1e1a79f2017-01-18 11:03:54 +080011 model = "Tinker-RK3288";
12 compatible = "rockchip,rk3288-tinker", "rockchip,rk3288";
Xu Ziyuan535b3dc2016-08-01 08:46:19 +080013
14 chosen {
15 stdout-path = &uart2;
16 };
17};
18
19&dmc {
Jacob Chen7ac5c1c2016-11-15 12:01:47 +080020 rockchip,pctl-timing = <0x215 0xc8 0x0 0x35 0x26 0x2 0x70 0x2000d
21 0x6 0x0 0x8 0x4 0x17 0x24 0xd 0x6
22 0x4 0x8 0x4 0x76 0x4 0x0 0x30 0x0
23 0x1 0x2 0x2 0x4 0x0 0x0 0xc0 0x4
24 0x8 0x1f4>;
25 rockchip,phy-timing = <0x48d7dd93 0x187008d8 0x121076
26 0x0 0xc3 0x6 0x2>;
27 rockchip,sdram-params = <0x20d266a4 0x5b6 2 533000000 6 9 0>;
Xu Ziyuan535b3dc2016-08-01 08:46:19 +080028};
29
30
31&pinctrl {
32 u-boot,dm-pre-reloc;
Eddie Cai04ef38d2017-03-07 12:46:00 +080033
34 usb {
35 host_vbus_drv: host-vbus-drv {
36 rockchip,pins = <0 14 RK_FUNC_GPIO &pcfg_pull_none>;
37 };
38 };
Xu Ziyuan535b3dc2016-08-01 08:46:19 +080039};
40
41&pwm1 {
42 status = "okay";
43};
44
45&uart2 {
46 u-boot,dm-pre-reloc;
47 reg-shift = <2>;
48};
49
Eddie Cai04ef38d2017-03-07 12:46:00 +080050&usb_host1 {
51 vbus-supply = <&vcc5v0_host>;
52 status = "okay";
53};
54
Xu Ziyuan535b3dc2016-08-01 08:46:19 +080055&sdmmc {
56 u-boot,dm-pre-reloc;
57};
58
59&emmc {
60 u-boot,dm-pre-reloc;
61};
62
63&gpio3 {
64 u-boot,dm-pre-reloc;
65};
66
67&gpio8 {
68 u-boot,dm-pre-reloc;
69};
Jonas Karlman269a37f2017-04-22 08:57:54 +000070
71&i2c2 {
72 m24c08@50 {
73 compatible = "at,24c08", "i2c-eeprom";
74 reg = <0x50>;
75 };
76};