1
0
Fork 0

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
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQEcBAABAgAGBQJZv+9LAAoJEAf03oE53VmQ8pwH/i8kzx5nHFyzAAmgye9WlvSQ
 WSIliLLrITv3lM5YWpWuIq2y4ou8pvRmWxkb02Ih58E/A3TGsTzuvide0DgNAzOf
 blrFWF0cjcMEw1RwwdbhJZlxi/5PpKAPhR8TKLeB5RBtUhdcDenp3SMIDGeK/XZK
 ejJXm6OuT8NLGo69+7DbJ6/6zRlbFRe+TwehOz5afmTsRemvqf+U1k65nEwuVhLK
 F9ic2ADGT7noqc6+NPtyrW5pXIEis4+hnkSTGOo0k6GWmp64fWU4Vdt+qgwqDqhl
 ts81yk/sOA+nVS417AHYw5rA2VlzxpibJ/7U84QJyBNf+5gWijAhIrpORAS3FuA=
 =4X2n
 -----END PGP SIGNATURE-----

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>
hifive-unleashed-5.1
Olof Johansson 2017-10-03 18:08:27 -07:00
commit 24f5a731e5
2 changed files with 13 additions and 10 deletions

View File

@ -67,7 +67,10 @@
usb1: ohci@00400000 { usb1: ohci@00400000 {
num-ports = <3>; num-ports = <3>;
atmel,vbus-gpio = <&pioA PIN_PA10 GPIO_ACTIVE_HIGH>; atmel,vbus-gpio = <0 /* &pioA PIN_PD20 GPIO_ACTIVE_HIGH */
&pioA PIN_PA27 GPIO_ACTIVE_HIGH
0
>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usb_default>; pinctrl-0 = <&pinctrl_usb_default>;
status = "okay"; status = "okay";
@ -120,7 +123,7 @@
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_mikrobus2_uart>; pinctrl-0 = <&pinctrl_mikrobus2_uart>;
atmel,use-dma-rx; atmel,use-dma-rx;
atmel-use-dma-tx; atmel,use-dma-tx;
status = "okay"; status = "okay";
}; };
@ -178,7 +181,7 @@
uart4: serial@fc00c000 { uart4: serial@fc00c000 {
atmel,use-dma-rx; atmel,use-dma-rx;
atmel,use-dma-tx; atmel,use-dma-tx;
pinctrl-name = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_mikrobus1_uart>; pinctrl-0 = <&pinctrl_mikrobus1_uart>;
status = "okay"; status = "okay";
}; };
@ -330,7 +333,7 @@
}; };
pinctrl_led_gpio_default: led_gpio_default { pinctrl_led_gpio_default: led_gpio_default {
pinmux = <PIN_PA27__GPIO>, pinmux = <PIN_PA10__GPIO>,
<PIN_PB1__GPIO>, <PIN_PB1__GPIO>,
<PIN_PA31__GPIO>; <PIN_PA31__GPIO>;
bias-pull-up; bias-pull-up;
@ -396,7 +399,7 @@
}; };
pinctrl_usb_default: usb_default { pinctrl_usb_default: usb_default {
pinmux = <PIN_PA10__GPIO>, pinmux = <PIN_PA27__GPIO>,
<PIN_PD19__GPIO>; <PIN_PD19__GPIO>;
bias-disable; bias-disable;
}; };
@ -520,17 +523,17 @@
red { red {
label = "red"; label = "red";
gpios = <&pioA PIN_PA27 GPIO_ACTIVE_LOW>; gpios = <&pioA PIN_PA10 GPIO_ACTIVE_HIGH>;
}; };
green { green {
label = "green"; label = "green";
gpios = <&pioA PIN_PB1 GPIO_ACTIVE_LOW>; gpios = <&pioA PIN_PB1 GPIO_ACTIVE_HIGH>;
}; };
blue { blue {
label = "blue"; label = "blue";
gpios = <&pioA PIN_PA31 GPIO_ACTIVE_LOW>; gpios = <&pioA PIN_PA31 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat"; linux,default-trigger = "heartbeat";
}; };
}; };

View File

@ -533,8 +533,8 @@ static void __init at91_pm_backup_init(void)
} }
pm_bu->suspended = 0; pm_bu->suspended = 0;
pm_bu->canary = virt_to_phys(&canary); pm_bu->canary = __pa_symbol(&canary);
pm_bu->resume = virt_to_phys(cpu_resume); pm_bu->resume = __pa_symbol(cpu_resume);
return; return;