^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) // SPDX-License-Identifier: GPL-2.0-only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) * linux/arch/arm/mach-pxa/income.c
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) * Support for Income s.r.o. SH-Dmaster PXA270 SBC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) * Copyright (C) 2010
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) * Marek Vasut <marek.vasut@gmail.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) * Pavel Revak <palo@bielyvlk.sk>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) #include <linux/bitops.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) #include <linux/delay.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) #include <linux/gpio/machine.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) #include <linux/init.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) #include <linux/interrupt.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) #include <linux/leds.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) #include <linux/ioport.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) #include <linux/kernel.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) #include <linux/platform_device.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) #include <linux/pwm.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) #include <linux/pwm_backlight.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) #include <linux/platform_data/i2c-pxa.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) #include <asm/irq.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) #include <asm/mach-types.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) #include <mach/hardware.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) #include <linux/platform_data/mmc-pxamci.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) #include <linux/platform_data/usb-ohci-pxa27x.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) #include "pxa27x.h"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) #include "pxa27x-udc.h"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) #include <linux/platform_data/video-pxafb.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) #include "devices.h"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) #include "generic.h"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) #define GPIO114_INCOME_ETH_IRQ (114)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) #define GPIO0_INCOME_SD_DETECT (0)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) #define GPIO0_INCOME_SD_RO (1)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) #define GPIO54_INCOME_LED_A (54)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) #define GPIO55_INCOME_LED_B (55)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) #define GPIO113_INCOME_TS_IRQ (113)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) /******************************************************************************
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) * SD/MMC card controller
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) ******************************************************************************/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) #if defined(CONFIG_MMC_PXA) || defined(CONFIG_MMC_PXA_MODULE)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) static struct pxamci_platform_data income_mci_platform_data = {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) .ocr_mask = MMC_VDD_32_33 | MMC_VDD_33_34,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) .detect_delay_ms = 200,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) static struct gpiod_lookup_table income_mci_gpio_table = {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) .dev_id = "pxa2xx-mci.0",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) .table = {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) /* Card detect on GPIO 0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) GPIO_LOOKUP("gpio-pxa", GPIO0_INCOME_SD_DETECT,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) "cd", GPIO_ACTIVE_LOW),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) /* Write protect on GPIO 1 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) GPIO_LOOKUP("gpio-pxa", GPIO0_INCOME_SD_RO,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) "wp", GPIO_ACTIVE_LOW),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) { },
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) },
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) static void __init income_mmc_init(void)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) gpiod_add_lookup_table(&income_mci_gpio_table);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) pxa_set_mci_info(&income_mci_platform_data);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) static inline void income_mmc_init(void) {}
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) /******************************************************************************
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) * USB Host
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) ******************************************************************************/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) #if defined(CONFIG_USB_OHCI_HCD) || defined(CONFIG_USB_OHCI_HCD_MODULE)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) static struct pxaohci_platform_data income_ohci_info = {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) .port_mode = PMM_PERPORT_MODE,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) .flags = ENABLE_PORT1 | POWER_CONTROL_LOW | POWER_SENSE_LOW,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85) static void __init income_uhc_init(void)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87) pxa_set_ohci_info(&income_ohci_info);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90) static inline void income_uhc_init(void) {}
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 92)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 93) /******************************************************************************
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 94) * LED
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 95) ******************************************************************************/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 96) #if defined(CONFIG_LEDS_GPIO) || defined(CONFIG_LEDS_GPIO_MODULE)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 97) struct gpio_led income_gpio_leds[] = {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 98) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 99) .name = "income:green:leda",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) .default_trigger = "none",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) .gpio = GPIO54_INCOME_LED_A,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) .active_low = 1,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) },
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) .name = "income:green:ledb",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) .default_trigger = "none",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) .gpio = GPIO55_INCOME_LED_B,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) .active_low = 1,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) static struct gpio_led_platform_data income_gpio_led_info = {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) .leds = income_gpio_leds,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) .num_leds = ARRAY_SIZE(income_gpio_leds),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) static struct platform_device income_leds = {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118) .name = "leds-gpio",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119) .id = -1,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) .dev = {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121) .platform_data = &income_gpio_led_info,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125) static void __init income_led_init(void)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127) platform_device_register(&income_leds);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) static inline void income_led_init(void) {}
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133) /******************************************************************************
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134) * I2C
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135) ******************************************************************************/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136) #if defined(CONFIG_I2C_PXA) || defined(CONFIG_I2C_PXA_MODULE)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137) static struct i2c_board_info __initdata income_i2c_devs[] = {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139) I2C_BOARD_INFO("ds1340", 0x68),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140) }, {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 141) I2C_BOARD_INFO("lm75", 0x4f),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 142) },
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 143) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 144)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 145) static void __init income_i2c_init(void)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 146) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 147) pxa_set_i2c_info(NULL);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 148) pxa27x_set_i2c_power_info(NULL);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 149) i2c_register_board_info(0, ARRAY_AND_SIZE(income_i2c_devs));
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 150) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 151) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 152) static inline void income_i2c_init(void) {}
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 153) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 154)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 155) /******************************************************************************
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 156) * Framebuffer
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 157) ******************************************************************************/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 158) #if defined(CONFIG_FB_PXA) || defined(CONFIG_FB_PXA_MODULE)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 159) static struct pxafb_mode_info income_lcd_modes[] = {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 160) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 161) .pixclock = 144700,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 162) .xres = 320,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 163) .yres = 240,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 164) .bpp = 32,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 165) .depth = 18,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 166)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 167) .left_margin = 10,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 168) .right_margin = 10,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 169) .upper_margin = 7,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 170) .lower_margin = 8,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 171)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 172) .hsync_len = 20,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 173) .vsync_len = 2,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 174)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 175) .sync = FB_SYNC_VERT_HIGH_ACT,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 176) },
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 177) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 178)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 179) static struct pxafb_mach_info income_lcd_screen = {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 180) .modes = income_lcd_modes,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 181) .num_modes = ARRAY_SIZE(income_lcd_modes),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 182) .lcd_conn = LCD_COLOR_TFT_18BPP | LCD_PCLK_EDGE_FALL,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 183) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 184)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 185) static void __init income_lcd_init(void)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 186) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 187) pxa_set_fb_info(NULL, &income_lcd_screen);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 188) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 189) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 190) static inline void income_lcd_init(void) {}
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 191) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 192)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 193) /******************************************************************************
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 194) * Backlight
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 195) ******************************************************************************/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 196) #if defined(CONFIG_BACKLIGHT_PWM) || defined(CONFIG_BACKLIGHT_PWM_MODULE)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 197) static struct pwm_lookup income_pwm_lookup[] = {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 198) PWM_LOOKUP("pxa27x-pwm.0", 0, "pwm-backlight.0", NULL, 1000000,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 199) PWM_POLARITY_NORMAL),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 200) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 201)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 202) static struct platform_pwm_backlight_data income_backlight_data = {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 203) .max_brightness = 0x3ff,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 204) .dft_brightness = 0x1ff,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 205) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 206)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 207) static struct platform_device income_backlight = {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 208) .name = "pwm-backlight",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 209) .dev = {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 210) .parent = &pxa27x_device_pwm0.dev,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 211) .platform_data = &income_backlight_data,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 212) },
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 213) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 214)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 215) static void __init income_pwm_init(void)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 216) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 217) pwm_add_table(income_pwm_lookup, ARRAY_SIZE(income_pwm_lookup));
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 218) platform_device_register(&income_backlight);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 219) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 220) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 221) static inline void income_pwm_init(void) {}
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 222) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 223)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 224) void __init colibri_pxa270_income_boardinit(void)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 225) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 226) pxa_set_ffuart_info(NULL);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 227) pxa_set_btuart_info(NULL);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 228) pxa_set_stuart_info(NULL);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 229)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 230) income_mmc_init();
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 231) income_uhc_init();
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 232) income_led_init();
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 233) income_i2c_init();
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 234) income_lcd_init();
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 235) income_pwm_init();
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 236) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 237)