xref: /openbmc/u-boot/arch/arm/dts/bcm2836.dtsi (revision cf0bcd7d)
1#include "bcm283x.dtsi"
2
3/ {
4	compatible = "brcm,bcm2836";
5
6	soc {
7		ranges = <0x7e000000 0x3f000000 0x1000000>,
8			 <0x40000000 0x40000000 0x00001000>;
9		dma-ranges = <0xc0000000 0x00000000 0x3f000000>;
10
11		local_intc: local_intc {
12			compatible = "brcm,bcm2836-l1-intc";
13			reg = <0x40000000 0x100>;
14			interrupt-controller;
15			#interrupt-cells = <1>;
16			interrupt-parent = <&local_intc>;
17		};
18
19		arm-pmu {
20			compatible = "arm,cortex-a7-pmu";
21			interrupt-parent = <&local_intc>;
22			interrupts = <9>;
23		};
24	};
25
26	timer {
27		compatible = "arm,armv7-timer";
28		interrupt-parent = <&local_intc>;
29		interrupts = <0>, // PHYS_SECURE_PPI
30			     <1>, // PHYS_NONSECURE_PPI
31			     <3>, // VIRT_PPI
32			     <2>; // HYP_PPI
33		always-on;
34	};
35
36	cpus: cpus {
37		#address-cells = <1>;
38		#size-cells = <0>;
39		enable-method = "brcm,bcm2836-smp";
40
41		v7_cpu0: cpu@0 {
42			device_type = "cpu";
43			compatible = "arm,cortex-a7";
44			reg = <0xf00>;
45			clock-frequency = <800000000>;
46		};
47
48		v7_cpu1: cpu@1 {
49			device_type = "cpu";
50			compatible = "arm,cortex-a7";
51			reg = <0xf01>;
52			clock-frequency = <800000000>;
53		};
54
55		v7_cpu2: cpu@2 {
56			device_type = "cpu";
57			compatible = "arm,cortex-a7";
58			reg = <0xf02>;
59			clock-frequency = <800000000>;
60		};
61
62		v7_cpu3: cpu@3 {
63			device_type = "cpu";
64			compatible = "arm,cortex-a7";
65			reg = <0xf03>;
66			clock-frequency = <800000000>;
67		};
68	};
69};
70
71/* Make the BCM2835-style global interrupt controller be a child of the
72 * CPU-local interrupt controller.
73 */
74&intc {
75	compatible = "brcm,bcm2836-armctrl-ic";
76	reg = <0x7e00b200 0x200>;
77	interrupt-parent = <&local_intc>;
78	interrupts = <8>;
79};
80
81&cpu_thermal {
82	coefficients = <(-538)	407000>;
83};
84
85/* enable thermal sensor with the correct compatible property set */
86&thermal {
87	compatible = "brcm,bcm2836-thermal";
88	status = "okay";
89};
90