Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: at91: sam9x60: add pincontrol for USB Host

The pincontrol node is needed for USB Host since Linux v5.7-rc1. Without
it the driver probes but VBus is not powered because of wrong pincontrol
configuration.

Fixes: 1e5f532c2737 ("ARM: dts: at91: sam9x60: add device tree for soc and board")
Signed-off-by: Cristian Birsan <cristian.birsan@microchip.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Link: https://lore.kernel.org/r/20201118120019.1257580-2-cristian.birsan@microchip.com

authored by

Cristian Birsan and committed by
Alexandre Belloni
5ba62910 c9dc33d1

+9
+9
arch/arm/boot/dts/at91-sam9x60ek.dts
··· 569 569 atmel,pins = <AT91_PIOB 16 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>; 570 570 }; 571 571 }; 572 + 573 + usb1 { 574 + pinctrl_usb_default: usb_default { 575 + atmel,pins = <AT91_PIOD 15 AT91_PERIPH_GPIO AT91_PINCTRL_NONE 576 + AT91_PIOD 16 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>; 577 + }; 578 + }; 572 579 }; /* pinctrl */ 573 580 574 581 &pmc { ··· 691 684 atmel,vbus-gpio = <0 692 685 &pioD 15 GPIO_ACTIVE_HIGH 693 686 &pioD 16 GPIO_ACTIVE_HIGH>; 687 + pinctrl-names = "default"; 688 + pinctrl-0 = <&pinctrl_usb_default>; 694 689 status = "okay"; 695 690 }; 696 691