Lines Matching +full:sram +full:- +full:supply
1 // SPDX-License-Identifier: GPL-2.0-only
28 #include <linux/platform_data/i2c-pxa.h>
30 #include <linux/apm-emulation.h>
34 #include <asm/mach-types.h>
42 #include "regs-uart.h"
43 #include <linux/platform_data/usb-ohci-pxa27x.h>
44 #include <linux/platform_data/mmc-pxamci.h>
45 #include "pxa27x-udc.h"
47 #include <linux/platform_data/video-pxafb.h>
49 #include <linux/platform_data/asoc-pxa.h>
50 #include "viper-pcmcia.h"
80 return zeus_isa_irq_map[irq - PXA_ISA_IRQ(0)]; in zeus_irq_to_bitmask()
90 __raw_writew(zeus_irq_to_bitmask(d->irq), ZEUS_CPLD_ISA_IRQ); in zeus_ack_irq()
95 zeus_irq_enabled_mask &= ~(zeus_irq_to_bitmask(d->irq)); in zeus_mask_irq()
100 zeus_irq_enabled_mask |= zeus_irq_to_bitmask(d->irq); in zeus_unmask_irq()
117 desc->irq_data.chip->irq_ack(&desc->irq_data); in zeus_irq_handler()
171 .end = ZEUS_FLASH_PHYS + SZ_64M - 1,
174 [1] = { /* SRAM */
176 .end = ZEUS_SRAM_PHYS + SZ_512K - 1,
191 .name = "physmap-flash",
237 /* FIXME: Shared IRQs on COM1-COM4 will not work properly on v1i1 hardware. */
376 /* External SRAM */
379 .end = ZEUS_SRAM_PHYS + ZEUS_SRAM_SIZE * 2 - 1,
384 .name = "pxa2xx-8bit-sram",
415 .name = "reg-fixed-voltage",
423 .dev_id = "reg-fixed-voltage.0",
425 GPIO_LOOKUP("gpio-pxa", ZEUS_CAN_SHDN_GPIO,
432 PROPERTY_ENTRY_U32("clock-frequency", 16000000),
462 .default_trigger = "default-on",
468 .default_trigger = "default-on",
480 .name = "leds-gpio",
481 .id = -1,
507 .name = "zeus-pcmcia",
508 .id = -1,
522 .id = -1,
538 REGULATOR_SUPPLY("vbus2", "pxa27x-ohci"),
557 .name = "reg-fixed-voltage",
565 .dev_id = "reg-fixed-voltage.0",
567 GPIO_LOOKUP("gpio-pxa", ZEUS_USB2_PWREN_GPIO,
576 * Polarity Low. Supply power to USB ports. */
671 .dev_id = "pxa2xx-mci.0",
673 GPIO_LOOKUP("gpio-pxa", ZEUS_MMC_CD_GPIO,
675 GPIO_LOOKUP("gpio-pxa", ZEUS_MMC_WP_GPIO,
729 /* Power supply is always present */ in zeus_get_power_status()
730 info->ac_line_status = APM_AC_ONLINE; in zeus_get_power_status()
731 info->battery_status = APM_BATTERY_STATUS_NOT_PRESENT; in zeus_get_power_status()
732 info->battery_flag = APM_BATTERY_FLAG_NOT_PRESENT; in zeus_get_power_status()
755 dev_err(&client->dev, "Can't request pcb info %d\n", i); in zeus_get_pcb_info()
760 dev_err(&client->dev, "Can't read pcb info %d\n", i); in zeus_get_pcb_info()
770 dev_info(&client->dev, "Zeus PCB version %d issue %d\n", in zeus_get_pcb_info()
857 * DM9k MSCx settings: SRAM, 16 bits
935 * - ports 0x0000-0x0fff are PC/104
936 * - ports 0x10000-0x10fff are PCMCIA slot 1
937 * - ports 0x11000-0x11fff are PC/104
952 /* Clear PSPR to ensure a full restart on wake-up. */ in zeus_map_io()