diff options
Diffstat (limited to 'arch/arm')
141 files changed, 551 insertions, 296 deletions
diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 07ab3d203916..7451b447cc2d 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile | |||
@@ -312,6 +312,9 @@ INSTALL_TARGETS = zinstall uinstall install | |||
312 | 312 | ||
313 | PHONY += bzImage $(BOOT_TARGETS) $(INSTALL_TARGETS) | 313 | PHONY += bzImage $(BOOT_TARGETS) $(INSTALL_TARGETS) |
314 | 314 | ||
315 | bootpImage uImage: zImage | ||
316 | zImage: Image | ||
317 | |||
315 | $(BOOT_TARGETS): vmlinux | 318 | $(BOOT_TARGETS): vmlinux |
316 | $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $(boot)/$@ | 319 | $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $(boot)/$@ |
317 | 320 | ||
diff --git a/arch/arm/boot/dts/am335x-pepper.dts b/arch/arm/boot/dts/am335x-pepper.dts index 0d35ab64641c..7106114c7464 100644 --- a/arch/arm/boot/dts/am335x-pepper.dts +++ b/arch/arm/boot/dts/am335x-pepper.dts | |||
@@ -74,6 +74,7 @@ | |||
74 | audio_codec: tlv320aic3106@1b { | 74 | audio_codec: tlv320aic3106@1b { |
75 | compatible = "ti,tlv320aic3106"; | 75 | compatible = "ti,tlv320aic3106"; |
76 | reg = <0x1b>; | 76 | reg = <0x1b>; |
77 | ai3x-micbias-vg = <0x2>; | ||
77 | }; | 78 | }; |
78 | 79 | ||
79 | accel: lis331dlh@1d { | 80 | accel: lis331dlh@1d { |
@@ -153,7 +154,7 @@ | |||
153 | ti,audio-routing = | 154 | ti,audio-routing = |
154 | "Headphone Jack", "HPLOUT", | 155 | "Headphone Jack", "HPLOUT", |
155 | "Headphone Jack", "HPROUT", | 156 | "Headphone Jack", "HPROUT", |
156 | "LINE1L", "Line In"; | 157 | "MIC3L", "Mic3L Switch"; |
157 | }; | 158 | }; |
158 | 159 | ||
159 | &mcasp0 { | 160 | &mcasp0 { |
@@ -438,41 +439,50 @@ | |||
438 | regulators { | 439 | regulators { |
439 | dcdc1_reg: regulator@0 { | 440 | dcdc1_reg: regulator@0 { |
440 | /* VDD_1V8 system supply */ | 441 | /* VDD_1V8 system supply */ |
442 | regulator-always-on; | ||
441 | }; | 443 | }; |
442 | 444 | ||
443 | dcdc2_reg: regulator@1 { | 445 | dcdc2_reg: regulator@1 { |
444 | /* VDD_CORE voltage limits 0.95V - 1.26V with +/-4% tolerance */ | 446 | /* VDD_CORE voltage limits 0.95V - 1.26V with +/-4% tolerance */ |
445 | regulator-name = "vdd_core"; | 447 | regulator-name = "vdd_core"; |
446 | regulator-min-microvolt = <925000>; | 448 | regulator-min-microvolt = <925000>; |
447 | regulator-max-microvolt = <1325000>; | 449 | regulator-max-microvolt = <1150000>; |
448 | regulator-boot-on; | 450 | regulator-boot-on; |
451 | regulator-always-on; | ||
449 | }; | 452 | }; |
450 | 453 | ||
451 | dcdc3_reg: regulator@2 { | 454 | dcdc3_reg: regulator@2 { |
452 | /* VDD_MPU voltage limits 0.95V - 1.1V with +/-4% tolerance */ | 455 | /* VDD_MPU voltage limits 0.95V - 1.1V with +/-4% tolerance */ |
453 | regulator-name = "vdd_mpu"; | 456 | regulator-name = "vdd_mpu"; |
454 | regulator-min-microvolt = <925000>; | 457 | regulator-min-microvolt = <925000>; |
455 | regulator-max-microvolt = <1150000>; | 458 | regulator-max-microvolt = <1325000>; |
456 | regulator-boot-on; | 459 | regulator-boot-on; |
460 | regulator-always-on; | ||
457 | }; | 461 | }; |
458 | 462 | ||
459 | ldo1_reg: regulator@3 { | 463 | ldo1_reg: regulator@3 { |
460 | /* VRTC 1.8V always-on supply */ | 464 | /* VRTC 1.8V always-on supply */ |
465 | regulator-name = "vrtc,vdds"; | ||
461 | regulator-always-on; | 466 | regulator-always-on; |
462 | }; | 467 | }; |
463 | 468 | ||
464 | ldo2_reg: regulator@4 { | 469 | ldo2_reg: regulator@4 { |
465 | /* 3.3V rail */ | 470 | /* 3.3V rail */ |
471 | regulator-name = "vdd_3v3aux"; | ||
472 | regulator-always-on; | ||
466 | }; | 473 | }; |
467 | 474 | ||
468 | ldo3_reg: regulator@5 { | 475 | ldo3_reg: regulator@5 { |
469 | /* VDD_3V3A 3.3V rail */ | 476 | /* VDD_3V3A 3.3V rail */ |
477 | regulator-name = "vdd_3v3a"; | ||
470 | regulator-min-microvolt = <3300000>; | 478 | regulator-min-microvolt = <3300000>; |
471 | regulator-max-microvolt = <3300000>; | 479 | regulator-max-microvolt = <3300000>; |
472 | }; | 480 | }; |
473 | 481 | ||
474 | ldo4_reg: regulator@6 { | 482 | ldo4_reg: regulator@6 { |
475 | /* VDD_3V3B 3.3V rail */ | 483 | /* VDD_3V3B 3.3V rail */ |
484 | regulator-name = "vdd_3v3b"; | ||
485 | regulator-always-on; | ||
476 | }; | 486 | }; |
477 | }; | 487 | }; |
478 | }; | 488 | }; |
diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 21fcc440fc1a..b76f9a2ce05d 100644 --- a/arch/arm/boot/dts/am33xx.dtsi +++ b/arch/arm/boot/dts/am33xx.dtsi | |||
@@ -210,7 +210,7 @@ | |||
210 | }; | 210 | }; |
211 | 211 | ||
212 | uart0: serial@44e09000 { | 212 | uart0: serial@44e09000 { |
213 | compatible = "ti,omap3-uart"; | 213 | compatible = "ti,am3352-uart", "ti,omap3-uart"; |
214 | ti,hwmods = "uart1"; | 214 | ti,hwmods = "uart1"; |
215 | clock-frequency = <48000000>; | 215 | clock-frequency = <48000000>; |
216 | reg = <0x44e09000 0x2000>; | 216 | reg = <0x44e09000 0x2000>; |
@@ -221,7 +221,7 @@ | |||
221 | }; | 221 | }; |
222 | 222 | ||
223 | uart1: serial@48022000 { | 223 | uart1: serial@48022000 { |
224 | compatible = "ti,omap3-uart"; | 224 | compatible = "ti,am3352-uart", "ti,omap3-uart"; |
225 | ti,hwmods = "uart2"; | 225 | ti,hwmods = "uart2"; |
226 | clock-frequency = <48000000>; | 226 | clock-frequency = <48000000>; |
227 | reg = <0x48022000 0x2000>; | 227 | reg = <0x48022000 0x2000>; |
@@ -232,7 +232,7 @@ | |||
232 | }; | 232 | }; |
233 | 233 | ||
234 | uart2: serial@48024000 { | 234 | uart2: serial@48024000 { |
235 | compatible = "ti,omap3-uart"; | 235 | compatible = "ti,am3352-uart", "ti,omap3-uart"; |
236 | ti,hwmods = "uart3"; | 236 | ti,hwmods = "uart3"; |
237 | clock-frequency = <48000000>; | 237 | clock-frequency = <48000000>; |
238 | reg = <0x48024000 0x2000>; | 238 | reg = <0x48024000 0x2000>; |
@@ -243,7 +243,7 @@ | |||
243 | }; | 243 | }; |
244 | 244 | ||
245 | uart3: serial@481a6000 { | 245 | uart3: serial@481a6000 { |
246 | compatible = "ti,omap3-uart"; | 246 | compatible = "ti,am3352-uart", "ti,omap3-uart"; |
247 | ti,hwmods = "uart4"; | 247 | ti,hwmods = "uart4"; |
248 | clock-frequency = <48000000>; | 248 | clock-frequency = <48000000>; |
249 | reg = <0x481a6000 0x2000>; | 249 | reg = <0x481a6000 0x2000>; |
@@ -252,7 +252,7 @@ | |||
252 | }; | 252 | }; |
253 | 253 | ||
254 | uart4: serial@481a8000 { | 254 | uart4: serial@481a8000 { |
255 | compatible = "ti,omap3-uart"; | 255 | compatible = "ti,am3352-uart", "ti,omap3-uart"; |
256 | ti,hwmods = "uart5"; | 256 | ti,hwmods = "uart5"; |
257 | clock-frequency = <48000000>; | 257 | clock-frequency = <48000000>; |
258 | reg = <0x481a8000 0x2000>; | 258 | reg = <0x481a8000 0x2000>; |
@@ -261,7 +261,7 @@ | |||
261 | }; | 261 | }; |
262 | 262 | ||
263 | uart5: serial@481aa000 { | 263 | uart5: serial@481aa000 { |
264 | compatible = "ti,omap3-uart"; | 264 | compatible = "ti,am3352-uart", "ti,omap3-uart"; |
265 | ti,hwmods = "uart6"; | 265 | ti,hwmods = "uart6"; |
266 | clock-frequency = <48000000>; | 266 | clock-frequency = <48000000>; |
267 | reg = <0x481aa000 0x2000>; | 267 | reg = <0x481aa000 0x2000>; |
diff --git a/arch/arm/boot/dts/cros-ec-keyboard.dtsi b/arch/arm/boot/dts/cros-ec-keyboard.dtsi index 9c7fb0acae79..4e42f30cb318 100644 --- a/arch/arm/boot/dts/cros-ec-keyboard.dtsi +++ b/arch/arm/boot/dts/cros-ec-keyboard.dtsi | |||
@@ -22,6 +22,7 @@ | |||
22 | MATRIX_KEY(0x00, 0x02, KEY_F1) | 22 | MATRIX_KEY(0x00, 0x02, KEY_F1) |
23 | MATRIX_KEY(0x00, 0x03, KEY_B) | 23 | MATRIX_KEY(0x00, 0x03, KEY_B) |
24 | MATRIX_KEY(0x00, 0x04, KEY_F10) | 24 | MATRIX_KEY(0x00, 0x04, KEY_F10) |
25 | MATRIX_KEY(0x00, 0x05, KEY_RO) | ||
25 | MATRIX_KEY(0x00, 0x06, KEY_N) | 26 | MATRIX_KEY(0x00, 0x06, KEY_N) |
26 | MATRIX_KEY(0x00, 0x08, KEY_EQUAL) | 27 | MATRIX_KEY(0x00, 0x08, KEY_EQUAL) |
27 | MATRIX_KEY(0x00, 0x0a, KEY_RIGHTALT) | 28 | MATRIX_KEY(0x00, 0x0a, KEY_RIGHTALT) |
@@ -34,6 +35,7 @@ | |||
34 | MATRIX_KEY(0x01, 0x08, KEY_APOSTROPHE) | 35 | MATRIX_KEY(0x01, 0x08, KEY_APOSTROPHE) |
35 | MATRIX_KEY(0x01, 0x09, KEY_F9) | 36 | MATRIX_KEY(0x01, 0x09, KEY_F9) |
36 | MATRIX_KEY(0x01, 0x0b, KEY_BACKSPACE) | 37 | MATRIX_KEY(0x01, 0x0b, KEY_BACKSPACE) |
38 | MATRIX_KEY(0x01, 0x0c, KEY_HENKAN) | ||
37 | 39 | ||
38 | MATRIX_KEY(0x02, 0x00, KEY_LEFTCTRL) | 40 | MATRIX_KEY(0x02, 0x00, KEY_LEFTCTRL) |
39 | MATRIX_KEY(0x02, 0x01, KEY_TAB) | 41 | MATRIX_KEY(0x02, 0x01, KEY_TAB) |
@@ -45,6 +47,7 @@ | |||
45 | MATRIX_KEY(0x02, 0x07, KEY_102ND) | 47 | MATRIX_KEY(0x02, 0x07, KEY_102ND) |
46 | MATRIX_KEY(0x02, 0x08, KEY_LEFTBRACE) | 48 | MATRIX_KEY(0x02, 0x08, KEY_LEFTBRACE) |
47 | MATRIX_KEY(0x02, 0x09, KEY_F8) | 49 | MATRIX_KEY(0x02, 0x09, KEY_F8) |
50 | MATRIX_KEY(0x02, 0x0a, KEY_YEN) | ||
48 | 51 | ||
49 | MATRIX_KEY(0x03, 0x01, KEY_GRAVE) | 52 | MATRIX_KEY(0x03, 0x01, KEY_GRAVE) |
50 | MATRIX_KEY(0x03, 0x02, KEY_F2) | 53 | MATRIX_KEY(0x03, 0x02, KEY_F2) |
@@ -53,6 +56,7 @@ | |||
53 | MATRIX_KEY(0x03, 0x06, KEY_6) | 56 | MATRIX_KEY(0x03, 0x06, KEY_6) |
54 | MATRIX_KEY(0x03, 0x08, KEY_MINUS) | 57 | MATRIX_KEY(0x03, 0x08, KEY_MINUS) |
55 | MATRIX_KEY(0x03, 0x0b, KEY_BACKSLASH) | 58 | MATRIX_KEY(0x03, 0x0b, KEY_BACKSLASH) |
59 | MATRIX_KEY(0x03, 0x0c, KEY_MUHENKAN) | ||
56 | 60 | ||
57 | MATRIX_KEY(0x04, 0x00, KEY_RIGHTCTRL) | 61 | MATRIX_KEY(0x04, 0x00, KEY_RIGHTCTRL) |
58 | MATRIX_KEY(0x04, 0x01, KEY_A) | 62 | MATRIX_KEY(0x04, 0x01, KEY_A) |
diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts index aa465904f6cc..096f68be99e2 100644 --- a/arch/arm/boot/dts/dra7-evm.dts +++ b/arch/arm/boot/dts/dra7-evm.dts | |||
@@ -686,7 +686,8 @@ | |||
686 | 686 | ||
687 | &dcan1 { | 687 | &dcan1 { |
688 | status = "ok"; | 688 | status = "ok"; |
689 | pinctrl-names = "default", "sleep"; | 689 | pinctrl-names = "default", "sleep", "active"; |
690 | pinctrl-0 = <&dcan1_pins_default>; | 690 | pinctrl-0 = <&dcan1_pins_sleep>; |
691 | pinctrl-1 = <&dcan1_pins_sleep>; | 691 | pinctrl-1 = <&dcan1_pins_sleep>; |
692 | pinctrl-2 = <&dcan1_pins_default>; | ||
692 | }; | 693 | }; |
diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi index 37202b41351b..b058b3146874 100644 --- a/arch/arm/boot/dts/dra7.dtsi +++ b/arch/arm/boot/dts/dra7.dtsi | |||
@@ -116,7 +116,7 @@ | |||
116 | ranges = <0 0x2000 0x2000>; | 116 | ranges = <0 0x2000 0x2000>; |
117 | 117 | ||
118 | scm_conf: scm_conf@0 { | 118 | scm_conf: scm_conf@0 { |
119 | compatible = "syscon"; | 119 | compatible = "syscon", "simple-bus"; |
120 | reg = <0x0 0x1400>; | 120 | reg = <0x0 0x1400>; |
121 | #address-cells = <1>; | 121 | #address-cells = <1>; |
122 | #size-cells = <1>; | 122 | #size-cells = <1>; |
@@ -397,7 +397,7 @@ | |||
397 | }; | 397 | }; |
398 | 398 | ||
399 | uart1: serial@4806a000 { | 399 | uart1: serial@4806a000 { |
400 | compatible = "ti,omap4-uart"; | 400 | compatible = "ti,dra742-uart", "ti,omap4-uart"; |
401 | reg = <0x4806a000 0x100>; | 401 | reg = <0x4806a000 0x100>; |
402 | interrupts-extended = <&crossbar_mpu GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>; | 402 | interrupts-extended = <&crossbar_mpu GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>; |
403 | ti,hwmods = "uart1"; | 403 | ti,hwmods = "uart1"; |
@@ -408,7 +408,7 @@ | |||
408 | }; | 408 | }; |
409 | 409 | ||
410 | uart2: serial@4806c000 { | 410 | uart2: serial@4806c000 { |
411 | compatible = "ti,omap4-uart"; | 411 | compatible = "ti,dra742-uart", "ti,omap4-uart"; |
412 | reg = <0x4806c000 0x100>; | 412 | reg = <0x4806c000 0x100>; |
413 | interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>; | 413 | interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>; |
414 | ti,hwmods = "uart2"; | 414 | ti,hwmods = "uart2"; |
@@ -419,7 +419,7 @@ | |||
419 | }; | 419 | }; |
420 | 420 | ||
421 | uart3: serial@48020000 { | 421 | uart3: serial@48020000 { |
422 | compatible = "ti,omap4-uart"; | 422 | compatible = "ti,dra742-uart", "ti,omap4-uart"; |
423 | reg = <0x48020000 0x100>; | 423 | reg = <0x48020000 0x100>; |
424 | interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>; | 424 | interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>; |
425 | ti,hwmods = "uart3"; | 425 | ti,hwmods = "uart3"; |
@@ -430,7 +430,7 @@ | |||
430 | }; | 430 | }; |
431 | 431 | ||
432 | uart4: serial@4806e000 { | 432 | uart4: serial@4806e000 { |
433 | compatible = "ti,omap4-uart"; | 433 | compatible = "ti,dra742-uart", "ti,omap4-uart"; |
434 | reg = <0x4806e000 0x100>; | 434 | reg = <0x4806e000 0x100>; |
435 | interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>; | 435 | interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>; |
436 | ti,hwmods = "uart4"; | 436 | ti,hwmods = "uart4"; |
@@ -441,7 +441,7 @@ | |||
441 | }; | 441 | }; |
442 | 442 | ||
443 | uart5: serial@48066000 { | 443 | uart5: serial@48066000 { |
444 | compatible = "ti,omap4-uart"; | 444 | compatible = "ti,dra742-uart", "ti,omap4-uart"; |
445 | reg = <0x48066000 0x100>; | 445 | reg = <0x48066000 0x100>; |
446 | interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>; | 446 | interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>; |
447 | ti,hwmods = "uart5"; | 447 | ti,hwmods = "uart5"; |
@@ -452,7 +452,7 @@ | |||
452 | }; | 452 | }; |
453 | 453 | ||
454 | uart6: serial@48068000 { | 454 | uart6: serial@48068000 { |
455 | compatible = "ti,omap4-uart"; | 455 | compatible = "ti,dra742-uart", "ti,omap4-uart"; |
456 | reg = <0x48068000 0x100>; | 456 | reg = <0x48068000 0x100>; |
457 | interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>; | 457 | interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>; |
458 | ti,hwmods = "uart6"; | 458 | ti,hwmods = "uart6"; |
@@ -463,7 +463,7 @@ | |||
463 | }; | 463 | }; |
464 | 464 | ||
465 | uart7: serial@48420000 { | 465 | uart7: serial@48420000 { |
466 | compatible = "ti,omap4-uart"; | 466 | compatible = "ti,dra742-uart", "ti,omap4-uart"; |
467 | reg = <0x48420000 0x100>; | 467 | reg = <0x48420000 0x100>; |
468 | interrupts = <GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH>; | 468 | interrupts = <GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH>; |
469 | ti,hwmods = "uart7"; | 469 | ti,hwmods = "uart7"; |
@@ -472,7 +472,7 @@ | |||
472 | }; | 472 | }; |
473 | 473 | ||
474 | uart8: serial@48422000 { | 474 | uart8: serial@48422000 { |
475 | compatible = "ti,omap4-uart"; | 475 | compatible = "ti,dra742-uart", "ti,omap4-uart"; |
476 | reg = <0x48422000 0x100>; | 476 | reg = <0x48422000 0x100>; |
477 | interrupts = <GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH>; | 477 | interrupts = <GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH>; |
478 | ti,hwmods = "uart8"; | 478 | ti,hwmods = "uart8"; |
@@ -481,7 +481,7 @@ | |||
481 | }; | 481 | }; |
482 | 482 | ||
483 | uart9: serial@48424000 { | 483 | uart9: serial@48424000 { |
484 | compatible = "ti,omap4-uart"; | 484 | compatible = "ti,dra742-uart", "ti,omap4-uart"; |
485 | reg = <0x48424000 0x100>; | 485 | reg = <0x48424000 0x100>; |
486 | interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>; | 486 | interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>; |
487 | ti,hwmods = "uart9"; | 487 | ti,hwmods = "uart9"; |
@@ -490,7 +490,7 @@ | |||
490 | }; | 490 | }; |
491 | 491 | ||
492 | uart10: serial@4ae2b000 { | 492 | uart10: serial@4ae2b000 { |
493 | compatible = "ti,omap4-uart"; | 493 | compatible = "ti,dra742-uart", "ti,omap4-uart"; |
494 | reg = <0x4ae2b000 0x100>; | 494 | reg = <0x4ae2b000 0x100>; |
495 | interrupts = <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>; | 495 | interrupts = <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>; |
496 | ti,hwmods = "uart10"; | 496 | ti,hwmods = "uart10"; |
@@ -1140,6 +1140,7 @@ | |||
1140 | ctrl-module = <&omap_control_sata>; | 1140 | ctrl-module = <&omap_control_sata>; |
1141 | clocks = <&sys_clkin1>, <&sata_ref_clk>; | 1141 | clocks = <&sys_clkin1>, <&sata_ref_clk>; |
1142 | clock-names = "sysclk", "refclk"; | 1142 | clock-names = "sysclk", "refclk"; |
1143 | syscon-pllreset = <&scm_conf 0x3fc>; | ||
1143 | #phy-cells = <0>; | 1144 | #phy-cells = <0>; |
1144 | }; | 1145 | }; |
1145 | 1146 | ||
diff --git a/arch/arm/boot/dts/dra72-evm.dts b/arch/arm/boot/dts/dra72-evm.dts index 4e1b60581782..803738414086 100644 --- a/arch/arm/boot/dts/dra72-evm.dts +++ b/arch/arm/boot/dts/dra72-evm.dts | |||
@@ -587,9 +587,10 @@ | |||
587 | 587 | ||
588 | &dcan1 { | 588 | &dcan1 { |
589 | status = "ok"; | 589 | status = "ok"; |
590 | pinctrl-names = "default", "sleep"; | 590 | pinctrl-names = "default", "sleep", "active"; |
591 | pinctrl-0 = <&dcan1_pins_default>; | 591 | pinctrl-0 = <&dcan1_pins_sleep>; |
592 | pinctrl-1 = <&dcan1_pins_sleep>; | 592 | pinctrl-1 = <&dcan1_pins_sleep>; |
593 | pinctrl-2 = <&dcan1_pins_default>; | ||
593 | }; | 594 | }; |
594 | 595 | ||
595 | &qspi { | 596 | &qspi { |
diff --git a/arch/arm/boot/dts/exynos3250.dtsi b/arch/arm/boot/dts/exynos3250.dtsi index d7201333e3bc..2db99433e17f 100644 --- a/arch/arm/boot/dts/exynos3250.dtsi +++ b/arch/arm/boot/dts/exynos3250.dtsi | |||
@@ -138,8 +138,8 @@ | |||
138 | 138 | ||
139 | mipi_phy: video-phy@10020710 { | 139 | mipi_phy: video-phy@10020710 { |
140 | compatible = "samsung,s5pv210-mipi-video-phy"; | 140 | compatible = "samsung,s5pv210-mipi-video-phy"; |
141 | reg = <0x10020710 8>; | ||
142 | #phy-cells = <1>; | 141 | #phy-cells = <1>; |
142 | syscon = <&pmu_system_controller>; | ||
143 | }; | 143 | }; |
144 | 144 | ||
145 | pd_cam: cam-power-domain@10023C00 { | 145 | pd_cam: cam-power-domain@10023C00 { |
diff --git a/arch/arm/boot/dts/exynos4210-origen.dts b/arch/arm/boot/dts/exynos4210-origen.dts index e0abfc3324d1..e050d85cdacd 100644 --- a/arch/arm/boot/dts/exynos4210-origen.dts +++ b/arch/arm/boot/dts/exynos4210-origen.dts | |||
@@ -127,6 +127,10 @@ | |||
127 | }; | 127 | }; |
128 | }; | 128 | }; |
129 | 129 | ||
130 | &cpu0 { | ||
131 | cpu0-supply = <&buck1_reg>; | ||
132 | }; | ||
133 | |||
130 | &fimd { | 134 | &fimd { |
131 | pinctrl-0 = <&lcd_en &lcd_clk &lcd_data24 &pwm0_out>; | 135 | pinctrl-0 = <&lcd_en &lcd_clk &lcd_data24 &pwm0_out>; |
132 | pinctrl-names = "default"; | 136 | pinctrl-names = "default"; |
diff --git a/arch/arm/boot/dts/exynos4210-trats.dts b/arch/arm/boot/dts/exynos4210-trats.dts index 98f3ce65cb9a..ba34886f8b65 100644 --- a/arch/arm/boot/dts/exynos4210-trats.dts +++ b/arch/arm/boot/dts/exynos4210-trats.dts | |||
@@ -188,6 +188,10 @@ | |||
188 | }; | 188 | }; |
189 | }; | 189 | }; |
190 | 190 | ||
191 | &cpu0 { | ||
192 | cpu0-supply = <&varm_breg>; | ||
193 | }; | ||
194 | |||
191 | &dsi_0 { | 195 | &dsi_0 { |
192 | vddcore-supply = <&vusb_reg>; | 196 | vddcore-supply = <&vusb_reg>; |
193 | vddio-supply = <&vmipi_reg>; | 197 | vddio-supply = <&vmipi_reg>; |
diff --git a/arch/arm/boot/dts/exynos4210-universal_c210.dts b/arch/arm/boot/dts/exynos4210-universal_c210.dts index d4f2b11319dd..775892b2cc6a 100644 --- a/arch/arm/boot/dts/exynos4210-universal_c210.dts +++ b/arch/arm/boot/dts/exynos4210-universal_c210.dts | |||
@@ -548,6 +548,10 @@ | |||
548 | }; | 548 | }; |
549 | }; | 549 | }; |
550 | 550 | ||
551 | &cpu0 { | ||
552 | cpu0-supply = <&vdd_arm_reg>; | ||
553 | }; | ||
554 | |||
551 | &pinctrl_1 { | 555 | &pinctrl_1 { |
552 | hdmi_hpd: hdmi-hpd { | 556 | hdmi_hpd: hdmi-hpd { |
553 | samsung,pins = "gpx3-7"; | 557 | samsung,pins = "gpx3-7"; |
diff --git a/arch/arm/boot/dts/exynos4210.dtsi b/arch/arm/boot/dts/exynos4210.dtsi index 10d3c173396e..3e5ba665d200 100644 --- a/arch/arm/boot/dts/exynos4210.dtsi +++ b/arch/arm/boot/dts/exynos4210.dtsi | |||
@@ -40,6 +40,18 @@ | |||
40 | device_type = "cpu"; | 40 | device_type = "cpu"; |
41 | compatible = "arm,cortex-a9"; | 41 | compatible = "arm,cortex-a9"; |
42 | reg = <0x900>; | 42 | reg = <0x900>; |
43 | clocks = <&clock CLK_ARM_CLK>; | ||
44 | clock-names = "cpu"; | ||
45 | clock-latency = <160000>; | ||
46 | |||
47 | operating-points = < | ||
48 | 1200000 1250000 | ||
49 | 1000000 1150000 | ||
50 | 800000 1075000 | ||
51 | 500000 975000 | ||
52 | 400000 975000 | ||
53 | 200000 950000 | ||
54 | >; | ||
43 | cooling-min-level = <4>; | 55 | cooling-min-level = <4>; |
44 | cooling-max-level = <2>; | 56 | cooling-max-level = <2>; |
45 | #cooling-cells = <2>; /* min followed by max */ | 57 | #cooling-cells = <2>; /* min followed by max */ |
diff --git a/arch/arm/boot/dts/imx23.dtsi b/arch/arm/boot/dts/imx23.dtsi index c892d58e8dad..b995333ea22b 100644 --- a/arch/arm/boot/dts/imx23.dtsi +++ b/arch/arm/boot/dts/imx23.dtsi | |||
@@ -468,6 +468,7 @@ | |||
468 | interrupts = <36 37 38 39 40 41 42 43 44>; | 468 | interrupts = <36 37 38 39 40 41 42 43 44>; |
469 | status = "disabled"; | 469 | status = "disabled"; |
470 | clocks = <&clks 26>; | 470 | clocks = <&clks 26>; |
471 | #io-channel-cells = <1>; | ||
471 | }; | 472 | }; |
472 | 473 | ||
473 | spdif@80054000 { | 474 | spdif@80054000 { |
diff --git a/arch/arm/boot/dts/imx25-pdk.dts b/arch/arm/boot/dts/imx25-pdk.dts index dd45e6971bc3..9351296356dc 100644 --- a/arch/arm/boot/dts/imx25-pdk.dts +++ b/arch/arm/boot/dts/imx25-pdk.dts | |||
@@ -10,6 +10,7 @@ | |||
10 | */ | 10 | */ |
11 | 11 | ||
12 | /dts-v1/; | 12 | /dts-v1/; |
13 | #include <dt-bindings/gpio/gpio.h> | ||
13 | #include <dt-bindings/input/input.h> | 14 | #include <dt-bindings/input/input.h> |
14 | #include "imx25.dtsi" | 15 | #include "imx25.dtsi" |
15 | 16 | ||
@@ -114,8 +115,8 @@ | |||
114 | &esdhc1 { | 115 | &esdhc1 { |
115 | pinctrl-names = "default"; | 116 | pinctrl-names = "default"; |
116 | pinctrl-0 = <&pinctrl_esdhc1>; | 117 | pinctrl-0 = <&pinctrl_esdhc1>; |
117 | cd-gpios = <&gpio2 1 0>; | 118 | cd-gpios = <&gpio2 1 GPIO_ACTIVE_LOW>; |
118 | wp-gpios = <&gpio2 0 0>; | 119 | wp-gpios = <&gpio2 0 GPIO_ACTIVE_HIGH>; |
119 | status = "okay"; | 120 | status = "okay"; |
120 | }; | 121 | }; |
121 | 122 | ||
diff --git a/arch/arm/boot/dts/imx27.dtsi b/arch/arm/boot/dts/imx27.dtsi index bc215e4b75fd..b69be5c499cf 100644 --- a/arch/arm/boot/dts/imx27.dtsi +++ b/arch/arm/boot/dts/imx27.dtsi | |||
@@ -108,7 +108,7 @@ | |||
108 | }; | 108 | }; |
109 | 109 | ||
110 | gpt1: timer@10003000 { | 110 | gpt1: timer@10003000 { |
111 | compatible = "fsl,imx27-gpt", "fsl,imx1-gpt"; | 111 | compatible = "fsl,imx27-gpt", "fsl,imx21-gpt"; |
112 | reg = <0x10003000 0x1000>; | 112 | reg = <0x10003000 0x1000>; |
113 | interrupts = <26>; | 113 | interrupts = <26>; |
114 | clocks = <&clks IMX27_CLK_GPT1_IPG_GATE>, | 114 | clocks = <&clks IMX27_CLK_GPT1_IPG_GATE>, |
@@ -117,7 +117,7 @@ | |||
117 | }; | 117 | }; |
118 | 118 | ||
119 | gpt2: timer@10004000 { | 119 | gpt2: timer@10004000 { |
120 | compatible = "fsl,imx27-gpt", "fsl,imx1-gpt"; | 120 | compatible = "fsl,imx27-gpt", "fsl,imx21-gpt"; |
121 | reg = <0x10004000 0x1000>; | 121 | reg = <0x10004000 0x1000>; |
122 | interrupts = <25>; | 122 | interrupts = <25>; |
123 | clocks = <&clks IMX27_CLK_GPT2_IPG_GATE>, | 123 | clocks = <&clks IMX27_CLK_GPT2_IPG_GATE>, |
@@ -126,7 +126,7 @@ | |||
126 | }; | 126 | }; |
127 | 127 | ||
128 | gpt3: timer@10005000 { | 128 | gpt3: timer@10005000 { |
129 | compatible = "fsl,imx27-gpt", "fsl,imx1-gpt"; | 129 | compatible = "fsl,imx27-gpt", "fsl,imx21-gpt"; |
130 | reg = <0x10005000 0x1000>; | 130 | reg = <0x10005000 0x1000>; |
131 | interrupts = <24>; | 131 | interrupts = <24>; |
132 | clocks = <&clks IMX27_CLK_GPT3_IPG_GATE>, | 132 | clocks = <&clks IMX27_CLK_GPT3_IPG_GATE>, |
@@ -376,7 +376,7 @@ | |||
376 | }; | 376 | }; |
377 | 377 | ||
378 | gpt4: timer@10019000 { | 378 | gpt4: timer@10019000 { |
379 | compatible = "fsl,imx27-gpt", "fsl,imx1-gpt"; | 379 | compatible = "fsl,imx27-gpt", "fsl,imx21-gpt"; |
380 | reg = <0x10019000 0x1000>; | 380 | reg = <0x10019000 0x1000>; |
381 | interrupts = <4>; | 381 | interrupts = <4>; |
382 | clocks = <&clks IMX27_CLK_GPT4_IPG_GATE>, | 382 | clocks = <&clks IMX27_CLK_GPT4_IPG_GATE>, |
@@ -385,7 +385,7 @@ | |||
385 | }; | 385 | }; |
386 | 386 | ||
387 | gpt5: timer@1001a000 { | 387 | gpt5: timer@1001a000 { |
388 | compatible = "fsl,imx27-gpt", "fsl,imx1-gpt"; | 388 | compatible = "fsl,imx27-gpt", "fsl,imx21-gpt"; |
389 | reg = <0x1001a000 0x1000>; | 389 | reg = <0x1001a000 0x1000>; |
390 | interrupts = <3>; | 390 | interrupts = <3>; |
391 | clocks = <&clks IMX27_CLK_GPT5_IPG_GATE>, | 391 | clocks = <&clks IMX27_CLK_GPT5_IPG_GATE>, |
@@ -436,7 +436,7 @@ | |||
436 | }; | 436 | }; |
437 | 437 | ||
438 | gpt6: timer@1001f000 { | 438 | gpt6: timer@1001f000 { |
439 | compatible = "fsl,imx27-gpt", "fsl,imx1-gpt"; | 439 | compatible = "fsl,imx27-gpt", "fsl,imx21-gpt"; |
440 | reg = <0x1001f000 0x1000>; | 440 | reg = <0x1001f000 0x1000>; |
441 | interrupts = <2>; | 441 | interrupts = <2>; |
442 | clocks = <&clks IMX27_CLK_GPT6_IPG_GATE>, | 442 | clocks = <&clks IMX27_CLK_GPT6_IPG_GATE>, |
diff --git a/arch/arm/boot/dts/imx35.dtsi b/arch/arm/boot/dts/imx35.dtsi index b6478e97d6a7..e6540b5cfa4c 100644 --- a/arch/arm/boot/dts/imx35.dtsi +++ b/arch/arm/boot/dts/imx35.dtsi | |||
@@ -286,8 +286,8 @@ | |||
286 | can1: can@53fe4000 { | 286 | can1: can@53fe4000 { |
287 | compatible = "fsl,imx35-flexcan", "fsl,p1010-flexcan"; | 287 | compatible = "fsl,imx35-flexcan", "fsl,p1010-flexcan"; |
288 | reg = <0x53fe4000 0x1000>; | 288 | reg = <0x53fe4000 0x1000>; |
289 | clocks = <&clks 33>; | 289 | clocks = <&clks 33>, <&clks 33>; |
290 | clock-names = "ipg"; | 290 | clock-names = "ipg", "per"; |
291 | interrupts = <43>; | 291 | interrupts = <43>; |
292 | status = "disabled"; | 292 | status = "disabled"; |
293 | }; | 293 | }; |
@@ -295,8 +295,8 @@ | |||
295 | can2: can@53fe8000 { | 295 | can2: can@53fe8000 { |
296 | compatible = "fsl,imx35-flexcan", "fsl,p1010-flexcan"; | 296 | compatible = "fsl,imx35-flexcan", "fsl,p1010-flexcan"; |
297 | reg = <0x53fe8000 0x1000>; | 297 | reg = <0x53fe8000 0x1000>; |
298 | clocks = <&clks 34>; | 298 | clocks = <&clks 34>, <&clks 34>; |
299 | clock-names = "ipg"; | 299 | clock-names = "ipg", "per"; |
300 | interrupts = <44>; | 300 | interrupts = <44>; |
301 | status = "disabled"; | 301 | status = "disabled"; |
302 | }; | 302 | }; |
diff --git a/arch/arm/boot/dts/imx51-apf51dev.dts b/arch/arm/boot/dts/imx51-apf51dev.dts index 93d3ea12328c..0f3fe29b816e 100644 --- a/arch/arm/boot/dts/imx51-apf51dev.dts +++ b/arch/arm/boot/dts/imx51-apf51dev.dts | |||
@@ -98,7 +98,7 @@ | |||
98 | &esdhc1 { | 98 | &esdhc1 { |
99 | pinctrl-names = "default"; | 99 | pinctrl-names = "default"; |
100 | pinctrl-0 = <&pinctrl_esdhc1>; | 100 | pinctrl-0 = <&pinctrl_esdhc1>; |
101 | cd-gpios = <&gpio2 29 GPIO_ACTIVE_HIGH>; | 101 | cd-gpios = <&gpio2 29 GPIO_ACTIVE_LOW>; |
102 | bus-width = <4>; | 102 | bus-width = <4>; |
103 | status = "okay"; | 103 | status = "okay"; |
104 | }; | 104 | }; |
diff --git a/arch/arm/boot/dts/imx53-ard.dts b/arch/arm/boot/dts/imx53-ard.dts index e9337ad52f59..3bc18835fb4b 100644 --- a/arch/arm/boot/dts/imx53-ard.dts +++ b/arch/arm/boot/dts/imx53-ard.dts | |||
@@ -103,8 +103,8 @@ | |||
103 | &esdhc1 { | 103 | &esdhc1 { |
104 | pinctrl-names = "default"; | 104 | pinctrl-names = "default"; |
105 | pinctrl-0 = <&pinctrl_esdhc1>; | 105 | pinctrl-0 = <&pinctrl_esdhc1>; |
106 | cd-gpios = <&gpio1 1 0>; | 106 | cd-gpios = <&gpio1 1 GPIO_ACTIVE_LOW>; |
107 | wp-gpios = <&gpio1 9 0>; | 107 | wp-gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>; |
108 | status = "okay"; | 108 | status = "okay"; |
109 | }; | 109 | }; |
110 | 110 | ||
diff --git a/arch/arm/boot/dts/imx53-m53evk.dts b/arch/arm/boot/dts/imx53-m53evk.dts index d0e0f57eb432..53f40885c530 100644 --- a/arch/arm/boot/dts/imx53-m53evk.dts +++ b/arch/arm/boot/dts/imx53-m53evk.dts | |||
@@ -124,8 +124,8 @@ | |||
124 | &esdhc1 { | 124 | &esdhc1 { |
125 | pinctrl-names = "default"; | 125 | pinctrl-names = "default"; |
126 | pinctrl-0 = <&pinctrl_esdhc1>; | 126 | pinctrl-0 = <&pinctrl_esdhc1>; |
127 | cd-gpios = <&gpio1 1 0>; | 127 | cd-gpios = <&gpio1 1 GPIO_ACTIVE_LOW>; |
128 | wp-gpios = <&gpio1 9 0>; | 128 | wp-gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>; |
129 | status = "okay"; | 129 | status = "okay"; |
130 | }; | 130 | }; |
131 | 131 | ||
diff --git a/arch/arm/boot/dts/imx53-qsb-common.dtsi b/arch/arm/boot/dts/imx53-qsb-common.dtsi index 181ae5ebf23f..b0d5542ac829 100644 --- a/arch/arm/boot/dts/imx53-qsb-common.dtsi +++ b/arch/arm/boot/dts/imx53-qsb-common.dtsi | |||
@@ -147,8 +147,8 @@ | |||
147 | &esdhc3 { | 147 | &esdhc3 { |
148 | pinctrl-names = "default"; | 148 | pinctrl-names = "default"; |
149 | pinctrl-0 = <&pinctrl_esdhc3>; | 149 | pinctrl-0 = <&pinctrl_esdhc3>; |
150 | cd-gpios = <&gpio3 11 0>; | 150 | cd-gpios = <&gpio3 11 GPIO_ACTIVE_LOW>; |
151 | wp-gpios = <&gpio3 12 0>; | 151 | wp-gpios = <&gpio3 12 GPIO_ACTIVE_HIGH>; |
152 | bus-width = <8>; | 152 | bus-width = <8>; |
153 | status = "okay"; | 153 | status = "okay"; |
154 | }; | 154 | }; |
@@ -295,9 +295,10 @@ | |||
295 | &tve { | 295 | &tve { |
296 | pinctrl-names = "default"; | 296 | pinctrl-names = "default"; |
297 | pinctrl-0 = <&pinctrl_vga_sync>; | 297 | pinctrl-0 = <&pinctrl_vga_sync>; |
298 | ddc-i2c-bus = <&i2c2>; | ||
298 | fsl,tve-mode = "vga"; | 299 | fsl,tve-mode = "vga"; |
299 | fsl,hsync-pin = <4>; | 300 | fsl,hsync-pin = <7>; /* IPU DI1 PIN7 via EIM_OE */ |
300 | fsl,vsync-pin = <6>; | 301 | fsl,vsync-pin = <8>; /* IPU DI1 PIN8 via EIM_RW */ |
301 | status = "okay"; | 302 | status = "okay"; |
302 | }; | 303 | }; |
303 | 304 | ||
diff --git a/arch/arm/boot/dts/imx53-smd.dts b/arch/arm/boot/dts/imx53-smd.dts index 1d325576bcc0..fc89ce1e5763 100644 --- a/arch/arm/boot/dts/imx53-smd.dts +++ b/arch/arm/boot/dts/imx53-smd.dts | |||
@@ -41,8 +41,8 @@ | |||
41 | &esdhc1 { | 41 | &esdhc1 { |
42 | pinctrl-names = "default"; | 42 | pinctrl-names = "default"; |
43 | pinctrl-0 = <&pinctrl_esdhc1>; | 43 | pinctrl-0 = <&pinctrl_esdhc1>; |
44 | cd-gpios = <&gpio3 13 0>; | 44 | cd-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>; |
45 | wp-gpios = <&gpio4 11 0>; | 45 | wp-gpios = <&gpio4 11 GPIO_ACTIVE_HIGH>; |
46 | status = "okay"; | 46 | status = "okay"; |
47 | }; | 47 | }; |
48 | 48 | ||
diff --git a/arch/arm/boot/dts/imx53-tqma53.dtsi b/arch/arm/boot/dts/imx53-tqma53.dtsi index 4f1f0e2868bf..e03373a58760 100644 --- a/arch/arm/boot/dts/imx53-tqma53.dtsi +++ b/arch/arm/boot/dts/imx53-tqma53.dtsi | |||
@@ -41,8 +41,8 @@ | |||
41 | pinctrl-0 = <&pinctrl_esdhc2>, | 41 | pinctrl-0 = <&pinctrl_esdhc2>, |
42 | <&pinctrl_esdhc2_cdwp>; | 42 | <&pinctrl_esdhc2_cdwp>; |
43 | vmmc-supply = <®_3p3v>; | 43 | vmmc-supply = <®_3p3v>; |
44 | wp-gpios = <&gpio1 2 0>; | 44 | wp-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>; |
45 | cd-gpios = <&gpio1 4 0>; | 45 | cd-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>; |
46 | status = "disabled"; | 46 | status = "disabled"; |
47 | }; | 47 | }; |
48 | 48 | ||
diff --git a/arch/arm/boot/dts/imx53-tx53.dtsi b/arch/arm/boot/dts/imx53-tx53.dtsi index 704bd72cbfec..d3e50b22064f 100644 --- a/arch/arm/boot/dts/imx53-tx53.dtsi +++ b/arch/arm/boot/dts/imx53-tx53.dtsi | |||
@@ -183,7 +183,7 @@ | |||
183 | }; | 183 | }; |
184 | 184 | ||
185 | &esdhc1 { | 185 | &esdhc1 { |
186 | cd-gpios = <&gpio3 24 GPIO_ACTIVE_HIGH>; | 186 | cd-gpios = <&gpio3 24 GPIO_ACTIVE_LOW>; |
187 | fsl,wp-controller; | 187 | fsl,wp-controller; |
188 | pinctrl-names = "default"; | 188 | pinctrl-names = "default"; |
189 | pinctrl-0 = <&pinctrl_esdhc1>; | 189 | pinctrl-0 = <&pinctrl_esdhc1>; |
@@ -191,7 +191,7 @@ | |||
191 | }; | 191 | }; |
192 | 192 | ||
193 | &esdhc2 { | 193 | &esdhc2 { |
194 | cd-gpios = <&gpio3 25 GPIO_ACTIVE_HIGH>; | 194 | cd-gpios = <&gpio3 25 GPIO_ACTIVE_LOW>; |
195 | fsl,wp-controller; | 195 | fsl,wp-controller; |
196 | pinctrl-names = "default"; | 196 | pinctrl-names = "default"; |
197 | pinctrl-0 = <&pinctrl_esdhc2>; | 197 | pinctrl-0 = <&pinctrl_esdhc2>; |
diff --git a/arch/arm/boot/dts/imx53-voipac-bsb.dts b/arch/arm/boot/dts/imx53-voipac-bsb.dts index c17d3ad6dba5..fc51b87ad208 100644 --- a/arch/arm/boot/dts/imx53-voipac-bsb.dts +++ b/arch/arm/boot/dts/imx53-voipac-bsb.dts | |||
@@ -119,8 +119,8 @@ | |||
119 | &esdhc2 { | 119 | &esdhc2 { |
120 | pinctrl-names = "default"; | 120 | pinctrl-names = "default"; |
121 | pinctrl-0 = <&pinctrl_esdhc2>; | 121 | pinctrl-0 = <&pinctrl_esdhc2>; |
122 | cd-gpios = <&gpio3 25 0>; | 122 | cd-gpios = <&gpio3 25 GPIO_ACTIVE_LOW>; |
123 | wp-gpios = <&gpio2 19 0>; | 123 | wp-gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>; |
124 | vmmc-supply = <®_3p3v>; | 124 | vmmc-supply = <®_3p3v>; |
125 | status = "okay"; | 125 | status = "okay"; |
126 | }; | 126 | }; |
diff --git a/arch/arm/boot/dts/imx6dl-riotboard.dts b/arch/arm/boot/dts/imx6dl-riotboard.dts index 43cb3fd76be7..5111f5170d53 100644 --- a/arch/arm/boot/dts/imx6dl-riotboard.dts +++ b/arch/arm/boot/dts/imx6dl-riotboard.dts | |||
@@ -305,8 +305,8 @@ | |||
305 | &usdhc2 { | 305 | &usdhc2 { |
306 | pinctrl-names = "default"; | 306 | pinctrl-names = "default"; |
307 | pinctrl-0 = <&pinctrl_usdhc2>; | 307 | pinctrl-0 = <&pinctrl_usdhc2>; |
308 | cd-gpios = <&gpio1 4 0>; | 308 | cd-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>; |
309 | wp-gpios = <&gpio1 2 0>; | 309 | wp-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>; |
310 | vmmc-supply = <®_3p3v>; | 310 | vmmc-supply = <®_3p3v>; |
311 | status = "okay"; | 311 | status = "okay"; |
312 | }; | 312 | }; |
@@ -314,8 +314,8 @@ | |||
314 | &usdhc3 { | 314 | &usdhc3 { |
315 | pinctrl-names = "default"; | 315 | pinctrl-names = "default"; |
316 | pinctrl-0 = <&pinctrl_usdhc3>; | 316 | pinctrl-0 = <&pinctrl_usdhc3>; |
317 | cd-gpios = <&gpio7 0 0>; | 317 | cd-gpios = <&gpio7 0 GPIO_ACTIVE_LOW>; |
318 | wp-gpios = <&gpio7 1 0>; | 318 | wp-gpios = <&gpio7 1 GPIO_ACTIVE_HIGH>; |
319 | vmmc-supply = <®_3p3v>; | 319 | vmmc-supply = <®_3p3v>; |
320 | status = "okay"; | 320 | status = "okay"; |
321 | }; | 321 | }; |
diff --git a/arch/arm/boot/dts/imx6q-arm2.dts b/arch/arm/boot/dts/imx6q-arm2.dts index 78df05e9d1ce..d6515f7a56c4 100644 --- a/arch/arm/boot/dts/imx6q-arm2.dts +++ b/arch/arm/boot/dts/imx6q-arm2.dts | |||
@@ -11,6 +11,7 @@ | |||
11 | */ | 11 | */ |
12 | 12 | ||
13 | /dts-v1/; | 13 | /dts-v1/; |
14 | #include <dt-bindings/gpio/gpio.h> | ||
14 | #include "imx6q.dtsi" | 15 | #include "imx6q.dtsi" |
15 | 16 | ||
16 | / { | 17 | / { |
@@ -196,8 +197,8 @@ | |||
196 | }; | 197 | }; |
197 | 198 | ||
198 | &usdhc3 { | 199 | &usdhc3 { |
199 | cd-gpios = <&gpio6 11 0>; | 200 | cd-gpios = <&gpio6 11 GPIO_ACTIVE_LOW>; |
200 | wp-gpios = <&gpio6 14 0>; | 201 | wp-gpios = <&gpio6 14 GPIO_ACTIVE_HIGH>; |
201 | vmmc-supply = <®_3p3v>; | 202 | vmmc-supply = <®_3p3v>; |
202 | pinctrl-names = "default"; | 203 | pinctrl-names = "default"; |
203 | pinctrl-0 = <&pinctrl_usdhc3 | 204 | pinctrl-0 = <&pinctrl_usdhc3 |
diff --git a/arch/arm/boot/dts/imx6q-gk802.dts b/arch/arm/boot/dts/imx6q-gk802.dts index 703539cf36d3..00bd63e63d0c 100644 --- a/arch/arm/boot/dts/imx6q-gk802.dts +++ b/arch/arm/boot/dts/imx6q-gk802.dts | |||
@@ -7,6 +7,7 @@ | |||
7 | */ | 7 | */ |
8 | 8 | ||
9 | /dts-v1/; | 9 | /dts-v1/; |
10 | #include <dt-bindings/gpio/gpio.h> | ||
10 | #include "imx6q.dtsi" | 11 | #include "imx6q.dtsi" |
11 | 12 | ||
12 | / { | 13 | / { |
@@ -161,7 +162,7 @@ | |||
161 | pinctrl-names = "default"; | 162 | pinctrl-names = "default"; |
162 | pinctrl-0 = <&pinctrl_usdhc3>; | 163 | pinctrl-0 = <&pinctrl_usdhc3>; |
163 | bus-width = <4>; | 164 | bus-width = <4>; |
164 | cd-gpios = <&gpio6 11 0>; | 165 | cd-gpios = <&gpio6 11 GPIO_ACTIVE_LOW>; |
165 | vmmc-supply = <®_3p3v>; | 166 | vmmc-supply = <®_3p3v>; |
166 | status = "okay"; | 167 | status = "okay"; |
167 | }; | 168 | }; |
diff --git a/arch/arm/boot/dts/imx6q-tbs2910.dts b/arch/arm/boot/dts/imx6q-tbs2910.dts index a43abfa21e33..5645d52850a7 100644 --- a/arch/arm/boot/dts/imx6q-tbs2910.dts +++ b/arch/arm/boot/dts/imx6q-tbs2910.dts | |||
@@ -251,7 +251,7 @@ | |||
251 | pinctrl-names = "default"; | 251 | pinctrl-names = "default"; |
252 | pinctrl-0 = <&pinctrl_usdhc2>; | 252 | pinctrl-0 = <&pinctrl_usdhc2>; |
253 | bus-width = <4>; | 253 | bus-width = <4>; |
254 | cd-gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>; | 254 | cd-gpios = <&gpio2 2 GPIO_ACTIVE_LOW>; |
255 | vmmc-supply = <®_3p3v>; | 255 | vmmc-supply = <®_3p3v>; |
256 | status = "okay"; | 256 | status = "okay"; |
257 | }; | 257 | }; |
@@ -260,7 +260,7 @@ | |||
260 | pinctrl-names = "default"; | 260 | pinctrl-names = "default"; |
261 | pinctrl-0 = <&pinctrl_usdhc3>; | 261 | pinctrl-0 = <&pinctrl_usdhc3>; |
262 | bus-width = <4>; | 262 | bus-width = <4>; |
263 | cd-gpios = <&gpio2 0 GPIO_ACTIVE_HIGH>; | 263 | cd-gpios = <&gpio2 0 GPIO_ACTIVE_LOW>; |
264 | wp-gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>; | 264 | wp-gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>; |
265 | vmmc-supply = <®_3p3v>; | 265 | vmmc-supply = <®_3p3v>; |
266 | status = "okay"; | 266 | status = "okay"; |
diff --git a/arch/arm/boot/dts/imx6qdl-aristainetos.dtsi b/arch/arm/boot/dts/imx6qdl-aristainetos.dtsi index e6d9195a1da7..f4d6ae564ead 100644 --- a/arch/arm/boot/dts/imx6qdl-aristainetos.dtsi +++ b/arch/arm/boot/dts/imx6qdl-aristainetos.dtsi | |||
@@ -173,7 +173,7 @@ | |||
173 | pinctrl-names = "default"; | 173 | pinctrl-names = "default"; |
174 | pinctrl-0 = <&pinctrl_usdhc1>; | 174 | pinctrl-0 = <&pinctrl_usdhc1>; |
175 | vmmc-supply = <®_3p3v>; | 175 | vmmc-supply = <®_3p3v>; |
176 | cd-gpios = <&gpio4 7 GPIO_ACTIVE_HIGH>; | 176 | cd-gpios = <&gpio4 7 GPIO_ACTIVE_LOW>; |
177 | status = "okay"; | 177 | status = "okay"; |
178 | }; | 178 | }; |
179 | 179 | ||
@@ -181,7 +181,7 @@ | |||
181 | pinctrl-names = "default"; | 181 | pinctrl-names = "default"; |
182 | pinctrl-0 = <&pinctrl_usdhc2>; | 182 | pinctrl-0 = <&pinctrl_usdhc2>; |
183 | vmmc-supply = <®_3p3v>; | 183 | vmmc-supply = <®_3p3v>; |
184 | cd-gpios = <&gpio4 8 GPIO_ACTIVE_HIGH>; | 184 | cd-gpios = <&gpio4 8 GPIO_ACTIVE_LOW>; |
185 | status = "okay"; | 185 | status = "okay"; |
186 | }; | 186 | }; |
187 | 187 | ||
diff --git a/arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi b/arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi index 1d85de2befb3..a47a0399a172 100644 --- a/arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi +++ b/arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi | |||
@@ -392,7 +392,7 @@ | |||
392 | &usdhc1 { | 392 | &usdhc1 { |
393 | pinctrl-names = "default"; | 393 | pinctrl-names = "default"; |
394 | pinctrl-0 = <&pinctrl_usdhc1>; | 394 | pinctrl-0 = <&pinctrl_usdhc1>; |
395 | cd-gpios = <&gpio1 27 GPIO_ACTIVE_HIGH>; | 395 | cd-gpios = <&gpio1 27 GPIO_ACTIVE_LOW>; |
396 | no-1-8-v; | 396 | no-1-8-v; |
397 | status = "okay"; | 397 | status = "okay"; |
398 | }; | 398 | }; |
@@ -400,7 +400,7 @@ | |||
400 | &usdhc2 { | 400 | &usdhc2 { |
401 | pinctrl-names = "default"; | 401 | pinctrl-names = "default"; |
402 | pinctrl-0 = <&pinctrl_usdhc2>; | 402 | pinctrl-0 = <&pinctrl_usdhc2>; |
403 | cd-gpios = <&gpio4 5 GPIO_ACTIVE_HIGH>; | 403 | cd-gpios = <&gpio4 5 GPIO_ACTIVE_LOW>; |
404 | wp-gpios = <&gpio2 10 GPIO_ACTIVE_HIGH>; | 404 | wp-gpios = <&gpio2 10 GPIO_ACTIVE_HIGH>; |
405 | no-1-8-v; | 405 | no-1-8-v; |
406 | status = "okay"; | 406 | status = "okay"; |
diff --git a/arch/arm/boot/dts/imx6qdl-cubox-i.dtsi b/arch/arm/boot/dts/imx6qdl-cubox-i.dtsi index 59e5d15e3ec4..ff41f83551de 100644 --- a/arch/arm/boot/dts/imx6qdl-cubox-i.dtsi +++ b/arch/arm/boot/dts/imx6qdl-cubox-i.dtsi | |||
@@ -258,6 +258,6 @@ | |||
258 | pinctrl-names = "default"; | 258 | pinctrl-names = "default"; |
259 | pinctrl-0 = <&pinctrl_cubox_i_usdhc2_aux &pinctrl_cubox_i_usdhc2>; | 259 | pinctrl-0 = <&pinctrl_cubox_i_usdhc2_aux &pinctrl_cubox_i_usdhc2>; |
260 | vmmc-supply = <®_3p3v>; | 260 | vmmc-supply = <®_3p3v>; |
261 | cd-gpios = <&gpio1 4 0>; | 261 | cd-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>; |
262 | status = "okay"; | 262 | status = "okay"; |
263 | }; | 263 | }; |
diff --git a/arch/arm/boot/dts/imx6qdl-dfi-fs700-m60.dtsi b/arch/arm/boot/dts/imx6qdl-dfi-fs700-m60.dtsi index 2c253d6d20bd..45e7c39e80d5 100644 --- a/arch/arm/boot/dts/imx6qdl-dfi-fs700-m60.dtsi +++ b/arch/arm/boot/dts/imx6qdl-dfi-fs700-m60.dtsi | |||
@@ -1,3 +1,5 @@ | |||
1 | #include <dt-bindings/gpio/gpio.h> | ||
2 | |||
1 | / { | 3 | / { |
2 | regulators { | 4 | regulators { |
3 | compatible = "simple-bus"; | 5 | compatible = "simple-bus"; |
@@ -181,7 +183,7 @@ | |||
181 | &usdhc2 { /* module slot */ | 183 | &usdhc2 { /* module slot */ |
182 | pinctrl-names = "default"; | 184 | pinctrl-names = "default"; |
183 | pinctrl-0 = <&pinctrl_usdhc2>; | 185 | pinctrl-0 = <&pinctrl_usdhc2>; |
184 | cd-gpios = <&gpio2 2 0>; | 186 | cd-gpios = <&gpio2 2 GPIO_ACTIVE_LOW>; |
185 | status = "okay"; | 187 | status = "okay"; |
186 | }; | 188 | }; |
187 | 189 | ||
diff --git a/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi b/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi index b5756c21ea1d..4493f6e99330 100644 --- a/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi +++ b/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi | |||
@@ -318,7 +318,7 @@ | |||
318 | &usdhc3 { | 318 | &usdhc3 { |
319 | pinctrl-names = "default"; | 319 | pinctrl-names = "default"; |
320 | pinctrl-0 = <&pinctrl_usdhc3>; | 320 | pinctrl-0 = <&pinctrl_usdhc3>; |
321 | cd-gpios = <&gpio7 0 GPIO_ACTIVE_HIGH>; | 321 | cd-gpios = <&gpio7 0 GPIO_ACTIVE_LOW>; |
322 | vmmc-supply = <®_3p3v>; | 322 | vmmc-supply = <®_3p3v>; |
323 | status = "okay"; | 323 | status = "okay"; |
324 | }; | 324 | }; |
diff --git a/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi b/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi index 86f03c1b147c..a857d1294609 100644 --- a/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi +++ b/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi | |||
@@ -324,7 +324,7 @@ | |||
324 | &usdhc3 { | 324 | &usdhc3 { |
325 | pinctrl-names = "default"; | 325 | pinctrl-names = "default"; |
326 | pinctrl-0 = <&pinctrl_usdhc3>; | 326 | pinctrl-0 = <&pinctrl_usdhc3>; |
327 | cd-gpios = <&gpio7 0 GPIO_ACTIVE_HIGH>; | 327 | cd-gpios = <&gpio7 0 GPIO_ACTIVE_LOW>; |
328 | vmmc-supply = <®_3p3v>; | 328 | vmmc-supply = <®_3p3v>; |
329 | status = "okay"; | 329 | status = "okay"; |
330 | }; | 330 | }; |
diff --git a/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi b/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi index 4a8d97f47759..1afe3385e2d2 100644 --- a/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi +++ b/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi | |||
@@ -417,7 +417,7 @@ | |||
417 | &usdhc3 { | 417 | &usdhc3 { |
418 | pinctrl-names = "default"; | 418 | pinctrl-names = "default"; |
419 | pinctrl-0 = <&pinctrl_usdhc3>; | 419 | pinctrl-0 = <&pinctrl_usdhc3>; |
420 | cd-gpios = <&gpio7 0 GPIO_ACTIVE_HIGH>; | 420 | cd-gpios = <&gpio7 0 GPIO_ACTIVE_LOW>; |
421 | vmmc-supply = <®_3p3v>; | 421 | vmmc-supply = <®_3p3v>; |
422 | status = "okay"; | 422 | status = "okay"; |
423 | }; | 423 | }; |
diff --git a/arch/arm/boot/dts/imx6qdl-hummingboard.dtsi b/arch/arm/boot/dts/imx6qdl-hummingboard.dtsi index 62a82f3eba88..6dd0b764e036 100644 --- a/arch/arm/boot/dts/imx6qdl-hummingboard.dtsi +++ b/arch/arm/boot/dts/imx6qdl-hummingboard.dtsi | |||
@@ -299,6 +299,6 @@ | |||
299 | &pinctrl_hummingboard_usdhc2 | 299 | &pinctrl_hummingboard_usdhc2 |
300 | >; | 300 | >; |
301 | vmmc-supply = <®_3p3v>; | 301 | vmmc-supply = <®_3p3v>; |
302 | cd-gpios = <&gpio1 4 0>; | 302 | cd-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>; |
303 | status = "okay"; | 303 | status = "okay"; |
304 | }; | 304 | }; |
diff --git a/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi b/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi index 3af16dfe417b..d7fe6672d00c 100644 --- a/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi +++ b/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi | |||
@@ -453,7 +453,7 @@ | |||
453 | &usdhc3 { | 453 | &usdhc3 { |
454 | pinctrl-names = "default"; | 454 | pinctrl-names = "default"; |
455 | pinctrl-0 = <&pinctrl_usdhc3>; | 455 | pinctrl-0 = <&pinctrl_usdhc3>; |
456 | cd-gpios = <&gpio7 0 0>; | 456 | cd-gpios = <&gpio7 0 GPIO_ACTIVE_LOW>; |
457 | vmmc-supply = <®_3p3v>; | 457 | vmmc-supply = <®_3p3v>; |
458 | status = "okay"; | 458 | status = "okay"; |
459 | }; | 459 | }; |
@@ -461,7 +461,7 @@ | |||
461 | &usdhc4 { | 461 | &usdhc4 { |
462 | pinctrl-names = "default"; | 462 | pinctrl-names = "default"; |
463 | pinctrl-0 = <&pinctrl_usdhc4>; | 463 | pinctrl-0 = <&pinctrl_usdhc4>; |
464 | cd-gpios = <&gpio2 6 0>; | 464 | cd-gpios = <&gpio2 6 GPIO_ACTIVE_LOW>; |
465 | vmmc-supply = <®_3p3v>; | 465 | vmmc-supply = <®_3p3v>; |
466 | status = "okay"; | 466 | status = "okay"; |
467 | }; | 467 | }; |
diff --git a/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi b/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi index 1ce6133b67f5..9e6ecd99b472 100644 --- a/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi +++ b/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | |||
@@ -409,8 +409,8 @@ | |||
409 | &usdhc2 { | 409 | &usdhc2 { |
410 | pinctrl-names = "default"; | 410 | pinctrl-names = "default"; |
411 | pinctrl-0 = <&pinctrl_usdhc2>; | 411 | pinctrl-0 = <&pinctrl_usdhc2>; |
412 | cd-gpios = <&gpio1 4 0>; | 412 | cd-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>; |
413 | wp-gpios = <&gpio1 2 0>; | 413 | wp-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>; |
414 | status = "disabled"; | 414 | status = "disabled"; |
415 | }; | 415 | }; |
416 | 416 | ||
@@ -418,7 +418,7 @@ | |||
418 | pinctrl-names = "default"; | 418 | pinctrl-names = "default"; |
419 | pinctrl-0 = <&pinctrl_usdhc3 | 419 | pinctrl-0 = <&pinctrl_usdhc3 |
420 | &pinctrl_usdhc3_cdwp>; | 420 | &pinctrl_usdhc3_cdwp>; |
421 | cd-gpios = <&gpio1 27 0>; | 421 | cd-gpios = <&gpio1 27 GPIO_ACTIVE_LOW>; |
422 | wp-gpios = <&gpio1 29 0>; | 422 | wp-gpios = <&gpio1 29 GPIO_ACTIVE_HIGH>; |
423 | status = "disabled"; | 423 | status = "disabled"; |
424 | }; | 424 | }; |
diff --git a/arch/arm/boot/dts/imx6qdl-rex.dtsi b/arch/arm/boot/dts/imx6qdl-rex.dtsi index 488a640796ac..3373fd958e95 100644 --- a/arch/arm/boot/dts/imx6qdl-rex.dtsi +++ b/arch/arm/boot/dts/imx6qdl-rex.dtsi | |||
@@ -342,7 +342,7 @@ | |||
342 | pinctrl-0 = <&pinctrl_usdhc2>; | 342 | pinctrl-0 = <&pinctrl_usdhc2>; |
343 | bus-width = <4>; | 343 | bus-width = <4>; |
344 | cd-gpios = <&gpio2 2 GPIO_ACTIVE_LOW>; | 344 | cd-gpios = <&gpio2 2 GPIO_ACTIVE_LOW>; |
345 | wp-gpios = <&gpio2 3 GPIO_ACTIVE_LOW>; | 345 | wp-gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>; |
346 | status = "okay"; | 346 | status = "okay"; |
347 | }; | 347 | }; |
348 | 348 | ||
@@ -351,6 +351,6 @@ | |||
351 | pinctrl-0 = <&pinctrl_usdhc3>; | 351 | pinctrl-0 = <&pinctrl_usdhc3>; |
352 | bus-width = <4>; | 352 | bus-width = <4>; |
353 | cd-gpios = <&gpio2 0 GPIO_ACTIVE_LOW>; | 353 | cd-gpios = <&gpio2 0 GPIO_ACTIVE_LOW>; |
354 | wp-gpios = <&gpio2 1 GPIO_ACTIVE_LOW>; | 354 | wp-gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>; |
355 | status = "okay"; | 355 | status = "okay"; |
356 | }; | 356 | }; |
diff --git a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi index 3b24b12651b2..e329ca5c3322 100644 --- a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi +++ b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi | |||
@@ -467,8 +467,8 @@ | |||
467 | pinctrl-0 = <&pinctrl_usdhc3>; | 467 | pinctrl-0 = <&pinctrl_usdhc3>; |
468 | pinctrl-1 = <&pinctrl_usdhc3_100mhz>; | 468 | pinctrl-1 = <&pinctrl_usdhc3_100mhz>; |
469 | pinctrl-2 = <&pinctrl_usdhc3_200mhz>; | 469 | pinctrl-2 = <&pinctrl_usdhc3_200mhz>; |
470 | cd-gpios = <&gpio6 15 0>; | 470 | cd-gpios = <&gpio6 15 GPIO_ACTIVE_LOW>; |
471 | wp-gpios = <&gpio1 13 0>; | 471 | wp-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>; |
472 | status = "okay"; | 472 | status = "okay"; |
473 | }; | 473 | }; |
474 | 474 | ||
diff --git a/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi b/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi index e00c44f6a0df..782379320517 100644 --- a/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi +++ b/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi | |||
@@ -448,8 +448,8 @@ | |||
448 | &usdhc3 { | 448 | &usdhc3 { |
449 | pinctrl-names = "default"; | 449 | pinctrl-names = "default"; |
450 | pinctrl-0 = <&pinctrl_usdhc3>; | 450 | pinctrl-0 = <&pinctrl_usdhc3>; |
451 | cd-gpios = <&gpio7 0 0>; | 451 | cd-gpios = <&gpio7 0 GPIO_ACTIVE_LOW>; |
452 | wp-gpios = <&gpio7 1 0>; | 452 | wp-gpios = <&gpio7 1 GPIO_ACTIVE_HIGH>; |
453 | vmmc-supply = <®_3p3v>; | 453 | vmmc-supply = <®_3p3v>; |
454 | status = "okay"; | 454 | status = "okay"; |
455 | }; | 455 | }; |
@@ -457,7 +457,7 @@ | |||
457 | &usdhc4 { | 457 | &usdhc4 { |
458 | pinctrl-names = "default"; | 458 | pinctrl-names = "default"; |
459 | pinctrl-0 = <&pinctrl_usdhc4>; | 459 | pinctrl-0 = <&pinctrl_usdhc4>; |
460 | cd-gpios = <&gpio2 6 0>; | 460 | cd-gpios = <&gpio2 6 GPIO_ACTIVE_LOW>; |
461 | vmmc-supply = <®_3p3v>; | 461 | vmmc-supply = <®_3p3v>; |
462 | status = "okay"; | 462 | status = "okay"; |
463 | }; | 463 | }; |
diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi index a626e6dd8022..944eb81cb2b8 100644 --- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi +++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi | |||
@@ -562,8 +562,8 @@ | |||
562 | pinctrl-names = "default"; | 562 | pinctrl-names = "default"; |
563 | pinctrl-0 = <&pinctrl_usdhc2>; | 563 | pinctrl-0 = <&pinctrl_usdhc2>; |
564 | bus-width = <8>; | 564 | bus-width = <8>; |
565 | cd-gpios = <&gpio2 2 0>; | 565 | cd-gpios = <&gpio2 2 GPIO_ACTIVE_LOW>; |
566 | wp-gpios = <&gpio2 3 0>; | 566 | wp-gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>; |
567 | status = "okay"; | 567 | status = "okay"; |
568 | }; | 568 | }; |
569 | 569 | ||
@@ -571,8 +571,8 @@ | |||
571 | pinctrl-names = "default"; | 571 | pinctrl-names = "default"; |
572 | pinctrl-0 = <&pinctrl_usdhc3>; | 572 | pinctrl-0 = <&pinctrl_usdhc3>; |
573 | bus-width = <8>; | 573 | bus-width = <8>; |
574 | cd-gpios = <&gpio2 0 0>; | 574 | cd-gpios = <&gpio2 0 GPIO_ACTIVE_LOW>; |
575 | wp-gpios = <&gpio2 1 0>; | 575 | wp-gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>; |
576 | status = "okay"; | 576 | status = "okay"; |
577 | }; | 577 | }; |
578 | 578 | ||
diff --git a/arch/arm/boot/dts/imx6qdl-tx6.dtsi b/arch/arm/boot/dts/imx6qdl-tx6.dtsi index f02b80b41d4f..da08de324e9e 100644 --- a/arch/arm/boot/dts/imx6qdl-tx6.dtsi +++ b/arch/arm/boot/dts/imx6qdl-tx6.dtsi | |||
@@ -680,7 +680,7 @@ | |||
680 | pinctrl-0 = <&pinctrl_usdhc1>; | 680 | pinctrl-0 = <&pinctrl_usdhc1>; |
681 | bus-width = <4>; | 681 | bus-width = <4>; |
682 | no-1-8-v; | 682 | no-1-8-v; |
683 | cd-gpios = <&gpio7 2 0>; | 683 | cd-gpios = <&gpio7 2 GPIO_ACTIVE_LOW>; |
684 | fsl,wp-controller; | 684 | fsl,wp-controller; |
685 | status = "okay"; | 685 | status = "okay"; |
686 | }; | 686 | }; |
@@ -690,7 +690,7 @@ | |||
690 | pinctrl-0 = <&pinctrl_usdhc2>; | 690 | pinctrl-0 = <&pinctrl_usdhc2>; |
691 | bus-width = <4>; | 691 | bus-width = <4>; |
692 | no-1-8-v; | 692 | no-1-8-v; |
693 | cd-gpios = <&gpio7 3 0>; | 693 | cd-gpios = <&gpio7 3 GPIO_ACTIVE_LOW>; |
694 | fsl,wp-controller; | 694 | fsl,wp-controller; |
695 | status = "okay"; | 695 | status = "okay"; |
696 | }; | 696 | }; |
diff --git a/arch/arm/boot/dts/imx6qdl-wandboard.dtsi b/arch/arm/boot/dts/imx6qdl-wandboard.dtsi index 5fb091675582..9e096d811bed 100644 --- a/arch/arm/boot/dts/imx6qdl-wandboard.dtsi +++ b/arch/arm/boot/dts/imx6qdl-wandboard.dtsi | |||
@@ -9,6 +9,8 @@ | |||
9 | * | 9 | * |
10 | */ | 10 | */ |
11 | 11 | ||
12 | #include <dt-bindings/gpio/gpio.h> | ||
13 | |||
12 | / { | 14 | / { |
13 | regulators { | 15 | regulators { |
14 | compatible = "simple-bus"; | 16 | compatible = "simple-bus"; |
@@ -250,13 +252,13 @@ | |||
250 | &usdhc1 { | 252 | &usdhc1 { |
251 | pinctrl-names = "default"; | 253 | pinctrl-names = "default"; |
252 | pinctrl-0 = <&pinctrl_usdhc1>; | 254 | pinctrl-0 = <&pinctrl_usdhc1>; |
253 | cd-gpios = <&gpio1 2 0>; | 255 | cd-gpios = <&gpio1 2 GPIO_ACTIVE_LOW>; |
254 | status = "okay"; | 256 | status = "okay"; |
255 | }; | 257 | }; |
256 | 258 | ||
257 | &usdhc3 { | 259 | &usdhc3 { |
258 | pinctrl-names = "default"; | 260 | pinctrl-names = "default"; |
259 | pinctrl-0 = <&pinctrl_usdhc3>; | 261 | pinctrl-0 = <&pinctrl_usdhc3>; |
260 | cd-gpios = <&gpio3 9 0>; | 262 | cd-gpios = <&gpio3 9 GPIO_ACTIVE_LOW>; |
261 | status = "okay"; | 263 | status = "okay"; |
262 | }; | 264 | }; |
diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi index e6d13592080d..b57033e8c633 100644 --- a/arch/arm/boot/dts/imx6qdl.dtsi +++ b/arch/arm/boot/dts/imx6qdl.dtsi | |||
@@ -181,10 +181,10 @@ | |||
181 | interrupt-names = "msi"; | 181 | interrupt-names = "msi"; |
182 | #interrupt-cells = <1>; | 182 | #interrupt-cells = <1>; |
183 | interrupt-map-mask = <0 0 0 0x7>; | 183 | interrupt-map-mask = <0 0 0 0x7>; |
184 | interrupt-map = <0 0 0 1 &intc GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, | 184 | interrupt-map = <0 0 0 1 &gpc GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, |
185 | <0 0 0 2 &intc GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>, | 185 | <0 0 0 2 &gpc GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>, |
186 | <0 0 0 3 &intc GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>, | 186 | <0 0 0 3 &gpc GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>, |
187 | <0 0 0 4 &intc GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>; | 187 | <0 0 0 4 &gpc GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>; |
188 | clocks = <&clks IMX6QDL_CLK_PCIE_AXI>, | 188 | clocks = <&clks IMX6QDL_CLK_PCIE_AXI>, |
189 | <&clks IMX6QDL_CLK_LVDS1_GATE>, | 189 | <&clks IMX6QDL_CLK_LVDS1_GATE>, |
190 | <&clks IMX6QDL_CLK_PCIE_REF_125M>; | 190 | <&clks IMX6QDL_CLK_PCIE_REF_125M>; |
diff --git a/arch/arm/boot/dts/imx6sl-evk.dts b/arch/arm/boot/dts/imx6sl-evk.dts index 945887d3fdb3..b84dff2e94ea 100644 --- a/arch/arm/boot/dts/imx6sl-evk.dts +++ b/arch/arm/boot/dts/imx6sl-evk.dts | |||
@@ -617,8 +617,8 @@ | |||
617 | pinctrl-1 = <&pinctrl_usdhc1_100mhz>; | 617 | pinctrl-1 = <&pinctrl_usdhc1_100mhz>; |
618 | pinctrl-2 = <&pinctrl_usdhc1_200mhz>; | 618 | pinctrl-2 = <&pinctrl_usdhc1_200mhz>; |
619 | bus-width = <8>; | 619 | bus-width = <8>; |
620 | cd-gpios = <&gpio4 7 0>; | 620 | cd-gpios = <&gpio4 7 GPIO_ACTIVE_LOW>; |
621 | wp-gpios = <&gpio4 6 0>; | 621 | wp-gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>; |
622 | status = "okay"; | 622 | status = "okay"; |
623 | }; | 623 | }; |
624 | 624 | ||
@@ -627,8 +627,8 @@ | |||
627 | pinctrl-0 = <&pinctrl_usdhc2>; | 627 | pinctrl-0 = <&pinctrl_usdhc2>; |
628 | pinctrl-1 = <&pinctrl_usdhc2_100mhz>; | 628 | pinctrl-1 = <&pinctrl_usdhc2_100mhz>; |
629 | pinctrl-2 = <&pinctrl_usdhc2_200mhz>; | 629 | pinctrl-2 = <&pinctrl_usdhc2_200mhz>; |
630 | cd-gpios = <&gpio5 0 0>; | 630 | cd-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>; |
631 | wp-gpios = <&gpio4 29 0>; | 631 | wp-gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>; |
632 | status = "okay"; | 632 | status = "okay"; |
633 | }; | 633 | }; |
634 | 634 | ||
@@ -637,6 +637,6 @@ | |||
637 | pinctrl-0 = <&pinctrl_usdhc3>; | 637 | pinctrl-0 = <&pinctrl_usdhc3>; |
638 | pinctrl-1 = <&pinctrl_usdhc3_100mhz>; | 638 | pinctrl-1 = <&pinctrl_usdhc3_100mhz>; |
639 | pinctrl-2 = <&pinctrl_usdhc3_200mhz>; | 639 | pinctrl-2 = <&pinctrl_usdhc3_200mhz>; |
640 | cd-gpios = <&gpio3 22 0>; | 640 | cd-gpios = <&gpio3 22 GPIO_ACTIVE_LOW>; |
641 | status = "okay"; | 641 | status = "okay"; |
642 | }; | 642 | }; |
diff --git a/arch/arm/boot/dts/imx6sx-sabreauto.dts b/arch/arm/boot/dts/imx6sx-sabreauto.dts index e3c0b63c2205..115f3fd78971 100644 --- a/arch/arm/boot/dts/imx6sx-sabreauto.dts +++ b/arch/arm/boot/dts/imx6sx-sabreauto.dts | |||
@@ -49,7 +49,7 @@ | |||
49 | pinctrl-1 = <&pinctrl_usdhc3_100mhz>; | 49 | pinctrl-1 = <&pinctrl_usdhc3_100mhz>; |
50 | pinctrl-2 = <&pinctrl_usdhc3_200mhz>; | 50 | pinctrl-2 = <&pinctrl_usdhc3_200mhz>; |
51 | bus-width = <8>; | 51 | bus-width = <8>; |
52 | cd-gpios = <&gpio7 10 GPIO_ACTIVE_HIGH>; | 52 | cd-gpios = <&gpio7 10 GPIO_ACTIVE_LOW>; |
53 | wp-gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>; | 53 | wp-gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>; |
54 | keep-power-in-suspend; | 54 | keep-power-in-suspend; |
55 | enable-sdio-wakeup; | 55 | enable-sdio-wakeup; |
@@ -61,7 +61,7 @@ | |||
61 | pinctrl-names = "default"; | 61 | pinctrl-names = "default"; |
62 | pinctrl-0 = <&pinctrl_usdhc4>; | 62 | pinctrl-0 = <&pinctrl_usdhc4>; |
63 | bus-width = <8>; | 63 | bus-width = <8>; |
64 | cd-gpios = <&gpio7 11 GPIO_ACTIVE_HIGH>; | 64 | cd-gpios = <&gpio7 11 GPIO_ACTIVE_LOW>; |
65 | no-1-8-v; | 65 | no-1-8-v; |
66 | keep-power-in-suspend; | 66 | keep-power-in-suspend; |
67 | enable-sdio-wakup; | 67 | enable-sdio-wakup; |
diff --git a/arch/arm/boot/dts/imx6sx-sdb.dtsi b/arch/arm/boot/dts/imx6sx-sdb.dtsi index cef04cef3a80..ac88c3467078 100644 --- a/arch/arm/boot/dts/imx6sx-sdb.dtsi +++ b/arch/arm/boot/dts/imx6sx-sdb.dtsi | |||
@@ -293,7 +293,7 @@ | |||
293 | pinctrl-1 = <&pinctrl_usdhc3_100mhz>; | 293 | pinctrl-1 = <&pinctrl_usdhc3_100mhz>; |
294 | pinctrl-2 = <&pinctrl_usdhc3_200mhz>; | 294 | pinctrl-2 = <&pinctrl_usdhc3_200mhz>; |
295 | bus-width = <8>; | 295 | bus-width = <8>; |
296 | cd-gpios = <&gpio2 10 GPIO_ACTIVE_HIGH>; | 296 | cd-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>; |
297 | wp-gpios = <&gpio2 15 GPIO_ACTIVE_HIGH>; | 297 | wp-gpios = <&gpio2 15 GPIO_ACTIVE_HIGH>; |
298 | keep-power-in-suspend; | 298 | keep-power-in-suspend; |
299 | enable-sdio-wakeup; | 299 | enable-sdio-wakeup; |
@@ -304,7 +304,7 @@ | |||
304 | &usdhc4 { | 304 | &usdhc4 { |
305 | pinctrl-names = "default"; | 305 | pinctrl-names = "default"; |
306 | pinctrl-0 = <&pinctrl_usdhc4>; | 306 | pinctrl-0 = <&pinctrl_usdhc4>; |
307 | cd-gpios = <&gpio6 21 GPIO_ACTIVE_HIGH>; | 307 | cd-gpios = <&gpio6 21 GPIO_ACTIVE_LOW>; |
308 | wp-gpios = <&gpio6 20 GPIO_ACTIVE_HIGH>; | 308 | wp-gpios = <&gpio6 20 GPIO_ACTIVE_HIGH>; |
309 | status = "okay"; | 309 | status = "okay"; |
310 | }; | 310 | }; |
diff --git a/arch/arm/boot/dts/imx7d-sdb.dts b/arch/arm/boot/dts/imx7d-sdb.dts index 4d1a4b977d84..fdd1d7c9a5cc 100644 --- a/arch/arm/boot/dts/imx7d-sdb.dts +++ b/arch/arm/boot/dts/imx7d-sdb.dts | |||
@@ -234,8 +234,8 @@ | |||
234 | &usdhc1 { | 234 | &usdhc1 { |
235 | pinctrl-names = "default"; | 235 | pinctrl-names = "default"; |
236 | pinctrl-0 = <&pinctrl_usdhc1>; | 236 | pinctrl-0 = <&pinctrl_usdhc1>; |
237 | cd-gpios = <&gpio5 0 0>; | 237 | cd-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>; |
238 | wp-gpios = <&gpio5 1 0>; | 238 | wp-gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>; |
239 | enable-sdio-wakeup; | 239 | enable-sdio-wakeup; |
240 | keep-power-in-suspend; | 240 | keep-power-in-suspend; |
241 | status = "okay"; | 241 | status = "okay"; |
diff --git a/arch/arm/boot/dts/k2e-clocks.dtsi b/arch/arm/boot/dts/k2e-clocks.dtsi index 4773d6af66a0..d56d68fe7ffc 100644 --- a/arch/arm/boot/dts/k2e-clocks.dtsi +++ b/arch/arm/boot/dts/k2e-clocks.dtsi | |||
@@ -13,9 +13,8 @@ clocks { | |||
13 | #clock-cells = <0>; | 13 | #clock-cells = <0>; |
14 | compatible = "ti,keystone,main-pll-clock"; | 14 | compatible = "ti,keystone,main-pll-clock"; |
15 | clocks = <&refclksys>; | 15 | clocks = <&refclksys>; |
16 | reg = <0x02620350 4>, <0x02310110 4>; | 16 | reg = <0x02620350 4>, <0x02310110 4>, <0x02310108 4>; |
17 | reg-names = "control", "multiplier"; | 17 | reg-names = "control", "multiplier", "post-divider"; |
18 | fixed-postdiv = <2>; | ||
19 | }; | 18 | }; |
20 | 19 | ||
21 | papllclk: papllclk@2620358 { | 20 | papllclk: papllclk@2620358 { |
diff --git a/arch/arm/boot/dts/k2e.dtsi b/arch/arm/boot/dts/k2e.dtsi index 50e555eab50d..675fb8e492c6 100644 --- a/arch/arm/boot/dts/k2e.dtsi +++ b/arch/arm/boot/dts/k2e.dtsi | |||
@@ -86,7 +86,7 @@ | |||
86 | gpio,syscon-dev = <&devctrl 0x240>; | 86 | gpio,syscon-dev = <&devctrl 0x240>; |
87 | }; | 87 | }; |
88 | 88 | ||
89 | pcie@21020000 { | 89 | pcie1: pcie@21020000 { |
90 | compatible = "ti,keystone-pcie","snps,dw-pcie"; | 90 | compatible = "ti,keystone-pcie","snps,dw-pcie"; |
91 | clocks = <&clkpcie1>; | 91 | clocks = <&clkpcie1>; |
92 | clock-names = "pcie"; | 92 | clock-names = "pcie"; |
@@ -96,6 +96,7 @@ | |||
96 | ranges = <0x81000000 0 0 0x23260000 0x4000 0x4000 | 96 | ranges = <0x81000000 0 0 0x23260000 0x4000 0x4000 |
97 | 0x82000000 0 0x60000000 0x60000000 0 0x10000000>; | 97 | 0x82000000 0 0x60000000 0x60000000 0 0x10000000>; |
98 | 98 | ||
99 | status = "disabled"; | ||
99 | device_type = "pci"; | 100 | device_type = "pci"; |
100 | num-lanes = <2>; | 101 | num-lanes = <2>; |
101 | 102 | ||
@@ -130,10 +131,17 @@ | |||
130 | <GIC_SPI 376 IRQ_TYPE_EDGE_RISING>; | 131 | <GIC_SPI 376 IRQ_TYPE_EDGE_RISING>; |
131 | }; | 132 | }; |
132 | }; | 133 | }; |
134 | |||
135 | mdio: mdio@24200f00 { | ||
136 | compatible = "ti,keystone_mdio", "ti,davinci_mdio"; | ||
137 | #address-cells = <1>; | ||
138 | #size-cells = <0>; | ||
139 | reg = <0x24200f00 0x100>; | ||
140 | status = "disabled"; | ||
141 | clocks = <&clkcpgmac>; | ||
142 | clock-names = "fck"; | ||
143 | bus_freq = <2500000>; | ||
144 | }; | ||
133 | /include/ "k2e-netcp.dtsi" | 145 | /include/ "k2e-netcp.dtsi" |
134 | }; | 146 | }; |
135 | }; | 147 | }; |
136 | |||
137 | &mdio { | ||
138 | reg = <0x24200f00 0x100>; | ||
139 | }; | ||
diff --git a/arch/arm/boot/dts/k2hk-clocks.dtsi b/arch/arm/boot/dts/k2hk-clocks.dtsi index d5adee3c0067..af9b7190533a 100644 --- a/arch/arm/boot/dts/k2hk-clocks.dtsi +++ b/arch/arm/boot/dts/k2hk-clocks.dtsi | |||
@@ -22,9 +22,8 @@ clocks { | |||
22 | #clock-cells = <0>; | 22 | #clock-cells = <0>; |
23 | compatible = "ti,keystone,main-pll-clock"; | 23 | compatible = "ti,keystone,main-pll-clock"; |
24 | clocks = <&refclksys>; | 24 | clocks = <&refclksys>; |
25 | reg = <0x02620350 4>, <0x02310110 4>; | 25 | reg = <0x02620350 4>, <0x02310110 4>, <0x02310108 4>; |
26 | reg-names = "control", "multiplier"; | 26 | reg-names = "control", "multiplier", "post-divider"; |
27 | fixed-postdiv = <2>; | ||
28 | }; | 27 | }; |
29 | 28 | ||
30 | papllclk: papllclk@2620358 { | 29 | papllclk: papllclk@2620358 { |
diff --git a/arch/arm/boot/dts/k2hk.dtsi b/arch/arm/boot/dts/k2hk.dtsi index ae6472407b22..d0810a5f2968 100644 --- a/arch/arm/boot/dts/k2hk.dtsi +++ b/arch/arm/boot/dts/k2hk.dtsi | |||
@@ -98,6 +98,17 @@ | |||
98 | #gpio-cells = <2>; | 98 | #gpio-cells = <2>; |
99 | gpio,syscon-dev = <&devctrl 0x25c>; | 99 | gpio,syscon-dev = <&devctrl 0x25c>; |
100 | }; | 100 | }; |
101 | |||
102 | mdio: mdio@02090300 { | ||
103 | compatible = "ti,keystone_mdio", "ti,davinci_mdio"; | ||
104 | #address-cells = <1>; | ||
105 | #size-cells = <0>; | ||
106 | reg = <0x02090300 0x100>; | ||
107 | status = "disabled"; | ||
108 | clocks = <&clkcpgmac>; | ||
109 | clock-names = "fck"; | ||
110 | bus_freq = <2500000>; | ||
111 | }; | ||
101 | /include/ "k2hk-netcp.dtsi" | 112 | /include/ "k2hk-netcp.dtsi" |
102 | }; | 113 | }; |
103 | }; | 114 | }; |
diff --git a/arch/arm/boot/dts/k2l-clocks.dtsi b/arch/arm/boot/dts/k2l-clocks.dtsi index eb1e3e29f073..ef8464bb11ff 100644 --- a/arch/arm/boot/dts/k2l-clocks.dtsi +++ b/arch/arm/boot/dts/k2l-clocks.dtsi | |||
@@ -22,9 +22,8 @@ clocks { | |||
22 | #clock-cells = <0>; | 22 | #clock-cells = <0>; |
23 | compatible = "ti,keystone,main-pll-clock"; | 23 | compatible = "ti,keystone,main-pll-clock"; |
24 | clocks = <&refclksys>; | 24 | clocks = <&refclksys>; |
25 | reg = <0x02620350 4>, <0x02310110 4>; | 25 | reg = <0x02620350 4>, <0x02310110 4>, <0x02310108 4>; |
26 | reg-names = "control", "multiplier"; | 26 | reg-names = "control", "multiplier", "post-divider"; |
27 | fixed-postdiv = <2>; | ||
28 | }; | 27 | }; |
29 | 28 | ||
30 | papllclk: papllclk@2620358 { | 29 | papllclk: papllclk@2620358 { |
diff --git a/arch/arm/boot/dts/k2l.dtsi b/arch/arm/boot/dts/k2l.dtsi index 0e007483615e..49fd414f680c 100644 --- a/arch/arm/boot/dts/k2l.dtsi +++ b/arch/arm/boot/dts/k2l.dtsi | |||
@@ -29,7 +29,6 @@ | |||
29 | }; | 29 | }; |
30 | 30 | ||
31 | soc { | 31 | soc { |
32 | |||
33 | /include/ "k2l-clocks.dtsi" | 32 | /include/ "k2l-clocks.dtsi" |
34 | 33 | ||
35 | uart2: serial@02348400 { | 34 | uart2: serial@02348400 { |
@@ -79,6 +78,17 @@ | |||
79 | #gpio-cells = <2>; | 78 | #gpio-cells = <2>; |
80 | gpio,syscon-dev = <&devctrl 0x24c>; | 79 | gpio,syscon-dev = <&devctrl 0x24c>; |
81 | }; | 80 | }; |
81 | |||
82 | mdio: mdio@26200f00 { | ||
83 | compatible = "ti,keystone_mdio", "ti,davinci_mdio"; | ||
84 | #address-cells = <1>; | ||
85 | #size-cells = <0>; | ||
86 | reg = <0x26200f00 0x100>; | ||
87 | status = "disabled"; | ||
88 | clocks = <&clkcpgmac>; | ||
89 | clock-names = "fck"; | ||
90 | bus_freq = <2500000>; | ||
91 | }; | ||
82 | /include/ "k2l-netcp.dtsi" | 92 | /include/ "k2l-netcp.dtsi" |
83 | }; | 93 | }; |
84 | }; | 94 | }; |
@@ -96,7 +106,3 @@ | |||
96 | /* Pin muxed. Enabled and configured by Bootloader */ | 106 | /* Pin muxed. Enabled and configured by Bootloader */ |
97 | status = "disabled"; | 107 | status = "disabled"; |
98 | }; | 108 | }; |
99 | |||
100 | &mdio { | ||
101 | reg = <0x26200f00 0x100>; | ||
102 | }; | ||
diff --git a/arch/arm/boot/dts/keystone.dtsi b/arch/arm/boot/dts/keystone.dtsi index c06542b2c954..72816d65f7ec 100644 --- a/arch/arm/boot/dts/keystone.dtsi +++ b/arch/arm/boot/dts/keystone.dtsi | |||
@@ -267,17 +267,6 @@ | |||
267 | 1 0 0x21000A00 0x00000100>; | 267 | 1 0 0x21000A00 0x00000100>; |
268 | }; | 268 | }; |
269 | 269 | ||
270 | mdio: mdio@02090300 { | ||
271 | compatible = "ti,keystone_mdio", "ti,davinci_mdio"; | ||
272 | #address-cells = <1>; | ||
273 | #size-cells = <0>; | ||
274 | reg = <0x02090300 0x100>; | ||
275 | status = "disabled"; | ||
276 | clocks = <&clkpa>; | ||
277 | clock-names = "fck"; | ||
278 | bus_freq = <2500000>; | ||
279 | }; | ||
280 | |||
281 | kirq0: keystone_irq@26202a0 { | 270 | kirq0: keystone_irq@26202a0 { |
282 | compatible = "ti,keystone-irq"; | 271 | compatible = "ti,keystone-irq"; |
283 | interrupts = <GIC_SPI 4 IRQ_TYPE_EDGE_RISING>; | 272 | interrupts = <GIC_SPI 4 IRQ_TYPE_EDGE_RISING>; |
@@ -286,7 +275,7 @@ | |||
286 | ti,syscon-dev = <&devctrl 0x2a0>; | 275 | ti,syscon-dev = <&devctrl 0x2a0>; |
287 | }; | 276 | }; |
288 | 277 | ||
289 | pcie@21800000 { | 278 | pcie0: pcie@21800000 { |
290 | compatible = "ti,keystone-pcie", "snps,dw-pcie"; | 279 | compatible = "ti,keystone-pcie", "snps,dw-pcie"; |
291 | clocks = <&clkpcie>; | 280 | clocks = <&clkpcie>; |
292 | clock-names = "pcie"; | 281 | clock-names = "pcie"; |
@@ -296,6 +285,7 @@ | |||
296 | ranges = <0x81000000 0 0 0x23250000 0 0x4000 | 285 | ranges = <0x81000000 0 0 0x23250000 0 0x4000 |
297 | 0x82000000 0 0x50000000 0x50000000 0 0x10000000>; | 286 | 0x82000000 0 0x50000000 0x50000000 0 0x10000000>; |
298 | 287 | ||
288 | status = "disabled"; | ||
299 | device_type = "pci"; | 289 | device_type = "pci"; |
300 | num-lanes = <2>; | 290 | num-lanes = <2>; |
301 | 291 | ||
diff --git a/arch/arm/boot/dts/kirkwood-d2net.dts b/arch/arm/boot/dts/kirkwood-d2net.dts index 6b7856025001..e1c25c35e9ce 100644 --- a/arch/arm/boot/dts/kirkwood-d2net.dts +++ b/arch/arm/boot/dts/kirkwood-d2net.dts | |||
@@ -10,6 +10,7 @@ | |||
10 | 10 | ||
11 | /dts-v1/; | 11 | /dts-v1/; |
12 | 12 | ||
13 | #include <dt-bindings/leds/leds-ns2.h> | ||
13 | #include "kirkwood-netxbig.dtsi" | 14 | #include "kirkwood-netxbig.dtsi" |
14 | 15 | ||
15 | / { | 16 | / { |
@@ -28,6 +29,10 @@ | |||
28 | label = "d2net_v2:blue:sata"; | 29 | label = "d2net_v2:blue:sata"; |
29 | slow-gpio = <&gpio0 29 GPIO_ACTIVE_HIGH>; | 30 | slow-gpio = <&gpio0 29 GPIO_ACTIVE_HIGH>; |
30 | cmd-gpio = <&gpio0 30 GPIO_ACTIVE_HIGH>; | 31 | cmd-gpio = <&gpio0 30 GPIO_ACTIVE_HIGH>; |
32 | modes-map = <NS_V2_LED_OFF 1 0 | ||
33 | NS_V2_LED_ON 0 1 | ||
34 | NS_V2_LED_ON 1 1 | ||
35 | NS_V2_LED_SATA 0 0>; | ||
31 | }; | 36 | }; |
32 | }; | 37 | }; |
33 | 38 | ||
diff --git a/arch/arm/boot/dts/kirkwood-is2.dts b/arch/arm/boot/dts/kirkwood-is2.dts index da674bbd49a8..4121674abd1c 100644 --- a/arch/arm/boot/dts/kirkwood-is2.dts +++ b/arch/arm/boot/dts/kirkwood-is2.dts | |||
@@ -1,5 +1,6 @@ | |||
1 | /dts-v1/; | 1 | /dts-v1/; |
2 | 2 | ||
3 | #include <dt-bindings/leds/leds-ns2.h> | ||
3 | #include "kirkwood-ns2-common.dtsi" | 4 | #include "kirkwood-ns2-common.dtsi" |
4 | 5 | ||
5 | / { | 6 | / { |
@@ -27,6 +28,10 @@ | |||
27 | label = "ns2:blue:sata"; | 28 | label = "ns2:blue:sata"; |
28 | slow-gpio = <&gpio0 29 0>; | 29 | slow-gpio = <&gpio0 29 0>; |
29 | cmd-gpio = <&gpio0 30 0>; | 30 | cmd-gpio = <&gpio0 30 0>; |
31 | modes-map = <NS_V2_LED_OFF 1 0 | ||
32 | NS_V2_LED_ON 0 1 | ||
33 | NS_V2_LED_ON 1 1 | ||
34 | NS_V2_LED_SATA 0 0>; | ||
30 | }; | 35 | }; |
31 | }; | 36 | }; |
32 | }; | 37 | }; |
diff --git a/arch/arm/boot/dts/kirkwood-ns2.dts b/arch/arm/boot/dts/kirkwood-ns2.dts index 53368d1022cc..190189d235e6 100644 --- a/arch/arm/boot/dts/kirkwood-ns2.dts +++ b/arch/arm/boot/dts/kirkwood-ns2.dts | |||
@@ -1,5 +1,6 @@ | |||
1 | /dts-v1/; | 1 | /dts-v1/; |
2 | 2 | ||
3 | #include <dt-bindings/leds/leds-ns2.h> | ||
3 | #include "kirkwood-ns2-common.dtsi" | 4 | #include "kirkwood-ns2-common.dtsi" |
4 | 5 | ||
5 | / { | 6 | / { |
@@ -27,6 +28,10 @@ | |||
27 | label = "ns2:blue:sata"; | 28 | label = "ns2:blue:sata"; |
28 | slow-gpio = <&gpio0 29 0>; | 29 | slow-gpio = <&gpio0 29 0>; |
29 | cmd-gpio = <&gpio0 30 0>; | 30 | cmd-gpio = <&gpio0 30 0>; |
31 | modes-map = <NS_V2_LED_OFF 1 0 | ||
32 | NS_V2_LED_ON 0 1 | ||
33 | NS_V2_LED_ON 1 1 | ||
34 | NS_V2_LED_SATA 0 0>; | ||
30 | }; | 35 | }; |
31 | }; | 36 | }; |
32 | }; | 37 | }; |
diff --git a/arch/arm/boot/dts/kirkwood-ns2max.dts b/arch/arm/boot/dts/kirkwood-ns2max.dts index 72c78d0b1116..55cc41d9c80c 100644 --- a/arch/arm/boot/dts/kirkwood-ns2max.dts +++ b/arch/arm/boot/dts/kirkwood-ns2max.dts | |||
@@ -1,5 +1,6 @@ | |||
1 | /dts-v1/; | 1 | /dts-v1/; |
2 | 2 | ||
3 | #include <dt-bindings/leds/leds-ns2.h> | ||
3 | #include "kirkwood-ns2-common.dtsi" | 4 | #include "kirkwood-ns2-common.dtsi" |
4 | 5 | ||
5 | / { | 6 | / { |
@@ -46,6 +47,10 @@ | |||
46 | label = "ns2:blue:sata"; | 47 | label = "ns2:blue:sata"; |
47 | slow-gpio = <&gpio0 29 0>; | 48 | slow-gpio = <&gpio0 29 0>; |
48 | cmd-gpio = <&gpio0 30 0>; | 49 | cmd-gpio = <&gpio0 30 0>; |
50 | modes-map = <NS_V2_LED_OFF 1 0 | ||
51 | NS_V2_LED_ON 0 1 | ||
52 | NS_V2_LED_ON 1 1 | ||
53 | NS_V2_LED_SATA 0 0>; | ||
49 | }; | 54 | }; |
50 | }; | 55 | }; |
51 | }; | 56 | }; |
diff --git a/arch/arm/boot/dts/kirkwood-ns2mini.dts b/arch/arm/boot/dts/kirkwood-ns2mini.dts index c441bf62c09f..9935f3ec29b4 100644 --- a/arch/arm/boot/dts/kirkwood-ns2mini.dts +++ b/arch/arm/boot/dts/kirkwood-ns2mini.dts | |||
@@ -1,5 +1,6 @@ | |||
1 | /dts-v1/; | 1 | /dts-v1/; |
2 | 2 | ||
3 | #include <dt-bindings/leds/leds-ns2.h> | ||
3 | #include "kirkwood-ns2-common.dtsi" | 4 | #include "kirkwood-ns2-common.dtsi" |
4 | 5 | ||
5 | / { | 6 | / { |
@@ -47,6 +48,10 @@ | |||
47 | label = "ns2:blue:sata"; | 48 | label = "ns2:blue:sata"; |
48 | slow-gpio = <&gpio0 29 0>; | 49 | slow-gpio = <&gpio0 29 0>; |
49 | cmd-gpio = <&gpio0 30 0>; | 50 | cmd-gpio = <&gpio0 30 0>; |
51 | modes-map = <NS_V2_LED_OFF 1 0 | ||
52 | NS_V2_LED_ON 0 1 | ||
53 | NS_V2_LED_ON 1 1 | ||
54 | NS_V2_LED_SATA 0 0>; | ||
50 | }; | 55 | }; |
51 | }; | 56 | }; |
52 | }; | 57 | }; |
diff --git a/arch/arm/boot/dts/omap2430.dtsi b/arch/arm/boot/dts/omap2430.dtsi index 11a7963be003..2390f387c271 100644 --- a/arch/arm/boot/dts/omap2430.dtsi +++ b/arch/arm/boot/dts/omap2430.dtsi | |||
@@ -51,7 +51,8 @@ | |||
51 | }; | 51 | }; |
52 | 52 | ||
53 | scm_conf: scm_conf@270 { | 53 | scm_conf: scm_conf@270 { |
54 | compatible = "syscon"; | 54 | compatible = "syscon", |
55 | "simple-bus"; | ||
55 | reg = <0x270 0x240>; | 56 | reg = <0x270 0x240>; |
56 | #address-cells = <1>; | 57 | #address-cells = <1>; |
57 | #size-cells = <1>; | 58 | #size-cells = <1>; |
diff --git a/arch/arm/boot/dts/omap3-overo-common-lcd35.dtsi b/arch/arm/boot/dts/omap3-overo-common-lcd35.dtsi index 233c69e50ae3..df8908adb0cb 100644 --- a/arch/arm/boot/dts/omap3-overo-common-lcd35.dtsi +++ b/arch/arm/boot/dts/omap3-overo-common-lcd35.dtsi | |||
@@ -120,7 +120,7 @@ | |||
120 | 120 | ||
121 | lcd0: display@0 { | 121 | lcd0: display@0 { |
122 | compatible = "lgphilips,lb035q02"; | 122 | compatible = "lgphilips,lb035q02"; |
123 | label = "lcd"; | 123 | label = "lcd35"; |
124 | 124 | ||
125 | reg = <1>; /* CS1 */ | 125 | reg = <1>; /* CS1 */ |
126 | spi-max-frequency = <10000000>; | 126 | spi-max-frequency = <10000000>; |
diff --git a/arch/arm/boot/dts/omap3-overo-common-lcd43.dtsi b/arch/arm/boot/dts/omap3-overo-common-lcd43.dtsi index f5395b7da912..048fd216970a 100644 --- a/arch/arm/boot/dts/omap3-overo-common-lcd43.dtsi +++ b/arch/arm/boot/dts/omap3-overo-common-lcd43.dtsi | |||
@@ -98,7 +98,7 @@ | |||
98 | 98 | ||
99 | lcd0: display@0 { | 99 | lcd0: display@0 { |
100 | compatible = "samsung,lte430wq-f0c", "panel-dpi"; | 100 | compatible = "samsung,lte430wq-f0c", "panel-dpi"; |
101 | label = "lcd"; | 101 | label = "lcd43"; |
102 | 102 | ||
103 | pinctrl-names = "default"; | 103 | pinctrl-names = "default"; |
104 | pinctrl-0 = <<e430_pins>; | 104 | pinctrl-0 = <<e430_pins>; |
diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi index f884d6adb71e..abc4473e6f8a 100644 --- a/arch/arm/boot/dts/omap4.dtsi +++ b/arch/arm/boot/dts/omap4.dtsi | |||
@@ -191,7 +191,8 @@ | |||
191 | }; | 191 | }; |
192 | 192 | ||
193 | omap4_padconf_global: omap4_padconf_global@5a0 { | 193 | omap4_padconf_global: omap4_padconf_global@5a0 { |
194 | compatible = "syscon"; | 194 | compatible = "syscon", |
195 | "simple-bus"; | ||
195 | reg = <0x5a0 0x170>; | 196 | reg = <0x5a0 0x170>; |
196 | #address-cells = <1>; | 197 | #address-cells = <1>; |
197 | #size-cells = <1>; | 198 | #size-cells = <1>; |
@@ -551,6 +552,7 @@ | |||
551 | reg = <0x4a066000 0x100>; | 552 | reg = <0x4a066000 0x100>; |
552 | interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>; | 553 | interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>; |
553 | ti,hwmods = "mmu_dsp"; | 554 | ti,hwmods = "mmu_dsp"; |
555 | #iommu-cells = <0>; | ||
554 | }; | 556 | }; |
555 | 557 | ||
556 | mmu_ipu: mmu@55082000 { | 558 | mmu_ipu: mmu@55082000 { |
@@ -558,6 +560,7 @@ | |||
558 | reg = <0x55082000 0x100>; | 560 | reg = <0x55082000 0x100>; |
559 | interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>; | 561 | interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>; |
560 | ti,hwmods = "mmu_ipu"; | 562 | ti,hwmods = "mmu_ipu"; |
563 | #iommu-cells = <0>; | ||
561 | ti,iommu-bus-err-back; | 564 | ti,iommu-bus-err-back; |
562 | }; | 565 | }; |
563 | 566 | ||
diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi index 7d24ae0306b5..b1a1263e6001 100644 --- a/arch/arm/boot/dts/omap5.dtsi +++ b/arch/arm/boot/dts/omap5.dtsi | |||
@@ -180,7 +180,8 @@ | |||
180 | }; | 180 | }; |
181 | 181 | ||
182 | omap5_padconf_global: omap5_padconf_global@5a0 { | 182 | omap5_padconf_global: omap5_padconf_global@5a0 { |
183 | compatible = "syscon"; | 183 | compatible = "syscon", |
184 | "simple-bus"; | ||
184 | reg = <0x5a0 0xec>; | 185 | reg = <0x5a0 0xec>; |
185 | #address-cells = <1>; | 186 | #address-cells = <1>; |
186 | #size-cells = <1>; | 187 | #size-cells = <1>; |
@@ -612,6 +613,7 @@ | |||
612 | reg = <0x4a066000 0x100>; | 613 | reg = <0x4a066000 0x100>; |
613 | interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>; | 614 | interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>; |
614 | ti,hwmods = "mmu_dsp"; | 615 | ti,hwmods = "mmu_dsp"; |
616 | #iommu-cells = <0>; | ||
615 | }; | 617 | }; |
616 | 618 | ||
617 | mmu_ipu: mmu@55082000 { | 619 | mmu_ipu: mmu@55082000 { |
@@ -619,6 +621,7 @@ | |||
619 | reg = <0x55082000 0x100>; | 621 | reg = <0x55082000 0x100>; |
620 | interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>; | 622 | interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>; |
621 | ti,hwmods = "mmu_ipu"; | 623 | ti,hwmods = "mmu_ipu"; |
624 | #iommu-cells = <0>; | ||
622 | ti,iommu-bus-err-back; | 625 | ti,iommu-bus-err-back; |
623 | }; | 626 | }; |
624 | 627 | ||
diff --git a/arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dts b/arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dts index bd35b0674ff6..9bc72a3356e4 100644 --- a/arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dts +++ b/arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dts | |||
@@ -17,3 +17,13 @@ | |||
17 | status = "ok"; | 17 | status = "ok"; |
18 | }; | 18 | }; |
19 | }; | 19 | }; |
20 | |||
21 | &spmi_bus { | ||
22 | pm8941@0 { | ||
23 | coincell@2800 { | ||
24 | status = "ok"; | ||
25 | qcom,rset-ohms = <2100>; | ||
26 | qcom,vset-millivolts = <3000>; | ||
27 | }; | ||
28 | }; | ||
29 | }; | ||
diff --git a/arch/arm/boot/dts/qcom-pm8941.dtsi b/arch/arm/boot/dts/qcom-pm8941.dtsi index aa774e685018..968f1043d4f5 100644 --- a/arch/arm/boot/dts/qcom-pm8941.dtsi +++ b/arch/arm/boot/dts/qcom-pm8941.dtsi | |||
@@ -125,6 +125,12 @@ | |||
125 | interrupts = <0x0 0x36 0x0 IRQ_TYPE_EDGE_RISING>; | 125 | interrupts = <0x0 0x36 0x0 IRQ_TYPE_EDGE_RISING>; |
126 | qcom,external-resistor-micro-ohms = <10000>; | 126 | qcom,external-resistor-micro-ohms = <10000>; |
127 | }; | 127 | }; |
128 | |||
129 | coincell@2800 { | ||
130 | compatible = "qcom,pm8941-coincell"; | ||
131 | reg = <0x2800>; | ||
132 | status = "disabled"; | ||
133 | }; | ||
128 | }; | 134 | }; |
129 | 135 | ||
130 | usid1: pm8941@1 { | 136 | usid1: pm8941@1 { |
diff --git a/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts b/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts index 71468a7eb28f..5e17fd147728 100644 --- a/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts +++ b/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts | |||
@@ -60,27 +60,27 @@ | |||
60 | rxc-skew-ps = <2000>; | 60 | rxc-skew-ps = <2000>; |
61 | }; | 61 | }; |
62 | 62 | ||
63 | &mmc0 { | ||
64 | vmmc-supply = <®ulator_3_3v>; | ||
65 | vqmmc-supply = <®ulator_3_3v>; | ||
66 | }; | ||
67 | |||
68 | &usb1 { | ||
69 | status = "okay"; | ||
70 | }; | ||
71 | |||
72 | &gpio2 { | 63 | &gpio2 { |
73 | status = "okay"; | 64 | status = "okay"; |
74 | }; | 65 | }; |
75 | 66 | ||
76 | &i2c1{ | 67 | &i2c1 { |
77 | status = "okay"; | 68 | status = "okay"; |
78 | 69 | ||
79 | accel1: accel1@53{ | 70 | accel1: accelerometer@53 { |
80 | compatible = "adxl34x"; | 71 | compatible = "adi,adxl345"; |
81 | reg = <0x53>; | 72 | reg = <0x53>; |
82 | 73 | ||
83 | interrupt-parent = < &portc >; | 74 | interrupt-parent = <&portc>; |
84 | interrupts = <3 2>; | 75 | interrupts = <3 2>; |
85 | }; | 76 | }; |
86 | }; | 77 | }; |
78 | |||
79 | &mmc0 { | ||
80 | vmmc-supply = <®ulator_3_3v>; | ||
81 | vqmmc-supply = <®ulator_3_3v>; | ||
82 | }; | ||
83 | |||
84 | &usb1 { | ||
85 | status = "okay"; | ||
86 | }; | ||
diff --git a/arch/arm/boot/dts/spear1310-evb.dts b/arch/arm/boot/dts/spear1310-evb.dts index d42c84b1df8d..e48857249ce7 100644 --- a/arch/arm/boot/dts/spear1310-evb.dts +++ b/arch/arm/boot/dts/spear1310-evb.dts | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * DTS file for SPEAr1310 Evaluation Baord | 2 | * DTS file for SPEAr1310 Evaluation Baord |
3 | * | 3 | * |
4 | * Copyright 2012 Viresh Kumar <viresh.linux@gmail.com> | 4 | * Copyright 2012 Viresh Kumar <vireshk@kernel.org> |
5 | * | 5 | * |
6 | * The code contained herein is licensed under the GNU General Public | 6 | * The code contained herein is licensed under the GNU General Public |
7 | * License. You may obtain a copy of the GNU General Public License | 7 | * License. You may obtain a copy of the GNU General Public License |
diff --git a/arch/arm/boot/dts/spear1310.dtsi b/arch/arm/boot/dts/spear1310.dtsi index 9d342920695a..54bc6d3cf290 100644 --- a/arch/arm/boot/dts/spear1310.dtsi +++ b/arch/arm/boot/dts/spear1310.dtsi | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * DTS file for all SPEAr1310 SoCs | 2 | * DTS file for all SPEAr1310 SoCs |
3 | * | 3 | * |
4 | * Copyright 2012 Viresh Kumar <viresh.linux@gmail.com> | 4 | * Copyright 2012 Viresh Kumar <vireshk@kernel.org> |
5 | * | 5 | * |
6 | * The code contained herein is licensed under the GNU General Public | 6 | * The code contained herein is licensed under the GNU General Public |
7 | * License. You may obtain a copy of the GNU General Public License | 7 | * License. You may obtain a copy of the GNU General Public License |
diff --git a/arch/arm/boot/dts/spear1340-evb.dts b/arch/arm/boot/dts/spear1340-evb.dts index b23e05ed1d60..c611f5606dfe 100644 --- a/arch/arm/boot/dts/spear1340-evb.dts +++ b/arch/arm/boot/dts/spear1340-evb.dts | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * DTS file for SPEAr1340 Evaluation Baord | 2 | * DTS file for SPEAr1340 Evaluation Baord |
3 | * | 3 | * |
4 | * Copyright 2012 Viresh Kumar <viresh.linux@gmail.com> | 4 | * Copyright 2012 Viresh Kumar <vireshk@kernel.org> |
5 | * | 5 | * |
6 | * The code contained herein is licensed under the GNU General Public | 6 | * The code contained herein is licensed under the GNU General Public |
7 | * License. You may obtain a copy of the GNU General Public License | 7 | * License. You may obtain a copy of the GNU General Public License |
diff --git a/arch/arm/boot/dts/spear1340.dtsi b/arch/arm/boot/dts/spear1340.dtsi index 13e1aa33daa2..df2232d767ed 100644 --- a/arch/arm/boot/dts/spear1340.dtsi +++ b/arch/arm/boot/dts/spear1340.dtsi | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * DTS file for all SPEAr1340 SoCs | 2 | * DTS file for all SPEAr1340 SoCs |
3 | * | 3 | * |
4 | * Copyright 2012 Viresh Kumar <viresh.linux@gmail.com> | 4 | * Copyright 2012 Viresh Kumar <vireshk@kernel.org> |
5 | * | 5 | * |
6 | * The code contained herein is licensed under the GNU General Public | 6 | * The code contained herein is licensed under the GNU General Public |
7 | * License. You may obtain a copy of the GNU General Public License | 7 | * License. You may obtain a copy of the GNU General Public License |
diff --git a/arch/arm/boot/dts/spear13xx.dtsi b/arch/arm/boot/dts/spear13xx.dtsi index 40accc87e3a2..14594ce8c18a 100644 --- a/arch/arm/boot/dts/spear13xx.dtsi +++ b/arch/arm/boot/dts/spear13xx.dtsi | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * DTS file for all SPEAr13xx SoCs | 2 | * DTS file for all SPEAr13xx SoCs |
3 | * | 3 | * |
4 | * Copyright 2012 Viresh Kumar <viresh.linux@gmail.com> | 4 | * Copyright 2012 Viresh Kumar <vireshk@kernel.org> |
5 | * | 5 | * |
6 | * The code contained herein is licensed under the GNU General Public | 6 | * The code contained herein is licensed under the GNU General Public |
7 | * License. You may obtain a copy of the GNU General Public License | 7 | * License. You may obtain a copy of the GNU General Public License |
diff --git a/arch/arm/boot/dts/spear300-evb.dts b/arch/arm/boot/dts/spear300-evb.dts index 5de1431653e4..e859e8288bcd 100644 --- a/arch/arm/boot/dts/spear300-evb.dts +++ b/arch/arm/boot/dts/spear300-evb.dts | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * DTS file for SPEAr300 Evaluation Baord | 2 | * DTS file for SPEAr300 Evaluation Baord |
3 | * | 3 | * |
4 | * Copyright 2012 Viresh Kumar <viresh.linux@gmail.com> | 4 | * Copyright 2012 Viresh Kumar <vireshk@kernel.org> |
5 | * | 5 | * |
6 | * The code contained herein is licensed under the GNU General Public | 6 | * The code contained herein is licensed under the GNU General Public |
7 | * License. You may obtain a copy of the GNU General Public License | 7 | * License. You may obtain a copy of the GNU General Public License |
diff --git a/arch/arm/boot/dts/spear300.dtsi b/arch/arm/boot/dts/spear300.dtsi index f79b3dfaabe6..f4e92e599729 100644 --- a/arch/arm/boot/dts/spear300.dtsi +++ b/arch/arm/boot/dts/spear300.dtsi | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * DTS file for SPEAr300 SoC | 2 | * DTS file for SPEAr300 SoC |
3 | * | 3 | * |
4 | * Copyright 2012 Viresh Kumar <viresh.linux@gmail.com> | 4 | * Copyright 2012 Viresh Kumar <vireshk@kernel.org> |
5 | * | 5 | * |
6 | * The code contained herein is licensed under the GNU General Public | 6 | * The code contained herein is licensed under the GNU General Public |
7 | * License. You may obtain a copy of the GNU General Public License | 7 | * License. You may obtain a copy of the GNU General Public License |
diff --git a/arch/arm/boot/dts/spear310-evb.dts b/arch/arm/boot/dts/spear310-evb.dts index b09632963d15..070f2c1b7851 100644 --- a/arch/arm/boot/dts/spear310-evb.dts +++ b/arch/arm/boot/dts/spear310-evb.dts | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * DTS file for SPEAr310 Evaluation Baord | 2 | * DTS file for SPEAr310 Evaluation Baord |
3 | * | 3 | * |
4 | * Copyright 2012 Viresh Kumar <viresh.linux@gmail.com> | 4 | * Copyright 2012 Viresh Kumar <vireshk@kernel.org> |
5 | * | 5 | * |
6 | * The code contained herein is licensed under the GNU General Public | 6 | * The code contained herein is licensed under the GNU General Public |
7 | * License. You may obtain a copy of the GNU General Public License | 7 | * License. You may obtain a copy of the GNU General Public License |
diff --git a/arch/arm/boot/dts/spear310.dtsi b/arch/arm/boot/dts/spear310.dtsi index 95372080eea6..da210b454753 100644 --- a/arch/arm/boot/dts/spear310.dtsi +++ b/arch/arm/boot/dts/spear310.dtsi | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * DTS file for SPEAr310 SoC | 2 | * DTS file for SPEAr310 SoC |
3 | * | 3 | * |
4 | * Copyright 2012 Viresh Kumar <viresh.linux@gmail.com> | 4 | * Copyright 2012 Viresh Kumar <vireshk@kernel.org> |
5 | * | 5 | * |
6 | * The code contained herein is licensed under the GNU General Public | 6 | * The code contained herein is licensed under the GNU General Public |
7 | * License. You may obtain a copy of the GNU General Public License | 7 | * License. You may obtain a copy of the GNU General Public License |
diff --git a/arch/arm/boot/dts/spear320-evb.dts b/arch/arm/boot/dts/spear320-evb.dts index fdedbb514102..1b1034477923 100644 --- a/arch/arm/boot/dts/spear320-evb.dts +++ b/arch/arm/boot/dts/spear320-evb.dts | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * DTS file for SPEAr320 Evaluation Baord | 2 | * DTS file for SPEAr320 Evaluation Baord |
3 | * | 3 | * |
4 | * Copyright 2012 Viresh Kumar <viresh.linux@gmail.com> | 4 | * Copyright 2012 Viresh Kumar <vireshk@kernel.org> |
5 | * | 5 | * |
6 | * The code contained herein is licensed under the GNU General Public | 6 | * The code contained herein is licensed under the GNU General Public |
7 | * License. You may obtain a copy of the GNU General Public License | 7 | * License. You may obtain a copy of the GNU General Public License |
diff --git a/arch/arm/boot/dts/spear320.dtsi b/arch/arm/boot/dts/spear320.dtsi index ffea342aeec9..22be6e5edaac 100644 --- a/arch/arm/boot/dts/spear320.dtsi +++ b/arch/arm/boot/dts/spear320.dtsi | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * DTS file for SPEAr320 SoC | 2 | * DTS file for SPEAr320 SoC |
3 | * | 3 | * |
4 | * Copyright 2012 Viresh Kumar <viresh.linux@gmail.com> | 4 | * Copyright 2012 Viresh Kumar <vireshk@kernel.org> |
5 | * | 5 | * |
6 | * The code contained herein is licensed under the GNU General Public | 6 | * The code contained herein is licensed under the GNU General Public |
7 | * License. You may obtain a copy of the GNU General Public License | 7 | * License. You may obtain a copy of the GNU General Public License |
diff --git a/arch/arm/boot/dts/spear3xx.dtsi b/arch/arm/boot/dts/spear3xx.dtsi index f0e3fcf8e323..118135d75899 100644 --- a/arch/arm/boot/dts/spear3xx.dtsi +++ b/arch/arm/boot/dts/spear3xx.dtsi | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * DTS file for all SPEAr3xx SoCs | 2 | * DTS file for all SPEAr3xx SoCs |
3 | * | 3 | * |
4 | * Copyright 2012 Viresh Kumar <viresh.linux@gmail.com> | 4 | * Copyright 2012 Viresh Kumar <vireshk@kernel.org> |
5 | * | 5 | * |
6 | * The code contained herein is licensed under the GNU General Public | 6 | * The code contained herein is licensed under the GNU General Public |
7 | * License. You may obtain a copy of the GNU General Public License | 7 | * License. You may obtain a copy of the GNU General Public License |
diff --git a/arch/arm/boot/dts/ste-ccu8540.dts b/arch/arm/boot/dts/ste-ccu8540.dts index 32dd55e5f4e6..6eaaf638e52e 100644 --- a/arch/arm/boot/dts/ste-ccu8540.dts +++ b/arch/arm/boot/dts/ste-ccu8540.dts | |||
@@ -17,6 +17,13 @@ | |||
17 | model = "ST-Ericsson U8540 platform with Device Tree"; | 17 | model = "ST-Ericsson U8540 platform with Device Tree"; |
18 | compatible = "st-ericsson,ccu8540", "st-ericsson,u8540"; | 18 | compatible = "st-ericsson,ccu8540", "st-ericsson,u8540"; |
19 | 19 | ||
20 | /* This stablilizes the serial port enumeration */ | ||
21 | aliases { | ||
22 | serial0 = &ux500_serial0; | ||
23 | serial1 = &ux500_serial1; | ||
24 | serial2 = &ux500_serial2; | ||
25 | }; | ||
26 | |||
20 | memory@0 { | 27 | memory@0 { |
21 | device_type = "memory"; | 28 | device_type = "memory"; |
22 | reg = <0x20000000 0x1f000000>, <0xc0000000 0x3f000000>; | 29 | reg = <0x20000000 0x1f000000>, <0xc0000000 0x3f000000>; |
diff --git a/arch/arm/boot/dts/ste-ccu9540.dts b/arch/arm/boot/dts/ste-ccu9540.dts index 651c56d400a4..c8b815819cfe 100644 --- a/arch/arm/boot/dts/ste-ccu9540.dts +++ b/arch/arm/boot/dts/ste-ccu9540.dts | |||
@@ -16,6 +16,13 @@ | |||
16 | model = "ST-Ericsson CCU9540 platform with Device Tree"; | 16 | model = "ST-Ericsson CCU9540 platform with Device Tree"; |
17 | compatible = "st-ericsson,ccu9540", "st-ericsson,u9540"; | 17 | compatible = "st-ericsson,ccu9540", "st-ericsson,u9540"; |
18 | 18 | ||
19 | /* This stablilizes the serial port enumeration */ | ||
20 | aliases { | ||
21 | serial0 = &ux500_serial0; | ||
22 | serial1 = &ux500_serial1; | ||
23 | serial2 = &ux500_serial2; | ||
24 | }; | ||
25 | |||
19 | memory { | 26 | memory { |
20 | reg = <0x00000000 0x20000000>; | 27 | reg = <0x00000000 0x20000000>; |
21 | }; | 28 | }; |
diff --git a/arch/arm/boot/dts/ste-dbx5x0.dtsi b/arch/arm/boot/dts/ste-dbx5x0.dtsi index 853684ad7773..b8f81fb418ce 100644 --- a/arch/arm/boot/dts/ste-dbx5x0.dtsi +++ b/arch/arm/boot/dts/ste-dbx5x0.dtsi | |||
@@ -15,6 +15,33 @@ | |||
15 | #include "skeleton.dtsi" | 15 | #include "skeleton.dtsi" |
16 | 16 | ||
17 | / { | 17 | / { |
18 | cpus { | ||
19 | #address-cells = <1>; | ||
20 | #size-cells = <0>; | ||
21 | enable-method = "ste,dbx500-smp"; | ||
22 | |||
23 | cpu-map { | ||
24 | cluster0 { | ||
25 | core0 { | ||
26 | cpu = <&CPU0>; | ||
27 | }; | ||
28 | core1 { | ||
29 | cpu = <&CPU1>; | ||
30 | }; | ||
31 | }; | ||
32 | }; | ||
33 | CPU0: cpu@300 { | ||
34 | device_type = "cpu"; | ||
35 | compatible = "arm,cortex-a9"; | ||
36 | reg = <0x300>; | ||
37 | }; | ||
38 | CPU1: cpu@301 { | ||
39 | device_type = "cpu"; | ||
40 | compatible = "arm,cortex-a9"; | ||
41 | reg = <0x301>; | ||
42 | }; | ||
43 | }; | ||
44 | |||
18 | soc { | 45 | soc { |
19 | #address-cells = <1>; | 46 | #address-cells = <1>; |
20 | #size-cells = <1>; | 47 | #size-cells = <1>; |
@@ -22,32 +49,6 @@ | |||
22 | interrupt-parent = <&intc>; | 49 | interrupt-parent = <&intc>; |
23 | ranges; | 50 | ranges; |
24 | 51 | ||
25 | cpus { | ||
26 | #address-cells = <1>; | ||
27 | #size-cells = <0>; | ||
28 | |||
29 | cpu-map { | ||
30 | cluster0 { | ||
31 | core0 { | ||
32 | cpu = <&CPU0>; | ||
33 | }; | ||
34 | core1 { | ||
35 | cpu = <&CPU1>; | ||
36 | }; | ||
37 | }; | ||
38 | }; | ||
39 | CPU0: cpu@0 { | ||
40 | device_type = "cpu"; | ||
41 | compatible = "arm,cortex-a9"; | ||
42 | reg = <0>; | ||
43 | }; | ||
44 | CPU1: cpu@1 { | ||
45 | device_type = "cpu"; | ||
46 | compatible = "arm,cortex-a9"; | ||
47 | reg = <1>; | ||
48 | }; | ||
49 | }; | ||
50 | |||
51 | ptm@801ae000 { | 52 | ptm@801ae000 { |
52 | compatible = "arm,coresight-etm3x", "arm,primecell"; | 53 | compatible = "arm,coresight-etm3x", "arm,primecell"; |
53 | reg = <0x801ae000 0x1000>; | 54 | reg = <0x801ae000 0x1000>; |
@@ -971,7 +972,7 @@ | |||
971 | power-domains = <&pm_domains DOMAIN_VAPE>; | 972 | power-domains = <&pm_domains DOMAIN_VAPE>; |
972 | }; | 973 | }; |
973 | 974 | ||
974 | uart@80120000 { | 975 | ux500_serial0: uart@80120000 { |
975 | compatible = "arm,pl011", "arm,primecell"; | 976 | compatible = "arm,pl011", "arm,primecell"; |
976 | reg = <0x80120000 0x1000>; | 977 | reg = <0x80120000 0x1000>; |
977 | interrupts = <0 11 IRQ_TYPE_LEVEL_HIGH>; | 978 | interrupts = <0 11 IRQ_TYPE_LEVEL_HIGH>; |
@@ -986,7 +987,7 @@ | |||
986 | status = "disabled"; | 987 | status = "disabled"; |
987 | }; | 988 | }; |
988 | 989 | ||
989 | uart@80121000 { | 990 | ux500_serial1: uart@80121000 { |
990 | compatible = "arm,pl011", "arm,primecell"; | 991 | compatible = "arm,pl011", "arm,primecell"; |
991 | reg = <0x80121000 0x1000>; | 992 | reg = <0x80121000 0x1000>; |
992 | interrupts = <0 19 IRQ_TYPE_LEVEL_HIGH>; | 993 | interrupts = <0 19 IRQ_TYPE_LEVEL_HIGH>; |
@@ -1001,7 +1002,7 @@ | |||
1001 | status = "disabled"; | 1002 | status = "disabled"; |
1002 | }; | 1003 | }; |
1003 | 1004 | ||
1004 | uart@80007000 { | 1005 | ux500_serial2: uart@80007000 { |
1005 | compatible = "arm,pl011", "arm,primecell"; | 1006 | compatible = "arm,pl011", "arm,primecell"; |
1006 | reg = <0x80007000 0x1000>; | 1007 | reg = <0x80007000 0x1000>; |
1007 | interrupts = <0 26 IRQ_TYPE_LEVEL_HIGH>; | 1008 | interrupts = <0 26 IRQ_TYPE_LEVEL_HIGH>; |
diff --git a/arch/arm/boot/dts/ste-href.dtsi b/arch/arm/boot/dts/ste-href.dtsi index 744c1e3a744d..6d8ce154347e 100644 --- a/arch/arm/boot/dts/ste-href.dtsi +++ b/arch/arm/boot/dts/ste-href.dtsi | |||
@@ -32,11 +32,11 @@ | |||
32 | status = "okay"; | 32 | status = "okay"; |
33 | }; | 33 | }; |
34 | 34 | ||
35 | /* This UART is unused and thus left disabled */ | ||
35 | uart@80121000 { | 36 | uart@80121000 { |
36 | pinctrl-names = "default", "sleep"; | 37 | pinctrl-names = "default", "sleep"; |
37 | pinctrl-0 = <&uart1_default_mode>; | 38 | pinctrl-0 = <&uart1_default_mode>; |
38 | pinctrl-1 = <&uart1_sleep_mode>; | 39 | pinctrl-1 = <&uart1_sleep_mode>; |
39 | status = "okay"; | ||
40 | }; | 40 | }; |
41 | 41 | ||
42 | uart@80007000 { | 42 | uart@80007000 { |
diff --git a/arch/arm/boot/dts/ste-hrefprev60-stuib.dts b/arch/arm/boot/dts/ste-hrefprev60-stuib.dts index 2b1cb5b584b6..18e9795a94f9 100644 --- a/arch/arm/boot/dts/ste-hrefprev60-stuib.dts +++ b/arch/arm/boot/dts/ste-hrefprev60-stuib.dts | |||
@@ -17,6 +17,13 @@ | |||
17 | model = "ST-Ericsson HREF (pre-v60) and ST UIB"; | 17 | model = "ST-Ericsson HREF (pre-v60) and ST UIB"; |
18 | compatible = "st-ericsson,mop500", "st-ericsson,u8500"; | 18 | compatible = "st-ericsson,mop500", "st-ericsson,u8500"; |
19 | 19 | ||
20 | /* This stablilizes the serial port enumeration */ | ||
21 | aliases { | ||
22 | serial0 = &ux500_serial0; | ||
23 | serial1 = &ux500_serial1; | ||
24 | serial2 = &ux500_serial2; | ||
25 | }; | ||
26 | |||
20 | soc { | 27 | soc { |
21 | /* Reset line for the BU21013 touchscreen */ | 28 | /* Reset line for the BU21013 touchscreen */ |
22 | i2c@80110000 { | 29 | i2c@80110000 { |
diff --git a/arch/arm/boot/dts/ste-hrefprev60-tvk.dts b/arch/arm/boot/dts/ste-hrefprev60-tvk.dts index 59523f866812..24739914e689 100644 --- a/arch/arm/boot/dts/ste-hrefprev60-tvk.dts +++ b/arch/arm/boot/dts/ste-hrefprev60-tvk.dts | |||
@@ -16,4 +16,11 @@ | |||
16 | / { | 16 | / { |
17 | model = "ST-Ericsson HREF (pre-v60) and TVK1281618 UIB"; | 17 | model = "ST-Ericsson HREF (pre-v60) and TVK1281618 UIB"; |
18 | compatible = "st-ericsson,mop500", "st-ericsson,u8500"; | 18 | compatible = "st-ericsson,mop500", "st-ericsson,u8500"; |
19 | |||
20 | /* This stablilizes the serial port enumeration */ | ||
21 | aliases { | ||
22 | serial0 = &ux500_serial0; | ||
23 | serial1 = &ux500_serial1; | ||
24 | serial2 = &ux500_serial2; | ||
25 | }; | ||
19 | }; | 26 | }; |
diff --git a/arch/arm/boot/dts/ste-hrefprev60.dtsi b/arch/arm/boot/dts/ste-hrefprev60.dtsi index 7f3975b58d16..b0278f4c486c 100644 --- a/arch/arm/boot/dts/ste-hrefprev60.dtsi +++ b/arch/arm/boot/dts/ste-hrefprev60.dtsi | |||
@@ -23,6 +23,11 @@ | |||
23 | }; | 23 | }; |
24 | 24 | ||
25 | soc { | 25 | soc { |
26 | /* Enable UART1 on this board */ | ||
27 | uart@80121000 { | ||
28 | status = "okay"; | ||
29 | }; | ||
30 | |||
26 | i2c@80004000 { | 31 | i2c@80004000 { |
27 | tps61052@33 { | 32 | tps61052@33 { |
28 | compatible = "tps61052"; | 33 | compatible = "tps61052"; |
diff --git a/arch/arm/boot/dts/ste-hrefv60plus-stuib.dts b/arch/arm/boot/dts/ste-hrefv60plus-stuib.dts index 8c6a2de56cf1..c2e1ba019a2f 100644 --- a/arch/arm/boot/dts/ste-hrefv60plus-stuib.dts +++ b/arch/arm/boot/dts/ste-hrefv60plus-stuib.dts | |||
@@ -19,6 +19,13 @@ | |||
19 | model = "ST-Ericsson HREF (v60+) and ST UIB"; | 19 | model = "ST-Ericsson HREF (v60+) and ST UIB"; |
20 | compatible = "st-ericsson,hrefv60+", "st-ericsson,u8500"; | 20 | compatible = "st-ericsson,hrefv60+", "st-ericsson,u8500"; |
21 | 21 | ||
22 | /* This stablilizes the serial port enumeration */ | ||
23 | aliases { | ||
24 | serial0 = &ux500_serial0; | ||
25 | serial1 = &ux500_serial1; | ||
26 | serial2 = &ux500_serial2; | ||
27 | }; | ||
28 | |||
22 | soc { | 29 | soc { |
23 | /* Reset line for the BU21013 touchscreen */ | 30 | /* Reset line for the BU21013 touchscreen */ |
24 | i2c@80110000 { | 31 | i2c@80110000 { |
diff --git a/arch/arm/boot/dts/ste-hrefv60plus-tvk.dts b/arch/arm/boot/dts/ste-hrefv60plus-tvk.dts index d53cccdce776..ebd8547e98f1 100644 --- a/arch/arm/boot/dts/ste-hrefv60plus-tvk.dts +++ b/arch/arm/boot/dts/ste-hrefv60plus-tvk.dts | |||
@@ -18,4 +18,11 @@ | |||
18 | / { | 18 | / { |
19 | model = "ST-Ericsson HREF (v60+) and TVK1281618 UIB"; | 19 | model = "ST-Ericsson HREF (v60+) and TVK1281618 UIB"; |
20 | compatible = "st-ericsson,hrefv60+", "st-ericsson,u8500"; | 20 | compatible = "st-ericsson,hrefv60+", "st-ericsson,u8500"; |
21 | |||
22 | /* This stablilizes the serial port enumeration */ | ||
23 | aliases { | ||
24 | serial0 = &ux500_serial0; | ||
25 | serial1 = &ux500_serial1; | ||
26 | serial2 = &ux500_serial2; | ||
27 | }; | ||
21 | }; | 28 | }; |
diff --git a/arch/arm/boot/dts/ste-hrefv60plus.dtsi b/arch/arm/boot/dts/ste-hrefv60plus.dtsi index a4bc9e77d640..810cda743b6d 100644 --- a/arch/arm/boot/dts/ste-hrefv60plus.dtsi +++ b/arch/arm/boot/dts/ste-hrefv60plus.dtsi | |||
@@ -43,15 +43,26 @@ | |||
43 | <&vaudio_hf_hrefv60_mode>, | 43 | <&vaudio_hf_hrefv60_mode>, |
44 | <&gbf_hrefv60_mode>, | 44 | <&gbf_hrefv60_mode>, |
45 | <&hdtv_hrefv60_mode>, | 45 | <&hdtv_hrefv60_mode>, |
46 | <&touch_hrefv60_mode>; | 46 | <&touch_hrefv60_mode>, |
47 | <&gpios_hrefv60_mode>; | ||
47 | 48 | ||
48 | sdi0 { | 49 | sdi0 { |
49 | /* SD card detect GPIO pin, extend default state */ | ||
50 | sdi0_default_mode: sdi0_default { | 50 | sdi0_default_mode: sdi0_default { |
51 | /* SD card detect GPIO pin, extend default state */ | ||
51 | default_hrefv60_cfg1 { | 52 | default_hrefv60_cfg1 { |
52 | pins = "GPIO95_E8"; | 53 | pins = "GPIO95_E8"; |
53 | ste,config = <&gpio_in_pu>; | 54 | ste,config = <&gpio_in_pu>; |
54 | }; | 55 | }; |
56 | /* VMMCI level-shifter enable */ | ||
57 | default_hrefv60_cfg2 { | ||
58 | pins = "GPIO169_D22"; | ||
59 | ste,config = <&gpio_out_lo>; | ||
60 | }; | ||
61 | /* VMMCI level-shifter voltage select */ | ||
62 | default_hrefv60_cfg3 { | ||
63 | pins = "GPIO5_AG6"; | ||
64 | ste,config = <&gpio_out_hi>; | ||
65 | }; | ||
55 | }; | 66 | }; |
56 | }; | 67 | }; |
57 | ipgpio { | 68 | ipgpio { |
@@ -213,6 +224,16 @@ | |||
213 | }; | 224 | }; |
214 | }; | 225 | }; |
215 | }; | 226 | }; |
227 | gpios { | ||
228 | /* Dangling GPIO pins */ | ||
229 | gpios_hrefv60_mode: gpios_hrefv60 { | ||
230 | default_cfg1 { | ||
231 | /* Normally UART1 RXD, now dangling */ | ||
232 | pins = "GPIO4_AH6"; | ||
233 | ste,config = <&in_pu>; | ||
234 | }; | ||
235 | }; | ||
236 | }; | ||
216 | }; | 237 | }; |
217 | }; | 238 | }; |
218 | }; | 239 | }; |
diff --git a/arch/arm/boot/dts/ste-nomadik-nhk15.dts b/arch/arm/boot/dts/ste-nomadik-nhk15.dts index 3d0b8755caee..3d25dba143a5 100644 --- a/arch/arm/boot/dts/ste-nomadik-nhk15.dts +++ b/arch/arm/boot/dts/ste-nomadik-nhk15.dts | |||
@@ -17,6 +17,7 @@ | |||
17 | }; | 17 | }; |
18 | 18 | ||
19 | aliases { | 19 | aliases { |
20 | serial1 = &uart1; | ||
20 | stmpe-i2c0 = &stmpe0; | 21 | stmpe-i2c0 = &stmpe0; |
21 | stmpe-i2c1 = &stmpe1; | 22 | stmpe-i2c1 = &stmpe1; |
22 | }; | 23 | }; |
diff --git a/arch/arm/boot/dts/ste-nomadik-s8815.dts b/arch/arm/boot/dts/ste-nomadik-s8815.dts index 85d3b95dfdba..3c140d05f796 100644 --- a/arch/arm/boot/dts/ste-nomadik-s8815.dts +++ b/arch/arm/boot/dts/ste-nomadik-s8815.dts | |||
@@ -15,6 +15,10 @@ | |||
15 | bootargs = "root=/dev/ram0 console=ttyAMA1,115200n8 earlyprintk"; | 15 | bootargs = "root=/dev/ram0 console=ttyAMA1,115200n8 earlyprintk"; |
16 | }; | 16 | }; |
17 | 17 | ||
18 | aliases { | ||
19 | serial1 = &uart1; | ||
20 | }; | ||
21 | |||
18 | src@101e0000 { | 22 | src@101e0000 { |
19 | /* These chrystal drivers are not used on this board */ | 23 | /* These chrystal drivers are not used on this board */ |
20 | disable-sxtalo; | 24 | disable-sxtalo; |
diff --git a/arch/arm/boot/dts/ste-nomadik-stn8815.dtsi b/arch/arm/boot/dts/ste-nomadik-stn8815.dtsi index 9a5f2ba139b7..ef794a33b4dc 100644 --- a/arch/arm/boot/dts/ste-nomadik-stn8815.dtsi +++ b/arch/arm/boot/dts/ste-nomadik-stn8815.dtsi | |||
@@ -757,6 +757,7 @@ | |||
757 | clock-names = "uartclk", "apb_pclk"; | 757 | clock-names = "uartclk", "apb_pclk"; |
758 | pinctrl-names = "default"; | 758 | pinctrl-names = "default"; |
759 | pinctrl-0 = <&uart0_default_mux>; | 759 | pinctrl-0 = <&uart0_default_mux>; |
760 | status = "disabled"; | ||
760 | }; | 761 | }; |
761 | 762 | ||
762 | uart1: uart@101fb000 { | 763 | uart1: uart@101fb000 { |
diff --git a/arch/arm/boot/dts/ste-snowball.dts b/arch/arm/boot/dts/ste-snowball.dts index 9edadc37719f..32a5ccb14e7e 100644 --- a/arch/arm/boot/dts/ste-snowball.dts +++ b/arch/arm/boot/dts/ste-snowball.dts | |||
@@ -18,6 +18,13 @@ | |||
18 | model = "Calao Systems Snowball platform with device tree"; | 18 | model = "Calao Systems Snowball platform with device tree"; |
19 | compatible = "calaosystems,snowball-a9500", "st-ericsson,u9500"; | 19 | compatible = "calaosystems,snowball-a9500", "st-ericsson,u9500"; |
20 | 20 | ||
21 | /* This stablilizes the serial port enumeration */ | ||
22 | aliases { | ||
23 | serial0 = &ux500_serial0; | ||
24 | serial1 = &ux500_serial1; | ||
25 | serial2 = &ux500_serial2; | ||
26 | }; | ||
27 | |||
21 | memory { | 28 | memory { |
22 | reg = <0x00000000 0x20000000>; | 29 | reg = <0x00000000 0x20000000>; |
23 | }; | 30 | }; |
@@ -223,11 +230,11 @@ | |||
223 | status = "okay"; | 230 | status = "okay"; |
224 | }; | 231 | }; |
225 | 232 | ||
233 | /* This UART is unused and thus left disabled */ | ||
226 | uart@80121000 { | 234 | uart@80121000 { |
227 | pinctrl-names = "default", "sleep"; | 235 | pinctrl-names = "default", "sleep"; |
228 | pinctrl-0 = <&uart1_default_mode>; | 236 | pinctrl-0 = <&uart1_default_mode>; |
229 | pinctrl-1 = <&uart1_sleep_mode>; | 237 | pinctrl-1 = <&uart1_sleep_mode>; |
230 | status = "okay"; | ||
231 | }; | 238 | }; |
232 | 239 | ||
233 | uart@80007000 { | 240 | uart@80007000 { |
@@ -452,7 +459,21 @@ | |||
452 | pins = "GPIO21_AB3"; /* DAT31DIR */ | 459 | pins = "GPIO21_AB3"; /* DAT31DIR */ |
453 | ste,config = <&out_hi>; | 460 | ste,config = <&out_hi>; |
454 | }; | 461 | }; |
455 | 462 | /* SD card detect GPIO pin, extend default state */ | |
463 | snowball_cfg2 { | ||
464 | pins = "GPIO218_AH11"; | ||
465 | ste,config = <&gpio_in_pu>; | ||
466 | }; | ||
467 | /* VMMCI level-shifter enable */ | ||
468 | snowball_cfg3 { | ||
469 | pins = "GPIO217_AH12"; | ||
470 | ste,config = <&gpio_out_lo>; | ||
471 | }; | ||
472 | /* VMMCI level-shifter voltage select */ | ||
473 | snowball_cfg4 { | ||
474 | pins = "GPIO228_AJ6"; | ||
475 | ste,config = <&gpio_out_hi>; | ||
476 | }; | ||
456 | }; | 477 | }; |
457 | }; | 478 | }; |
458 | ssp0 { | 479 | ssp0 { |
diff --git a/arch/arm/include/asm/Kbuild b/arch/arm/include/asm/Kbuild index 83c50193626c..30b3bc1666d2 100644 --- a/arch/arm/include/asm/Kbuild +++ b/arch/arm/include/asm/Kbuild | |||
@@ -13,6 +13,7 @@ generic-y += kdebug.h | |||
13 | generic-y += local.h | 13 | generic-y += local.h |
14 | generic-y += local64.h | 14 | generic-y += local64.h |
15 | generic-y += mcs_spinlock.h | 15 | generic-y += mcs_spinlock.h |
16 | generic-y += mm-arch-hooks.h | ||
16 | generic-y += msgbuf.h | 17 | generic-y += msgbuf.h |
17 | generic-y += param.h | 18 | generic-y += param.h |
18 | generic-y += parport.h | 19 | generic-y += parport.h |
diff --git a/arch/arm/include/asm/memory.h b/arch/arm/include/asm/memory.h index 6f225acc07c5..b7f6fb462ea0 100644 --- a/arch/arm/include/asm/memory.h +++ b/arch/arm/include/asm/memory.h | |||
@@ -286,7 +286,7 @@ extern phys_addr_t (*arch_virt_to_idmap)(unsigned long x); | |||
286 | */ | 286 | */ |
287 | static inline phys_addr_t __virt_to_idmap(unsigned long x) | 287 | static inline phys_addr_t __virt_to_idmap(unsigned long x) |
288 | { | 288 | { |
289 | if (arch_virt_to_idmap) | 289 | if (IS_ENABLED(CONFIG_MMU) && arch_virt_to_idmap) |
290 | return arch_virt_to_idmap(x); | 290 | return arch_virt_to_idmap(x); |
291 | else | 291 | else |
292 | return __virt_to_phys(x); | 292 | return __virt_to_phys(x); |
diff --git a/arch/arm/include/asm/mm-arch-hooks.h b/arch/arm/include/asm/mm-arch-hooks.h deleted file mode 100644 index 7056660c7cc4..000000000000 --- a/arch/arm/include/asm/mm-arch-hooks.h +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | /* | ||
2 | * Architecture specific mm hooks | ||
3 | * | ||
4 | * Copyright (C) 2015, IBM Corporation | ||
5 | * Author: Laurent Dufour <ldufour@linux.vnet.ibm.com> | ||
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License version 2 as | ||
9 | * published by the Free Software Foundation. | ||
10 | */ | ||
11 | |||
12 | #ifndef _ASM_ARM_MM_ARCH_HOOKS_H | ||
13 | #define _ASM_ARM_MM_ARCH_HOOKS_H | ||
14 | |||
15 | #endif /* _ASM_ARM_MM_ARCH_HOOKS_H */ | ||
diff --git a/arch/arm/kernel/entry-common.S b/arch/arm/kernel/entry-common.S index 92828a1dec80..b48dd4f37f80 100644 --- a/arch/arm/kernel/entry-common.S +++ b/arch/arm/kernel/entry-common.S | |||
@@ -61,6 +61,7 @@ work_pending: | |||
61 | movlt scno, #(__NR_restart_syscall - __NR_SYSCALL_BASE) | 61 | movlt scno, #(__NR_restart_syscall - __NR_SYSCALL_BASE) |
62 | ldmia sp, {r0 - r6} @ have to reload r0 - r6 | 62 | ldmia sp, {r0 - r6} @ have to reload r0 - r6 |
63 | b local_restart @ ... and off we go | 63 | b local_restart @ ... and off we go |
64 | ENDPROC(ret_fast_syscall) | ||
64 | 65 | ||
65 | /* | 66 | /* |
66 | * "slow" syscall return path. "why" tells us if this was a real syscall. | 67 | * "slow" syscall return path. "why" tells us if this was a real syscall. |
diff --git a/arch/arm/kernel/head.S b/arch/arm/kernel/head.S index bd755d97e459..29e2991465cb 100644 --- a/arch/arm/kernel/head.S +++ b/arch/arm/kernel/head.S | |||
@@ -399,6 +399,9 @@ ENTRY(secondary_startup) | |||
399 | sub lr, r4, r5 @ mmu has been enabled | 399 | sub lr, r4, r5 @ mmu has been enabled |
400 | add r3, r7, lr | 400 | add r3, r7, lr |
401 | ldrd r4, [r3, #0] @ get secondary_data.pgdir | 401 | ldrd r4, [r3, #0] @ get secondary_data.pgdir |
402 | ARM_BE8(eor r4, r4, r5) @ Swap r5 and r4 in BE: | ||
403 | ARM_BE8(eor r5, r4, r5) @ it can be done in 3 steps | ||
404 | ARM_BE8(eor r4, r4, r5) @ without using a temp reg. | ||
402 | ldr r8, [r3, #8] @ get secondary_data.swapper_pg_dir | 405 | ldr r8, [r3, #8] @ get secondary_data.swapper_pg_dir |
403 | badr lr, __enable_mmu @ return address | 406 | badr lr, __enable_mmu @ return address |
404 | mov r13, r12 @ __secondary_switched address | 407 | mov r13, r12 @ __secondary_switched address |
diff --git a/arch/arm/kernel/perf_event.c b/arch/arm/kernel/perf_event.c index 357f57ea83f4..54272e0be713 100644 --- a/arch/arm/kernel/perf_event.c +++ b/arch/arm/kernel/perf_event.c | |||
@@ -818,12 +818,13 @@ static int of_pmu_irq_cfg(struct arm_pmu *pmu) | |||
818 | if (arch_find_n_match_cpu_physical_id(dn, cpu, NULL)) | 818 | if (arch_find_n_match_cpu_physical_id(dn, cpu, NULL)) |
819 | break; | 819 | break; |
820 | 820 | ||
821 | of_node_put(dn); | ||
822 | if (cpu >= nr_cpu_ids) { | 821 | if (cpu >= nr_cpu_ids) { |
823 | pr_warn("Failed to find logical CPU for %s\n", | 822 | pr_warn("Failed to find logical CPU for %s\n", |
824 | dn->name); | 823 | dn->name); |
824 | of_node_put(dn); | ||
825 | break; | 825 | break; |
826 | } | 826 | } |
827 | of_node_put(dn); | ||
827 | 828 | ||
828 | irqs[i] = cpu; | 829 | irqs[i] = cpu; |
829 | cpumask_set_cpu(cpu, &pmu->supported_cpus); | 830 | cpumask_set_cpu(cpu, &pmu->supported_cpus); |
diff --git a/arch/arm/kernel/reboot.c b/arch/arm/kernel/reboot.c index 1a4d232796be..38269358fd25 100644 --- a/arch/arm/kernel/reboot.c +++ b/arch/arm/kernel/reboot.c | |||
@@ -50,7 +50,7 @@ static void __soft_restart(void *addr) | |||
50 | flush_cache_all(); | 50 | flush_cache_all(); |
51 | 51 | ||
52 | /* Switch to the identity mapping. */ | 52 | /* Switch to the identity mapping. */ |
53 | phys_reset = (phys_reset_t)(unsigned long)virt_to_phys(cpu_reset); | 53 | phys_reset = (phys_reset_t)(unsigned long)virt_to_idmap(cpu_reset); |
54 | phys_reset((unsigned long)addr); | 54 | phys_reset((unsigned long)addr); |
55 | 55 | ||
56 | /* Should never get here. */ | 56 | /* Should never get here. */ |
diff --git a/arch/arm/kernel/vdso.c b/arch/arm/kernel/vdso.c index efe17dd9b921..54a5aeab988d 100644 --- a/arch/arm/kernel/vdso.c +++ b/arch/arm/kernel/vdso.c | |||
@@ -296,7 +296,6 @@ static bool tk_is_cntvct(const struct timekeeper *tk) | |||
296 | */ | 296 | */ |
297 | void update_vsyscall(struct timekeeper *tk) | 297 | void update_vsyscall(struct timekeeper *tk) |
298 | { | 298 | { |
299 | struct timespec xtime_coarse; | ||
300 | struct timespec64 *wtm = &tk->wall_to_monotonic; | 299 | struct timespec64 *wtm = &tk->wall_to_monotonic; |
301 | 300 | ||
302 | if (!cntvct_ok) { | 301 | if (!cntvct_ok) { |
@@ -308,10 +307,10 @@ void update_vsyscall(struct timekeeper *tk) | |||
308 | 307 | ||
309 | vdso_write_begin(vdso_data); | 308 | vdso_write_begin(vdso_data); |
310 | 309 | ||
311 | xtime_coarse = __current_kernel_time(); | ||
312 | vdso_data->tk_is_cntvct = tk_is_cntvct(tk); | 310 | vdso_data->tk_is_cntvct = tk_is_cntvct(tk); |
313 | vdso_data->xtime_coarse_sec = xtime_coarse.tv_sec; | 311 | vdso_data->xtime_coarse_sec = tk->xtime_sec; |
314 | vdso_data->xtime_coarse_nsec = xtime_coarse.tv_nsec; | 312 | vdso_data->xtime_coarse_nsec = (u32)(tk->tkr_mono.xtime_nsec >> |
313 | tk->tkr_mono.shift); | ||
315 | vdso_data->wtm_clock_sec = wtm->tv_sec; | 314 | vdso_data->wtm_clock_sec = wtm->tv_sec; |
316 | vdso_data->wtm_clock_nsec = wtm->tv_nsec; | 315 | vdso_data->wtm_clock_nsec = wtm->tv_nsec; |
317 | 316 | ||
diff --git a/arch/arm/lib/uaccess_with_memcpy.c b/arch/arm/lib/uaccess_with_memcpy.c index 3e58d710013c..4b39af2dfda9 100644 --- a/arch/arm/lib/uaccess_with_memcpy.c +++ b/arch/arm/lib/uaccess_with_memcpy.c | |||
@@ -96,7 +96,7 @@ __copy_to_user_memcpy(void __user *to, const void *from, unsigned long n) | |||
96 | } | 96 | } |
97 | 97 | ||
98 | /* the mmap semaphore is taken only if not in an atomic context */ | 98 | /* the mmap semaphore is taken only if not in an atomic context */ |
99 | atomic = in_atomic(); | 99 | atomic = faulthandler_disabled(); |
100 | 100 | ||
101 | if (!atomic) | 101 | if (!atomic) |
102 | down_read(¤t->mm->mmap_sem); | 102 | down_read(¤t->mm->mmap_sem); |
diff --git a/arch/arm/mach-davinci/devices-da8xx.c b/arch/arm/mach-davinci/devices-da8xx.c index ddfdd820e6f2..29e08aac8294 100644 --- a/arch/arm/mach-davinci/devices-da8xx.c +++ b/arch/arm/mach-davinci/devices-da8xx.c | |||
@@ -1010,11 +1010,13 @@ static struct davinci_spi_platform_data da8xx_spi_pdata[] = { | |||
1010 | .version = SPI_VERSION_2, | 1010 | .version = SPI_VERSION_2, |
1011 | .intr_line = 1, | 1011 | .intr_line = 1, |
1012 | .dma_event_q = EVENTQ_0, | 1012 | .dma_event_q = EVENTQ_0, |
1013 | .prescaler_limit = 2, | ||
1013 | }, | 1014 | }, |
1014 | [1] = { | 1015 | [1] = { |
1015 | .version = SPI_VERSION_2, | 1016 | .version = SPI_VERSION_2, |
1016 | .intr_line = 1, | 1017 | .intr_line = 1, |
1017 | .dma_event_q = EVENTQ_0, | 1018 | .dma_event_q = EVENTQ_0, |
1019 | .prescaler_limit = 2, | ||
1018 | }, | 1020 | }, |
1019 | }; | 1021 | }; |
1020 | 1022 | ||
diff --git a/arch/arm/mach-davinci/dm355.c b/arch/arm/mach-davinci/dm355.c index 9cbeda798584..567dc56fe8cd 100644 --- a/arch/arm/mach-davinci/dm355.c +++ b/arch/arm/mach-davinci/dm355.c | |||
@@ -411,6 +411,7 @@ static struct davinci_spi_platform_data dm355_spi0_pdata = { | |||
411 | .num_chipselect = 2, | 411 | .num_chipselect = 2, |
412 | .cshold_bug = true, | 412 | .cshold_bug = true, |
413 | .dma_event_q = EVENTQ_1, | 413 | .dma_event_q = EVENTQ_1, |
414 | .prescaler_limit = 1, | ||
414 | }; | 415 | }; |
415 | static struct platform_device dm355_spi0_device = { | 416 | static struct platform_device dm355_spi0_device = { |
416 | .name = "spi_davinci", | 417 | .name = "spi_davinci", |
diff --git a/arch/arm/mach-davinci/dm365.c b/arch/arm/mach-davinci/dm365.c index e3a3c54b6832..6a890a8486d0 100644 --- a/arch/arm/mach-davinci/dm365.c +++ b/arch/arm/mach-davinci/dm365.c | |||
@@ -646,6 +646,7 @@ static struct davinci_spi_platform_data dm365_spi0_pdata = { | |||
646 | .version = SPI_VERSION_1, | 646 | .version = SPI_VERSION_1, |
647 | .num_chipselect = 2, | 647 | .num_chipselect = 2, |
648 | .dma_event_q = EVENTQ_3, | 648 | .dma_event_q = EVENTQ_3, |
649 | .prescaler_limit = 1, | ||
649 | }; | 650 | }; |
650 | 651 | ||
651 | static struct resource dm365_spi0_resources[] = { | 652 | static struct resource dm365_spi0_resources[] = { |
diff --git a/arch/arm/mach-exynos/pm_domains.c b/arch/arm/mach-exynos/pm_domains.c index 6001f1c9d136..4a87e86dec45 100644 --- a/arch/arm/mach-exynos/pm_domains.c +++ b/arch/arm/mach-exynos/pm_domains.c | |||
@@ -146,9 +146,8 @@ static __init int exynos4_pm_init_power_domain(void) | |||
146 | pd->base = of_iomap(np, 0); | 146 | pd->base = of_iomap(np, 0); |
147 | if (!pd->base) { | 147 | if (!pd->base) { |
148 | pr_warn("%s: failed to map memory\n", __func__); | 148 | pr_warn("%s: failed to map memory\n", __func__); |
149 | kfree(pd->pd.name); | 149 | kfree_const(pd->pd.name); |
150 | kfree(pd); | 150 | kfree(pd); |
151 | of_node_put(np); | ||
152 | continue; | 151 | continue; |
153 | } | 152 | } |
154 | 153 | ||
diff --git a/arch/arm/mach-imx/gpc.c b/arch/arm/mach-imx/gpc.c index 80bad29d609a..8c4467fad837 100644 --- a/arch/arm/mach-imx/gpc.c +++ b/arch/arm/mach-imx/gpc.c | |||
@@ -291,8 +291,6 @@ void __init imx_gpc_check_dt(void) | |||
291 | } | 291 | } |
292 | } | 292 | } |
293 | 293 | ||
294 | #ifdef CONFIG_PM_GENERIC_DOMAINS | ||
295 | |||
296 | static void _imx6q_pm_pu_power_off(struct generic_pm_domain *genpd) | 294 | static void _imx6q_pm_pu_power_off(struct generic_pm_domain *genpd) |
297 | { | 295 | { |
298 | int iso, iso2sw; | 296 | int iso, iso2sw; |
@@ -399,7 +397,6 @@ static struct genpd_onecell_data imx_gpc_onecell_data = { | |||
399 | static int imx_gpc_genpd_init(struct device *dev, struct regulator *pu_reg) | 397 | static int imx_gpc_genpd_init(struct device *dev, struct regulator *pu_reg) |
400 | { | 398 | { |
401 | struct clk *clk; | 399 | struct clk *clk; |
402 | bool is_off; | ||
403 | int i; | 400 | int i; |
404 | 401 | ||
405 | imx6q_pu_domain.reg = pu_reg; | 402 | imx6q_pu_domain.reg = pu_reg; |
@@ -416,18 +413,13 @@ static int imx_gpc_genpd_init(struct device *dev, struct regulator *pu_reg) | |||
416 | } | 413 | } |
417 | imx6q_pu_domain.num_clks = i; | 414 | imx6q_pu_domain.num_clks = i; |
418 | 415 | ||
419 | is_off = IS_ENABLED(CONFIG_PM); | 416 | /* Enable power always in case bootloader disabled it. */ |
420 | if (is_off) { | 417 | imx6q_pm_pu_power_on(&imx6q_pu_domain.base); |
421 | _imx6q_pm_pu_power_off(&imx6q_pu_domain.base); | 418 | |
422 | } else { | 419 | if (!IS_ENABLED(CONFIG_PM_GENERIC_DOMAINS)) |
423 | /* | 420 | return 0; |
424 | * Enable power if compiled without CONFIG_PM in case the | ||
425 | * bootloader disabled it. | ||
426 | */ | ||
427 | imx6q_pm_pu_power_on(&imx6q_pu_domain.base); | ||
428 | } | ||
429 | 421 | ||
430 | pm_genpd_init(&imx6q_pu_domain.base, NULL, is_off); | 422 | pm_genpd_init(&imx6q_pu_domain.base, NULL, false); |
431 | return of_genpd_add_provider_onecell(dev->of_node, | 423 | return of_genpd_add_provider_onecell(dev->of_node, |
432 | &imx_gpc_onecell_data); | 424 | &imx_gpc_onecell_data); |
433 | 425 | ||
@@ -437,13 +429,6 @@ clk_err: | |||
437 | return -EINVAL; | 429 | return -EINVAL; |
438 | } | 430 | } |
439 | 431 | ||
440 | #else | ||
441 | static inline int imx_gpc_genpd_init(struct device *dev, struct regulator *reg) | ||
442 | { | ||
443 | return 0; | ||
444 | } | ||
445 | #endif /* CONFIG_PM_GENERIC_DOMAINS */ | ||
446 | |||
447 | static int imx_gpc_probe(struct platform_device *pdev) | 432 | static int imx_gpc_probe(struct platform_device *pdev) |
448 | { | 433 | { |
449 | struct regulator *pu_reg; | 434 | struct regulator *pu_reg; |
diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index ecc04ff13e95..4a023e8d1bdb 100644 --- a/arch/arm/mach-omap2/Kconfig +++ b/arch/arm/mach-omap2/Kconfig | |||
@@ -60,6 +60,7 @@ config SOC_AM43XX | |||
60 | select ARM_GIC | 60 | select ARM_GIC |
61 | select MACH_OMAP_GENERIC | 61 | select MACH_OMAP_GENERIC |
62 | select MIGHT_HAVE_CACHE_L2X0 | 62 | select MIGHT_HAVE_CACHE_L2X0 |
63 | select HAVE_ARM_SCU | ||
63 | 64 | ||
64 | config SOC_DRA7XX | 65 | config SOC_DRA7XX |
65 | bool "TI DRA7XX" | 66 | bool "TI DRA7XX" |
diff --git a/arch/arm/mach-omap2/omap-wakeupgen.c b/arch/arm/mach-omap2/omap-wakeupgen.c index 8e52621b5a6b..e1d2e991d17a 100644 --- a/arch/arm/mach-omap2/omap-wakeupgen.c +++ b/arch/arm/mach-omap2/omap-wakeupgen.c | |||
@@ -392,6 +392,7 @@ static struct irq_chip wakeupgen_chip = { | |||
392 | .irq_mask = wakeupgen_mask, | 392 | .irq_mask = wakeupgen_mask, |
393 | .irq_unmask = wakeupgen_unmask, | 393 | .irq_unmask = wakeupgen_unmask, |
394 | .irq_retrigger = irq_chip_retrigger_hierarchy, | 394 | .irq_retrigger = irq_chip_retrigger_hierarchy, |
395 | .irq_set_type = irq_chip_set_type_parent, | ||
395 | .flags = IRQCHIP_SKIP_SET_WAKE | IRQCHIP_MASK_ON_SUSPEND, | 396 | .flags = IRQCHIP_SKIP_SET_WAKE | IRQCHIP_MASK_ON_SUSPEND, |
396 | #ifdef CONFIG_SMP | 397 | #ifdef CONFIG_SMP |
397 | .irq_set_affinity = irq_chip_set_affinity_parent, | 398 | .irq_set_affinity = irq_chip_set_affinity_parent, |
diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c index d78c12e7cb5e..486cc4ded190 100644 --- a/arch/arm/mach-omap2/omap_hwmod.c +++ b/arch/arm/mach-omap2/omap_hwmod.c | |||
@@ -2373,6 +2373,9 @@ static int of_dev_hwmod_lookup(struct device_node *np, | |||
2373 | * registers. This address is needed early so the OCP registers that | 2373 | * registers. This address is needed early so the OCP registers that |
2374 | * are part of the device's address space can be ioremapped properly. | 2374 | * are part of the device's address space can be ioremapped properly. |
2375 | * | 2375 | * |
2376 | * If SYSC access is not needed, the registers will not be remapped | ||
2377 | * and non-availability of MPU access is not treated as an error. | ||
2378 | * | ||
2376 | * Returns 0 on success, -EINVAL if an invalid hwmod is passed, and | 2379 | * Returns 0 on success, -EINVAL if an invalid hwmod is passed, and |
2377 | * -ENXIO on absent or invalid register target address space. | 2380 | * -ENXIO on absent or invalid register target address space. |
2378 | */ | 2381 | */ |
@@ -2387,6 +2390,11 @@ static int __init _init_mpu_rt_base(struct omap_hwmod *oh, void *data, | |||
2387 | 2390 | ||
2388 | _save_mpu_port_index(oh); | 2391 | _save_mpu_port_index(oh); |
2389 | 2392 | ||
2393 | /* if we don't need sysc access we don't need to ioremap */ | ||
2394 | if (!oh->class->sysc) | ||
2395 | return 0; | ||
2396 | |||
2397 | /* we can't continue without MPU PORT if we need sysc access */ | ||
2390 | if (oh->_int_flags & _HWMOD_NO_MPU_PORT) | 2398 | if (oh->_int_flags & _HWMOD_NO_MPU_PORT) |
2391 | return -ENXIO; | 2399 | return -ENXIO; |
2392 | 2400 | ||
@@ -2396,8 +2404,10 @@ static int __init _init_mpu_rt_base(struct omap_hwmod *oh, void *data, | |||
2396 | oh->name); | 2404 | oh->name); |
2397 | 2405 | ||
2398 | /* Extract the IO space from device tree blob */ | 2406 | /* Extract the IO space from device tree blob */ |
2399 | if (!np) | 2407 | if (!np) { |
2408 | pr_err("omap_hwmod: %s: no dt node\n", oh->name); | ||
2400 | return -ENXIO; | 2409 | return -ENXIO; |
2410 | } | ||
2401 | 2411 | ||
2402 | va_start = of_iomap(np, index + oh->mpu_rt_idx); | 2412 | va_start = of_iomap(np, index + oh->mpu_rt_idx); |
2403 | } else { | 2413 | } else { |
@@ -2456,13 +2466,11 @@ static int __init _init(struct omap_hwmod *oh, void *data) | |||
2456 | oh->name, np->name); | 2466 | oh->name, np->name); |
2457 | } | 2467 | } |
2458 | 2468 | ||
2459 | if (oh->class->sysc) { | 2469 | r = _init_mpu_rt_base(oh, NULL, index, np); |
2460 | r = _init_mpu_rt_base(oh, NULL, index, np); | 2470 | if (r < 0) { |
2461 | if (r < 0) { | 2471 | WARN(1, "omap_hwmod: %s: doesn't have mpu register target base\n", |
2462 | WARN(1, "omap_hwmod: %s: doesn't have mpu register target base\n", | 2472 | oh->name); |
2463 | oh->name); | 2473 | return 0; |
2464 | return 0; | ||
2465 | } | ||
2466 | } | 2474 | } |
2467 | 2475 | ||
2468 | r = _init_clocks(oh, NULL); | 2476 | r = _init_clocks(oh, NULL); |
diff --git a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c index 2606c6608bd8..562247bced49 100644 --- a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c | |||
@@ -827,8 +827,7 @@ static struct omap_hwmod_class_sysconfig dra7xx_gpmc_sysc = { | |||
827 | .syss_offs = 0x0014, | 827 | .syss_offs = 0x0014, |
828 | .sysc_flags = (SYSC_HAS_AUTOIDLE | SYSC_HAS_SIDLEMODE | | 828 | .sysc_flags = (SYSC_HAS_AUTOIDLE | SYSC_HAS_SIDLEMODE | |
829 | SYSC_HAS_SOFTRESET | SYSS_HAS_RESET_STATUS), | 829 | SYSC_HAS_SOFTRESET | SYSS_HAS_RESET_STATUS), |
830 | .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART | | 830 | .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART), |
831 | SIDLE_SMART_WKUP), | ||
832 | .sysc_fields = &omap_hwmod_sysc_type1, | 831 | .sysc_fields = &omap_hwmod_sysc_type1, |
833 | }; | 832 | }; |
834 | 833 | ||
@@ -844,7 +843,7 @@ static struct omap_hwmod dra7xx_gpmc_hwmod = { | |||
844 | .class = &dra7xx_gpmc_hwmod_class, | 843 | .class = &dra7xx_gpmc_hwmod_class, |
845 | .clkdm_name = "l3main1_clkdm", | 844 | .clkdm_name = "l3main1_clkdm", |
846 | /* Skip reset for CONFIG_OMAP_GPMC_DEBUG for bootloader timings */ | 845 | /* Skip reset for CONFIG_OMAP_GPMC_DEBUG for bootloader timings */ |
847 | .flags = HWMOD_SWSUP_SIDLE | DEBUG_OMAP_GPMC_HWMOD_FLAGS, | 846 | .flags = DEBUG_OMAP_GPMC_HWMOD_FLAGS, |
848 | .main_clk = "l3_iclk_div", | 847 | .main_clk = "l3_iclk_div", |
849 | .prcm = { | 848 | .prcm = { |
850 | .omap4 = { | 849 | .omap4 = { |
diff --git a/arch/arm/mach-pxa/capc7117.c b/arch/arm/mach-pxa/capc7117.c index c092730749b9..bf366b39fa61 100644 --- a/arch/arm/mach-pxa/capc7117.c +++ b/arch/arm/mach-pxa/capc7117.c | |||
@@ -24,6 +24,7 @@ | |||
24 | #include <linux/ata_platform.h> | 24 | #include <linux/ata_platform.h> |
25 | #include <linux/serial_8250.h> | 25 | #include <linux/serial_8250.h> |
26 | #include <linux/gpio.h> | 26 | #include <linux/gpio.h> |
27 | #include <linux/regulator/machine.h> | ||
27 | 28 | ||
28 | #include <asm/mach-types.h> | 29 | #include <asm/mach-types.h> |
29 | #include <asm/mach/arch.h> | 30 | #include <asm/mach/arch.h> |
@@ -144,6 +145,8 @@ static void __init capc7117_init(void) | |||
144 | 145 | ||
145 | capc7117_uarts_init(); | 146 | capc7117_uarts_init(); |
146 | capc7117_ide_init(); | 147 | capc7117_ide_init(); |
148 | |||
149 | regulator_has_full_constraints(); | ||
147 | } | 150 | } |
148 | 151 | ||
149 | MACHINE_START(CAPC7117, | 152 | MACHINE_START(CAPC7117, |
diff --git a/arch/arm/mach-pxa/cm-x2xx.c b/arch/arm/mach-pxa/cm-x2xx.c index bb99f59a36d8..a17a91eb8e9a 100644 --- a/arch/arm/mach-pxa/cm-x2xx.c +++ b/arch/arm/mach-pxa/cm-x2xx.c | |||
@@ -13,6 +13,7 @@ | |||
13 | #include <linux/syscore_ops.h> | 13 | #include <linux/syscore_ops.h> |
14 | #include <linux/irq.h> | 14 | #include <linux/irq.h> |
15 | #include <linux/gpio.h> | 15 | #include <linux/gpio.h> |
16 | #include <linux/regulator/machine.h> | ||
16 | 17 | ||
17 | #include <linux/dm9000.h> | 18 | #include <linux/dm9000.h> |
18 | #include <linux/leds.h> | 19 | #include <linux/leds.h> |
@@ -466,6 +467,8 @@ static void __init cmx2xx_init(void) | |||
466 | cmx2xx_init_ac97(); | 467 | cmx2xx_init_ac97(); |
467 | cmx2xx_init_touchscreen(); | 468 | cmx2xx_init_touchscreen(); |
468 | cmx2xx_init_leds(); | 469 | cmx2xx_init_leds(); |
470 | |||
471 | regulator_has_full_constraints(); | ||
469 | } | 472 | } |
470 | 473 | ||
471 | static void __init cmx2xx_init_irq(void) | 474 | static void __init cmx2xx_init_irq(void) |
diff --git a/arch/arm/mach-pxa/cm-x300.c b/arch/arm/mach-pxa/cm-x300.c index 4d3588d26c2a..5851f4c254c1 100644 --- a/arch/arm/mach-pxa/cm-x300.c +++ b/arch/arm/mach-pxa/cm-x300.c | |||
@@ -835,6 +835,8 @@ static void __init cm_x300_init(void) | |||
835 | cm_x300_init_ac97(); | 835 | cm_x300_init_ac97(); |
836 | cm_x300_init_wi2wi(); | 836 | cm_x300_init_wi2wi(); |
837 | cm_x300_init_bl(); | 837 | cm_x300_init_bl(); |
838 | |||
839 | regulator_has_full_constraints(); | ||
838 | } | 840 | } |
839 | 841 | ||
840 | static void __init cm_x300_fixup(struct tag *tags, char **cmdline) | 842 | static void __init cm_x300_fixup(struct tag *tags, char **cmdline) |
diff --git a/arch/arm/mach-pxa/colibri-pxa270.c b/arch/arm/mach-pxa/colibri-pxa270.c index 5f9d9303b346..3503826333c7 100644 --- a/arch/arm/mach-pxa/colibri-pxa270.c +++ b/arch/arm/mach-pxa/colibri-pxa270.c | |||
@@ -18,6 +18,7 @@ | |||
18 | #include <linux/mtd/partitions.h> | 18 | #include <linux/mtd/partitions.h> |
19 | #include <linux/mtd/physmap.h> | 19 | #include <linux/mtd/physmap.h> |
20 | #include <linux/platform_device.h> | 20 | #include <linux/platform_device.h> |
21 | #include <linux/regulator/machine.h> | ||
21 | #include <linux/ucb1400.h> | 22 | #include <linux/ucb1400.h> |
22 | 23 | ||
23 | #include <asm/mach/arch.h> | 24 | #include <asm/mach/arch.h> |
@@ -294,6 +295,8 @@ static void __init colibri_pxa270_init(void) | |||
294 | printk(KERN_ERR "Illegal colibri_pxa270_baseboard type %d\n", | 295 | printk(KERN_ERR "Illegal colibri_pxa270_baseboard type %d\n", |
295 | colibri_pxa270_baseboard); | 296 | colibri_pxa270_baseboard); |
296 | } | 297 | } |
298 | |||
299 | regulator_has_full_constraints(); | ||
297 | } | 300 | } |
298 | 301 | ||
299 | /* The "Income s.r.o. SH-Dmaster PXA270 SBC" board can be booted either | 302 | /* The "Income s.r.o. SH-Dmaster PXA270 SBC" board can be booted either |
diff --git a/arch/arm/mach-pxa/em-x270.c b/arch/arm/mach-pxa/em-x270.c index 51531ecffca8..9d7072b04045 100644 --- a/arch/arm/mach-pxa/em-x270.c +++ b/arch/arm/mach-pxa/em-x270.c | |||
@@ -1306,6 +1306,8 @@ static void __init em_x270_init(void) | |||
1306 | em_x270_init_i2c(); | 1306 | em_x270_init_i2c(); |
1307 | em_x270_init_camera(); | 1307 | em_x270_init_camera(); |
1308 | em_x270_userspace_consumers_init(); | 1308 | em_x270_userspace_consumers_init(); |
1309 | |||
1310 | regulator_has_full_constraints(); | ||
1309 | } | 1311 | } |
1310 | 1312 | ||
1311 | MACHINE_START(EM_X270, "Compulab EM-X270") | 1313 | MACHINE_START(EM_X270, "Compulab EM-X270") |
diff --git a/arch/arm/mach-pxa/icontrol.c b/arch/arm/mach-pxa/icontrol.c index c98511c5abd1..9b0eb0252af6 100644 --- a/arch/arm/mach-pxa/icontrol.c +++ b/arch/arm/mach-pxa/icontrol.c | |||
@@ -26,6 +26,7 @@ | |||
26 | #include <linux/spi/spi.h> | 26 | #include <linux/spi/spi.h> |
27 | #include <linux/spi/pxa2xx_spi.h> | 27 | #include <linux/spi/pxa2xx_spi.h> |
28 | #include <linux/can/platform/mcp251x.h> | 28 | #include <linux/can/platform/mcp251x.h> |
29 | #include <linux/regulator/machine.h> | ||
29 | 30 | ||
30 | #include "generic.h" | 31 | #include "generic.h" |
31 | 32 | ||
@@ -185,6 +186,8 @@ static void __init icontrol_init(void) | |||
185 | mxm_8x10_mmc_init(); | 186 | mxm_8x10_mmc_init(); |
186 | 187 | ||
187 | icontrol_can_init(); | 188 | icontrol_can_init(); |
189 | |||
190 | regulator_has_full_constraints(); | ||
188 | } | 191 | } |
189 | 192 | ||
190 | MACHINE_START(ICONTROL, "iControl/SafeTcam boards using Embedian MXM-8x10 CoM") | 193 | MACHINE_START(ICONTROL, "iControl/SafeTcam boards using Embedian MXM-8x10 CoM") |
diff --git a/arch/arm/mach-pxa/trizeps4.c b/arch/arm/mach-pxa/trizeps4.c index 872dcb20e757..066e3a250ee0 100644 --- a/arch/arm/mach-pxa/trizeps4.c +++ b/arch/arm/mach-pxa/trizeps4.c | |||
@@ -26,6 +26,7 @@ | |||
26 | #include <linux/dm9000.h> | 26 | #include <linux/dm9000.h> |
27 | #include <linux/mtd/physmap.h> | 27 | #include <linux/mtd/physmap.h> |
28 | #include <linux/mtd/partitions.h> | 28 | #include <linux/mtd/partitions.h> |
29 | #include <linux/regulator/machine.h> | ||
29 | #include <linux/i2c/pxa-i2c.h> | 30 | #include <linux/i2c/pxa-i2c.h> |
30 | 31 | ||
31 | #include <asm/types.h> | 32 | #include <asm/types.h> |
@@ -534,6 +535,8 @@ static void __init trizeps4_init(void) | |||
534 | 535 | ||
535 | BCR_writew(trizeps_conxs_bcr); | 536 | BCR_writew(trizeps_conxs_bcr); |
536 | board_backlight_power(1); | 537 | board_backlight_power(1); |
538 | |||
539 | regulator_has_full_constraints(); | ||
537 | } | 540 | } |
538 | 541 | ||
539 | static void __init trizeps4_map_io(void) | 542 | static void __init trizeps4_map_io(void) |
diff --git a/arch/arm/mach-pxa/vpac270.c b/arch/arm/mach-pxa/vpac270.c index aa89488f961e..54122a983ae3 100644 --- a/arch/arm/mach-pxa/vpac270.c +++ b/arch/arm/mach-pxa/vpac270.c | |||
@@ -24,6 +24,7 @@ | |||
24 | #include <linux/dm9000.h> | 24 | #include <linux/dm9000.h> |
25 | #include <linux/ucb1400.h> | 25 | #include <linux/ucb1400.h> |
26 | #include <linux/ata_platform.h> | 26 | #include <linux/ata_platform.h> |
27 | #include <linux/regulator/machine.h> | ||
27 | #include <linux/regulator/max1586.h> | 28 | #include <linux/regulator/max1586.h> |
28 | #include <linux/i2c/pxa-i2c.h> | 29 | #include <linux/i2c/pxa-i2c.h> |
29 | 30 | ||
@@ -711,6 +712,8 @@ static void __init vpac270_init(void) | |||
711 | vpac270_ts_init(); | 712 | vpac270_ts_init(); |
712 | vpac270_rtc_init(); | 713 | vpac270_rtc_init(); |
713 | vpac270_ide_init(); | 714 | vpac270_ide_init(); |
715 | |||
716 | regulator_has_full_constraints(); | ||
714 | } | 717 | } |
715 | 718 | ||
716 | MACHINE_START(VPAC270, "Voipac PXA270") | 719 | MACHINE_START(VPAC270, "Voipac PXA270") |
diff --git a/arch/arm/mach-pxa/zeus.c b/arch/arm/mach-pxa/zeus.c index ac2ae5c71ab4..6158566fa0f7 100644 --- a/arch/arm/mach-pxa/zeus.c +++ b/arch/arm/mach-pxa/zeus.c | |||
@@ -868,6 +868,8 @@ static void __init zeus_init(void) | |||
868 | i2c_register_board_info(0, ARRAY_AND_SIZE(zeus_i2c_devices)); | 868 | i2c_register_board_info(0, ARRAY_AND_SIZE(zeus_i2c_devices)); |
869 | pxa2xx_set_spi_info(3, &pxa2xx_spi_ssp3_master_info); | 869 | pxa2xx_set_spi_info(3, &pxa2xx_spi_ssp3_master_info); |
870 | spi_register_board_info(zeus_spi_board_info, ARRAY_SIZE(zeus_spi_board_info)); | 870 | spi_register_board_info(zeus_spi_board_info, ARRAY_SIZE(zeus_spi_board_info)); |
871 | |||
872 | regulator_has_full_constraints(); | ||
871 | } | 873 | } |
872 | 874 | ||
873 | static struct map_desc zeus_io_desc[] __initdata = { | 875 | static struct map_desc zeus_io_desc[] __initdata = { |
diff --git a/arch/arm/mach-spear/generic.h b/arch/arm/mach-spear/generic.h index a99d90a4d09c..06640914d9a0 100644 --- a/arch/arm/mach-spear/generic.h +++ b/arch/arm/mach-spear/generic.h | |||
@@ -3,7 +3,7 @@ | |||
3 | * | 3 | * |
4 | * Copyright (C) 2009-2012 ST Microelectronics | 4 | * Copyright (C) 2009-2012 ST Microelectronics |
5 | * Rajeev Kumar <rajeev-dlh.kumar@st.com> | 5 | * Rajeev Kumar <rajeev-dlh.kumar@st.com> |
6 | * Viresh Kumar <viresh.linux@gmail.com> | 6 | * Viresh Kumar <vireshk@kernel.org> |
7 | * | 7 | * |
8 | * This file is licensed under the terms of the GNU General Public | 8 | * This file is licensed under the terms of the GNU General Public |
9 | * License version 2. This program is licensed "as is" without any | 9 | * License version 2. This program is licensed "as is" without any |
diff --git a/arch/arm/mach-spear/include/mach/irqs.h b/arch/arm/mach-spear/include/mach/irqs.h index 92da0a8c6bce..7058720c5278 100644 --- a/arch/arm/mach-spear/include/mach/irqs.h +++ b/arch/arm/mach-spear/include/mach/irqs.h | |||
@@ -3,7 +3,7 @@ | |||
3 | * | 3 | * |
4 | * Copyright (C) 2009-2012 ST Microelectronics | 4 | * Copyright (C) 2009-2012 ST Microelectronics |
5 | * Rajeev Kumar <rajeev-dlh.kumar@st.com> | 5 | * Rajeev Kumar <rajeev-dlh.kumar@st.com> |
6 | * Viresh Kumar <viresh.linux@gmail.com> | 6 | * Viresh Kumar <vireshk@kernel.org> |
7 | * | 7 | * |
8 | * This file is licensed under the terms of the GNU General Public | 8 | * This file is licensed under the terms of the GNU General Public |
9 | * License version 2. This program is licensed "as is" without any | 9 | * License version 2. This program is licensed "as is" without any |
diff --git a/arch/arm/mach-spear/include/mach/misc_regs.h b/arch/arm/mach-spear/include/mach/misc_regs.h index 935639ce59ba..cfaf7c665b58 100644 --- a/arch/arm/mach-spear/include/mach/misc_regs.h +++ b/arch/arm/mach-spear/include/mach/misc_regs.h | |||
@@ -4,7 +4,7 @@ | |||
4 | * Miscellaneous registers definitions for SPEAr3xx machine family | 4 | * Miscellaneous registers definitions for SPEAr3xx machine family |
5 | * | 5 | * |
6 | * Copyright (C) 2009 ST Microelectronics | 6 | * Copyright (C) 2009 ST Microelectronics |
7 | * Viresh Kumar <viresh.linux@gmail.com> | 7 | * Viresh Kumar <vireshk@kernel.org> |
8 | * | 8 | * |
9 | * This file is licensed under the terms of the GNU General Public | 9 | * This file is licensed under the terms of the GNU General Public |
10 | * License version 2. This program is licensed "as is" without any | 10 | * License version 2. This program is licensed "as is" without any |
diff --git a/arch/arm/mach-spear/include/mach/spear.h b/arch/arm/mach-spear/include/mach/spear.h index f2d6a0176575..5ed841ccf8a3 100644 --- a/arch/arm/mach-spear/include/mach/spear.h +++ b/arch/arm/mach-spear/include/mach/spear.h | |||
@@ -3,7 +3,7 @@ | |||
3 | * | 3 | * |
4 | * Copyright (C) 2009,2012 ST Microelectronics | 4 | * Copyright (C) 2009,2012 ST Microelectronics |
5 | * Rajeev Kumar<rajeev-dlh.kumar@st.com> | 5 | * Rajeev Kumar<rajeev-dlh.kumar@st.com> |
6 | * Viresh Kumar <viresh.linux@gmail.com> | 6 | * Viresh Kumar <vireshk@kernel.org> |
7 | * | 7 | * |
8 | * This file is licensed under the terms of the GNU General Public | 8 | * This file is licensed under the terms of the GNU General Public |
9 | * License version 2. This program is licensed "as is" without any | 9 | * License version 2. This program is licensed "as is" without any |
diff --git a/arch/arm/mach-spear/include/mach/uncompress.h b/arch/arm/mach-spear/include/mach/uncompress.h index 51b2dc93e4da..8439b9c12edb 100644 --- a/arch/arm/mach-spear/include/mach/uncompress.h +++ b/arch/arm/mach-spear/include/mach/uncompress.h | |||
@@ -4,7 +4,7 @@ | |||
4 | * Serial port stubs for kernel decompress status messages | 4 | * Serial port stubs for kernel decompress status messages |
5 | * | 5 | * |
6 | * Copyright (C) 2009 ST Microelectronics | 6 | * Copyright (C) 2009 ST Microelectronics |
7 | * Viresh Kumar <viresh.linux@gmail.com> | 7 | * Viresh Kumar <vireshk@kernel.org> |
8 | * | 8 | * |
9 | * This file is licensed under the terms of the GNU General Public | 9 | * This file is licensed under the terms of the GNU General Public |
10 | * License version 2. This program is licensed "as is" without any | 10 | * License version 2. This program is licensed "as is" without any |
diff --git a/arch/arm/mach-spear/pl080.c b/arch/arm/mach-spear/pl080.c index cfa1199d0f4a..b4529f3e0ee9 100644 --- a/arch/arm/mach-spear/pl080.c +++ b/arch/arm/mach-spear/pl080.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * DMAC pl080 definitions for SPEAr platform | 4 | * DMAC pl080 definitions for SPEAr platform |
5 | * | 5 | * |
6 | * Copyright (C) 2012 ST Microelectronics | 6 | * Copyright (C) 2012 ST Microelectronics |
7 | * Viresh Kumar <viresh.linux@gmail.com> | 7 | * Viresh Kumar <vireshk@kernel.org> |
8 | * | 8 | * |
9 | * This file is licensed under the terms of the GNU General Public | 9 | * This file is licensed under the terms of the GNU General Public |
10 | * License version 2. This program is licensed "as is" without any | 10 | * License version 2. This program is licensed "as is" without any |
diff --git a/arch/arm/mach-spear/pl080.h b/arch/arm/mach-spear/pl080.h index eb6590ded40d..608dec6725ae 100644 --- a/arch/arm/mach-spear/pl080.h +++ b/arch/arm/mach-spear/pl080.h | |||
@@ -4,7 +4,7 @@ | |||
4 | * DMAC pl080 definitions for SPEAr platform | 4 | * DMAC pl080 definitions for SPEAr platform |
5 | * | 5 | * |
6 | * Copyright (C) 2012 ST Microelectronics | 6 | * Copyright (C) 2012 ST Microelectronics |
7 | * Viresh Kumar <viresh.linux@gmail.com> | 7 | * Viresh Kumar <vireshk@kernel.org> |
8 | * | 8 | * |
9 | * This file is licensed under the terms of the GNU General Public | 9 | * This file is licensed under the terms of the GNU General Public |
10 | * License version 2. This program is licensed "as is" without any | 10 | * License version 2. This program is licensed "as is" without any |
diff --git a/arch/arm/mach-spear/restart.c b/arch/arm/mach-spear/restart.c index ce5e098c4888..b4342155a783 100644 --- a/arch/arm/mach-spear/restart.c +++ b/arch/arm/mach-spear/restart.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * SPEAr platform specific restart functions | 4 | * SPEAr platform specific restart functions |
5 | * | 5 | * |
6 | * Copyright (C) 2009 ST Microelectronics | 6 | * Copyright (C) 2009 ST Microelectronics |
7 | * Viresh Kumar <viresh.linux@gmail.com> | 7 | * Viresh Kumar <vireshk@kernel.org> |
8 | * | 8 | * |
9 | * This file is licensed under the terms of the GNU General Public | 9 | * This file is licensed under the terms of the GNU General Public |
10 | * License version 2. This program is licensed "as is" without any | 10 | * License version 2. This program is licensed "as is" without any |
diff --git a/arch/arm/mach-spear/spear1310.c b/arch/arm/mach-spear/spear1310.c index d9ce4d8000f0..cd5d375d91f0 100644 --- a/arch/arm/mach-spear/spear1310.c +++ b/arch/arm/mach-spear/spear1310.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * SPEAr1310 machine source file | 4 | * SPEAr1310 machine source file |
5 | * | 5 | * |
6 | * Copyright (C) 2012 ST Microelectronics | 6 | * Copyright (C) 2012 ST Microelectronics |
7 | * Viresh Kumar <viresh.linux@gmail.com> | 7 | * Viresh Kumar <vireshk@kernel.org> |
8 | * | 8 | * |
9 | * This file is licensed under the terms of the GNU General Public | 9 | * This file is licensed under the terms of the GNU General Public |
10 | * License version 2. This program is licensed "as is" without any | 10 | * License version 2. This program is licensed "as is" without any |
diff --git a/arch/arm/mach-spear/spear1340.c b/arch/arm/mach-spear/spear1340.c index 3f3c0f124bd3..94594d5a446c 100644 --- a/arch/arm/mach-spear/spear1340.c +++ b/arch/arm/mach-spear/spear1340.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * SPEAr1340 machine source file | 4 | * SPEAr1340 machine source file |
5 | * | 5 | * |
6 | * Copyright (C) 2012 ST Microelectronics | 6 | * Copyright (C) 2012 ST Microelectronics |
7 | * Viresh Kumar <viresh.linux@gmail.com> | 7 | * Viresh Kumar <vireshk@kernel.org> |
8 | * | 8 | * |
9 | * This file is licensed under the terms of the GNU General Public | 9 | * This file is licensed under the terms of the GNU General Public |
10 | * License version 2. This program is licensed "as is" without any | 10 | * License version 2. This program is licensed "as is" without any |
diff --git a/arch/arm/mach-spear/spear13xx.c b/arch/arm/mach-spear/spear13xx.c index 2e463a93468d..b7afce6795f4 100644 --- a/arch/arm/mach-spear/spear13xx.c +++ b/arch/arm/mach-spear/spear13xx.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * SPEAr13XX machines common source file | 4 | * SPEAr13XX machines common source file |
5 | * | 5 | * |
6 | * Copyright (C) 2012 ST Microelectronics | 6 | * Copyright (C) 2012 ST Microelectronics |
7 | * Viresh Kumar <viresh.linux@gmail.com> | 7 | * Viresh Kumar <vireshk@kernel.org> |
8 | * | 8 | * |
9 | * This file is licensed under the terms of the GNU General Public | 9 | * This file is licensed under the terms of the GNU General Public |
10 | * License version 2. This program is licensed "as is" without any | 10 | * License version 2. This program is licensed "as is" without any |
diff --git a/arch/arm/mach-spear/spear300.c b/arch/arm/mach-spear/spear300.c index b52e48f342f4..5b32edda2276 100644 --- a/arch/arm/mach-spear/spear300.c +++ b/arch/arm/mach-spear/spear300.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * SPEAr300 machine source file | 4 | * SPEAr300 machine source file |
5 | * | 5 | * |
6 | * Copyright (C) 2009-2012 ST Microelectronics | 6 | * Copyright (C) 2009-2012 ST Microelectronics |
7 | * Viresh Kumar <viresh.linux@gmail.com> | 7 | * Viresh Kumar <vireshk@kernel.org> |
8 | * | 8 | * |
9 | * This file is licensed under the terms of the GNU General Public | 9 | * This file is licensed under the terms of the GNU General Public |
10 | * License version 2. This program is licensed "as is" without any | 10 | * License version 2. This program is licensed "as is" without any |
diff --git a/arch/arm/mach-spear/spear310.c b/arch/arm/mach-spear/spear310.c index ed2029db391f..86a44ac7ff67 100644 --- a/arch/arm/mach-spear/spear310.c +++ b/arch/arm/mach-spear/spear310.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * SPEAr310 machine source file | 4 | * SPEAr310 machine source file |
5 | * | 5 | * |
6 | * Copyright (C) 2009-2012 ST Microelectronics | 6 | * Copyright (C) 2009-2012 ST Microelectronics |
7 | * Viresh Kumar <viresh.linux@gmail.com> | 7 | * Viresh Kumar <vireshk@kernel.org> |
8 | * | 8 | * |
9 | * This file is licensed under the terms of the GNU General Public | 9 | * This file is licensed under the terms of the GNU General Public |
10 | * License version 2. This program is licensed "as is" without any | 10 | * License version 2. This program is licensed "as is" without any |
diff --git a/arch/arm/mach-spear/spear320.c b/arch/arm/mach-spear/spear320.c index bf634b32a930..d45d751926c5 100644 --- a/arch/arm/mach-spear/spear320.c +++ b/arch/arm/mach-spear/spear320.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * SPEAr320 machine source file | 4 | * SPEAr320 machine source file |
5 | * | 5 | * |
6 | * Copyright (C) 2009-2012 ST Microelectronics | 6 | * Copyright (C) 2009-2012 ST Microelectronics |
7 | * Viresh Kumar <viresh.linux@gmail.com> | 7 | * Viresh Kumar <vireshk@kernel.org> |
8 | * | 8 | * |
9 | * This file is licensed under the terms of the GNU General Public | 9 | * This file is licensed under the terms of the GNU General Public |
10 | * License version 2. This program is licensed "as is" without any | 10 | * License version 2. This program is licensed "as is" without any |
diff --git a/arch/arm/mach-spear/spear3xx.c b/arch/arm/mach-spear/spear3xx.c index bf3b1fd8cb23..23394ac76cf2 100644 --- a/arch/arm/mach-spear/spear3xx.c +++ b/arch/arm/mach-spear/spear3xx.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * SPEAr3XX machines common source file | 4 | * SPEAr3XX machines common source file |
5 | * | 5 | * |
6 | * Copyright (C) 2009-2012 ST Microelectronics | 6 | * Copyright (C) 2009-2012 ST Microelectronics |
7 | * Viresh Kumar <viresh.linux@gmail.com> | 7 | * Viresh Kumar <vireshk@kernel.org> |
8 | * | 8 | * |
9 | * This file is licensed under the terms of the GNU General Public | 9 | * This file is licensed under the terms of the GNU General Public |
10 | * License version 2. This program is licensed "as is" without any | 10 | * License version 2. This program is licensed "as is" without any |
diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c index 1ced8a0f7a52..cba12f34ff77 100644 --- a/arch/arm/mm/dma-mapping.c +++ b/arch/arm/mm/dma-mapping.c | |||
@@ -1971,7 +1971,7 @@ static int extend_iommu_mapping(struct dma_iommu_mapping *mapping) | |||
1971 | { | 1971 | { |
1972 | int next_bitmap; | 1972 | int next_bitmap; |
1973 | 1973 | ||
1974 | if (mapping->nr_bitmaps > mapping->extensions) | 1974 | if (mapping->nr_bitmaps >= mapping->extensions) |
1975 | return -EINVAL; | 1975 | return -EINVAL; |
1976 | 1976 | ||
1977 | next_bitmap = mapping->nr_bitmaps; | 1977 | next_bitmap = mapping->nr_bitmaps; |
diff --git a/arch/arm/mm/proc-v7.S b/arch/arm/mm/proc-v7.S index 0716bbe19872..de2b246fed38 100644 --- a/arch/arm/mm/proc-v7.S +++ b/arch/arm/mm/proc-v7.S | |||
@@ -274,7 +274,10 @@ __v7_ca15mp_setup: | |||
274 | __v7_b15mp_setup: | 274 | __v7_b15mp_setup: |
275 | __v7_ca17mp_setup: | 275 | __v7_ca17mp_setup: |
276 | mov r10, #0 | 276 | mov r10, #0 |
277 | 1: | 277 | 1: adr r12, __v7_setup_stack @ the local stack |
278 | stmia r12, {r0-r5, lr} @ v7_invalidate_l1 touches r0-r6 | ||
279 | bl v7_invalidate_l1 | ||
280 | ldmia r12, {r0-r5, lr} | ||
278 | #ifdef CONFIG_SMP | 281 | #ifdef CONFIG_SMP |
279 | ALT_SMP(mrc p15, 0, r0, c1, c0, 1) | 282 | ALT_SMP(mrc p15, 0, r0, c1, c0, 1) |
280 | ALT_UP(mov r0, #(1 << 6)) @ fake it for UP | 283 | ALT_UP(mov r0, #(1 << 6)) @ fake it for UP |
@@ -283,7 +286,7 @@ __v7_ca17mp_setup: | |||
283 | orreq r0, r0, r10 @ Enable CPU-specific SMP bits | 286 | orreq r0, r0, r10 @ Enable CPU-specific SMP bits |
284 | mcreq p15, 0, r0, c1, c0, 1 | 287 | mcreq p15, 0, r0, c1, c0, 1 |
285 | #endif | 288 | #endif |
286 | b __v7_setup | 289 | b __v7_setup_cont |
287 | 290 | ||
288 | /* | 291 | /* |
289 | * Errata: | 292 | * Errata: |
@@ -413,10 +416,11 @@ __v7_pj4b_setup: | |||
413 | 416 | ||
414 | __v7_setup: | 417 | __v7_setup: |
415 | adr r12, __v7_setup_stack @ the local stack | 418 | adr r12, __v7_setup_stack @ the local stack |
416 | stmia r12, {r0-r5, r7, r9, r11, lr} | 419 | stmia r12, {r0-r5, lr} @ v7_invalidate_l1 touches r0-r6 |
417 | bl v7_invalidate_l1 | 420 | bl v7_invalidate_l1 |
418 | ldmia r12, {r0-r5, r7, r9, r11, lr} | 421 | ldmia r12, {r0-r5, lr} |
419 | 422 | ||
423 | __v7_setup_cont: | ||
420 | and r0, r9, #0xff000000 @ ARM? | 424 | and r0, r9, #0xff000000 @ ARM? |
421 | teq r0, #0x41000000 | 425 | teq r0, #0x41000000 |
422 | bne __errata_finish | 426 | bne __errata_finish |
@@ -480,7 +484,7 @@ ENDPROC(__v7_setup) | |||
480 | 484 | ||
481 | .align 2 | 485 | .align 2 |
482 | __v7_setup_stack: | 486 | __v7_setup_stack: |
483 | .space 4 * 11 @ 11 registers | 487 | .space 4 * 7 @ 12 registers |
484 | 488 | ||
485 | __INITDATA | 489 | __INITDATA |
486 | 490 | ||
diff --git a/arch/arm/net/bpf_jit_32.c b/arch/arm/net/bpf_jit_32.c index 4550d247e308..c011e2296cb1 100644 --- a/arch/arm/net/bpf_jit_32.c +++ b/arch/arm/net/bpf_jit_32.c | |||
@@ -74,32 +74,52 @@ struct jit_ctx { | |||
74 | 74 | ||
75 | int bpf_jit_enable __read_mostly; | 75 | int bpf_jit_enable __read_mostly; |
76 | 76 | ||
77 | static u64 jit_get_skb_b(struct sk_buff *skb, unsigned offset) | 77 | static inline int call_neg_helper(struct sk_buff *skb, int offset, void *ret, |
78 | unsigned int size) | ||
79 | { | ||
80 | void *ptr = bpf_internal_load_pointer_neg_helper(skb, offset, size); | ||
81 | |||
82 | if (!ptr) | ||
83 | return -EFAULT; | ||
84 | memcpy(ret, ptr, size); | ||
85 | return 0; | ||
86 | } | ||
87 | |||
88 | static u64 jit_get_skb_b(struct sk_buff *skb, int offset) | ||
78 | { | 89 | { |
79 | u8 ret; | 90 | u8 ret; |
80 | int err; | 91 | int err; |
81 | 92 | ||
82 | err = skb_copy_bits(skb, offset, &ret, 1); | 93 | if (offset < 0) |
94 | err = call_neg_helper(skb, offset, &ret, 1); | ||
95 | else | ||
96 | err = skb_copy_bits(skb, offset, &ret, 1); | ||
83 | 97 | ||
84 | return (u64)err << 32 | ret; | 98 | return (u64)err << 32 | ret; |
85 | } | 99 | } |
86 | 100 | ||
87 | static u64 jit_get_skb_h(struct sk_buff *skb, unsigned offset) | 101 | static u64 jit_get_skb_h(struct sk_buff *skb, int offset) |
88 | { | 102 | { |
89 | u16 ret; | 103 | u16 ret; |
90 | int err; | 104 | int err; |
91 | 105 | ||
92 | err = skb_copy_bits(skb, offset, &ret, 2); | 106 | if (offset < 0) |
107 | err = call_neg_helper(skb, offset, &ret, 2); | ||
108 | else | ||
109 | err = skb_copy_bits(skb, offset, &ret, 2); | ||
93 | 110 | ||
94 | return (u64)err << 32 | ntohs(ret); | 111 | return (u64)err << 32 | ntohs(ret); |
95 | } | 112 | } |
96 | 113 | ||
97 | static u64 jit_get_skb_w(struct sk_buff *skb, unsigned offset) | 114 | static u64 jit_get_skb_w(struct sk_buff *skb, int offset) |
98 | { | 115 | { |
99 | u32 ret; | 116 | u32 ret; |
100 | int err; | 117 | int err; |
101 | 118 | ||
102 | err = skb_copy_bits(skb, offset, &ret, 4); | 119 | if (offset < 0) |
120 | err = call_neg_helper(skb, offset, &ret, 4); | ||
121 | else | ||
122 | err = skb_copy_bits(skb, offset, &ret, 4); | ||
103 | 123 | ||
104 | return (u64)err << 32 | ntohl(ret); | 124 | return (u64)err << 32 | ntohl(ret); |
105 | } | 125 | } |
@@ -536,9 +556,6 @@ static int build_body(struct jit_ctx *ctx) | |||
536 | case BPF_LD | BPF_B | BPF_ABS: | 556 | case BPF_LD | BPF_B | BPF_ABS: |
537 | load_order = 0; | 557 | load_order = 0; |
538 | load: | 558 | load: |
539 | /* the interpreter will deal with the negative K */ | ||
540 | if ((int)k < 0) | ||
541 | return -ENOTSUPP; | ||
542 | emit_mov_i(r_off, k, ctx); | 559 | emit_mov_i(r_off, k, ctx); |
543 | load_common: | 560 | load_common: |
544 | ctx->seen |= SEEN_DATA | SEEN_CALL; | 561 | ctx->seen |= SEEN_DATA | SEEN_CALL; |
@@ -547,12 +564,24 @@ load_common: | |||
547 | emit(ARM_SUB_I(r_scratch, r_skb_hl, | 564 | emit(ARM_SUB_I(r_scratch, r_skb_hl, |
548 | 1 << load_order), ctx); | 565 | 1 << load_order), ctx); |
549 | emit(ARM_CMP_R(r_scratch, r_off), ctx); | 566 | emit(ARM_CMP_R(r_scratch, r_off), ctx); |
550 | condt = ARM_COND_HS; | 567 | condt = ARM_COND_GE; |
551 | } else { | 568 | } else { |
552 | emit(ARM_CMP_R(r_skb_hl, r_off), ctx); | 569 | emit(ARM_CMP_R(r_skb_hl, r_off), ctx); |
553 | condt = ARM_COND_HI; | 570 | condt = ARM_COND_HI; |
554 | } | 571 | } |
555 | 572 | ||
573 | /* | ||
574 | * test for negative offset, only if we are | ||
575 | * currently scheduled to take the fast | ||
576 | * path. this will update the flags so that | ||
577 | * the slowpath instruction are ignored if the | ||
578 | * offset is negative. | ||
579 | * | ||
580 | * for loard_order == 0 the HI condition will | ||
581 | * make loads at offset 0 take the slow path too. | ||
582 | */ | ||
583 | _emit(condt, ARM_CMP_I(r_off, 0), ctx); | ||
584 | |||
556 | _emit(condt, ARM_ADD_R(r_scratch, r_off, r_skb_data), | 585 | _emit(condt, ARM_ADD_R(r_scratch, r_off, r_skb_data), |
557 | ctx); | 586 | ctx); |
558 | 587 | ||
@@ -860,9 +889,11 @@ b_epilogue: | |||
860 | off = offsetof(struct sk_buff, vlan_tci); | 889 | off = offsetof(struct sk_buff, vlan_tci); |
861 | emit(ARM_LDRH_I(r_A, r_skb, off), ctx); | 890 | emit(ARM_LDRH_I(r_A, r_skb, off), ctx); |
862 | if (code == (BPF_ANC | SKF_AD_VLAN_TAG)) | 891 | if (code == (BPF_ANC | SKF_AD_VLAN_TAG)) |
863 | OP_IMM3(ARM_AND, r_A, r_A, VLAN_VID_MASK, ctx); | 892 | OP_IMM3(ARM_AND, r_A, r_A, ~VLAN_TAG_PRESENT, ctx); |
864 | else | 893 | else { |
865 | OP_IMM3(ARM_AND, r_A, r_A, VLAN_TAG_PRESENT, ctx); | 894 | OP_IMM3(ARM_LSR, r_A, r_A, 12, ctx); |
895 | OP_IMM3(ARM_AND, r_A, r_A, 0x1, ctx); | ||
896 | } | ||
866 | break; | 897 | break; |
867 | case BPF_ANC | SKF_AD_QUEUE: | 898 | case BPF_ANC | SKF_AD_QUEUE: |
868 | ctx->seen |= SEEN_SKB; | 899 | ctx->seen |= SEEN_SKB; |
diff --git a/arch/arm/vdso/Makefile b/arch/arm/vdso/Makefile index 9d259d94e429..1160434eece0 100644 --- a/arch/arm/vdso/Makefile +++ b/arch/arm/vdso/Makefile | |||
@@ -14,7 +14,7 @@ VDSO_LDFLAGS += -Wl,-z,max-page-size=4096 -Wl,-z,common-page-size=4096 | |||
14 | VDSO_LDFLAGS += -nostdlib -shared | 14 | VDSO_LDFLAGS += -nostdlib -shared |
15 | VDSO_LDFLAGS += $(call cc-ldoption, -Wl$(comma)--hash-style=sysv) | 15 | VDSO_LDFLAGS += $(call cc-ldoption, -Wl$(comma)--hash-style=sysv) |
16 | VDSO_LDFLAGS += $(call cc-ldoption, -Wl$(comma)--build-id) | 16 | VDSO_LDFLAGS += $(call cc-ldoption, -Wl$(comma)--build-id) |
17 | VDSO_LDFLAGS += $(call cc-option, -fuse-ld=bfd) | 17 | VDSO_LDFLAGS += $(call cc-ldoption, -fuse-ld=bfd) |
18 | 18 | ||
19 | obj-$(CONFIG_VDSO) += vdso.o | 19 | obj-$(CONFIG_VDSO) += vdso.o |
20 | extra-$(CONFIG_VDSO) += vdso.lds | 20 | extra-$(CONFIG_VDSO) += vdso.lds |