Skip to contentSkip to conversation

Device Tree for ASUS Tinker Board S (v2)

PATCH New David Summers 1 participant 4 messages Sep 16, 2018

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Device Tree for ASUS Tinker Board S (v2)

Thanks to Heiko for comments on the first

The tinkerboard S is an ASUS device, it is similar to the tinker board but with an eMMC chip, which needs enabling in the device tree.

This patch is split into 3 parts
1) It creates a common include file rk3288-tinker.dtsi and sets up rk3288-tinker.dts and rk3288-tinker-s.dts to do device trees for the two boards
2) It patches the rk3288-tinker-s.dts to enable eMMC
3) It patches the rk3299-tinker-s.dts to enable WiFi and Bluetooth

I'm not sure if the wifi should be common for both boards (so in the dtsi) But am sure its needed to enable wifi on the S variant.

I have asked for the dtb to be tested - but sending these patches anyway to get comments back.

Regards

David Summers
signed-off: "David Summers" <[email protected]>

#1 lore raw

PATCH 1/3 Device Tree for ASUS Tinker Board S (v2)

+- Asus Tinker board S
+    Required root node properties:
+      - compatible = "asus,rk3288-tinker-s", "rockchip,rk3288";

+
- Kylin RK3036 board:
Required root node properties:
- compatible = "rockchip,kylin-rk3036", "rockchip,rk3036";

arch/arm/boot/dts/Makefile +1 -0
index b5bd3de87c33..dc86080c60e3 100644
@@ -864,6 +864,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += \
 	rk3288-r89.dtb \
 	rk3288-rock2-square.dtb \
 	rk3288-tinker.dtb \
+	rk3288-tinker-s.dtb \
 	rk3288-veyron-brain.dtb \
 	rk3288-veyron-jaq.dtb \
 	rk3288-veyron-jerry.dtb \
arch/arm/boot/dts/rk3288-tinker-s.dts +13 -0
index e69de29bb2d1..5e1078c6a784 100644
@@ -0,0 +1,13 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (c) 2017 Fuzhou Rockchip Electronics Co., Ltd.
+ */
+
+/dts-v1/;
+
+#include "rk3288-tinker.dtsi"
+
+/ {
+	model = "Rockchip RK3288 Asus Tinker Board S";
+	compatible = "asus,rk3288-tinker-s", "rockchip,rk3288";
+};
arch/arm/boot/dts/rk3288-tinker.dts +2 -496

505 lines not on this page · raw message

arch/arm/boot/dts/rk3288-tinker.dtsi +504 -0

504 lines not on this page · raw message

#3 lore raw

PATCH 3/3 Device Tree for ASUS Tinker Board S (v2)

In reply to David Summers

&emmc {
@@ -25,3 +114,7 @@
mmc-ddr-1_8v;
status = "okay";
};
+
+&uart0 {
+ pinctrl-0 = <&uart0_xfer>, <&uart0_cts>;
+};