diff options
author | Heiko Stuebner <heiko@sntech.de> | 2018-02-19 03:04:46 -0500 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2018-02-20 04:35:52 -0500 |
commit | 0626d183479480c878c15157a38d6dd962c1dae6 (patch) | |
tree | 27954a7ce99e5af7bc487f69db732ee01fe8ae1b | |
parent | 3811c91524368bc162806e042047b17949af631b (diff) |
arm64: dts: rockchip: add a standalone version of the rk3399 sapphire
While the sapphire board is a system-on-module and mostly used with the
excavator baseboard, it is also possible to use it standalone without
any base. So add a board-variant for this type.
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Tested-by: Vicente Bergas <vicencb@gmail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
-rw-r--r-- | Documentation/devicetree/bindings/arm/rockchip.txt | 4 | ||||
-rw-r--r-- | arch/arm64/boot/dts/rockchip/Makefile | 1 | ||||
-rw-r--r-- | arch/arm64/boot/dts/rockchip/rk3399-sapphire.dts | 12 |
3 files changed, 17 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/arm/rockchip.txt b/Documentation/devicetree/bindings/arm/rockchip.txt index 9a3e98356b1e..1c1d62d03c4f 100644 --- a/Documentation/devicetree/bindings/arm/rockchip.txt +++ b/Documentation/devicetree/bindings/arm/rockchip.txt | |||
@@ -185,6 +185,10 @@ Rockchip platforms device tree bindings | |||
185 | Required root node properties: | 185 | Required root node properties: |
186 | - compatible = "rockchip,rk3399-evb", "rockchip,rk3399"; | 186 | - compatible = "rockchip,rk3399-evb", "rockchip,rk3399"; |
187 | 187 | ||
188 | - Rockchip RK3399 Sapphire board standalone: | ||
189 | Required root node properties: | ||
190 | - compatible = "rockchip,rk3399-sapphire", "rockchip,rk3399"; | ||
191 | |||
188 | - Rockchip RK3399 Sapphire Excavator board: | 192 | - Rockchip RK3399 Sapphire Excavator board: |
189 | Required root node properties: | 193 | Required root node properties: |
190 | - compatible = "rockchip,rk3399-sapphire-excavator", "rockchip,rk3399"; | 194 | - compatible = "rockchip,rk3399-sapphire-excavator", "rockchip,rk3399"; |
diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile index 1e57f87f30c4..48a83f882947 100644 --- a/arch/arm64/boot/dts/rockchip/Makefile +++ b/arch/arm64/boot/dts/rockchip/Makefile | |||
@@ -12,4 +12,5 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-evb.dtb | |||
12 | dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-firefly.dtb | 12 | dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-firefly.dtb |
13 | dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-gru-kevin.dtb | 13 | dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-gru-kevin.dtb |
14 | dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-puma-haikou.dtb | 14 | dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-puma-haikou.dtb |
15 | dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-sapphire.dtb | ||
15 | dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-sapphire-excavator.dtb | 16 | dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-sapphire-excavator.dtb |
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dts b/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dts new file mode 100644 index 000000000000..5a58060447cf --- /dev/null +++ b/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dts | |||
@@ -0,0 +1,12 @@ | |||
1 | // SPDX-License-Identifier: (GPL-2.0+ OR MIT) | ||
2 | /* | ||
3 | * Copyright (c) 2018 Fuzhou Rockchip Electronics Co., Ltd. | ||
4 | */ | ||
5 | |||
6 | /dts-v1/; | ||
7 | #include "rk3399-sapphire.dtsi" | ||
8 | |||
9 | / { | ||
10 | model = "Sapphire-RK3399 Board"; | ||
11 | compatible = "rockchip,rk3399-sapphire", "rockchip,rk3399"; | ||
12 | }; | ||