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