devices.c (444b89875fc0937ece181fa865c75c9d22649986) | devices.c (dead06c5e110c25931bafc8cf017e3077b871ac5) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2#include <linux/module.h> 3#include <linux/kernel.h> 4#include <linux/init.h> 5#include <linux/platform_device.h> 6#include <linux/clkdev.h> 7#include <linux/clk-provider.h> 8#include <linux/dma-mapping.h> --- 619 unchanged lines hidden (view full) --- 628struct platform_device pxa27x_device_pwm1 = { 629 .name = "pxa27x-pwm", 630 .id = 1, 631 .resource = pxa27x_resource_pwm1, 632 .num_resources = ARRAY_SIZE(pxa27x_resource_pwm1), 633}; 634#endif /* CONFIG_PXA27x || CONFIG_PXA3xx */ 635 | 1// SPDX-License-Identifier: GPL-2.0 2#include <linux/module.h> 3#include <linux/kernel.h> 4#include <linux/init.h> 5#include <linux/platform_device.h> 6#include <linux/clkdev.h> 7#include <linux/clk-provider.h> 8#include <linux/dma-mapping.h> --- 619 unchanged lines hidden (view full) --- 628struct platform_device pxa27x_device_pwm1 = { 629 .name = "pxa27x-pwm", 630 .id = 1, 631 .resource = pxa27x_resource_pwm1, 632 .num_resources = ARRAY_SIZE(pxa27x_resource_pwm1), 633}; 634#endif /* CONFIG_PXA27x || CONFIG_PXA3xx */ 635 |
636#if defined(CONFIG_PXA25x) || defined(CONFIG_PXA27x) |
|
636const struct software_node pxa2xx_gpiochip_node = { 637 .name = "gpio-pxa", 638}; 639 640struct resource pxa_resource_gpio[] = { 641 { 642 .start = 0x40e00000, 643 .end = 0x40e0ffff, --- 35 unchanged lines hidden (view full) --- 679 .name = "pxa27x-gpio", 680 .id = -1, 681 .num_resources = ARRAY_SIZE(pxa_resource_gpio), 682 .resource = pxa_resource_gpio, 683 .dev = { 684 .platform_data = &pxa2xx_gpio_info, 685 }, 686}; | 637const struct software_node pxa2xx_gpiochip_node = { 638 .name = "gpio-pxa", 639}; 640 641struct resource pxa_resource_gpio[] = { 642 { 643 .start = 0x40e00000, 644 .end = 0x40e0ffff, --- 35 unchanged lines hidden (view full) --- 680 .name = "pxa27x-gpio", 681 .id = -1, 682 .num_resources = ARRAY_SIZE(pxa_resource_gpio), 683 .resource = pxa_resource_gpio, 684 .dev = { 685 .platform_data = &pxa2xx_gpio_info, 686 }, 687}; |
688#endif /* CONFIG_PXA25x || CONFIG_PXA27x */ |
|
687 688static struct resource pxa_dma_resource[] = { 689 [0] = { 690 .start = 0x40000000, 691 .end = 0x4000ffff, 692 .flags = IORESOURCE_MEM, 693 }, 694 [1] = { --- 32 unchanged lines hidden --- | 689 690static struct resource pxa_dma_resource[] = { 691 [0] = { 692 .start = 0x40000000, 693 .end = 0x4000ffff, 694 .flags = IORESOURCE_MEM, 695 }, 696 [1] = { --- 32 unchanged lines hidden --- |