diff options
| author | Olof Johansson <olof@lixom.net> | 2017-10-03 21:08:27 -0400 |
|---|---|---|
| committer | Olof Johansson <olof@lixom.net> | 2017-10-03 21:08:27 -0400 |
| commit | 24f5a731e51eedd183e4e972d676cd9d3f1b20d3 (patch) | |
| tree | fc6077eb5472d5b31c269ac87199f78e9f66465f | |
| parent | 0694b2ee87ee1a6d83acf1a66b92c8e64ceb38f2 (diff) | |
| parent | 093d79f62a89f47d9b5fd0746768146d9696535c (diff) | |
Merge tag 'at91-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/nferre/linux-at91 into fixes
Fixes for 4.14:
- three DT fixes for the newly introduced sama5d27_som1_ek board
- one treewide modification that didn't touch this new PM code: we
synchronize now to be coherent with the other ARM platforms
* tag 'at91-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/nferre/linux-at91:
ARM: at91: Replace uses of virt_to_phys with __pa_symbol
ARM: dts: at91: sama5d27_som1_ek: fix USB host vbus
ARM: dts: at91: sama5d27_som1_ek: fix typos
ARM: dts: at91: sama5d27_som1_ek: update pinmux/pinconf for LEDs and USB
Signed-off-by: Olof Johansson <olof@lixom.net>
| -rw-r--r-- | arch/arm/boot/dts/at91-sama5d27_som1_ek.dts | 19 | ||||
| -rw-r--r-- | arch/arm/mach-at91/pm.c | 4 |
2 files changed, 13 insertions, 10 deletions
diff --git a/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts b/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts index 9c9088c99cc4..60cb084a8d92 100644 --- a/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts +++ b/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts | |||
| @@ -67,7 +67,10 @@ | |||
| 67 | 67 | ||
| 68 | usb1: ohci@00400000 { | 68 | usb1: ohci@00400000 { |
| 69 | num-ports = <3>; | 69 | num-ports = <3>; |
| 70 | atmel,vbus-gpio = <&pioA PIN_PA10 GPIO_ACTIVE_HIGH>; | 70 | atmel,vbus-gpio = <0 /* &pioA PIN_PD20 GPIO_ACTIVE_HIGH */ |
| 71 | &pioA PIN_PA27 GPIO_ACTIVE_HIGH | ||
| 72 | 0 | ||
| 73 | >; | ||
| 71 | pinctrl-names = "default"; | 74 | pinctrl-names = "default"; |
| 72 | pinctrl-0 = <&pinctrl_usb_default>; | 75 | pinctrl-0 = <&pinctrl_usb_default>; |
| 73 | status = "okay"; | 76 | status = "okay"; |
| @@ -120,7 +123,7 @@ | |||
| 120 | pinctrl-names = "default"; | 123 | pinctrl-names = "default"; |
| 121 | pinctrl-0 = <&pinctrl_mikrobus2_uart>; | 124 | pinctrl-0 = <&pinctrl_mikrobus2_uart>; |
| 122 | atmel,use-dma-rx; | 125 | atmel,use-dma-rx; |
| 123 | atmel-use-dma-tx; | 126 | atmel,use-dma-tx; |
| 124 | status = "okay"; | 127 | status = "okay"; |
| 125 | }; | 128 | }; |
| 126 | 129 | ||
| @@ -178,7 +181,7 @@ | |||
| 178 | uart4: serial@fc00c000 { | 181 | uart4: serial@fc00c000 { |
| 179 | atmel,use-dma-rx; | 182 | atmel,use-dma-rx; |
| 180 | atmel,use-dma-tx; | 183 | atmel,use-dma-tx; |
| 181 | pinctrl-name = "default"; | 184 | pinctrl-names = "default"; |
| 182 | pinctrl-0 = <&pinctrl_mikrobus1_uart>; | 185 | pinctrl-0 = <&pinctrl_mikrobus1_uart>; |
| 183 | status = "okay"; | 186 | status = "okay"; |
| 184 | }; | 187 | }; |
| @@ -330,7 +333,7 @@ | |||
| 330 | }; | 333 | }; |
| 331 | 334 | ||
| 332 | pinctrl_led_gpio_default: led_gpio_default { | 335 | pinctrl_led_gpio_default: led_gpio_default { |
| 333 | pinmux = <PIN_PA27__GPIO>, | 336 | pinmux = <PIN_PA10__GPIO>, |
| 334 | <PIN_PB1__GPIO>, | 337 | <PIN_PB1__GPIO>, |
| 335 | <PIN_PA31__GPIO>; | 338 | <PIN_PA31__GPIO>; |
| 336 | bias-pull-up; | 339 | bias-pull-up; |
| @@ -396,7 +399,7 @@ | |||
| 396 | }; | 399 | }; |
| 397 | 400 | ||
| 398 | pinctrl_usb_default: usb_default { | 401 | pinctrl_usb_default: usb_default { |
| 399 | pinmux = <PIN_PA10__GPIO>, | 402 | pinmux = <PIN_PA27__GPIO>, |
| 400 | <PIN_PD19__GPIO>; | 403 | <PIN_PD19__GPIO>; |
| 401 | bias-disable; | 404 | bias-disable; |
| 402 | }; | 405 | }; |
| @@ -520,17 +523,17 @@ | |||
| 520 | 523 | ||
| 521 | red { | 524 | red { |
| 522 | label = "red"; | 525 | label = "red"; |
| 523 | gpios = <&pioA PIN_PA27 GPIO_ACTIVE_LOW>; | 526 | gpios = <&pioA PIN_PA10 GPIO_ACTIVE_HIGH>; |
| 524 | }; | 527 | }; |
| 525 | 528 | ||
| 526 | green { | 529 | green { |
| 527 | label = "green"; | 530 | label = "green"; |
| 528 | gpios = <&pioA PIN_PB1 GPIO_ACTIVE_LOW>; | 531 | gpios = <&pioA PIN_PB1 GPIO_ACTIVE_HIGH>; |
| 529 | }; | 532 | }; |
| 530 | 533 | ||
| 531 | blue { | 534 | blue { |
| 532 | label = "blue"; | 535 | label = "blue"; |
| 533 | gpios = <&pioA PIN_PA31 GPIO_ACTIVE_LOW>; | 536 | gpios = <&pioA PIN_PA31 GPIO_ACTIVE_HIGH>; |
| 534 | linux,default-trigger = "heartbeat"; | 537 | linux,default-trigger = "heartbeat"; |
| 535 | }; | 538 | }; |
| 536 | }; | 539 | }; |
diff --git a/arch/arm/mach-at91/pm.c b/arch/arm/mach-at91/pm.c index 5036f996e694..849014c01cf4 100644 --- a/arch/arm/mach-at91/pm.c +++ b/arch/arm/mach-at91/pm.c | |||
| @@ -533,8 +533,8 @@ static void __init at91_pm_backup_init(void) | |||
| 533 | } | 533 | } |
| 534 | 534 | ||
| 535 | pm_bu->suspended = 0; | 535 | pm_bu->suspended = 0; |
| 536 | pm_bu->canary = virt_to_phys(&canary); | 536 | pm_bu->canary = __pa_symbol(&canary); |
| 537 | pm_bu->resume = virt_to_phys(cpu_resume); | 537 | pm_bu->resume = __pa_symbol(cpu_resume); |
| 538 | 538 | ||
| 539 | return; | 539 | return; |
| 540 | 540 | ||
