~funderscore blog cgit wiki get in touch
aboutsummaryrefslogtreecommitdiff
blob: f432089ab25bdebe2962df77ce17683dac6eb1ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (C) 2020 Marvell International Ltd.
 */

/*
 * Device Tree file for Marvell Armada AP806.
 */

/* AP806 Settings */
#define AP_NAME				ap806

#include "armada-ap80x.dtsi"

/ {
	model = "Marvell Armada AP806";

	AP_NAME {
		config-space {
			sar-reg {
				compatible = "marvell,sample-at-reset-common",
					     "marvell,sample-at-reset-ap806";
				reg = <0x6F8200 0x8>;
				sar-driver = "ap806_sar";
				sar-name = "ap806_sar";
				status = "okay";
			};

			thermal: thermal@6f8084 {
				compatible = "marvell,mvebu-thermal",
					     "marvell,thermal-ext-sensor";
				reg = <0x6f8084 0x12>;
				gain = <425>;
				offset = <153400>;
				divisor = <1000>;
				status = "okay";
			};
		};
	};
};