Blame view

arch/arm/boot/dts/spear320.dtsi 3.49 KB
c5fa4fdcd   Viresh Kumar   ARM: SPEAr3xx: Ad...
1
2
3
  /*
   * DTS file for SPEAr320 SoC
   *
da89947b4   Viresh Kumar   Update Viresh Kum...
4
   * Copyright 2012 Viresh Kumar <vireshk@kernel.org>
c5fa4fdcd   Viresh Kumar   ARM: SPEAr3xx: Ad...
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
   *
   * The code contained herein is licensed under the GNU General Public
   * License. You may obtain a copy of the GNU General Public License
   * Version 2 or later at the following locations:
   *
   * http://www.opensource.org/licenses/gpl-license.html
   * http://www.gnu.org/copyleft/gpl.html
   */
  
  /include/ "spear3xx.dtsi"
  
  / {
  	ahb {
  		#address-cells = <1>;
  		#size-cells = <1>;
  		compatible = "simple-bus";
e03736078   Viresh Kumar   SPEAr3xx: Add pin...
21
  		ranges = <0x40000000 0x40000000 0x80000000
c5fa4fdcd   Viresh Kumar   ARM: SPEAr3xx: Ad...
22
  			  0xd0000000 0xd0000000 0x30000000>;
4ddb1c295   Viresh Kumar   ARM: SPEAr: Add p...
23
  		pinmux: pinmux@b3000000 {
e03736078   Viresh Kumar   SPEAr3xx: Add pin...
24
25
  			compatible = "st,spear320-pinmux";
  			reg = <0xb3000000 0x1000>;
86853c83e   Haojian Zhuang   gpio: add gpio of...
26
  			#gpio-range-cells = <3>;
e03736078   Viresh Kumar   SPEAr3xx: Add pin...
27
  		};
c5fa4fdcd   Viresh Kumar   ARM: SPEAr3xx: Ad...
28
  		clcd@90000000 {
f631b984e   Vipul Kumar Samar   ARM: SPEAr: DT: F...
29
  			compatible = "arm,pl110", "arm,primecell";
c5fa4fdcd   Viresh Kumar   ARM: SPEAr3xx: Ad...
30
  			reg = <0x90000000 0x1000>;
86edd7b8a   Shiraz Hashim   ARM: SPEAr3xx: DT...
31
32
  			interrupts = <8>;
  			interrupt-parent = <&shirq>;
c5fa4fdcd   Viresh Kumar   ARM: SPEAr3xx: Ad...
33
34
35
36
37
38
39
40
  			status = "disabled";
  		};
  
  		fsmc: flash@4c000000 {
  			compatible = "st,spear600-fsmc-nand";
  			#address-cells = <1>;
  			#size-cells = <1>;
  			reg = <0x4c000000 0x1000	/* FSMC Register */
6d7b42a44   Jean-Christophe PLAGNIOL-VILLARD   mtd: fsmc_nand: p...
41
42
43
44
  			       0x50000000 0x0010	/* NAND Base DATA */
  			       0x50020000 0x0010	/* NAND Base ADDR */
  			       0x50010000 0x0010>;	/* NAND Base CMD */
  			reg-names = "fsmc_regs", "nand_data", "nand_addr", "nand_cmd";
c5fa4fdcd   Viresh Kumar   ARM: SPEAr3xx: Ad...
45
46
47
48
49
50
  			status = "disabled";
  		};
  
  		sdhci@70000000 {
  			compatible = "st,sdhci-spear";
  			reg = <0x70000000 0x100>;
86edd7b8a   Shiraz Hashim   ARM: SPEAr3xx: DT...
51
52
  			interrupts = <10>;
  			interrupt-parent = <&shirq>;
c5fa4fdcd   Viresh Kumar   ARM: SPEAr3xx: Ad...
53
54
  			status = "disabled";
  		};
86edd7b8a   Shiraz Hashim   ARM: SPEAr3xx: DT...
55
56
57
58
59
60
61
  		shirq: interrupt-controller@0xb3000000 {
  			compatible = "st,spear320-shirq";
  			reg = <0xb3000000 0x1000>;
  			interrupts = <30 28 29 1>;
  			#interrupt-cells = <1>;
  			interrupt-controller;
  		};
c5fa4fdcd   Viresh Kumar   ARM: SPEAr3xx: Ad...
62
63
64
  		spi1: spi@a5000000 {
  			compatible = "arm,pl022", "arm,primecell";
  			reg = <0xa5000000 0x1000>;
86edd7b8a   Shiraz Hashim   ARM: SPEAr3xx: DT...
65
66
  			interrupts = <15>;
  			interrupt-parent = <&shirq>;
8113ba917   Shiraz Hashim   ARM: SPEAr: DT: U...
67
68
  			#address-cells = <1>;
  			#size-cells = <0>;
c5fa4fdcd   Viresh Kumar   ARM: SPEAr3xx: Ad...
69
70
71
72
73
74
  			status = "disabled";
  		};
  
  		spi2: spi@a6000000 {
  			compatible = "arm,pl022", "arm,primecell";
  			reg = <0xa6000000 0x1000>;
86edd7b8a   Shiraz Hashim   ARM: SPEAr3xx: DT...
75
76
  			interrupts = <16>;
  			interrupt-parent = <&shirq>;
8113ba917   Shiraz Hashim   ARM: SPEAr: DT: U...
77
78
  			#address-cells = <1>;
  			#size-cells = <0>;
c5fa4fdcd   Viresh Kumar   ARM: SPEAr3xx: Ad...
79
80
  			status = "disabled";
  		};
8113ba917   Shiraz Hashim   ARM: SPEAr: DT: U...
81
82
83
84
85
86
  		pwm: pwm@a8000000 {
  			compatible ="st,spear-pwm";
  			reg = <0xa8000000 0x1000>;
  			#pwm-cells = <2>;
  			status = "disabled";
                  };
c5fa4fdcd   Viresh Kumar   ARM: SPEAr3xx: Ad...
87
88
89
90
  		apb {
  			#address-cells = <1>;
  			#size-cells = <1>;
  			compatible = "simple-bus";
f631b984e   Vipul Kumar Samar   ARM: SPEAr: DT: F...
91
  			ranges = <0xa0000000 0xa0000000 0x20000000
c5fa4fdcd   Viresh Kumar   ARM: SPEAr3xx: Ad...
92
93
94
95
96
97
98
  				  0xd0000000 0xd0000000 0x30000000>;
  
  			i2c1: i2c@a7000000 {
  				#address-cells = <1>;
  				#size-cells = <0>;
  				compatible = "snps,designware-i2c";
  				reg = <0xa7000000 0x1000>;
86edd7b8a   Shiraz Hashim   ARM: SPEAr3xx: DT...
99
100
  				interrupts = <21>;
  				interrupt-parent = <&shirq>;
c5fa4fdcd   Viresh Kumar   ARM: SPEAr3xx: Ad...
101
102
103
104
105
106
  				status = "disabled";
  			};
  
  			serial@a3000000 {
  				compatible = "arm,pl011", "arm,primecell";
  				reg = <0xa3000000 0x1000>;
86edd7b8a   Shiraz Hashim   ARM: SPEAr3xx: DT...
107
108
  				interrupts = <13>;
  				interrupt-parent = <&shirq>;
c5fa4fdcd   Viresh Kumar   ARM: SPEAr3xx: Ad...
109
110
111
112
113
114
  				status = "disabled";
  			};
  
  			serial@a4000000 {
  				compatible = "arm,pl011", "arm,primecell";
  				reg = <0xa4000000 0x1000>;
86edd7b8a   Shiraz Hashim   ARM: SPEAr3xx: DT...
115
116
  				interrupts = <14>;
  				interrupt-parent = <&shirq>;
c5fa4fdcd   Viresh Kumar   ARM: SPEAr3xx: Ad...
117
118
  				status = "disabled";
  			};
4ddb1c295   Viresh Kumar   ARM: SPEAr: Add p...
119
120
121
122
123
124
125
126
  
  			gpiopinctrl: gpio@b3000000 {
  				compatible = "st,spear-plgpio";
  				reg = <0xb3000000 0x1000>;
  				#interrupt-cells = <1>;
  				interrupt-controller;
  				gpio-controller;
  				#gpio-cells = <2>;
86853c83e   Haojian Zhuang   gpio: add gpio of...
127
  				gpio-ranges = <&pinmux 0 0 102>;
4ddb1c295   Viresh Kumar   ARM: SPEAr: Add p...
128
129
130
131
132
133
134
135
136
137
138
  				status = "disabled";
  
  				st-plgpio,ngpio = <102>;
  				st-plgpio,enb-reg = <0x24>;
  				st-plgpio,wdata-reg = <0x34>;
  				st-plgpio,dir-reg = <0x44>;
  				st-plgpio,ie-reg = <0x64>;
  				st-plgpio,rdata-reg = <0x54>;
  				st-plgpio,mis-reg = <0x84>;
  				st-plgpio,eit-reg = <0x94>;
  			};
c5fa4fdcd   Viresh Kumar   ARM: SPEAr3xx: Ad...
139
140
141
  		};
  	};
  };