Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: SPEAr: DT: Update device nodes

This patch adds multiple device nodes for SPEAr machines and boards.

Signed-off-by: Bhavna Yadav <bhavna.yadav@st.com>
Signed-off-by: Deepak Sikri <deepak.sikri@st.com>
Signed-off-by: Rajeev Kumar <rajeev-dlh.kumar@st.com>
Signed-off-by: Shiraz Hashim <shiraz.hashim@st.com>
Signed-off-by: Vijay Kumar Mishra <vijay.kumar@st.com>
Signed-off-by: Vipin Kumar <vipin.kumar@st.com>
Signed-off-by: Vipul Kumar Samar <vipulkumar.samar@st.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>

authored by

Shiraz Hashim and committed by
Viresh Kumar
8113ba91 7bceba83

+385
+83
arch/arm/boot/dts/spear1310-evb.dts
··· 147 147 }; 148 148 }; 149 149 150 + gpio_keys { 151 + compatible = "gpio-keys"; 152 + #address-cells = <1>; 153 + #size-cells = <0>; 154 + 155 + button@1 { 156 + label = "wakeup"; 157 + linux,code = <0x100>; 158 + gpios = <&gpio0 7 0x4>; 159 + debounce-interval = <20>; 160 + gpio-key,wakeup = <1>; 161 + }; 162 + }; 163 + 150 164 gmac0: eth@e2000000 { 151 165 phy-mode = "gmii"; 152 166 status = "okay"; ··· 344 330 345 331 spi0: spi@e0100000 { 346 332 status = "okay"; 333 + num-cs = <3>; 334 + cs-gpios = <&gpio1 7 0>, <&spics 0>, <&spics 1>; 335 + 336 + stmpe610@0 { 337 + compatible = "st,stmpe610"; 338 + reg = <0>; 339 + #address-cells = <1>; 340 + #size-cells = <0>; 341 + spi-max-frequency = <1000000>; 342 + spi-cpha; 343 + pl022,hierarchy = <0>; 344 + pl022,interface = <0>; 345 + pl022,slave-tx-disable; 346 + pl022,com-mode = <0>; 347 + pl022,rx-level-trig = <0>; 348 + pl022,tx-level-trig = <0>; 349 + pl022,ctrl-len = <0x7>; 350 + pl022,wait-state = <0>; 351 + pl022,duplex = <0>; 352 + interrupts = <6 0x4>; 353 + interrupt-parent = <&gpio1>; 354 + irq-trigger = <0x2>; 355 + 356 + stmpe_touchscreen { 357 + compatible = "st,stmpe-ts"; 358 + ts,sample-time = <4>; 359 + ts,mod-12b = <1>; 360 + ts,ref-sel = <0>; 361 + ts,adc-freq = <1>; 362 + ts,ave-ctrl = <1>; 363 + ts,touch-det-delay = <2>; 364 + ts,settling = <2>; 365 + ts,fraction-z = <7>; 366 + ts,i-drive = <1>; 367 + }; 368 + }; 369 + 370 + m25p80@1 { 371 + compatible = "st,m25p80"; 372 + reg = <1>; 373 + spi-max-frequency = <12000000>; 374 + spi-cpol; 375 + spi-cpha; 376 + pl022,hierarchy = <0>; 377 + pl022,interface = <0>; 378 + pl022,slave-tx-disable; 379 + pl022,com-mode = <0x2>; 380 + pl022,rx-level-trig = <0>; 381 + pl022,tx-level-trig = <0>; 382 + pl022,ctrl-len = <0x11>; 383 + pl022,wait-state = <0>; 384 + pl022,duplex = <0>; 385 + }; 386 + 387 + spidev@2 { 388 + compatible = "spidev"; 389 + reg = <2>; 390 + spi-max-frequency = <25000000>; 391 + spi-cpha; 392 + pl022,hierarchy = <0>; 393 + pl022,interface = <0>; 394 + pl022,slave-tx-disable; 395 + pl022,com-mode = <0x2>; 396 + pl022,rx-level-trig = <0>; 397 + pl022,tx-level-trig = <0>; 398 + pl022,ctrl-len = <0x11>; 399 + pl022,wait-state = <0>; 400 + pl022,duplex = <0>; 401 + }; 347 402 }; 348 403 349 404 wdt@ec800620 {
+2
arch/arm/boot/dts/spear1310.dtsi
··· 160 160 compatible = "arm,pl022", "arm,primecell"; 161 161 reg = <0x5d400000 0x1000>; 162 162 interrupts = <0 99 0x4>; 163 + #address-cells = <1>; 164 + #size-cells = <0>; 163 165 status = "disabled"; 164 166 }; 165 167
+163
arch/arm/boot/dts/spear1340-evb.dts
··· 118 118 }; 119 119 }; 120 120 121 + ahci@b1000000 { 122 + status = "okay"; 123 + }; 124 + 121 125 dma@ea800000 { 122 126 status = "okay"; 123 127 }; ··· 209 205 status = "okay"; 210 206 }; 211 207 208 + gpio_keys { 209 + compatible = "gpio-keys"; 210 + #address-cells = <1>; 211 + #size-cells = <0>; 212 + 213 + button@1 { 214 + label = "wakeup"; 215 + linux,code = <0x100>; 216 + gpios = <&gpio1 1 0x4>; 217 + debounce-interval = <20>; 218 + gpio-key,wakeup = <1>; 219 + }; 220 + }; 221 + 212 222 ehci@e5800000 { 223 + status = "okay"; 224 + }; 225 + 226 + i2s0: i2s-play@b2400000 { 227 + status = "okay"; 228 + }; 229 + 230 + i2s1: i2s-rec@b2000000 { 231 + status = "okay"; 232 + }; 233 + 234 + incodec: dir-hifi { 235 + compatible = "dummy,dir-hifi"; 213 236 status = "okay"; 214 237 }; 215 238 ··· 248 217 status = "okay"; 249 218 }; 250 219 220 + outcodec: dit-hifi { 221 + compatible = "dummy,dit-hifi"; 222 + status = "okay"; 223 + }; 224 + 225 + sound { 226 + compatible = "spear,spear-evb"; 227 + audio-controllers = <&spdif0 &spdif1 &i2s0 &i2s1>; 228 + audio-codecs = <&incodec &outcodec &sta529 &sta529>; 229 + codec_dai_name = "dir-hifi", "dit-hifi", "sta529-audio", "sta529-audio"; 230 + stream_name = "spdif-cap", "spdif-play", "i2s-play", "i2s-cap"; 231 + dai_name = "spdifin-pcm", "spdifout-pcm", "i2s0-pcm", "i2s1-pcm"; 232 + nr_controllers = <4>; 233 + status = "okay"; 234 + }; 235 + 236 + spdif0: spdif-in@d0100000 { 237 + status = "okay"; 238 + }; 239 + 240 + spdif1: spdif-out@d0000000 { 241 + status = "okay"; 242 + }; 243 + 251 244 apb { 252 245 adc@e0080000 { 246 + status = "okay"; 247 + }; 248 + 249 + i2s-play@b2400000 { 250 + status = "okay"; 251 + }; 252 + 253 + i2s-rec@b2000000 { 253 254 status = "okay"; 254 255 }; 255 256 ··· 299 236 300 237 i2c0: i2c@e0280000 { 301 238 status = "okay"; 239 + 240 + sta529: sta529@1a { 241 + compatible = "st,sta529"; 242 + reg = <0x1a>; 243 + }; 302 244 }; 303 245 304 246 i2c1: i2c@b4000000 { 305 247 status = "okay"; 248 + 249 + eeprom0@56 { 250 + compatible = "st,eeprom"; 251 + reg = <0x56>; 252 + }; 253 + 254 + stmpe801@41 { 255 + compatible = "st,stmpe801"; 256 + #address-cells = <1>; 257 + #size-cells = <0>; 258 + reg = <0x41>; 259 + interrupts = <4 0x4>; 260 + interrupt-parent = <&gpio0>; 261 + irq-trigger = <0x2>; 262 + 263 + stmpegpio: stmpe_gpio { 264 + compatible = "st,stmpe-gpio"; 265 + gpio-controller; 266 + #gpio-cells = <2>; 267 + }; 268 + }; 306 269 }; 307 270 308 271 kbd@e0300000 { ··· 436 347 }; 437 348 438 349 spi0: spi@e0100000 { 350 + status = "okay"; 351 + num-cs = <3>; 352 + cs-gpios = <&gpiopinctrl 80 0>, <&gpiopinctrl 24 0>, 353 + <&gpiopinctrl 85 0>; 354 + 355 + m25p80@0 { 356 + compatible = "m25p80"; 357 + reg = <0>; 358 + spi-max-frequency = <12000000>; 359 + spi-cpol; 360 + spi-cpha; 361 + pl022,hierarchy = <0>; 362 + pl022,interface = <0>; 363 + pl022,slave-tx-disable; 364 + pl022,com-mode = <0x2>; 365 + pl022,rx-level-trig = <0>; 366 + pl022,tx-level-trig = <0>; 367 + pl022,ctrl-len = <0x11>; 368 + pl022,wait-state = <0>; 369 + pl022,duplex = <0>; 370 + }; 371 + 372 + stmpe610@1 { 373 + compatible = "st,stmpe610"; 374 + spi-max-frequency = <1000000>; 375 + spi-cpha; 376 + reg = <1>; 377 + pl022,hierarchy = <0>; 378 + pl022,interface = <0>; 379 + pl022,slave-tx-disable; 380 + pl022,com-mode = <0>; 381 + pl022,rx-level-trig = <0>; 382 + pl022,tx-level-trig = <0>; 383 + pl022,ctrl-len = <0x7>; 384 + pl022,wait-state = <0>; 385 + pl022,duplex = <0>; 386 + interrupts = <100 0>; 387 + interrupt-parent = <&gpiopinctrl>; 388 + irq-trigger = <0x2>; 389 + #address-cells = <1>; 390 + #size-cells = <0>; 391 + 392 + stmpe_touchscreen { 393 + compatible = "st,stmpe-ts"; 394 + ts,sample-time = <4>; 395 + ts,mod-12b = <1>; 396 + ts,ref-sel = <0>; 397 + ts,adc-freq = <1>; 398 + ts,ave-ctrl = <1>; 399 + ts,touch-det-delay = <2>; 400 + ts,settling = <2>; 401 + ts,fraction-z = <7>; 402 + ts,i-drive = <1>; 403 + }; 404 + }; 405 + 406 + spidev@2 { 407 + compatible = "spidev"; 408 + reg = <2>; 409 + spi-max-frequency = <25000000>; 410 + spi-cpha; 411 + pl022,hierarchy = <0>; 412 + pl022,interface = <0>; 413 + pl022,slave-tx-disable; 414 + pl022,com-mode = <0x2>; 415 + pl022,rx-level-trig = <0>; 416 + pl022,tx-level-trig = <0>; 417 + pl022,ctrl-len = <0x11>; 418 + pl022,wait-state = <0>; 419 + pl022,duplex = <0>; 420 + }; 421 + }; 422 + 423 + timer@ec800600 { 439 424 status = "okay"; 440 425 }; 441 426
+46
arch/arm/boot/dts/spear1340.dtsi
··· 38 38 status = "disabled"; 39 39 }; 40 40 41 + i2s-play@b2400000 { 42 + compatible = "snps,designware-i2s"; 43 + reg = <0xb2400000 0x10000>; 44 + interrupt-names = "play_irq"; 45 + interrupts = <0 98 0x4 46 + 0 99 0x4>; 47 + play; 48 + channel = <8>; 49 + status = "disabled"; 50 + }; 51 + 52 + i2s-rec@b2000000 { 53 + compatible = "snps,designware-i2s"; 54 + reg = <0xb2000000 0x10000>; 55 + interrupt-names = "record_irq"; 56 + interrupts = <0 100 0x4 57 + 0 101 0x4>; 58 + record; 59 + channel = <8>; 60 + status = "disabled"; 61 + }; 62 + 41 63 pinmux: pinmux@e0700000 { 42 64 compatible = "st,spear1340-pinmux"; 43 65 reg = <0xe0700000 0x1000>; 44 66 #gpio-range-cells = <2>; 45 67 }; 46 68 69 + pwm: pwm@e0180000 { 70 + compatible ="st,spear13xx-pwm"; 71 + reg = <0xe0180000 0x1000>; 72 + #pwm-cells = <2>; 73 + status = "disabled"; 74 + }; 75 + 76 + spdif-in@d0100000 { 77 + compatible = "st,spdif-in"; 78 + reg = < 0xd0100000 0x20000 79 + 0xd0110000 0x10000 >; 80 + interrupts = <0 84 0x4>; 81 + status = "disabled"; 82 + }; 83 + 84 + spdif-out@d0000000 { 85 + compatible = "st,spdif-out"; 86 + reg = <0xd0000000 0x20000>; 87 + interrupts = <0 85 0x4>; 88 + status = "disabled"; 89 + }; 90 + 47 91 spi1: spi@5d400000 { 48 92 compatible = "arm,pl022", "arm,primecell"; 49 93 reg = <0x5d400000 0x1000>; 94 + #address-cells = <1>; 95 + #size-cells = <0>; 50 96 interrupts = <0 99 0x4>; 51 97 status = "disabled"; 52 98 };
+39
arch/arm/boot/dts/spear13xx.dtsi
··· 64 64 bootargs = "console=ttyAMA0,115200"; 65 65 }; 66 66 67 + cpufreq { 68 + compatible = "st,cpufreq-spear"; 69 + cpufreq_tbl = < 166000 70 + 200000 71 + 250000 72 + 300000 73 + 400000 74 + 500000 75 + 600000 >; 76 + status = "disable"; 77 + }; 78 + 67 79 ahb { 68 80 #address-cells = <1>; 69 81 #size-cells = <1>; ··· 138 126 0 34 0x4>; 139 127 interrupt-names = "macirq", "eth_wake_irq"; 140 128 status = "disabled"; 129 + }; 130 + 131 + pcm { 132 + compatible = "st,pcm-audio"; 133 + #address-cells = <0>; 134 + #size-cells = <0>; 135 + status = "disable"; 141 136 }; 142 137 143 138 smi: flash@ea000000 { ··· 236 217 status = "disabled"; 237 218 }; 238 219 220 + i2s@e0180000 { 221 + compatible = "st,designware-i2s"; 222 + reg = <0xe0180000 0x1000>; 223 + interrupt-names = "play_irq", "record_irq"; 224 + interrupts = <0 10 0x4 225 + 0 11 0x4 >; 226 + status = "disabled"; 227 + }; 228 + 229 + i2s@e0200000 { 230 + compatible = "st,designware-i2s"; 231 + reg = <0xe0200000 0x1000>; 232 + interrupt-names = "play_irq", "record_irq"; 233 + interrupts = <0 26 0x4 234 + 0 53 0x4>; 235 + status = "disabled"; 236 + }; 237 + 239 238 spi0: spi@e0100000 { 240 239 compatible = "arm,pl022", "arm,primecell"; 241 240 reg = <0xe0100000 0x1000>; 241 + #address-cells = <1>; 242 + #size-cells = <0>; 242 243 interrupts = <0 31 0x4>; 243 244 status = "disabled"; 244 245 };
+11
arch/arm/boot/dts/spear320.dtsi
··· 56 56 spi1: spi@a5000000 { 57 57 compatible = "arm,pl022", "arm,primecell"; 58 58 reg = <0xa5000000 0x1000>; 59 + #address-cells = <1>; 60 + #size-cells = <0>; 59 61 status = "disabled"; 60 62 }; 61 63 62 64 spi2: spi@a6000000 { 63 65 compatible = "arm,pl022", "arm,primecell"; 64 66 reg = <0xa6000000 0x1000>; 67 + #address-cells = <1>; 68 + #size-cells = <0>; 65 69 status = "disabled"; 66 70 }; 71 + 72 + pwm: pwm@a8000000 { 73 + compatible ="st,spear-pwm"; 74 + reg = <0xa8000000 0x1000>; 75 + #pwm-cells = <2>; 76 + status = "disabled"; 77 + }; 67 78 68 79 apb { 69 80 #address-cells = <1>;
+2
arch/arm/boot/dts/spear3xx.dtsi
··· 70 70 compatible = "arm,pl022", "arm,primecell"; 71 71 reg = <0xd0100000 0x1000>; 72 72 interrupts = <20>; 73 + #address-cells = <1>; 74 + #size-cells = <0>; 73 75 status = "disabled"; 74 76 }; 75 77
+24
arch/arm/boot/dts/spear600-evb.dts
··· 24 24 }; 25 25 26 26 ahb { 27 + clcd@fc200000 { 28 + status = "okay"; 29 + }; 30 + 27 31 dma@fc400000 { 32 + status = "okay"; 33 + }; 34 + 35 + ehci@e1800000 { 36 + status = "okay"; 37 + }; 38 + 39 + ehci@e2000000 { 28 40 status = "okay"; 29 41 }; 30 42 31 43 gmac: ethernet@e0800000 { 32 44 phy-mode = "gmii"; 45 + status = "okay"; 46 + }; 47 + 48 + ohci@e1900000 { 49 + status = "okay"; 50 + }; 51 + 52 + ohci@e2100000 { 33 53 status = "okay"; 34 54 }; 35 55 ··· 101 81 status = "okay"; 102 82 pinctrl-names = "default"; 103 83 pinctrl-0 = <>; 84 + }; 85 + 86 + rtc@fc900000 { 87 + status = "okay"; 104 88 }; 105 89 106 90 i2c@d0200000 {
+15
arch/arm/boot/dts/spear600.dtsi
··· 45 45 #interrupt-cells = <1>; 46 46 }; 47 47 48 + clcd@fc200000 { 49 + compatible = "arm,pl110", "arm,primecell"; 50 + reg = <0xfc200000 0x1000>; 51 + interrupt-parent = <&vic1>; 52 + interrupts = <12>; 53 + status = "disabled"; 54 + }; 55 + 48 56 dma@fc400000 { 49 57 compatible = "arm,pl080", "arm,primecell"; 50 58 reg = <0xfc400000 0x1000>; ··· 184 176 reg = <0xd0200000 0x1000>; 185 177 interrupt-parent = <&vic0>; 186 178 interrupts = <28>; 179 + status = "disabled"; 180 + }; 181 + 182 + rtc@fc900000 { 183 + compatible = "st,spear600-rtc"; 184 + reg = <0xfc900000 0x1000>; 185 + interrupts = <10>; 187 186 status = "disabled"; 188 187 }; 189 188