xref: /freebsd-src/sys/contrib/device-tree/src/arm/st/spear300.dtsi (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * DTS file for SPEAr300 SoC
4*f126890aSEmmanuel Vadot *
5*f126890aSEmmanuel Vadot * Copyright 2012 Viresh Kumar <vireshk@kernel.org>
6*f126890aSEmmanuel Vadot */
7*f126890aSEmmanuel Vadot
8*f126890aSEmmanuel Vadot/include/ "spear3xx.dtsi"
9*f126890aSEmmanuel Vadot
10*f126890aSEmmanuel Vadot/ {
11*f126890aSEmmanuel Vadot	ahb {
12*f126890aSEmmanuel Vadot		#address-cells = <1>;
13*f126890aSEmmanuel Vadot		#size-cells = <1>;
14*f126890aSEmmanuel Vadot		compatible = "simple-bus";
15*f126890aSEmmanuel Vadot		ranges = <0x60000000 0x60000000 0x50000000
16*f126890aSEmmanuel Vadot			  0xd0000000 0xd0000000 0x30000000>;
17*f126890aSEmmanuel Vadot
18*f126890aSEmmanuel Vadot		pinmux@99000000 {
19*f126890aSEmmanuel Vadot			compatible = "st,spear300-pinmux";
20*f126890aSEmmanuel Vadot			reg = <0x99000000 0x1000>;
21*f126890aSEmmanuel Vadot		};
22*f126890aSEmmanuel Vadot
23*f126890aSEmmanuel Vadot		clcd@60000000 {
24*f126890aSEmmanuel Vadot			compatible = "arm,pl110", "arm,primecell";
25*f126890aSEmmanuel Vadot			reg = <0x60000000 0x1000>;
26*f126890aSEmmanuel Vadot			interrupts = <30>;
27*f126890aSEmmanuel Vadot			status = "disabled";
28*f126890aSEmmanuel Vadot		};
29*f126890aSEmmanuel Vadot
30*f126890aSEmmanuel Vadot		fsmc: flash@94000000 {
31*f126890aSEmmanuel Vadot			compatible = "st,spear600-fsmc-nand";
32*f126890aSEmmanuel Vadot			#address-cells = <1>;
33*f126890aSEmmanuel Vadot			#size-cells = <1>;
34*f126890aSEmmanuel Vadot			reg = <0x94000000 0x1000	/* FSMC Register */
35*f126890aSEmmanuel Vadot			       0x80000000 0x0010	/* NAND Base DATA */
36*f126890aSEmmanuel Vadot			       0x80020000 0x0010	/* NAND Base ADDR */
37*f126890aSEmmanuel Vadot			       0x80010000 0x0010>;	/* NAND Base CMD */
38*f126890aSEmmanuel Vadot			reg-names = "fsmc_regs", "nand_data", "nand_addr", "nand_cmd";
39*f126890aSEmmanuel Vadot			status = "disabled";
40*f126890aSEmmanuel Vadot		};
41*f126890aSEmmanuel Vadot
42*f126890aSEmmanuel Vadot		sdhci@70000000 {
43*f126890aSEmmanuel Vadot			compatible = "st,sdhci-spear";
44*f126890aSEmmanuel Vadot			reg = <0x70000000 0x100>;
45*f126890aSEmmanuel Vadot			interrupts = <1>;
46*f126890aSEmmanuel Vadot			status = "disabled";
47*f126890aSEmmanuel Vadot		};
48*f126890aSEmmanuel Vadot
49*f126890aSEmmanuel Vadot		shirq: interrupt-controller@50000000 {
50*f126890aSEmmanuel Vadot			compatible = "st,spear300-shirq";
51*f126890aSEmmanuel Vadot			reg = <0x50000000 0x1000>;
52*f126890aSEmmanuel Vadot			interrupts = <28>;
53*f126890aSEmmanuel Vadot			#interrupt-cells = <1>;
54*f126890aSEmmanuel Vadot			interrupt-controller;
55*f126890aSEmmanuel Vadot		};
56*f126890aSEmmanuel Vadot
57*f126890aSEmmanuel Vadot		apb {
58*f126890aSEmmanuel Vadot			#address-cells = <1>;
59*f126890aSEmmanuel Vadot			#size-cells = <1>;
60*f126890aSEmmanuel Vadot			compatible = "simple-bus";
61*f126890aSEmmanuel Vadot			ranges = <0xa0000000 0xa0000000 0x10000000
62*f126890aSEmmanuel Vadot				  0xd0000000 0xd0000000 0x30000000>;
63*f126890aSEmmanuel Vadot
64*f126890aSEmmanuel Vadot			gpio1: gpio@a9000000 {
65*f126890aSEmmanuel Vadot				#gpio-cells = <2>;
66*f126890aSEmmanuel Vadot				compatible = "arm,pl061", "arm,primecell";
67*f126890aSEmmanuel Vadot				gpio-controller;
68*f126890aSEmmanuel Vadot				reg = <0xa9000000 0x1000>;
69*f126890aSEmmanuel Vadot				interrupts = <8>;
70*f126890aSEmmanuel Vadot				interrupt-parent = <&shirq>;
71*f126890aSEmmanuel Vadot				status = "disabled";
72*f126890aSEmmanuel Vadot			};
73*f126890aSEmmanuel Vadot
74*f126890aSEmmanuel Vadot			kbd@a0000000 {
75*f126890aSEmmanuel Vadot				compatible = "st,spear300-kbd";
76*f126890aSEmmanuel Vadot				reg = <0xa0000000 0x1000>;
77*f126890aSEmmanuel Vadot				interrupts = <7>;
78*f126890aSEmmanuel Vadot				interrupt-parent = <&shirq>;
79*f126890aSEmmanuel Vadot				status = "disabled";
80*f126890aSEmmanuel Vadot			};
81*f126890aSEmmanuel Vadot		};
82*f126890aSEmmanuel Vadot	};
83*f126890aSEmmanuel Vadot};
84