diff options
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/arm/boot/dts/Makefile | 3 | ||||
| -rw-r--r-- | arch/arm/boot/dts/am335x-evmsk.dts | 11 | ||||
| -rw-r--r-- | arch/arm/boot/dts/omap3-gta04.dts | 6 | ||||
| -rw-r--r-- | arch/arm/boot/dts/omap3-n9.dts | 2 | ||||
| -rw-r--r-- | arch/arm/boot/dts/omap3-n900.dts | 4 | ||||
| -rw-r--r-- | arch/arm/boot/dts/omap3-n950.dts | 2 | ||||
| -rw-r--r-- | arch/arm/boot/dts/omap3-overo-storm-tobi.dts | 22 | ||||
| -rw-r--r-- | arch/arm/boot/dts/omap3-overo-tobi-common.dtsi (renamed from arch/arm/boot/dts/omap3-tobi.dts) | 3 | ||||
| -rw-r--r-- | arch/arm/boot/dts/omap3-overo-tobi.dts | 22 | ||||
| -rw-r--r-- | arch/arm/boot/dts/omap3-overo.dtsi | 3 | ||||
| -rw-r--r-- | arch/arm/mach-omap1/board-nokia770.c | 1 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/Kconfig | 8 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/gpmc.c | 4 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/io.c | 9 |
14 files changed, 71 insertions, 29 deletions
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index b9d6a8b485e0..e8355f4d8b0c 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile | |||
| @@ -208,7 +208,8 @@ dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \ | |||
| 208 | omap3-n900.dtb \ | 208 | omap3-n900.dtb \ |
| 209 | omap3-n9.dtb \ | 209 | omap3-n9.dtb \ |
| 210 | omap3-n950.dtb \ | 210 | omap3-n950.dtb \ |
| 211 | omap3-tobi.dtb \ | 211 | omap3-overo-tobi.dtb \ |
| 212 | omap3-overo-storm-tobi.dtb \ | ||
| 212 | omap3-gta04.dtb \ | 213 | omap3-gta04.dtb \ |
| 213 | omap3-igep0020.dtb \ | 214 | omap3-igep0020.dtb \ |
| 214 | omap3-igep0030.dtb \ | 215 | omap3-igep0030.dtb \ |
diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts index 4718ec4a4dbf..486880b74831 100644 --- a/arch/arm/boot/dts/am335x-evmsk.dts +++ b/arch/arm/boot/dts/am335x-evmsk.dts | |||
| @@ -121,7 +121,7 @@ | |||
| 121 | ti,model = "AM335x-EVMSK"; | 121 | ti,model = "AM335x-EVMSK"; |
| 122 | ti,audio-codec = <&tlv320aic3106>; | 122 | ti,audio-codec = <&tlv320aic3106>; |
| 123 | ti,mcasp-controller = <&mcasp1>; | 123 | ti,mcasp-controller = <&mcasp1>; |
| 124 | ti,codec-clock-rate = <24576000>; | 124 | ti,codec-clock-rate = <24000000>; |
| 125 | ti,audio-routing = | 125 | ti,audio-routing = |
| 126 | "Headphone Jack", "HPLOUT", | 126 | "Headphone Jack", "HPLOUT", |
| 127 | "Headphone Jack", "HPROUT"; | 127 | "Headphone Jack", "HPROUT"; |
| @@ -256,6 +256,12 @@ | |||
| 256 | >; | 256 | >; |
| 257 | }; | 257 | }; |
| 258 | 258 | ||
| 259 | mmc1_pins: pinmux_mmc1_pins { | ||
| 260 | pinctrl-single,pins = < | ||
| 261 | 0x160 (PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 */ | ||
| 262 | >; | ||
| 263 | }; | ||
| 264 | |||
| 259 | mcasp1_pins: mcasp1_pins { | 265 | mcasp1_pins: mcasp1_pins { |
| 260 | pinctrl-single,pins = < | 266 | pinctrl-single,pins = < |
| 261 | 0x10c (PIN_INPUT_PULLDOWN | MUX_MODE4) /* mii1_crs.mcasp1_aclkx */ | 267 | 0x10c (PIN_INPUT_PULLDOWN | MUX_MODE4) /* mii1_crs.mcasp1_aclkx */ |
| @@ -456,6 +462,9 @@ | |||
| 456 | status = "okay"; | 462 | status = "okay"; |
| 457 | vmmc-supply = <&vmmc_reg>; | 463 | vmmc-supply = <&vmmc_reg>; |
| 458 | bus-width = <4>; | 464 | bus-width = <4>; |
| 465 | pinctrl-names = "default"; | ||
| 466 | pinctrl-0 = <&mmc1_pins>; | ||
| 467 | cd-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>; | ||
| 459 | }; | 468 | }; |
| 460 | 469 | ||
| 461 | &sham { | 470 | &sham { |
diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts index b9b55c95a566..c551e4af4d83 100644 --- a/arch/arm/boot/dts/omap3-gta04.dts +++ b/arch/arm/boot/dts/omap3-gta04.dts | |||
| @@ -32,7 +32,7 @@ | |||
| 32 | aux-button { | 32 | aux-button { |
| 33 | label = "aux"; | 33 | label = "aux"; |
| 34 | linux,code = <169>; | 34 | linux,code = <169>; |
| 35 | gpios = <&gpio1 7 GPIO_ACTIVE_LOW>; | 35 | gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>; |
| 36 | gpio-key,wakeup; | 36 | gpio-key,wakeup; |
| 37 | }; | 37 | }; |
| 38 | }; | 38 | }; |
| @@ -92,6 +92,8 @@ | |||
| 92 | bmp085@77 { | 92 | bmp085@77 { |
| 93 | compatible = "bosch,bmp085"; | 93 | compatible = "bosch,bmp085"; |
| 94 | reg = <0x77>; | 94 | reg = <0x77>; |
| 95 | interrupt-parent = <&gpio4>; | ||
| 96 | interrupts = <17 IRQ_TYPE_EDGE_RISING>; | ||
| 95 | }; | 97 | }; |
| 96 | 98 | ||
| 97 | /* leds */ | 99 | /* leds */ |
| @@ -141,8 +143,8 @@ | |||
| 141 | pinctrl-names = "default"; | 143 | pinctrl-names = "default"; |
| 142 | pinctrl-0 = <&mmc1_pins>; | 144 | pinctrl-0 = <&mmc1_pins>; |
| 143 | vmmc-supply = <&vmmc1>; | 145 | vmmc-supply = <&vmmc1>; |
| 144 | vmmc_aux-supply = <&vsim>; | ||
| 145 | bus-width = <4>; | 146 | bus-width = <4>; |
| 147 | ti,non-removable; | ||
| 146 | }; | 148 | }; |
| 147 | 149 | ||
| 148 | &mmc2 { | 150 | &mmc2 { |
diff --git a/arch/arm/boot/dts/omap3-n9.dts b/arch/arm/boot/dts/omap3-n9.dts index 39828ce464ee..9938b5dc1909 100644 --- a/arch/arm/boot/dts/omap3-n9.dts +++ b/arch/arm/boot/dts/omap3-n9.dts | |||
| @@ -14,5 +14,5 @@ | |||
| 14 | 14 | ||
| 15 | / { | 15 | / { |
| 16 | model = "Nokia N9"; | 16 | model = "Nokia N9"; |
| 17 | compatible = "nokia,omap3-n9", "ti,omap3"; | 17 | compatible = "nokia,omap3-n9", "ti,omap36xx", "ti,omap3"; |
| 18 | }; | 18 | }; |
diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts index 6fc85f963530..0bf40c90faba 100644 --- a/arch/arm/boot/dts/omap3-n900.dts +++ b/arch/arm/boot/dts/omap3-n900.dts | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Copyright (C) 2013 Pavel Machek <pavel@ucw.cz> | 2 | * Copyright (C) 2013 Pavel Machek <pavel@ucw.cz> |
| 3 | * Copyright 2013 Aaro Koskinen <aaro.koskinen@iki.fi> | 3 | * Copyright (C) 2013-2014 Aaro Koskinen <aaro.koskinen@iki.fi> |
| 4 | * | 4 | * |
| 5 | * This program is free software; you can redistribute it and/or modify | 5 | * This program is free software; you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License version 2 (or later) as | 6 | * it under the terms of the GNU General Public License version 2 (or later) as |
| @@ -13,7 +13,7 @@ | |||
| 13 | 13 | ||
| 14 | / { | 14 | / { |
| 15 | model = "Nokia N900"; | 15 | model = "Nokia N900"; |
| 16 | compatible = "nokia,omap3-n900", "ti,omap3"; | 16 | compatible = "nokia,omap3-n900", "ti,omap3430", "ti,omap3"; |
| 17 | 17 | ||
| 18 | cpus { | 18 | cpus { |
| 19 | cpu@0 { | 19 | cpu@0 { |
diff --git a/arch/arm/boot/dts/omap3-n950.dts b/arch/arm/boot/dts/omap3-n950.dts index b076a526b999..261c5589bfa3 100644 --- a/arch/arm/boot/dts/omap3-n950.dts +++ b/arch/arm/boot/dts/omap3-n950.dts | |||
| @@ -14,5 +14,5 @@ | |||
| 14 | 14 | ||
| 15 | / { | 15 | / { |
| 16 | model = "Nokia N950"; | 16 | model = "Nokia N950"; |
| 17 | compatible = "nokia,omap3-n950", "ti,omap3"; | 17 | compatible = "nokia,omap3-n950", "ti,omap36xx", "ti,omap3"; |
| 18 | }; | 18 | }; |
diff --git a/arch/arm/boot/dts/omap3-overo-storm-tobi.dts b/arch/arm/boot/dts/omap3-overo-storm-tobi.dts new file mode 100644 index 000000000000..966b5c9cd96a --- /dev/null +++ b/arch/arm/boot/dts/omap3-overo-storm-tobi.dts | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (C) 2012 Florian Vaussard, EPFL Mobots group | ||
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | ||
| 8 | |||
| 9 | /* | ||
| 10 | * Tobi expansion board is manufactured by Gumstix Inc. | ||
| 11 | */ | ||
| 12 | |||
| 13 | /dts-v1/; | ||
| 14 | |||
| 15 | #include "omap36xx.dtsi" | ||
| 16 | #include "omap3-overo-tobi-common.dtsi" | ||
| 17 | |||
| 18 | / { | ||
| 19 | model = "OMAP36xx/AM37xx/DM37xx Gumstix Overo on Tobi"; | ||
| 20 | compatible = "gumstix,omap3-overo-tobi", "gumstix,omap3-overo", "ti,omap36xx", "ti,omap3"; | ||
| 21 | }; | ||
| 22 | |||
diff --git a/arch/arm/boot/dts/omap3-tobi.dts b/arch/arm/boot/dts/omap3-overo-tobi-common.dtsi index 7e4ad2aec37a..4edc013a91c1 100644 --- a/arch/arm/boot/dts/omap3-tobi.dts +++ b/arch/arm/boot/dts/omap3-overo-tobi-common.dtsi | |||
| @@ -13,9 +13,6 @@ | |||
| 13 | #include "omap3-overo.dtsi" | 13 | #include "omap3-overo.dtsi" |
| 14 | 14 | ||
| 15 | / { | 15 | / { |
| 16 | model = "TI OMAP3 Gumstix Overo on Tobi"; | ||
| 17 | compatible = "ti,omap3-tobi", "ti,omap3-overo", "ti,omap3"; | ||
| 18 | |||
| 19 | leds { | 16 | leds { |
| 20 | compatible = "gpio-leds"; | 17 | compatible = "gpio-leds"; |
| 21 | heartbeat { | 18 | heartbeat { |
diff --git a/arch/arm/boot/dts/omap3-overo-tobi.dts b/arch/arm/boot/dts/omap3-overo-tobi.dts new file mode 100644 index 000000000000..de5653e1b5ca --- /dev/null +++ b/arch/arm/boot/dts/omap3-overo-tobi.dts | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (C) 2012 Florian Vaussard, EPFL Mobots group | ||
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | ||
| 8 | |||
| 9 | /* | ||
| 10 | * Tobi expansion board is manufactured by Gumstix Inc. | ||
| 11 | */ | ||
| 12 | |||
| 13 | /dts-v1/; | ||
| 14 | |||
| 15 | #include "omap34xx.dtsi" | ||
| 16 | #include "omap3-overo-tobi-common.dtsi" | ||
| 17 | |||
| 18 | / { | ||
| 19 | model = "OMAP35xx Gumstix Overo on Tobi"; | ||
| 20 | compatible = "gumstix,omap3-overo-tobi", "gumstix,omap3-overo", "ti,omap3430", "ti,omap3"; | ||
| 21 | }; | ||
| 22 | |||
diff --git a/arch/arm/boot/dts/omap3-overo.dtsi b/arch/arm/boot/dts/omap3-overo.dtsi index a461d2fd1fb0..597099907f8e 100644 --- a/arch/arm/boot/dts/omap3-overo.dtsi +++ b/arch/arm/boot/dts/omap3-overo.dtsi | |||
| @@ -9,9 +9,6 @@ | |||
| 9 | /* | 9 | /* |
| 10 | * The Gumstix Overo must be combined with an expansion board. | 10 | * The Gumstix Overo must be combined with an expansion board. |
| 11 | */ | 11 | */ |
| 12 | /dts-v1/; | ||
| 13 | |||
| 14 | #include "omap34xx.dtsi" | ||
| 15 | 12 | ||
| 16 | / { | 13 | / { |
| 17 | pwmleds { | 14 | pwmleds { |
diff --git a/arch/arm/mach-omap1/board-nokia770.c b/arch/arm/mach-omap1/board-nokia770.c index 91449c5cb70f..85089d821982 100644 --- a/arch/arm/mach-omap1/board-nokia770.c +++ b/arch/arm/mach-omap1/board-nokia770.c | |||
| @@ -156,6 +156,7 @@ static struct omap_usb_config nokia770_usb_config __initdata = { | |||
| 156 | .register_dev = 1, | 156 | .register_dev = 1, |
| 157 | .hmc_mode = 16, | 157 | .hmc_mode = 16, |
| 158 | .pins[0] = 6, | 158 | .pins[0] = 6, |
| 159 | .extcon = "tahvo-usb", | ||
| 159 | }; | 160 | }; |
| 160 | 161 | ||
| 161 | #if defined(CONFIG_MMC_OMAP) || defined(CONFIG_MMC_OMAP_MODULE) | 162 | #if defined(CONFIG_MMC_OMAP) || defined(CONFIG_MMC_OMAP_MODULE) |
diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index 653b489479e0..9320252ca43a 100644 --- a/arch/arm/mach-omap2/Kconfig +++ b/arch/arm/mach-omap2/Kconfig | |||
| @@ -50,6 +50,7 @@ config SOC_OMAP5 | |||
| 50 | bool "TI OMAP5" | 50 | bool "TI OMAP5" |
| 51 | depends on ARCH_MULTI_V7 | 51 | depends on ARCH_MULTI_V7 |
| 52 | select ARCH_OMAP2PLUS | 52 | select ARCH_OMAP2PLUS |
| 53 | select ARCH_HAS_OPP | ||
| 53 | select ARM_CPU_SUSPEND if PM | 54 | select ARM_CPU_SUSPEND if PM |
| 54 | select ARM_GIC | 55 | select ARM_GIC |
| 55 | select CPU_V7 | 56 | select CPU_V7 |
| @@ -63,6 +64,7 @@ config SOC_AM33XX | |||
| 63 | bool "TI AM33XX" | 64 | bool "TI AM33XX" |
| 64 | depends on ARCH_MULTI_V7 | 65 | depends on ARCH_MULTI_V7 |
| 65 | select ARCH_OMAP2PLUS | 66 | select ARCH_OMAP2PLUS |
| 67 | select ARCH_HAS_OPP | ||
| 66 | select ARM_CPU_SUSPEND if PM | 68 | select ARM_CPU_SUSPEND if PM |
| 67 | select CPU_V7 | 69 | select CPU_V7 |
| 68 | select MULTI_IRQ_HANDLER | 70 | select MULTI_IRQ_HANDLER |
| @@ -72,6 +74,7 @@ config SOC_AM43XX | |||
| 72 | depends on ARCH_MULTI_V7 | 74 | depends on ARCH_MULTI_V7 |
| 73 | select CPU_V7 | 75 | select CPU_V7 |
| 74 | select ARCH_OMAP2PLUS | 76 | select ARCH_OMAP2PLUS |
| 77 | select ARCH_HAS_OPP | ||
| 75 | select MULTI_IRQ_HANDLER | 78 | select MULTI_IRQ_HANDLER |
| 76 | select ARM_GIC | 79 | select ARM_GIC |
| 77 | select MACH_OMAP_GENERIC | 80 | select MACH_OMAP_GENERIC |
| @@ -80,6 +83,7 @@ config SOC_DRA7XX | |||
| 80 | bool "TI DRA7XX" | 83 | bool "TI DRA7XX" |
| 81 | depends on ARCH_MULTI_V7 | 84 | depends on ARCH_MULTI_V7 |
| 82 | select ARCH_OMAP2PLUS | 85 | select ARCH_OMAP2PLUS |
| 86 | select ARCH_HAS_OPP | ||
| 83 | select ARM_CPU_SUSPEND if PM | 87 | select ARM_CPU_SUSPEND if PM |
| 84 | select ARM_GIC | 88 | select ARM_GIC |
| 85 | select CPU_V7 | 89 | select CPU_V7 |
| @@ -268,9 +272,6 @@ config MACH_OMAP_3430SDP | |||
| 268 | default y | 272 | default y |
| 269 | select OMAP_PACKAGE_CBB | 273 | select OMAP_PACKAGE_CBB |
| 270 | 274 | ||
| 271 | config MACH_NOKIA_N800 | ||
| 272 | bool | ||
| 273 | |||
| 274 | config MACH_NOKIA_N810 | 275 | config MACH_NOKIA_N810 |
| 275 | bool | 276 | bool |
| 276 | 277 | ||
| @@ -281,7 +282,6 @@ config MACH_NOKIA_N8X0 | |||
| 281 | bool "Nokia N800/N810" | 282 | bool "Nokia N800/N810" |
| 282 | depends on SOC_OMAP2420 | 283 | depends on SOC_OMAP2420 |
| 283 | default y | 284 | default y |
| 284 | select MACH_NOKIA_N800 | ||
| 285 | select MACH_NOKIA_N810 | 285 | select MACH_NOKIA_N810 |
| 286 | select MACH_NOKIA_N810_WIMAX | 286 | select MACH_NOKIA_N810_WIMAX |
| 287 | select OMAP_PACKAGE_ZAC | 287 | select OMAP_PACKAGE_ZAC |
diff --git a/arch/arm/mach-omap2/gpmc.c b/arch/arm/mach-omap2/gpmc.c index d24926e6340f..ab43755364f5 100644 --- a/arch/arm/mach-omap2/gpmc.c +++ b/arch/arm/mach-omap2/gpmc.c | |||
| @@ -1339,7 +1339,7 @@ static void __maybe_unused gpmc_read_timings_dt(struct device_node *np, | |||
| 1339 | of_property_read_bool(np, "gpmc,time-para-granularity"); | 1339 | of_property_read_bool(np, "gpmc,time-para-granularity"); |
| 1340 | } | 1340 | } |
| 1341 | 1341 | ||
| 1342 | #ifdef CONFIG_MTD_NAND | 1342 | #if IS_ENABLED(CONFIG_MTD_NAND) |
| 1343 | 1343 | ||
| 1344 | static const char * const nand_xfer_types[] = { | 1344 | static const char * const nand_xfer_types[] = { |
| 1345 | [NAND_OMAP_PREFETCH_POLLED] = "prefetch-polled", | 1345 | [NAND_OMAP_PREFETCH_POLLED] = "prefetch-polled", |
| @@ -1429,7 +1429,7 @@ static int gpmc_probe_nand_child(struct platform_device *pdev, | |||
| 1429 | } | 1429 | } |
| 1430 | #endif | 1430 | #endif |
| 1431 | 1431 | ||
| 1432 | #ifdef CONFIG_MTD_ONENAND | 1432 | #if IS_ENABLED(CONFIG_MTD_ONENAND) |
| 1433 | static int gpmc_probe_onenand_child(struct platform_device *pdev, | 1433 | static int gpmc_probe_onenand_child(struct platform_device *pdev, |
| 1434 | struct device_node *child) | 1434 | struct device_node *child) |
| 1435 | { | 1435 | { |
diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c index d408b15b4fbf..af432b191255 100644 --- a/arch/arm/mach-omap2/io.c +++ b/arch/arm/mach-omap2/io.c | |||
| @@ -179,15 +179,6 @@ static struct map_desc omap34xx_io_desc[] __initdata = { | |||
| 179 | .length = L4_EMU_34XX_SIZE, | 179 | .length = L4_EMU_34XX_SIZE, |
| 180 | .type = MT_DEVICE | 180 | .type = MT_DEVICE |
| 181 | }, | 181 | }, |
| 182 | #if defined(CONFIG_DEBUG_LL) && \ | ||
| 183 | (defined(CONFIG_MACH_OMAP_ZOOM2) || defined(CONFIG_MACH_OMAP_ZOOM3)) | ||
| 184 | { | ||
| 185 | .virtual = ZOOM_UART_VIRT, | ||
| 186 | .pfn = __phys_to_pfn(ZOOM_UART_BASE), | ||
| 187 | .length = SZ_1M, | ||
| 188 | .type = MT_DEVICE | ||
| 189 | }, | ||
| 190 | #endif | ||
| 191 | }; | 182 | }; |
| 192 | #endif | 183 | #endif |
| 193 | 184 | ||
