huang lin | d8b5978 | 2015-11-17 14:20:28 +0800 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2015 Rockchip Electronics Co., Ltd |
| 3 | * |
| 4 | * SPDX-License-Identifier: GPL-2.0+ |
| 5 | */ |
| 6 | |
| 7 | /dts-v1/; |
| 8 | |
| 9 | #include "rk3036.dtsi" |
| 10 | |
| 11 | / { |
| 12 | model = "SDK-RK3036"; |
| 13 | compatible = "sdk,sdk-rk3036", "rockchip,rk3036"; |
| 14 | |
| 15 | chosen { |
| 16 | stdout-path = &uart2; |
| 17 | }; |
| 18 | |
| 19 | usb_control { |
| 20 | compatible = "rockchip,rk3036-usb-control"; |
| 21 | host_drv_gpio = <&gpio2 23 GPIO_ACTIVE_LOW>; |
| 22 | otg_drv_gpio = <&gpio0 26 GPIO_ACTIVE_LOW>; |
| 23 | }; |
| 24 | }; |
| 25 | |
| 26 | &i2c1 { |
| 27 | status = "okay"; |
| 28 | |
| 29 | hym8563: hym8563@51 { |
| 30 | compatible = "haoyu,hym8563"; |
| 31 | reg = <0x51>; |
| 32 | #clock-cells = <0>; |
| 33 | clock-frequency = <32768>; |
| 34 | clock-output-names = "xin32k"; |
| 35 | }; |
| 36 | }; |
| 37 | |
| 38 | &usb_host { |
| 39 | status = "okay"; |
| 40 | }; |
| 41 | |
| 42 | &usb_otg { |
| 43 | status = "okay"; |
| 44 | |
| 45 | dr_mode = "host"; |
| 46 | }; |