@@ -16,3 +16,4 @@ dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h5-orangepi-prime.dtb
dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h5-orangepi-zero-plus.dtb
dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h5-orangepi-zero-plus2.dtb
dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-pine-h64.dtb
+dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-pine-h64-model-b.dtb
new file mode 100644
@@ -0,0 +1,20 @@
+// SPDX-License-Identifier: (GPL-2.0+ or MIT)
+/*
+ * Copyright (c) 2017 Icenowy Zheng <icenowy@aosc.io>
+ */
+
+#include "sun50i-h6-pine-h64.dts"
+
+/ {
+ model = "Pine H64 Model B";
+ compatible = "pine64,pine-h64-model-b", "pine64,pine-h64",
+ "allwinner,sun50i-h6";
+
+ leds {
+ /delete-node/ heartbeat;
+
+ status {
+ label = "pine-h64:red:status";
+ };
+ };
+};
@@ -10,8 +10,9 @@
#include <dt-bindings/gpio/gpio.h>
/ {
- model = "Pine H64";
- compatible = "pine64,pine-h64", "allwinner,sun50i-h6";
+ model = "Pine H64 Model A";
+ compatible = "pine64,pine-h64-model-a", "pine64,pine-h64",
+ "allwinner,sun50i-h6";
aliases {
serial0 = &uart0;
Pine H64 model B is another variant of Pine H64 by Pine64. It features a smaller board footprint (of RPi size) and drops PCIe. It also have WLAN on board (rather than via expansion connector on the original model A) and some LED changes. Add an initial device tree for it. Only LED difference is considered now, as functionalities related to other changes are still not available now. Signed-off-by: Icenowy Zheng <icenowy@aosc.io> --- arch/arm64/boot/dts/allwinner/Makefile | 1 + .../allwinner/sun50i-h6-pine-h64-model-b.dts | 20 +++++++++++++++++++ .../boot/dts/allwinner/sun50i-h6-pine-h64.dts | 5 +++-- 3 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-model-b.dts