WIP FPC-III support
[linux/fpc-iii.git] / arch / arm / boot / dts / bcm2837.dtsi
blob0199ec98cd61690ad964c1bbe782fcf64583b236
1 #include "bcm283x.dtsi"
2 #include "bcm2835-common.dtsi"
3 #include "bcm2835-rpi-common.dtsi"
5 / {
6         compatible = "brcm,bcm2837";
8         soc {
9                 ranges = <0x7e000000 0x3f000000 0x1000000>,
10                          <0x40000000 0x40000000 0x00001000>;
11                 dma-ranges = <0xc0000000 0x00000000 0x3f000000>;
13                 local_intc: local_intc@40000000 {
14                         compatible = "brcm,bcm2836-l1-intc";
15                         reg = <0x40000000 0x100>;
16                         interrupt-controller;
17                         #interrupt-cells = <2>;
18                         interrupt-parent = <&local_intc>;
19                 };
20         };
22         arm-pmu {
23                 compatible = "arm,cortex-a53-pmu";
24                 interrupt-parent = <&local_intc>;
25                 interrupts = <9 IRQ_TYPE_LEVEL_HIGH>;
26         };
28         timer {
29                 compatible = "arm,armv7-timer";
30                 interrupt-parent = <&local_intc>;
31                 interrupts = <0 IRQ_TYPE_LEVEL_HIGH>, // PHYS_SECURE_PPI
32                              <1 IRQ_TYPE_LEVEL_HIGH>, // PHYS_NONSECURE_PPI
33                              <3 IRQ_TYPE_LEVEL_HIGH>, // VIRT_PPI
34                              <2 IRQ_TYPE_LEVEL_HIGH>; // HYP_PPI
35                 always-on;
36         };
38         cpus: cpus {
39                 #address-cells = <1>;
40                 #size-cells = <0>;
41                 enable-method = "brcm,bcm2836-smp"; // for ARM 32-bit
43                 cpu0: cpu@0 {
44                         device_type = "cpu";
45                         compatible = "arm,cortex-a53";
46                         reg = <0>;
47                         enable-method = "spin-table";
48                         cpu-release-addr = <0x0 0x000000d8>;
49                 };
51                 cpu1: cpu@1 {
52                         device_type = "cpu";
53                         compatible = "arm,cortex-a53";
54                         reg = <1>;
55                         enable-method = "spin-table";
56                         cpu-release-addr = <0x0 0x000000e0>;
57                 };
59                 cpu2: cpu@2 {
60                         device_type = "cpu";
61                         compatible = "arm,cortex-a53";
62                         reg = <2>;
63                         enable-method = "spin-table";
64                         cpu-release-addr = <0x0 0x000000e8>;
65                 };
67                 cpu3: cpu@3 {
68                         device_type = "cpu";
69                         compatible = "arm,cortex-a53";
70                         reg = <3>;
71                         enable-method = "spin-table";
72                         cpu-release-addr = <0x0 0x000000f0>;
73                 };
74         };
77 /* Make the BCM2835-style global interrupt controller be a child of the
78  * CPU-local interrupt controller.
79  */
80 &intc {
81         compatible = "brcm,bcm2836-armctrl-ic";
82         reg = <0x7e00b200 0x200>;
83         interrupt-parent = <&local_intc>;
84         interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;
87 &cpu_thermal {
88         coefficients = <(-538)  412000>;
91 /* enable thermal sensor with the correct compatible property set */
92 &thermal {
93         compatible = "brcm,bcm2837-thermal";
94         status = "okay";