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