Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
Eric Anholt | 548c3a3 | 2015-12-16 13:24:40 -0800 | [diff] [blame] | 2 | #include "bcm283x.dtsi" |
Stefan Wahren | 3ce82be | 2019-08-17 18:08:09 +0200 | [diff] [blame] | 3 | #include "bcm2835-common.dtsi" |
Nicolas Saenz Julienne | 3ac395a | 2020-03-03 18:32:16 +0100 | [diff] [blame] | 4 | #include "bcm2835-rpi-common.dtsi" |
Simon Arlott | ec9653b | 2012-05-26 01:04:43 -0600 | [diff] [blame] | 5 | |
6 | / { | ||||
7 | compatible = "brcm,bcm2835"; | ||||
Simon Arlott | ec9653b | 2012-05-26 01:04:43 -0600 | [diff] [blame] | 8 | |
Stefan Wahren | 1b2f897 | 2016-03-31 17:25:17 +0000 | [diff] [blame] | 9 | cpus { |
10 | #address-cells = <1>; | ||||
11 | #size-cells = <0>; | ||||
12 | |||||
13 | cpu@0 { | ||||
14 | device_type = "cpu"; | ||||
15 | compatible = "arm,arm1176jzf-s"; | ||||
16 | reg = <0x0>; | ||||
17 | }; | ||||
18 | }; | ||||
19 | |||||
Simon Arlott | ec9653b | 2012-05-26 01:04:43 -0600 | [diff] [blame] | 20 | soc { |
Simon Arlott | ec9653b | 2012-05-26 01:04:43 -0600 | [diff] [blame] | 21 | ranges = <0x7e000000 0x20000000 0x02000000>; |
Eric Anholt | 1215baa | 2015-05-05 13:10:11 -0700 | [diff] [blame] | 22 | dma-ranges = <0x40000000 0x00000000 0x20000000>; |
Stefan Wahren | 2944866 | 2018-02-24 15:15:22 +0100 | [diff] [blame] | 23 | }; |
Simon Arlott | 89214f0 | 2012-09-12 19:57:26 -0600 | [diff] [blame] | 24 | |
Stefan Wahren | 2944866 | 2018-02-24 15:15:22 +0100 | [diff] [blame] | 25 | arm-pmu { |
26 | compatible = "arm,arm1176-pmu"; | ||||
Stephen Warren | 5186bf2 | 2012-12-24 21:58:56 -0700 | [diff] [blame] | 27 | }; |
Simon Arlott | ec9653b | 2012-05-26 01:04:43 -0600 | [diff] [blame] | 28 | }; |
Martin Sperl | 43bac41 | 2016-11-02 10:18:23 +0000 | [diff] [blame] | 29 | |
Stefan Wahren | 0fe4d21 | 2017-03-31 20:03:04 +0000 | [diff] [blame] | 30 | &cpu_thermal { |
31 | coefficients = <(-538) 407000>; | ||||
32 | }; | ||||
33 | |||||
Martin Sperl | 43bac41 | 2016-11-02 10:18:23 +0000 | [diff] [blame] | 34 | /* enable thermal sensor with the correct compatible property set */ |
35 | &thermal { | ||||
36 | compatible = "brcm,bcm2835-thermal"; | ||||
37 | status = "okay"; | ||||
38 | }; |