xref: /freebsd/sys/contrib/device-tree/src/arm/nxp/vf/vf500.dtsi (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2*f126890aSEmmanuel Vadot//
3*f126890aSEmmanuel Vadot// Copyright 2013 Freescale Semiconductor, Inc.
4*f126890aSEmmanuel Vadot
5*f126890aSEmmanuel Vadot#include "vfxxx.dtsi"
6*f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/arm-gic.h>
7*f126890aSEmmanuel Vadot
8*f126890aSEmmanuel Vadot/ {
9*f126890aSEmmanuel Vadot	#address-cells = <1>;
10*f126890aSEmmanuel Vadot	#size-cells = <1>;
11*f126890aSEmmanuel Vadot	chosen { };
12*f126890aSEmmanuel Vadot	aliases { };
13*f126890aSEmmanuel Vadot
14*f126890aSEmmanuel Vadot	cpus {
15*f126890aSEmmanuel Vadot		#address-cells = <1>;
16*f126890aSEmmanuel Vadot		#size-cells = <0>;
17*f126890aSEmmanuel Vadot
18*f126890aSEmmanuel Vadot		a5_cpu: cpu@0 {
19*f126890aSEmmanuel Vadot			compatible = "arm,cortex-a5";
20*f126890aSEmmanuel Vadot			device_type = "cpu";
21*f126890aSEmmanuel Vadot			reg = <0x0>;
22*f126890aSEmmanuel Vadot		};
23*f126890aSEmmanuel Vadot	};
24*f126890aSEmmanuel Vadot
25*f126890aSEmmanuel Vadot	soc {
26*f126890aSEmmanuel Vadot		bus@40000000 {
27*f126890aSEmmanuel Vadot
28*f126890aSEmmanuel Vadot			intc: interrupt-controller@40003000 {
29*f126890aSEmmanuel Vadot				compatible = "arm,cortex-a9-gic";
30*f126890aSEmmanuel Vadot				#interrupt-cells = <3>;
31*f126890aSEmmanuel Vadot				interrupt-controller;
32*f126890aSEmmanuel Vadot				interrupt-parent = <&intc>;
33*f126890aSEmmanuel Vadot				reg = <0x40003000 0x1000>,
34*f126890aSEmmanuel Vadot				      <0x40002100 0x100>;
35*f126890aSEmmanuel Vadot			};
36*f126890aSEmmanuel Vadot
37*f126890aSEmmanuel Vadot			global_timer: timer@40002200 {
38*f126890aSEmmanuel Vadot				compatible = "arm,cortex-a9-global-timer";
39*f126890aSEmmanuel Vadot				reg = <0x40002200 0x20>;
40*f126890aSEmmanuel Vadot				interrupts = <GIC_PPI 11 IRQ_TYPE_EDGE_RISING>;
41*f126890aSEmmanuel Vadot				interrupt-parent = <&intc>;
42*f126890aSEmmanuel Vadot				clocks = <&clks VF610_CLK_PLATFORM_BUS>;
43*f126890aSEmmanuel Vadot			};
44*f126890aSEmmanuel Vadot		};
45*f126890aSEmmanuel Vadot
46*f126890aSEmmanuel Vadot		bus@40080000 {
47*f126890aSEmmanuel Vadot			pmu@40089000 {
48*f126890aSEmmanuel Vadot				compatible = "arm,cortex-a5-pmu";
49*f126890aSEmmanuel Vadot				interrupts = <7 IRQ_TYPE_LEVEL_HIGH>;
50*f126890aSEmmanuel Vadot				interrupt-affinity = <&a5_cpu>;
51*f126890aSEmmanuel Vadot				reg = <0x40089000 0x1000>;
52*f126890aSEmmanuel Vadot			};
53*f126890aSEmmanuel Vadot		};
54*f126890aSEmmanuel Vadot
55*f126890aSEmmanuel Vadot	};
56*f126890aSEmmanuel Vadot};
57*f126890aSEmmanuel Vadot
58*f126890aSEmmanuel Vadot&mscm_ir {
59*f126890aSEmmanuel Vadot	interrupt-parent = <&intc>;
60*f126890aSEmmanuel Vadot};
61*f126890aSEmmanuel Vadot
62*f126890aSEmmanuel Vadot&wdoga5 {
63*f126890aSEmmanuel Vadot	status = "okay";
64*f126890aSEmmanuel Vadot};
65