|
|
0ad9385 |
From 11aa129d33635fb33304b6e9b945e502f5ba707a Mon Sep 17 00:00:00 2001
|
|
|
6c5f577 |
From: Peter Robinson <pbrobinson@gmail.com>
|
|
|
e398f45 |
Date: Thu, 17 Mar 2016 15:19:04 +0000
|
|
|
e398f45 |
Subject: [PATCH] geekbox v4 patchset
|
|
|
6c5f577 |
|
|
|
6c5f577 |
---
|
|
|
39bfc7e |
Documentation/devicetree/bindings/arm/rockchip.txt | 9 ++++
|
|
|
39bfc7e |
arch/arm64/boot/dts/rockchip/Makefile | 1 +
|
|
|
39bfc7e |
arch/arm64/boot/dts/rockchip/rk3368-evb.dtsi | 2 +-
|
|
|
39bfc7e |
.../dts/rockchip/rk3368-geekbox-landingship.dts | 57 ++++++++++++++++++++++
|
|
|
39bfc7e |
arch/arm64/boot/dts/rockchip/rk3368-r88.dts | 2 +-
|
|
|
39bfc7e |
5 files changed, 69 insertions(+), 2 deletions(-)
|
|
|
6c5f577 |
create mode 100644 arch/arm64/boot/dts/rockchip/rk3368-geekbox-landingship.dts
|
|
|
6c5f577 |
|
|
|
6c5f577 |
diff --git a/Documentation/devicetree/bindings/arm/rockchip.txt b/Documentation/devicetree/bindings/arm/rockchip.txt
|
|
|
0ad9385 |
index 55f388f..989a039 100644
|
|
|
6c5f577 |
--- a/Documentation/devicetree/bindings/arm/rockchip.txt
|
|
|
6c5f577 |
+++ b/Documentation/devicetree/bindings/arm/rockchip.txt
|
|
|
0ad9385 |
@@ -99,6 +99,15 @@ Rockchip platforms device tree bindings
|
|
|
39bfc7e |
Required root node properties:
|
|
|
39bfc7e |
- compatible = "mqmaker,miqi", "rockchip,rk3288";
|
|
|
6c5f577 |
|
|
|
6c5f577 |
+- GeekBuying GeekBox:
|
|
|
6c5f577 |
+ Required root node properties:
|
|
|
6c5f577 |
+ - compatible = "geekbuying,geekbox", "rockchip,rk3368";
|
|
|
6c5f577 |
+
|
|
|
e398f45 |
+- GeekBuying Landingship with GeekBox module:
|
|
|
6c5f577 |
+ Required root node properties:
|
|
|
e398f45 |
+ - compatible = "geekbuying,geekbox-landingship",
|
|
|
6c5f577 |
+ "geekbuying,geekbox", "rockchip,rk3368";
|
|
|
6c5f577 |
+
|
|
|
6c5f577 |
- Rockchip RK3368 evb:
|
|
|
6c5f577 |
Required root node properties:
|
|
|
6c5f577 |
- compatible = "rockchip,rk3368-evb-act8846", "rockchip,rk3368";
|
|
|
6c5f577 |
diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile
|
|
|
0ad9385 |
index 87669f6..9aec54e 100644
|
|
|
6c5f577 |
--- a/arch/arm64/boot/dts/rockchip/Makefile
|
|
|
6c5f577 |
+++ b/arch/arm64/boot/dts/rockchip/Makefile
|
|
|
0ad9385 |
@@ -1,6 +1,7 @@
|
|
|
6c5f577 |
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3368-evb-act8846.dtb
|
|
|
39bfc7e |
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3368-geekbox.dtb
|
|
|
0ad9385 |
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3368-orion-r68-meta.dtb
|
|
|
6c5f577 |
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3368-geekbox-landingship.dtb
|
|
|
6c5f577 |
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3368-r88.dtb
|
|
|
39bfc7e |
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-evb.dtb
|
|
|
6c5f577 |
|
|
|
e398f45 |
diff --git a/arch/arm64/boot/dts/rockchip/rk3368-evb.dtsi b/arch/arm64/boot/dts/rockchip/rk3368-evb.dtsi
|
|
|
39bfc7e |
index fff8b19..bd4f2cf 100644
|
|
|
e398f45 |
--- a/arch/arm64/boot/dts/rockchip/rk3368-evb.dtsi
|
|
|
e398f45 |
+++ b/arch/arm64/boot/dts/rockchip/rk3368-evb.dtsi
|
|
|
39bfc7e |
@@ -49,7 +49,7 @@
|
|
|
e398f45 |
stdout-path = "serial2:115200n8";
|
|
|
e398f45 |
};
|
|
|
e398f45 |
|
|
|
e398f45 |
- memory {
|
|
|
e398f45 |
+ memory@0 {
|
|
|
e398f45 |
device_type = "memory";
|
|
|
e398f45 |
reg = <0x0 0x0 0x0 0x40000000>;
|
|
|
e398f45 |
};
|
|
|
6c5f577 |
diff --git a/arch/arm64/boot/dts/rockchip/rk3368-geekbox-landingship.dts b/arch/arm64/boot/dts/rockchip/rk3368-geekbox-landingship.dts
|
|
|
6c5f577 |
new file mode 100644
|
|
|
e398f45 |
index 0000000..a28ace9
|
|
|
6c5f577 |
--- /dev/null
|
|
|
6c5f577 |
+++ b/arch/arm64/boot/dts/rockchip/rk3368-geekbox-landingship.dts
|
|
|
e398f45 |
@@ -0,0 +1,57 @@
|
|
|
6c5f577 |
+/*
|
|
|
6c5f577 |
+ * Copyright (c) 2016 Andreas Färber
|
|
|
6c5f577 |
+ *
|
|
|
6c5f577 |
+ * This file is dual-licensed: you can use it either under the terms
|
|
|
6c5f577 |
+ * of the GPL or the X11 license, at your option. Note that this dual
|
|
|
6c5f577 |
+ * licensing only applies to this file, and not this project as a
|
|
|
6c5f577 |
+ * whole.
|
|
|
6c5f577 |
+ *
|
|
|
6c5f577 |
+ * a) This file is free software; you can redistribute it and/or
|
|
|
6c5f577 |
+ * modify it under the terms of the GNU General Public License as
|
|
|
6c5f577 |
+ * published by the Free Software Foundation; either version 2 of the
|
|
|
6c5f577 |
+ * License, or (at your option) any later version.
|
|
|
6c5f577 |
+ *
|
|
|
6c5f577 |
+ * This file is distributed in the hope that it will be useful,
|
|
|
6c5f577 |
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
6c5f577 |
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
6c5f577 |
+ * GNU General Public License for more details.
|
|
|
6c5f577 |
+ *
|
|
|
6c5f577 |
+ * Or, alternatively,
|
|
|
6c5f577 |
+ *
|
|
|
6c5f577 |
+ * b) Permission is hereby granted, free of charge, to any person
|
|
|
6c5f577 |
+ * obtaining a copy of this software and associated documentation
|
|
|
6c5f577 |
+ * files (the "Software"), to deal in the Software without
|
|
|
6c5f577 |
+ * restriction, including without limitation the rights to use,
|
|
|
6c5f577 |
+ * copy, modify, merge, publish, distribute, sublicense, and/or
|
|
|
6c5f577 |
+ * sell copies of the Software, and to permit persons to whom the
|
|
|
6c5f577 |
+ * Software is furnished to do so, subject to the following
|
|
|
6c5f577 |
+ * conditions:
|
|
|
6c5f577 |
+ *
|
|
|
6c5f577 |
+ * The above copyright notice and this permission notice shall be
|
|
|
6c5f577 |
+ * included in all copies or substantial portions of the Software.
|
|
|
6c5f577 |
+ *
|
|
|
6c5f577 |
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
|
6c5f577 |
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
|
6c5f577 |
+ * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
|
6c5f577 |
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
|
6c5f577 |
+ * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
|
6c5f577 |
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
|
6c5f577 |
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
|
6c5f577 |
+ * OTHER DEALINGS IN THE SOFTWARE.
|
|
|
6c5f577 |
+ */
|
|
|
6c5f577 |
+
|
|
|
6c5f577 |
+#include "rk3368-geekbox.dts"
|
|
|
6c5f577 |
+
|
|
|
6c5f577 |
+/ {
|
|
|
6c5f577 |
+ model = "GeekBox on Landingship";
|
|
|
e398f45 |
+ compatible = "geekbuying,geekbox-landingship",
|
|
|
e398f45 |
+ "geekbuying,geekbox", "rockchip,rk3368";
|
|
|
6c5f577 |
+};
|
|
|
6c5f577 |
+
|
|
|
6c5f577 |
+&i2c1 {
|
|
|
e398f45 |
+ status = "disabled";
|
|
|
6c5f577 |
+};
|
|
|
6c5f577 |
+
|
|
|
6c5f577 |
+&i2c2 {
|
|
|
6c5f577 |
+ status = "okay";
|
|
|
6c5f577 |
+};
|
|
|
e398f45 |
diff --git a/arch/arm64/boot/dts/rockchip/rk3368-r88.dts b/arch/arm64/boot/dts/rockchip/rk3368-r88.dts
|
|
|
0ad9385 |
index eed1ef6..18e2b77 100644
|
|
|
e398f45 |
--- a/arch/arm64/boot/dts/rockchip/rk3368-r88.dts
|
|
|
e398f45 |
+++ b/arch/arm64/boot/dts/rockchip/rk3368-r88.dts
|
|
|
39bfc7e |
@@ -52,7 +52,7 @@
|
|
|
e398f45 |
stdout-path = "serial2:115200n8";
|
|
|
e398f45 |
};
|
|
|
e398f45 |
|
|
|
e398f45 |
- memory {
|
|
|
e398f45 |
+ memory@0 {
|
|
|
e398f45 |
device_type = "memory";
|
|
|
e398f45 |
reg = <0x0 0x0 0x0 0x40000000>;
|
|
|
e398f45 |
};
|
|
|
6c5f577 |
--
|
|
|
0ad9385 |
2.7.4
|
|
|
6c5f577 |
|