Konstantin Porotchkin | b1c81b4 | 2021-02-23 14:11:36 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /* |
| 3 | * Copyright (C) 2020 Marvell International Ltd. |
| 4 | */ |
| 5 | |
| 6 | /* |
| 7 | * Device Tree file for Marvell Armada AP807. |
| 8 | */ |
| 9 | |
| 10 | /* AP807 Settings */ |
| 11 | #define AP_NAME ap807 |
| 12 | |
| 13 | #include "armada-ap80x.dtsi" |
| 14 | |
| 15 | / { |
| 16 | model = "Marvell Armada AP807"; |
| 17 | |
| 18 | AP_NAME { |
| 19 | config-space { |
| 20 | sar-reg { |
| 21 | compatible = "marvell,sample-at-reset-common", |
| 22 | "marvell,sample-at-reset-ap807"; |
| 23 | reg = <0x6F8200 0x8>; |
| 24 | sar-driver = "ap807_sar"; |
| 25 | sar-name = "ap807_sar"; |
| 26 | status = "okay"; |
| 27 | }; |
| 28 | |
| 29 | thermal: thermal@6f8084 { |
| 30 | compatible = "marvell,mvebu-thermal", |
| 31 | "marvell,thermal-ext-sensor"; |
| 32 | reg = <0x6f8084 0x12>; |
| 33 | gain = <394>; |
| 34 | offset = <128900>; |
| 35 | divisor = <1000>; |
| 36 | status = "okay"; |
| 37 | }; |
| 38 | }; |
| 39 | }; |
| 40 | }; |