xref: /freebsd/sys/contrib/device-tree/src/arm/st/spear3xx.dtsi (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * DTS file for all SPEAr3xx SoCs
4*f126890aSEmmanuel Vadot *
5*f126890aSEmmanuel Vadot * Copyright 2012 Viresh Kumar <vireshk@kernel.org>
6*f126890aSEmmanuel Vadot */
7*f126890aSEmmanuel Vadot
8*f126890aSEmmanuel Vadot/ {
9*f126890aSEmmanuel Vadot	#address-cells = <1>;
10*f126890aSEmmanuel Vadot	#size-cells = <1>;
11*f126890aSEmmanuel Vadot	interrupt-parent = <&vic>;
12*f126890aSEmmanuel Vadot
13*f126890aSEmmanuel Vadot	cpus {
14*f126890aSEmmanuel Vadot		#address-cells = <0>;
15*f126890aSEmmanuel Vadot		#size-cells = <0>;
16*f126890aSEmmanuel Vadot
17*f126890aSEmmanuel Vadot		cpu {
18*f126890aSEmmanuel Vadot			compatible = "arm,arm926ej-s";
19*f126890aSEmmanuel Vadot			device_type = "cpu";
20*f126890aSEmmanuel Vadot		};
21*f126890aSEmmanuel Vadot	};
22*f126890aSEmmanuel Vadot
23*f126890aSEmmanuel Vadot	memory {
24*f126890aSEmmanuel Vadot		device_type = "memory";
25*f126890aSEmmanuel Vadot		reg = <0 0x40000000>;
26*f126890aSEmmanuel Vadot	};
27*f126890aSEmmanuel Vadot
28*f126890aSEmmanuel Vadot	ahb {
29*f126890aSEmmanuel Vadot		#address-cells = <1>;
30*f126890aSEmmanuel Vadot		#size-cells = <1>;
31*f126890aSEmmanuel Vadot		compatible = "simple-bus";
32*f126890aSEmmanuel Vadot		ranges = <0xd0000000 0xd0000000 0x30000000>;
33*f126890aSEmmanuel Vadot
34*f126890aSEmmanuel Vadot		vic: interrupt-controller@f1100000 {
35*f126890aSEmmanuel Vadot			compatible = "arm,pl190-vic";
36*f126890aSEmmanuel Vadot			interrupt-controller;
37*f126890aSEmmanuel Vadot			reg = <0xf1100000 0x1000>;
38*f126890aSEmmanuel Vadot			#interrupt-cells = <1>;
39*f126890aSEmmanuel Vadot		};
40*f126890aSEmmanuel Vadot
41*f126890aSEmmanuel Vadot		dma@fc400000 {
42*f126890aSEmmanuel Vadot			compatible = "arm,pl080", "arm,primecell";
43*f126890aSEmmanuel Vadot			reg = <0xfc400000 0x1000>;
44*f126890aSEmmanuel Vadot			interrupt-parent = <&vic>;
45*f126890aSEmmanuel Vadot			interrupts = <8>;
46*f126890aSEmmanuel Vadot			status = "disabled";
47*f126890aSEmmanuel Vadot		};
48*f126890aSEmmanuel Vadot
49*f126890aSEmmanuel Vadot		gmac: eth@e0800000 {
50*f126890aSEmmanuel Vadot			compatible = "snps,dwmac-3.40a";
51*f126890aSEmmanuel Vadot			reg = <0xe0800000 0x8000>;
52*f126890aSEmmanuel Vadot			interrupts = <23 22>;
53*f126890aSEmmanuel Vadot			interrupt-names = "macirq", "eth_wake_irq";
54*f126890aSEmmanuel Vadot			phy-mode = "mii";
55*f126890aSEmmanuel Vadot			status = "disabled";
56*f126890aSEmmanuel Vadot		};
57*f126890aSEmmanuel Vadot
58*f126890aSEmmanuel Vadot		smi: flash@fc000000 {
59*f126890aSEmmanuel Vadot			compatible = "st,spear600-smi";
60*f126890aSEmmanuel Vadot			#address-cells = <1>;
61*f126890aSEmmanuel Vadot			#size-cells = <1>;
62*f126890aSEmmanuel Vadot			reg = <0xfc000000 0x1000>;
63*f126890aSEmmanuel Vadot			interrupts = <9>;
64*f126890aSEmmanuel Vadot			status = "disabled";
65*f126890aSEmmanuel Vadot		};
66*f126890aSEmmanuel Vadot
67*f126890aSEmmanuel Vadot		spi0: spi@d0100000 {
68*f126890aSEmmanuel Vadot			compatible = "arm,pl022", "arm,primecell";
69*f126890aSEmmanuel Vadot			reg = <0xd0100000 0x1000>;
70*f126890aSEmmanuel Vadot			interrupts = <20>;
71*f126890aSEmmanuel Vadot			#address-cells = <1>;
72*f126890aSEmmanuel Vadot			#size-cells = <0>;
73*f126890aSEmmanuel Vadot			status = "disabled";
74*f126890aSEmmanuel Vadot		};
75*f126890aSEmmanuel Vadot
76*f126890aSEmmanuel Vadot		ehci@e1800000 {
77*f126890aSEmmanuel Vadot			compatible = "st,spear600-ehci", "usb-ehci";
78*f126890aSEmmanuel Vadot			reg = <0xe1800000 0x1000>;
79*f126890aSEmmanuel Vadot			interrupts = <26>;
80*f126890aSEmmanuel Vadot			status = "disabled";
81*f126890aSEmmanuel Vadot		};
82*f126890aSEmmanuel Vadot
83*f126890aSEmmanuel Vadot		ohci@e1900000 {
84*f126890aSEmmanuel Vadot			compatible = "st,spear600-ohci", "usb-ohci";
85*f126890aSEmmanuel Vadot			reg = <0xe1900000 0x1000>;
86*f126890aSEmmanuel Vadot			interrupts = <25>;
87*f126890aSEmmanuel Vadot			status = "disabled";
88*f126890aSEmmanuel Vadot		};
89*f126890aSEmmanuel Vadot
90*f126890aSEmmanuel Vadot		ohci@e2100000 {
91*f126890aSEmmanuel Vadot			compatible = "st,spear600-ohci", "usb-ohci";
92*f126890aSEmmanuel Vadot			reg = <0xe2100000 0x1000>;
93*f126890aSEmmanuel Vadot			interrupts = <27>;
94*f126890aSEmmanuel Vadot			status = "disabled";
95*f126890aSEmmanuel Vadot		};
96*f126890aSEmmanuel Vadot
97*f126890aSEmmanuel Vadot		apb {
98*f126890aSEmmanuel Vadot			#address-cells = <1>;
99*f126890aSEmmanuel Vadot			#size-cells = <1>;
100*f126890aSEmmanuel Vadot			compatible = "simple-bus";
101*f126890aSEmmanuel Vadot			ranges = <0xd0000000 0xd0000000 0x30000000>;
102*f126890aSEmmanuel Vadot
103*f126890aSEmmanuel Vadot			gpio0: gpio@fc980000 {
104*f126890aSEmmanuel Vadot				compatible = "arm,pl061", "arm,primecell";
105*f126890aSEmmanuel Vadot				reg = <0xfc980000 0x1000>;
106*f126890aSEmmanuel Vadot				interrupts = <11>;
107*f126890aSEmmanuel Vadot				gpio-controller;
108*f126890aSEmmanuel Vadot				#gpio-cells = <2>;
109*f126890aSEmmanuel Vadot				interrupt-controller;
110*f126890aSEmmanuel Vadot				#interrupt-cells = <2>;
111*f126890aSEmmanuel Vadot				status = "disabled";
112*f126890aSEmmanuel Vadot			};
113*f126890aSEmmanuel Vadot
114*f126890aSEmmanuel Vadot			i2c0: i2c@d0180000 {
115*f126890aSEmmanuel Vadot				#address-cells = <1>;
116*f126890aSEmmanuel Vadot				#size-cells = <0>;
117*f126890aSEmmanuel Vadot				compatible = "snps,designware-i2c";
118*f126890aSEmmanuel Vadot				reg = <0xd0180000 0x1000>;
119*f126890aSEmmanuel Vadot				interrupts = <21>;
120*f126890aSEmmanuel Vadot				status = "disabled";
121*f126890aSEmmanuel Vadot			};
122*f126890aSEmmanuel Vadot
123*f126890aSEmmanuel Vadot			rtc@fc900000 {
124*f126890aSEmmanuel Vadot				compatible = "st,spear600-rtc";
125*f126890aSEmmanuel Vadot				reg = <0xfc900000 0x1000>;
126*f126890aSEmmanuel Vadot				interrupts = <10>;
127*f126890aSEmmanuel Vadot				status = "disabled";
128*f126890aSEmmanuel Vadot			};
129*f126890aSEmmanuel Vadot
130*f126890aSEmmanuel Vadot			serial@d0000000 {
131*f126890aSEmmanuel Vadot				compatible = "arm,pl011", "arm,primecell";
132*f126890aSEmmanuel Vadot				reg = <0xd0000000 0x1000>;
133*f126890aSEmmanuel Vadot				interrupts = <19>;
134*f126890aSEmmanuel Vadot				status = "disabled";
135*f126890aSEmmanuel Vadot			};
136*f126890aSEmmanuel Vadot
137*f126890aSEmmanuel Vadot			wdt@fc880000 {
138*f126890aSEmmanuel Vadot				compatible = "arm,sp805", "arm,primecell";
139*f126890aSEmmanuel Vadot				reg = <0xfc880000 0x1000>;
140*f126890aSEmmanuel Vadot				interrupts = <12>;
141*f126890aSEmmanuel Vadot				status = "disabled";
142*f126890aSEmmanuel Vadot			};
143*f126890aSEmmanuel Vadot
144*f126890aSEmmanuel Vadot			timer@f0000000 {
145*f126890aSEmmanuel Vadot				compatible = "st,spear-timer";
146*f126890aSEmmanuel Vadot				reg = <0xf0000000 0x400>;
147*f126890aSEmmanuel Vadot				interrupts = <2>;
148*f126890aSEmmanuel Vadot			};
149*f126890aSEmmanuel Vadot		};
150*f126890aSEmmanuel Vadot	};
151*f126890aSEmmanuel Vadot};
152