diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2018-08-30 04:14:58 -0400 |
---|---|---|
committer | Gregory CLEMENT <gregory.clement@bootlin.com> | 2018-09-21 10:12:59 -0400 |
commit | 0863e01c39930cbefb25b4b111065a9089f46de0 (patch) | |
tree | f15dce623103acc242ab325c649e7eccb501ec12 | |
parent | 5b394b2ddf0347bef56e50c69a58773c94343ff3 (diff) |
arm64: dts: marvell: move AP806/CP110 thermal nodes into a new syscon
New bindings impose to declare the thermal IP from within a new syscon.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
-rw-r--r-- | arch/arm64/boot/dts/marvell/armada-ap806.dtsi | 14 | ||||
-rw-r--r-- | arch/arm64/boot/dts/marvell/armada-cp110.dtsi | 18 |
2 files changed, 22 insertions, 10 deletions
diff --git a/arch/arm64/boot/dts/marvell/armada-ap806.dtsi b/arch/arm64/boot/dts/marvell/armada-ap806.dtsi index 176e38d54872..27930394249d 100644 --- a/arch/arm64/boot/dts/marvell/armada-ap806.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-ap806.dtsi | |||
@@ -247,10 +247,16 @@ | |||
247 | }; | 247 | }; |
248 | }; | 248 | }; |
249 | 249 | ||
250 | ap_thermal: thermal@6f808c { | 250 | ap_syscon1: system-controller@6f8000 { |
251 | compatible = "marvell,armada-ap806-thermal"; | 251 | compatible = "syscon", "simple-mfd"; |
252 | reg = <0x6f808c 0x4>, | 252 | reg = <0x6f8000 0x1000>; |
253 | <0x6f8084 0x8>; | 253 | #address-cells = <1>; |
254 | #size-cells = <1>; | ||
255 | |||
256 | ap_thermal: thermal-sensor@80 { | ||
257 | compatible = "marvell,armada-ap806-thermal"; | ||
258 | reg = <0x80 0x10>; | ||
259 | }; | ||
254 | }; | 260 | }; |
255 | }; | 261 | }; |
256 | }; | 262 | }; |
diff --git a/arch/arm64/boot/dts/marvell/armada-cp110.dtsi b/arch/arm64/boot/dts/marvell/armada-cp110.dtsi index 840c8454d03e..70a784de3e06 100644 --- a/arch/arm64/boot/dts/marvell/armada-cp110.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-cp110.dtsi | |||
@@ -162,12 +162,6 @@ | |||
162 | interrupts = <ICU_GRP_NSR 77 IRQ_TYPE_LEVEL_HIGH>; | 162 | interrupts = <ICU_GRP_NSR 77 IRQ_TYPE_LEVEL_HIGH>; |
163 | }; | 163 | }; |
164 | 164 | ||
165 | CP110_LABEL(thermal): thermal@400078 { | ||
166 | compatible = "marvell,armada-cp110-thermal"; | ||
167 | reg = <0x400078 0x4>, | ||
168 | <0x400070 0x8>; | ||
169 | }; | ||
170 | |||
171 | CP110_LABEL(syscon0): system-controller@440000 { | 165 | CP110_LABEL(syscon0): system-controller@440000 { |
172 | compatible = "syscon", "simple-mfd"; | 166 | compatible = "syscon", "simple-mfd"; |
173 | reg = <0x440000 0x2000>; | 167 | reg = <0x440000 0x2000>; |
@@ -208,6 +202,18 @@ | |||
208 | }; | 202 | }; |
209 | }; | 203 | }; |
210 | 204 | ||
205 | CP110_LABEL(syscon1): system-controller@400000 { | ||
206 | compatible = "syscon", "simple-mfd"; | ||
207 | reg = <0x400000 0x1000>; | ||
208 | #address-cells = <1>; | ||
209 | #size-cells = <1>; | ||
210 | |||
211 | CP110_LABEL(thermal): thermal-sensor@70 { | ||
212 | compatible = "marvell,armada-cp110-thermal"; | ||
213 | reg = <0x70 0x10>; | ||
214 | }; | ||
215 | }; | ||
216 | |||
211 | CP110_LABEL(usb3_0): usb3@500000 { | 217 | CP110_LABEL(usb3_0): usb3@500000 { |
212 | compatible = "marvell,armada-8k-xhci", | 218 | compatible = "marvell,armada-8k-xhci", |
213 | "generic-xhci"; | 219 | "generic-xhci"; |