arm64: mv: a37x0_gpio: Set the memory to SHAREABLE

Since r349596 the syscon driver will map the memory. Since the gpio/pinctrl
controller wants it too set it to SHAREABLE.
This fix the gpio controller for attaching and so consumer can use it.
Now the sdhci_xenon driver can detect presence of an sdcard and attach
the mmc driver.

MFC after:	1 week
This commit is contained in:
Emmanuel Vadot 2019-08-16 17:10:38 +00:00
parent be6d7fc657
commit b501fa02e4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=351130

View File

@ -48,8 +48,8 @@ __FBSDID("$FreeBSD$");
#include "gpio_if.h"
static struct resource_spec a37x0_gpio_res_spec[] = {
{ SYS_RES_MEMORY, 0, RF_ACTIVE }, /* Pinctl / GPIO */
{ SYS_RES_MEMORY, 1, RF_ACTIVE }, /* Interrupts control */
{ SYS_RES_MEMORY, 0, RF_ACTIVE | RF_SHAREABLE }, /* Pinctl / GPIO */
{ SYS_RES_MEMORY, 1, RF_ACTIVE | RF_SHAREABLE }, /* Interrupts control */
{ -1, 0, 0 }
};