summaryrefslogtreecommitdiff
path: root/arch/arm/dts/rk3036-sdk.dts
diff options
context:
space:
mode:
authorhuang lin <hl@rock-chips.com>2015-11-17 06:20:28 (GMT)
committerSimon Glass <sjg@chromium.org>2015-12-01 15:07:22 (GMT)
commitd8b597823b90f43cb3cd1fb82ab1f4804a8ad1e5 (patch)
tree3f4e03d1732d429f6fabda6a9f127ce869b7730f /arch/arm/dts/rk3036-sdk.dts
parentbe1d5e0388d2e506d875d4b984485526bdf3197f (diff)
downloadu-boot-d8b597823b90f43cb3cd1fb82ab1f4804a8ad1e5.tar.xz
rockchip: Add basic support for evb-rk3036 board
This add some basic files required to allow the board to dispaly serial message and can run command(mmc info etc) Signed-off-by: Lin Huang <hl@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org> Moved board Kconfig fragment from previous patch into this one to fix build error: Signed-off-by: Simon Glass <sjg@chromium.org> Series-changes: 8 - moved board Kconfig fragment from previous patch into this one
Diffstat (limited to 'arch/arm/dts/rk3036-sdk.dts')
-rw-r--r--arch/arm/dts/rk3036-sdk.dts46
1 files changed, 46 insertions, 0 deletions
diff --git a/arch/arm/dts/rk3036-sdk.dts b/arch/arm/dts/rk3036-sdk.dts
new file mode 100644
index 0000000..a83badb
--- /dev/null
+++ b/arch/arm/dts/rk3036-sdk.dts
@@ -0,0 +1,46 @@
+/*
+ * (C) Copyright 2015 Rockchip Electronics Co., Ltd
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+/dts-v1/;
+
+#include "rk3036.dtsi"
+
+/ {
+ model = "SDK-RK3036";
+ compatible = "sdk,sdk-rk3036", "rockchip,rk3036";
+
+ chosen {
+ stdout-path = &uart2;
+ };
+
+ usb_control {
+ compatible = "rockchip,rk3036-usb-control";
+ host_drv_gpio = <&gpio2 23 GPIO_ACTIVE_LOW>;
+ otg_drv_gpio = <&gpio0 26 GPIO_ACTIVE_LOW>;
+ };
+};
+
+&i2c1 {
+ status = "okay";
+
+ hym8563: hym8563@51 {
+ compatible = "haoyu,hym8563";
+ reg = <0x51>;
+ #clock-cells = <0>;
+ clock-frequency = <32768>;
+ clock-output-names = "xin32k";
+ };
+};
+
+&usb_host {
+ status = "okay";
+};
+
+&usb_otg {
+ status = "okay";
+
+ dr_mode = "host";
+};