ARM: dts: rockchip: add rk3288-based Tinker board S
authorDavid Summers <beagleboard@davidjohnsummers.uk>
Sun, 23 Sep 2018 11:38:07 +0000 (13:38 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 26 Sep 2018 12:31:30 +0000 (14:31 +0200)
Add the actual dts for the tinker board S, which brings its own emmc
device, not therefore not requiring an sd-card to boot.

Signed-off-by: David Summers <beagleboard@davidjohnsummers.uk>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Documentation/devicetree/bindings/arm/rockchip.txt
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/rk3288-tinker-s.dts [new file with mode: 0644]

index acfd3c7..037ce94 100644 (file)
@@ -13,6 +13,10 @@ Rockchip platforms device tree bindings
     Required root node properties:
       - compatible = "asus,rk3288-tinker", "rockchip,rk3288";
 
+- 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";
index b5bd3de..dc86080 100644 (file)
@@ -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 \
diff --git a/arch/arm/boot/dts/rk3288-tinker-s.dts b/arch/arm/boot/dts/rk3288-tinker-s.dts
new file mode 100644 (file)
index 0000000..3709392
--- /dev/null
@@ -0,0 +1,26 @@
+// 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";
+};
+
+&emmc {
+       bus-width = <8>;
+       cap-mmc-highspeed;
+       disable-wp;
+       non-removable;
+       pinctrl-names = "default";
+       pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_pwr &emmc_bus8>;
+       max-frequency = <150000000>;
+       mmc-hs200-1_8v;
+       mmc-ddr-1_8v;
+       status = "okay";
+};