diff options
author | Olof Johansson <olof@lixom.net> | 2017-06-18 21:55:12 -0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2017-06-18 21:55:12 -0400 |
commit | 51b6e2813ca1d7cb530d5f834ea22f1ae52b7e35 (patch) | |
tree | 6c7218d3c009f98d5cbc2be46f020e590b12ca8a | |
parent | 151d1d752bb681f29898c68c966f6e17b446456c (diff) | |
parent | db145db99f5bf30acc12d7450b9ad0707072a7be (diff) |
Merge tag 'omap-for-v4.12/fixes-sl50' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into fixes
Two fixes for am335x-sl50 to fix a boot time error
for claiming SPI pins, and to fix a SDIO card detect
pin for production version of the device.
* tag 'omap-for-v4.12/fixes-sl50' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
ARM: dts: am335x-sl50: Fix cannot claim requested pins for spi0
ARM: dts: am335x-sl50: Fix card detect pin for mmc1
Signed-off-by: Olof Johansson <olof@lixom.net>
-rw-r--r-- | arch/arm/boot/dts/am335x-sl50.dts | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/arch/arm/boot/dts/am335x-sl50.dts b/arch/arm/boot/dts/am335x-sl50.dts index c5d2589c55fc..fc864a855991 100644 --- a/arch/arm/boot/dts/am335x-sl50.dts +++ b/arch/arm/boot/dts/am335x-sl50.dts | |||
@@ -220,7 +220,7 @@ | |||
220 | 220 | ||
221 | mmc1_pins: pinmux_mmc1_pins { | 221 | mmc1_pins: pinmux_mmc1_pins { |
222 | pinctrl-single,pins = < | 222 | pinctrl-single,pins = < |
223 | AM33XX_IOPAD(0x960, PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 */ | 223 | AM33XX_IOPAD(0x96c, PIN_INPUT | MUX_MODE7) /* uart0_rtsn.gpio1_9 */ |
224 | >; | 224 | >; |
225 | }; | 225 | }; |
226 | 226 | ||
@@ -280,10 +280,6 @@ | |||
280 | AM33XX_IOPAD(0x834, PIN_INPUT_PULLUP | MUX_MODE7) /* nKbdReset - gpmc_ad13.gpio1_13 */ | 280 | AM33XX_IOPAD(0x834, PIN_INPUT_PULLUP | MUX_MODE7) /* nKbdReset - gpmc_ad13.gpio1_13 */ |
281 | AM33XX_IOPAD(0x838, PIN_INPUT_PULLUP | MUX_MODE7) /* nDispReset - gpmc_ad14.gpio1_14 */ | 281 | AM33XX_IOPAD(0x838, PIN_INPUT_PULLUP | MUX_MODE7) /* nDispReset - gpmc_ad14.gpio1_14 */ |
282 | AM33XX_IOPAD(0x844, PIN_INPUT_PULLUP | MUX_MODE7) /* USB1_enPower - gpmc_a1.gpio1_17 */ | 282 | AM33XX_IOPAD(0x844, PIN_INPUT_PULLUP | MUX_MODE7) /* USB1_enPower - gpmc_a1.gpio1_17 */ |
283 | /* AVR Programming - SPI Bus (bit bang) - Screen and Keyboard */ | ||
284 | AM33XX_IOPAD(0x954, PIN_INPUT_PULLUP | MUX_MODE7) /* Kbd/Disp/BattMOSI spi0_d0.gpio0_3 */ | ||
285 | AM33XX_IOPAD(0x958, PIN_INPUT_PULLUP | MUX_MODE7) /* Kbd/Disp/BattMISO spi0_d1.gpio0_4 */ | ||
286 | AM33XX_IOPAD(0x950, PIN_INPUT_PULLUP | MUX_MODE7) /* Kbd/Disp/BattSCLK spi0_clk.gpio0_2 */ | ||
287 | /* PDI Bus - Battery system */ | 283 | /* PDI Bus - Battery system */ |
288 | AM33XX_IOPAD(0x840, PIN_INPUT_PULLUP | MUX_MODE7) /* nBattReset gpmc_a0.gpio1_16 */ | 284 | AM33XX_IOPAD(0x840, PIN_INPUT_PULLUP | MUX_MODE7) /* nBattReset gpmc_a0.gpio1_16 */ |
289 | AM33XX_IOPAD(0x83c, PIN_INPUT_PULLUP | MUX_MODE7) /* BattPDIData gpmc_ad15.gpio1_15 */ | 285 | AM33XX_IOPAD(0x83c, PIN_INPUT_PULLUP | MUX_MODE7) /* BattPDIData gpmc_ad15.gpio1_15 */ |
@@ -384,7 +380,7 @@ | |||
384 | pinctrl-names = "default"; | 380 | pinctrl-names = "default"; |
385 | pinctrl-0 = <&mmc1_pins>; | 381 | pinctrl-0 = <&mmc1_pins>; |
386 | bus-width = <4>; | 382 | bus-width = <4>; |
387 | cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; | 383 | cd-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; |
388 | vmmc-supply = <&vmmcsd_fixed>; | 384 | vmmc-supply = <&vmmcsd_fixed>; |
389 | }; | 385 | }; |
390 | 386 | ||