blob: 3edd21cc2f4b07c2d115bdbf252d0077e7f43818 [file] [log] [blame]
Tom Rini4549e782018-05-06 18:27:01 -04001// SPDX-License-Identifier: GPL-2.0+ OR X11
Xu Ziyuan1c62d992016-08-01 08:46:19 +08002/*
3 * (C) Copyright 2016 Rockchip Electronics Co., Ltd
Xu Ziyuan1c62d992016-08-01 08:46:19 +08004 */
5
6/dts-v1/;
Eddie Cai6f279762017-01-18 11:03:54 +08007#include "rk3288-tinker.dtsi"
Xu Ziyuan1c62d992016-08-01 08:46:19 +08008
9/ {
Eddie Cai6f279762017-01-18 11:03:54 +080010 model = "Tinker-RK3288";
11 compatible = "rockchip,rk3288-tinker", "rockchip,rk3288";
Xu Ziyuan1c62d992016-08-01 08:46:19 +080012
13 chosen {
14 stdout-path = &uart2;
15 };
16};
17
18&dmc {
Jacob Chena8830a12016-11-15 12:01:47 +080019 rockchip,pctl-timing = <0x215 0xc8 0x0 0x35 0x26 0x2 0x70 0x2000d
20 0x6 0x0 0x8 0x4 0x17 0x24 0xd 0x6
21 0x4 0x8 0x4 0x76 0x4 0x0 0x30 0x0
22 0x1 0x2 0x2 0x4 0x0 0x0 0xc0 0x4
23 0x8 0x1f4>;
24 rockchip,phy-timing = <0x48d7dd93 0x187008d8 0x121076
25 0x0 0xc3 0x6 0x2>;
26 rockchip,sdram-params = <0x20d266a4 0x5b6 2 533000000 6 9 0>;
Xu Ziyuan1c62d992016-08-01 08:46:19 +080027};
28
29
30&pinctrl {
31 u-boot,dm-pre-reloc;
Eddie Caie9eb0cb2017-03-07 12:46:00 +080032
33 usb {
34 host_vbus_drv: host-vbus-drv {
35 rockchip,pins = <0 14 RK_FUNC_GPIO &pcfg_pull_none>;
36 };
37 };
Xu Ziyuan1c62d992016-08-01 08:46:19 +080038};
39
40&pwm1 {
41 status = "okay";
42};
43
44&uart2 {
45 u-boot,dm-pre-reloc;
46 reg-shift = <2>;
47};
48
Eddie Caie9eb0cb2017-03-07 12:46:00 +080049&usb_host1 {
50 vbus-supply = <&vcc5v0_host>;
51 status = "okay";
52};
53
Xu Ziyuan1c62d992016-08-01 08:46:19 +080054&sdmmc {
55 u-boot,dm-pre-reloc;
56};
57
58&emmc {
59 u-boot,dm-pre-reloc;
60};
61
62&gpio3 {
63 u-boot,dm-pre-reloc;
64};
65
66&gpio8 {
67 u-boot,dm-pre-reloc;
68};
Jonas Karlmanecc3bd72017-04-22 08:57:54 +000069
70&i2c2 {
71 m24c08@50 {
72 compatible = "at,24c08", "i2c-eeprom";
73 reg = <0x50>;
74 };
75};