Heinrich Schuchardt | be12fb9 | 2019-04-28 06:46:57 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
Fabian Vogt | 7ad2aa0 | 2016-09-26 14:26:47 +0200 | [diff] [blame] | 2 | #include "bcm283x.dtsi" |
Simon Glass | 0ca7009 | 2021-12-16 20:59:13 -0700 | [diff] [blame] | 3 | #include "bcm2835-common.dtsi" |
| 4 | #include "bcm2835-rpi-common.dtsi" |
Fabian Vogt | 7ad2aa0 | 2016-09-26 14:26:47 +0200 | [diff] [blame] | 5 | |
| 6 | / { |
| 7 | compatible = "brcm,bcm2835"; |
| 8 | |
| 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 | |
| 20 | soc { |
| 21 | ranges = <0x7e000000 0x20000000 0x02000000>; |
| 22 | dma-ranges = <0x40000000 0x00000000 0x20000000>; |
Heinrich Schuchardt | be12fb9 | 2019-04-28 06:46:57 +0200 | [diff] [blame] | 23 | }; |
Fabian Vogt | 7ad2aa0 | 2016-09-26 14:26:47 +0200 | [diff] [blame] | 24 | |
Heinrich Schuchardt | be12fb9 | 2019-04-28 06:46:57 +0200 | [diff] [blame] | 25 | arm-pmu { |
| 26 | compatible = "arm,arm1176-pmu"; |
Fabian Vogt | 7ad2aa0 | 2016-09-26 14:26:47 +0200 | [diff] [blame] | 27 | }; |
| 28 | }; |
Alexander Graf | 377c534 | 2017-10-04 14:39:16 +0200 | [diff] [blame] | 29 | |
| 30 | &cpu_thermal { |
| 31 | coefficients = <(-538) 407000>; |
| 32 | }; |
| 33 | |
| 34 | /* enable thermal sensor with the correct compatible property set */ |
| 35 | &thermal { |
| 36 | compatible = "brcm,bcm2835-thermal"; |
| 37 | status = "okay"; |
| 38 | }; |