Tom Rini | 8b0c8a1 | 2018-05-06 18:27:01 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ OR X11 |
Xu Ziyuan | 535b3dc | 2016-08-01 08:46:19 +0800 | [diff] [blame] | 2 | /* |
| 3 | * (C) Copyright 2016 Rockchip Electronics Co., Ltd |
Xu Ziyuan | 535b3dc | 2016-08-01 08:46:19 +0800 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | /dts-v1/; |
Eddie Cai | 1e1a79f | 2017-01-18 11:03:54 +0800 | [diff] [blame] | 7 | #include "rk3288-tinker.dtsi" |
Xu Ziyuan | 535b3dc | 2016-08-01 08:46:19 +0800 | [diff] [blame] | 8 | |
| 9 | / { |
Eddie Cai | 1e1a79f | 2017-01-18 11:03:54 +0800 | [diff] [blame] | 10 | model = "Tinker-RK3288"; |
| 11 | compatible = "rockchip,rk3288-tinker", "rockchip,rk3288"; |
Xu Ziyuan | 535b3dc | 2016-08-01 08:46:19 +0800 | [diff] [blame] | 12 | |
| 13 | chosen { |
| 14 | stdout-path = &uart2; |
| 15 | }; |
| 16 | }; |
| 17 | |
| 18 | &dmc { |
Jacob Chen | 7ac5c1c | 2016-11-15 12:01:47 +0800 | [diff] [blame] | 19 | 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 Ziyuan | 535b3dc | 2016-08-01 08:46:19 +0800 | [diff] [blame] | 27 | }; |
| 28 | |
| 29 | |
| 30 | &pinctrl { |
Eddie Cai | 04ef38d | 2017-03-07 12:46:00 +0800 | [diff] [blame] | 31 | usb { |
| 32 | host_vbus_drv: host-vbus-drv { |
| 33 | rockchip,pins = <0 14 RK_FUNC_GPIO &pcfg_pull_none>; |
| 34 | }; |
| 35 | }; |
Xu Ziyuan | 535b3dc | 2016-08-01 08:46:19 +0800 | [diff] [blame] | 36 | }; |
| 37 | |
| 38 | &pwm1 { |
| 39 | status = "okay"; |
| 40 | }; |
| 41 | |
| 42 | &uart2 { |
Xu Ziyuan | 535b3dc | 2016-08-01 08:46:19 +0800 | [diff] [blame] | 43 | reg-shift = <2>; |
| 44 | }; |
| 45 | |
Eddie Cai | 04ef38d | 2017-03-07 12:46:00 +0800 | [diff] [blame] | 46 | &usb_host1 { |
| 47 | vbus-supply = <&vcc5v0_host>; |
| 48 | status = "okay"; |
| 49 | }; |
| 50 | |
Jonas Karlman | 269a37f | 2017-04-22 08:57:54 +0000 | [diff] [blame] | 51 | &i2c2 { |
| 52 | m24c08@50 { |
| 53 | compatible = "at,24c08", "i2c-eeprom"; |
| 54 | reg = <0x50>; |
| 55 | }; |
| 56 | }; |