aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/dts/armada-ap807.dtsi
diff options
context:
space:
mode:
authorKonstantin Porotchkin2021-02-23 14:11:36 +0100
committerStefan Roese2021-04-29 07:39:15 +0200
commitb1c81b4ced6ee939f2cb07ace0ce0def5e757bae (patch)
tree62d44fd3c5bca79acfad6d79df02e63285a6bb11 /arch/arm/dts/armada-ap807.dtsi
parenta0ba97e5617fc636992fb0bab7cabc17a17b3bdd (diff)
arm: armada: dts: Add support for ap807-based platforms
Add support for SoCs based on AP807 die. Remove unused include file for Armada-8020 SoC. Signed-off-by: Konstantin Porotchkin <kostap@marvell.com> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'arch/arm/dts/armada-ap807.dtsi')
-rw-r--r--arch/arm/dts/armada-ap807.dtsi40
1 files changed, 40 insertions, 0 deletions
diff --git a/arch/arm/dts/armada-ap807.dtsi b/arch/arm/dts/armada-ap807.dtsi
new file mode 100644
index 00000000000..a5309f34309
--- /dev/null
+++ b/arch/arm/dts/armada-ap807.dtsi
@@ -0,0 +1,40 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright (C) 2020 Marvell International Ltd.
+ */
+
+/*
+ * Device Tree file for Marvell Armada AP807.
+ */
+
+/* AP807 Settings */
+#define AP_NAME ap807
+
+#include "armada-ap80x.dtsi"
+
+/ {
+ model = "Marvell Armada AP807";
+
+ AP_NAME {
+ config-space {
+ sar-reg {
+ compatible = "marvell,sample-at-reset-common",
+ "marvell,sample-at-reset-ap807";
+ reg = <0x6F8200 0x8>;
+ sar-driver = "ap807_sar";
+ sar-name = "ap807_sar";
+ status = "okay";
+ };
+
+ thermal: thermal@6f8084 {
+ compatible = "marvell,mvebu-thermal",
+ "marvell,thermal-ext-sensor";
+ reg = <0x6f8084 0x12>;
+ gain = <394>;
+ offset = <128900>;
+ divisor = <1000>;
+ status = "okay";
+ };
+ };
+ };
+};