Versatile patches for v3.14:
- Move GPIO2 and GPIO3 to be registered from the core boardfile. - Update the defconfig. Defconfig changes: - Enable GPIOLIB and PL061 for the Versatile. - Build the Versatile using EABI. - Enable the new LEDs in the defconfig. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJSzQSFAAoJEEEQszewGV1zvLwP/1zkEtVDnznUOe7Yo8HueEoG 2R5Pzh2gO+L7Ertkp9eaQn9DJ+lr8nagdxIVCBfsKKD+TJi8O2RUvLQ03aeOwZ5D tM/+FCrAHZYh00q9zXkdaKMQgPvXrXu17fDmivX6n4kESD9P9j0T8OXhpNk7cLrz rEsgtRpNnqAZ4/HVv2s2EIoy62YiWYnaX9ElqkFKdP8lHuPILpcmLsjE4/gjxv4b +4jgKuh3dykUqSfF9xeBUnxUaWTkAb8GVDqBK5Zj4ECtKq0KfTLPshTuVLzGSbWQ IP379LAJPOjvJxjlQYyWD/7GXGsHswFQoUO/wZ2TQtd4IIxqCvwsxa1oIWZp/5c5 0fhYwhWT8jauvbA+/BHpQY/VL3oCx8uNcsH/Y6UdlKnMLvKC+1EyFDP0xI2RuiBr g3+YDCKXg5KHVuL+AELhOpuq+hnUF8ielbPeLgmuyvP561CFyVDi5bd4NNcm0orp qF4ceji3DvGu/yUmFmqDfYntziZZkwnaDWDwSfgQSxRSt7KuWASt7bluC2ezYBpz 1SWkQkMPGbFpY4d1VxALn36iQ9RBJLacYI75eXRzFACciYnTm800026W+k1Yq6Uz iK77f/pQgGh4s21ogk85VycpPY2eN4Vb1JbnY24vESm1yUcAydqt532hnfLxTjGu t1x8XGOCbKhoIKSak8m6 =wyA4 -----END PGP SIGNATURE----- Merge tag 'versatile-for-v3.14' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator into next/soc From Linus Walleij: Versatile patches for v3.14: - Move GPIO2 and GPIO3 to be registered from the core boardfile. - Update the defconfig. Defconfig changes: - Enable GPIOLIB and PL061 for the Versatile. - Build the Versatile using EABI. - Enable the new LEDs in the defconfig. * tag 'versatile-for-v3.14' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator: ARM: versatile: enable LEDs by default ARM: versatile: build using EABI ARM: versatile: enable GPIOLIB and PL061 by default ARM: versatile: update defconfig ARM: versatile: move GPIO2 and GPIO3 to core
This commit is contained in:
commit
47482473c8
|
@ -1,5 +1,3 @@
|
|||
CONFIG_ARCH_VERSATILE=y
|
||||
CONFIG_EXPERIMENTAL=y
|
||||
# CONFIG_LOCALVERSION_AUTO is not set
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_LOG_BUF_SHIFT=14
|
||||
|
@ -7,15 +5,16 @@ CONFIG_BLK_DEV_INITRD=y
|
|||
CONFIG_SLAB=y
|
||||
CONFIG_MODULES=y
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
CONFIG_PARTITION_ADVANCED=y
|
||||
CONFIG_ARCH_VERSATILE=y
|
||||
CONFIG_MACH_VERSATILE_AB=y
|
||||
CONFIG_LEDS=y
|
||||
CONFIG_LEDS_CPU=y
|
||||
CONFIG_AEABI=y
|
||||
CONFIG_OABI_COMPAT=y
|
||||
CONFIG_ZBOOT_ROM_TEXT=0x0
|
||||
CONFIG_ZBOOT_ROM_BSS=0x0
|
||||
CONFIG_CMDLINE="root=1f03 mem=32M"
|
||||
CONFIG_FPE_NWFPE=y
|
||||
CONFIG_VFP=y
|
||||
CONFIG_PM=y
|
||||
CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_UNIX=y
|
||||
|
@ -26,9 +25,7 @@ CONFIG_IP_PNP_BOOTP=y
|
|||
# CONFIG_INET_DIAG is not set
|
||||
# CONFIG_IPV6 is not set
|
||||
CONFIG_MTD=y
|
||||
CONFIG_MTD_PARTITIONS=y
|
||||
CONFIG_MTD_CMDLINE_PARTS=y
|
||||
CONFIG_MTD_CHAR=y
|
||||
CONFIG_MTD_BLOCK=y
|
||||
CONFIG_MTD_CFI=y
|
||||
CONFIG_MTD_CFI_ADV_OPTIONS=y
|
||||
|
@ -37,10 +34,10 @@ CONFIG_MTD_PHYSMAP=y
|
|||
CONFIG_BLK_DEV_RAM=y
|
||||
CONFIG_EEPROM_LEGACY=m
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_NET_ETHERNET=y
|
||||
CONFIG_SMC91X=y
|
||||
# CONFIG_SERIO_SERPORT is not set
|
||||
CONFIG_SERIO_AMBAKMI=y
|
||||
CONFIG_LEGACY_PTY_COUNT=16
|
||||
CONFIG_SERIAL_8250=m
|
||||
CONFIG_SERIAL_8250_EXTENDED=y
|
||||
CONFIG_SERIAL_8250_MANY_PORTS=y
|
||||
|
@ -48,15 +45,14 @@ CONFIG_SERIAL_8250_SHARE_IRQ=y
|
|||
CONFIG_SERIAL_8250_RSA=y
|
||||
CONFIG_SERIAL_AMBA_PL011=y
|
||||
CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
|
||||
CONFIG_LEGACY_PTY_COUNT=16
|
||||
CONFIG_I2C=y
|
||||
CONFIG_I2C_CHARDEV=m
|
||||
CONFIG_GPIOLIB=y
|
||||
CONFIG_GPIO_PL061=y
|
||||
# CONFIG_HWMON is not set
|
||||
CONFIG_FB=y
|
||||
CONFIG_FB_ARMCLCD=y
|
||||
CONFIG_FRAMEBUFFER_CONSOLE=y
|
||||
CONFIG_FONTS=y
|
||||
CONFIG_FONT_ACORN_8x8=y
|
||||
CONFIG_SOUND=y
|
||||
CONFIG_SND=m
|
||||
CONFIG_SND_MIXER_OSS=m
|
||||
|
@ -64,6 +60,9 @@ CONFIG_SND_PCM_OSS=m
|
|||
CONFIG_SND_ARMAACI=m
|
||||
CONFIG_MMC=y
|
||||
CONFIG_MMC_ARMMMCI=m
|
||||
CONFIG_NEW_LEDS=y
|
||||
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
|
||||
CONFIG_LEDS_TRIGGER_CPU=y
|
||||
CONFIG_EXT2_FS=y
|
||||
CONFIG_VFAT_FS=m
|
||||
CONFIG_JFFS2_FS=y
|
||||
|
@ -71,15 +70,14 @@ CONFIG_CRAMFS=y
|
|||
CONFIG_MINIX_FS=y
|
||||
CONFIG_ROMFS_FS=y
|
||||
CONFIG_NFS_FS=y
|
||||
CONFIG_NFS_V3=y
|
||||
CONFIG_ROOT_NFS=y
|
||||
CONFIG_NFSD=y
|
||||
CONFIG_NFSD_V3=y
|
||||
CONFIG_PARTITION_ADVANCED=y
|
||||
CONFIG_NLS_CODEPAGE_850=m
|
||||
CONFIG_NLS_ISO8859_1=m
|
||||
CONFIG_MAGIC_SYSRQ=y
|
||||
CONFIG_DEBUG_KERNEL=y
|
||||
CONFIG_DEBUG_USER=y
|
||||
CONFIG_DEBUG_ERRORS=y
|
||||
CONFIG_DEBUG_LL=y
|
||||
CONFIG_FONTS=y
|
||||
CONFIG_FONT_ACORN_8x8=y
|
||||
|
|
|
@ -570,6 +570,16 @@ static struct pl061_platform_data gpio1_plat_data = {
|
|||
.irq_base = IRQ_GPIO1_START,
|
||||
};
|
||||
|
||||
static struct pl061_platform_data gpio2_plat_data = {
|
||||
.gpio_base = 16,
|
||||
.irq_base = IRQ_GPIO2_START,
|
||||
};
|
||||
|
||||
static struct pl061_platform_data gpio3_plat_data = {
|
||||
.gpio_base = 24,
|
||||
.irq_base = IRQ_GPIO3_START,
|
||||
};
|
||||
|
||||
static struct pl022_ssp_controller ssp0_plat_data = {
|
||||
.bus_id = 0,
|
||||
.enable_dma = 0,
|
||||
|
@ -596,6 +606,8 @@ static struct pl022_ssp_controller ssp0_plat_data = {
|
|||
#define WATCHDOG_IRQ { IRQ_WDOGINT }
|
||||
#define GPIO0_IRQ { IRQ_GPIOINT0 }
|
||||
#define GPIO1_IRQ { IRQ_GPIOINT1 }
|
||||
#define GPIO2_IRQ { IRQ_GPIOINT2 }
|
||||
#define GPIO3_IRQ { IRQ_GPIOINT3 }
|
||||
#define RTC_IRQ { IRQ_RTCINT }
|
||||
|
||||
/*
|
||||
|
@ -622,6 +634,8 @@ APB_DEVICE(sctl, "dev:e0", SCTL, NULL);
|
|||
APB_DEVICE(wdog, "dev:e1", WATCHDOG, NULL);
|
||||
APB_DEVICE(gpio0, "dev:e4", GPIO0, &gpio0_plat_data);
|
||||
APB_DEVICE(gpio1, "dev:e5", GPIO1, &gpio1_plat_data);
|
||||
APB_DEVICE(gpio2, "dev:e6", GPIO2, &gpio2_plat_data);
|
||||
APB_DEVICE(gpio3, "dev:e7", GPIO3, &gpio3_plat_data);
|
||||
APB_DEVICE(rtc, "dev:e8", RTC, NULL);
|
||||
APB_DEVICE(sci0, "dev:f0", SCI, NULL);
|
||||
APB_DEVICE(uart0, "dev:f1", UART0, NULL);
|
||||
|
@ -641,6 +655,8 @@ static struct amba_device *amba_devs[] __initdata = {
|
|||
&wdog_device,
|
||||
&gpio0_device,
|
||||
&gpio1_device,
|
||||
&gpio2_device,
|
||||
&gpio3_device,
|
||||
&rtc_device,
|
||||
&sci0_device,
|
||||
&ssp0_device,
|
||||
|
|
|
@ -47,26 +47,10 @@ static struct mmci_platform_data mmc1_plat_data = {
|
|||
.gpio_cd = -1,
|
||||
};
|
||||
|
||||
static struct pl061_platform_data gpio2_plat_data = {
|
||||
.gpio_base = 16,
|
||||
.irq_base = IRQ_GPIO2_START,
|
||||
};
|
||||
|
||||
static struct pl061_platform_data gpio3_plat_data = {
|
||||
.gpio_base = 24,
|
||||
.irq_base = IRQ_GPIO3_START,
|
||||
};
|
||||
|
||||
#define UART3_IRQ { IRQ_SIC_UART3 }
|
||||
#define SCI1_IRQ { IRQ_SIC_SCI3 }
|
||||
#define MMCI1_IRQ { IRQ_MMCI1A, IRQ_SIC_MMCI1B }
|
||||
|
||||
/*
|
||||
* These devices are connected via the core APB bridge
|
||||
*/
|
||||
#define GPIO2_IRQ { IRQ_GPIOINT2 }
|
||||
#define GPIO3_IRQ { IRQ_GPIOINT3 }
|
||||
|
||||
/*
|
||||
* These devices are connected via the DMA APB bridge
|
||||
*/
|
||||
|
@ -76,14 +60,9 @@ APB_DEVICE(uart3, "fpga:09", UART3, NULL);
|
|||
APB_DEVICE(sci1, "fpga:0a", SCI1, NULL);
|
||||
APB_DEVICE(mmc1, "fpga:0b", MMCI1, &mmc1_plat_data);
|
||||
|
||||
/* DevChip Primecells */
|
||||
APB_DEVICE(gpio2, "dev:e6", GPIO2, &gpio2_plat_data);
|
||||
APB_DEVICE(gpio3, "dev:e7", GPIO3, &gpio3_plat_data);
|
||||
|
||||
static struct amba_device *amba_devs[] __initdata = {
|
||||
&uart3_device,
|
||||
&gpio2_device,
|
||||
&gpio3_device,
|
||||
&sci1_device,
|
||||
&mmc1_device,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue