Srinidhi Kasagar | aa44ef4 | 2009-11-28 08:17:18 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2008-2009 ST-Ericsson |
| 3 | * |
| 4 | * Author: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com> |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License version 2, as |
| 8 | * published by the Free Software Foundation. |
| 9 | * |
| 10 | */ |
| 11 | #include <linux/kernel.h> |
| 12 | #include <linux/init.h> |
| 13 | #include <linux/interrupt.h> |
| 14 | #include <linux/platform_device.h> |
| 15 | #include <linux/io.h> |
Rabin Vincent | b8410a1 | 2010-08-09 19:18:17 +0530 | [diff] [blame] | 16 | #include <linux/i2c.h> |
Rabin Vincent | ea05a57 | 2010-06-03 07:58:42 +0100 | [diff] [blame] | 17 | #include <linux/gpio.h> |
Srinidhi Kasagar | aa44ef4 | 2009-11-28 08:17:18 +0100 | [diff] [blame] | 18 | #include <linux/amba/bus.h> |
| 19 | #include <linux/amba/pl022.h> |
| 20 | #include <linux/spi/spi.h> |
Rabin Vincent | 39ae702 | 2010-07-26 11:12:15 +0100 | [diff] [blame] | 21 | #include <linux/mfd/ab8500.h> |
Sundar Iyer | 20406eb | 2010-12-13 09:33:14 +0530 | [diff] [blame] | 22 | #include <linux/mfd/tc3589x.h> |
Philippe Langlais | dd7b2a0 | 2011-01-12 11:26:20 +0100 | [diff] [blame] | 23 | #include <linux/leds-lp5521.h> |
Philippe Langlais | a71b819 | 2011-01-14 10:53:59 +0100 | [diff] [blame] | 24 | #include <linux/input.h> |
| 25 | #include <linux/gpio_keys.h> |
Srinidhi Kasagar | aa44ef4 | 2009-11-28 08:17:18 +0100 | [diff] [blame] | 26 | |
Srinidhi Kasagar | aa44ef4 | 2009-11-28 08:17:18 +0100 | [diff] [blame] | 27 | #include <asm/mach-types.h> |
| 28 | #include <asm/mach/arch.h> |
| 29 | |
Rabin Vincent | ea05a57 | 2010-06-03 07:58:42 +0100 | [diff] [blame] | 30 | #include <plat/pincfg.h> |
Srinidhi Kasagar | d48a41c | 2010-02-03 13:02:48 +0100 | [diff] [blame] | 31 | #include <plat/i2c.h> |
Srinidhi Kasagar | aa44ef4 | 2009-11-28 08:17:18 +0100 | [diff] [blame] | 32 | |
| 33 | #include <mach/hardware.h> |
| 34 | #include <mach/setup.h> |
Rabin Vincent | 9e4e7fe | 2010-05-03 08:03:52 +0100 | [diff] [blame] | 35 | #include <mach/devices.h> |
Linus Walleij | 29aeb3c | 2010-09-06 22:15:08 +0100 | [diff] [blame] | 36 | #include <mach/irqs.h> |
Srinidhi Kasagar | aa44ef4 | 2009-11-28 08:17:18 +0100 | [diff] [blame] | 37 | |
Rabin Vincent | fbf1ead | 2010-09-29 19:46:32 +0530 | [diff] [blame] | 38 | #include "devices-db8500.h" |
Rabin Vincent | ea05a57 | 2010-06-03 07:58:42 +0100 | [diff] [blame] | 39 | #include "pins-db8500.h" |
Hanumath Prasad | 008f8a2 | 2010-08-19 12:06:32 +0100 | [diff] [blame] | 40 | #include "board-mop500.h" |
Bengt Jonsson | a1e516e | 2010-12-10 11:08:48 +0100 | [diff] [blame] | 41 | #include "board-mop500-regulators.h" |
Rabin Vincent | ea05a57 | 2010-06-03 07:58:42 +0100 | [diff] [blame] | 42 | |
| 43 | static pin_cfg_t mop500_pins[] = { |
| 44 | /* SSP0 */ |
| 45 | GPIO143_SSP0_CLK, |
| 46 | GPIO144_SSP0_FRM, |
| 47 | GPIO145_SSP0_RXD, |
| 48 | GPIO146_SSP0_TXD, |
| 49 | |
| 50 | /* I2C */ |
| 51 | GPIO147_I2C0_SCL, |
| 52 | GPIO148_I2C0_SDA, |
| 53 | GPIO16_I2C1_SCL, |
| 54 | GPIO17_I2C1_SDA, |
| 55 | GPIO10_I2C2_SDA, |
| 56 | GPIO11_I2C2_SCL, |
| 57 | GPIO229_I2C3_SDA, |
| 58 | GPIO230_I2C3_SCL, |
Sundar Iyer | 4c61c84 | 2010-09-29 19:43:09 -0700 | [diff] [blame] | 59 | |
| 60 | /* SKE keypad */ |
| 61 | GPIO153_KP_I7, |
| 62 | GPIO154_KP_I6, |
| 63 | GPIO155_KP_I5, |
| 64 | GPIO156_KP_I4, |
| 65 | GPIO157_KP_O7, |
| 66 | GPIO158_KP_O6, |
| 67 | GPIO159_KP_O5, |
| 68 | GPIO160_KP_O4, |
| 69 | GPIO161_KP_I3, |
| 70 | GPIO162_KP_I2, |
| 71 | GPIO163_KP_I1, |
| 72 | GPIO164_KP_I0, |
| 73 | GPIO165_KP_O3, |
| 74 | GPIO166_KP_O2, |
| 75 | GPIO167_KP_O1, |
| 76 | GPIO168_KP_O0, |
Rabin Vincent | b8410a1 | 2010-08-09 19:18:17 +0530 | [diff] [blame] | 77 | |
Sundar Iyer | 556fb03 | 2010-12-03 20:35:38 +0530 | [diff] [blame] | 78 | /* GPIO_EXP_INT */ |
| 79 | GPIO217_GPIO, |
| 80 | |
| 81 | /* STMPE1601 IRQ */ |
| 82 | GPIO218_GPIO | PIN_INPUT_PULLUP, |
Sundar Iyer | 71f933f | 2011-01-21 10:56:18 +0530 | [diff] [blame] | 83 | |
| 84 | /* touch screen */ |
| 85 | GPIO84_GPIO | PIN_INPUT_PULLUP, |
Mian Yousaf Kaukab | 6f3f3c3f | 2011-01-21 18:21:50 +0100 | [diff] [blame^] | 86 | |
| 87 | /* USB OTG */ |
| 88 | GPIO256_USB_NXT | PIN_PULL_DOWN, |
| 89 | GPIO257_USB_STP | PIN_PULL_UP, |
| 90 | GPIO258_USB_XCLK | PIN_PULL_DOWN, |
| 91 | GPIO259_USB_DIR | PIN_PULL_DOWN, |
| 92 | GPIO260_USB_DAT7 | PIN_PULL_DOWN, |
| 93 | GPIO261_USB_DAT6 | PIN_PULL_DOWN, |
| 94 | GPIO262_USB_DAT5 | PIN_PULL_DOWN, |
| 95 | GPIO263_USB_DAT4 | PIN_PULL_DOWN, |
| 96 | GPIO264_USB_DAT3 | PIN_PULL_DOWN, |
| 97 | GPIO265_USB_DAT2 | PIN_PULL_DOWN, |
| 98 | GPIO266_USB_DAT1 | PIN_PULL_DOWN, |
| 99 | GPIO267_USB_DAT0 | PIN_PULL_DOWN, |
Rabin Vincent | ea05a57 | 2010-06-03 07:58:42 +0100 | [diff] [blame] | 100 | }; |
| 101 | |
Rabin Vincent | 39ae702 | 2010-07-26 11:12:15 +0100 | [diff] [blame] | 102 | static struct ab8500_platform_data ab8500_platdata = { |
| 103 | .irq_base = MOP500_AB8500_IRQ_BASE, |
Bengt Jonsson | a1e516e | 2010-12-10 11:08:48 +0100 | [diff] [blame] | 104 | .regulator = ab8500_regulators, |
| 105 | .num_regulator = ARRAY_SIZE(ab8500_regulators), |
Rabin Vincent | 39ae702 | 2010-07-26 11:12:15 +0100 | [diff] [blame] | 106 | }; |
| 107 | |
Linus Walleij | 29aeb3c | 2010-09-06 22:15:08 +0100 | [diff] [blame] | 108 | static struct resource ab8500_resources[] = { |
| 109 | [0] = { |
Rabin Vincent | 22039b7 | 2010-12-08 11:07:56 +0530 | [diff] [blame] | 110 | .start = IRQ_DB8500_AB8500, |
| 111 | .end = IRQ_DB8500_AB8500, |
| 112 | .flags = IORESOURCE_IRQ |
Linus Walleij | 29aeb3c | 2010-09-06 22:15:08 +0100 | [diff] [blame] | 113 | } |
| 114 | }; |
| 115 | |
| 116 | struct platform_device ab8500_device = { |
| 117 | .name = "ab8500-i2c", |
| 118 | .id = 0, |
| 119 | .dev = { |
| 120 | .platform_data = &ab8500_platdata, |
| 121 | }, |
| 122 | .num_resources = 1, |
| 123 | .resource = ab8500_resources, |
| 124 | }; |
| 125 | |
Srinidhi Kasagar | aa44ef4 | 2009-11-28 08:17:18 +0100 | [diff] [blame] | 126 | static struct pl022_ssp_controller ssp0_platform_data = { |
| 127 | .bus_id = 0, |
| 128 | /* pl022 not yet supports dma */ |
| 129 | .enable_dma = 0, |
| 130 | /* on this platform, gpio 31,142,144,214 & |
| 131 | * 224 are connected as chip selects |
| 132 | */ |
| 133 | .num_chipselect = 5, |
| 134 | }; |
| 135 | |
Rabin Vincent | b8410a1 | 2010-08-09 19:18:17 +0530 | [diff] [blame] | 136 | /* |
| 137 | * TC35892 |
| 138 | */ |
| 139 | |
Sundar Iyer | 20406eb | 2010-12-13 09:33:14 +0530 | [diff] [blame] | 140 | static void mop500_tc35892_init(struct tc3589x *tc3589x, unsigned int base) |
Rabin Vincent | b8410a1 | 2010-08-09 19:18:17 +0530 | [diff] [blame] | 141 | { |
| 142 | mop500_sdi_tc35892_init(); |
| 143 | } |
| 144 | |
Sundar Iyer | 20406eb | 2010-12-13 09:33:14 +0530 | [diff] [blame] | 145 | static struct tc3589x_gpio_platform_data mop500_tc35892_gpio_data = { |
Rabin Vincent | b8410a1 | 2010-08-09 19:18:17 +0530 | [diff] [blame] | 146 | .gpio_base = MOP500_EGPIO(0), |
| 147 | .setup = mop500_tc35892_init, |
| 148 | }; |
| 149 | |
Sundar Iyer | 20406eb | 2010-12-13 09:33:14 +0530 | [diff] [blame] | 150 | static struct tc3589x_platform_data mop500_tc35892_data = { |
Sundar Iyer | 611b759 | 2010-12-13 09:33:15 +0530 | [diff] [blame] | 151 | .block = TC3589x_BLOCK_GPIO, |
Rabin Vincent | b8410a1 | 2010-08-09 19:18:17 +0530 | [diff] [blame] | 152 | .gpio = &mop500_tc35892_gpio_data, |
| 153 | .irq_base = MOP500_EGPIO_IRQ_BASE, |
| 154 | }; |
| 155 | |
Philippe Langlais | dd7b2a0 | 2011-01-12 11:26:20 +0100 | [diff] [blame] | 156 | static struct lp5521_led_config lp5521_pri_led[] = { |
| 157 | [0] = { |
| 158 | .chan_nr = 0, |
| 159 | .led_current = 0x2f, |
| 160 | .max_current = 0x5f, |
| 161 | }, |
| 162 | [1] = { |
| 163 | .chan_nr = 1, |
| 164 | .led_current = 0x2f, |
| 165 | .max_current = 0x5f, |
| 166 | }, |
| 167 | [2] = { |
| 168 | .chan_nr = 2, |
| 169 | .led_current = 0x2f, |
| 170 | .max_current = 0x5f, |
| 171 | }, |
| 172 | }; |
| 173 | |
| 174 | static struct lp5521_platform_data __initdata lp5521_pri_data = { |
| 175 | .label = "lp5521_pri", |
| 176 | .led_config = &lp5521_pri_led[0], |
| 177 | .num_channels = 3, |
| 178 | .clock_mode = LP5521_CLOCK_EXT, |
| 179 | }; |
| 180 | |
| 181 | static struct lp5521_led_config lp5521_sec_led[] = { |
| 182 | [0] = { |
| 183 | .chan_nr = 0, |
| 184 | .led_current = 0x2f, |
| 185 | .max_current = 0x5f, |
| 186 | }, |
| 187 | [1] = { |
| 188 | .chan_nr = 1, |
| 189 | .led_current = 0x2f, |
| 190 | .max_current = 0x5f, |
| 191 | }, |
| 192 | [2] = { |
| 193 | .chan_nr = 2, |
| 194 | .led_current = 0x2f, |
| 195 | .max_current = 0x5f, |
| 196 | }, |
| 197 | }; |
| 198 | |
| 199 | static struct lp5521_platform_data __initdata lp5521_sec_data = { |
| 200 | .label = "lp5521_sec", |
| 201 | .led_config = &lp5521_sec_led[0], |
| 202 | .num_channels = 3, |
| 203 | .clock_mode = LP5521_CLOCK_EXT, |
| 204 | }; |
| 205 | |
Rabin Vincent | b8410a1 | 2010-08-09 19:18:17 +0530 | [diff] [blame] | 206 | static struct i2c_board_info mop500_i2c0_devices[] = { |
| 207 | { |
Sundar Iyer | 20406eb | 2010-12-13 09:33:14 +0530 | [diff] [blame] | 208 | I2C_BOARD_INFO("tc3589x", 0x42), |
Philippe Langlais | dd7b2a0 | 2011-01-12 11:26:20 +0100 | [diff] [blame] | 209 | .irq = NOMADIK_GPIO_TO_IRQ(217), |
Rabin Vincent | b8410a1 | 2010-08-09 19:18:17 +0530 | [diff] [blame] | 210 | .platform_data = &mop500_tc35892_data, |
| 211 | }, |
| 212 | }; |
| 213 | |
Philippe Langlais | dd7b2a0 | 2011-01-12 11:26:20 +0100 | [diff] [blame] | 214 | static struct i2c_board_info __initdata mop500_i2c2_devices[] = { |
| 215 | { |
| 216 | /* lp5521 LED driver, 1st device */ |
| 217 | I2C_BOARD_INFO("lp5521", 0x33), |
| 218 | .platform_data = &lp5521_pri_data, |
| 219 | }, |
| 220 | { |
| 221 | /* lp5521 LED driver, 2st device */ |
| 222 | I2C_BOARD_INFO("lp5521", 0x34), |
| 223 | .platform_data = &lp5521_sec_data, |
| 224 | }, |
Lee Jones | bb3b218 | 2011-01-13 14:41:22 +0000 | [diff] [blame] | 225 | { |
| 226 | /* Light sensor Rohm BH1780GLI */ |
| 227 | I2C_BOARD_INFO("bh1780", 0x29), |
| 228 | }, |
Philippe Langlais | dd7b2a0 | 2011-01-12 11:26:20 +0100 | [diff] [blame] | 229 | }; |
| 230 | |
Srinidhi Kasagar | d48a41c | 2010-02-03 13:02:48 +0100 | [diff] [blame] | 231 | #define U8500_I2C_CONTROLLER(id, _slsu, _tft, _rft, clk, _sm) \ |
Rabin Vincent | f9faf23 | 2010-05-03 08:24:37 +0100 | [diff] [blame] | 232 | static struct nmk_i2c_controller u8500_i2c##id##_data = { \ |
Srinidhi Kasagar | d48a41c | 2010-02-03 13:02:48 +0100 | [diff] [blame] | 233 | /* \ |
| 234 | * slave data setup time, which is \ |
| 235 | * 250 ns,100ns,10ns which is 14,6,2 \ |
| 236 | * respectively for a 48 Mhz \ |
| 237 | * i2c clock \ |
| 238 | */ \ |
| 239 | .slsu = _slsu, \ |
| 240 | /* Tx FIFO threshold */ \ |
| 241 | .tft = _tft, \ |
| 242 | /* Rx FIFO threshold */ \ |
| 243 | .rft = _rft, \ |
| 244 | /* std. mode operation */ \ |
| 245 | .clk_freq = clk, \ |
| 246 | .sm = _sm, \ |
| 247 | } |
| 248 | |
| 249 | /* |
| 250 | * The board uses 4 i2c controllers, initialize all of |
| 251 | * them with slave data setup time of 250 ns, |
| 252 | * Tx & Rx FIFO threshold values as 1 and standard |
| 253 | * mode of operation |
| 254 | */ |
| 255 | U8500_I2C_CONTROLLER(0, 0xe, 1, 1, 100000, I2C_FREQ_MODE_STANDARD); |
| 256 | U8500_I2C_CONTROLLER(1, 0xe, 1, 1, 100000, I2C_FREQ_MODE_STANDARD); |
| 257 | U8500_I2C_CONTROLLER(2, 0xe, 1, 1, 100000, I2C_FREQ_MODE_STANDARD); |
| 258 | U8500_I2C_CONTROLLER(3, 0xe, 1, 1, 100000, I2C_FREQ_MODE_STANDARD); |
| 259 | |
Rabin Vincent | fbf1ead | 2010-09-29 19:46:32 +0530 | [diff] [blame] | 260 | static void __init mop500_i2c_init(void) |
| 261 | { |
| 262 | db8500_add_i2c0(&u8500_i2c0_data); |
| 263 | db8500_add_i2c1(&u8500_i2c1_data); |
| 264 | db8500_add_i2c2(&u8500_i2c2_data); |
| 265 | db8500_add_i2c3(&u8500_i2c3_data); |
| 266 | } |
Srinidhi Kasagar | aa44ef4 | 2009-11-28 08:17:18 +0100 | [diff] [blame] | 267 | |
Philippe Langlais | a71b819 | 2011-01-14 10:53:59 +0100 | [diff] [blame] | 268 | static struct gpio_keys_button mop500_gpio_keys[] = { |
| 269 | { |
| 270 | .desc = "SFH7741 Proximity Sensor", |
| 271 | .type = EV_SW, |
| 272 | .code = SW_FRONT_PROXIMITY, |
| 273 | .gpio = GPIO_PROX_SENSOR, |
| 274 | .active_low = 0, |
| 275 | .can_disable = 1, |
| 276 | } |
| 277 | }; |
| 278 | |
| 279 | static struct regulator *prox_regulator; |
| 280 | static int mop500_prox_activate(struct device *dev); |
| 281 | static void mop500_prox_deactivate(struct device *dev); |
| 282 | |
| 283 | static struct gpio_keys_platform_data mop500_gpio_keys_data = { |
| 284 | .buttons = mop500_gpio_keys, |
| 285 | .nbuttons = ARRAY_SIZE(mop500_gpio_keys), |
| 286 | .enable = mop500_prox_activate, |
| 287 | .disable = mop500_prox_deactivate, |
| 288 | }; |
| 289 | |
| 290 | static struct platform_device mop500_gpio_keys_device = { |
| 291 | .name = "gpio-keys", |
| 292 | .id = 0, |
| 293 | .dev = { |
| 294 | .platform_data = &mop500_gpio_keys_data, |
| 295 | }, |
| 296 | }; |
| 297 | |
| 298 | static int mop500_prox_activate(struct device *dev) |
| 299 | { |
| 300 | prox_regulator = regulator_get(&mop500_gpio_keys_device.dev, |
| 301 | "vcc"); |
| 302 | if (IS_ERR(prox_regulator)) { |
| 303 | dev_err(&mop500_gpio_keys_device.dev, |
| 304 | "no regulator\n"); |
| 305 | return PTR_ERR(prox_regulator); |
| 306 | } |
| 307 | regulator_enable(prox_regulator); |
| 308 | return 0; |
| 309 | } |
| 310 | |
| 311 | static void mop500_prox_deactivate(struct device *dev) |
| 312 | { |
| 313 | regulator_disable(prox_regulator); |
| 314 | regulator_put(prox_regulator); |
| 315 | } |
| 316 | |
Srinidhi Kasagar | d48a41c | 2010-02-03 13:02:48 +0100 | [diff] [blame] | 317 | /* add any platform devices here - TODO */ |
| 318 | static struct platform_device *platform_devs[] __initdata = { |
Philippe Langlais | a71b819 | 2011-01-14 10:53:59 +0100 | [diff] [blame] | 319 | &mop500_gpio_keys_device, |
Srinidhi Kasagar | d48a41c | 2010-02-03 13:02:48 +0100 | [diff] [blame] | 320 | }; |
| 321 | |
Rabin Vincent | fbf1ead | 2010-09-29 19:46:32 +0530 | [diff] [blame] | 322 | static void __init mop500_spi_init(void) |
| 323 | { |
| 324 | db8500_add_ssp0(&ssp0_platform_data); |
| 325 | } |
| 326 | |
| 327 | static void __init mop500_uart_init(void) |
| 328 | { |
| 329 | db8500_add_uart0(); |
| 330 | db8500_add_uart1(); |
| 331 | db8500_add_uart2(); |
| 332 | } |
| 333 | |
Srinidhi Kasagar | aa44ef4 | 2009-11-28 08:17:18 +0100 | [diff] [blame] | 334 | static void __init u8500_init_machine(void) |
| 335 | { |
Rabin Vincent | ea05a57 | 2010-06-03 07:58:42 +0100 | [diff] [blame] | 336 | u8500_init_devices(); |
| 337 | |
| 338 | nmk_config_pins(mop500_pins, ARRAY_SIZE(mop500_pins)); |
| 339 | |
Srinidhi Kasagar | d48a41c | 2010-02-03 13:02:48 +0100 | [diff] [blame] | 340 | platform_add_devices(platform_devs, ARRAY_SIZE(platform_devs)); |
| 341 | |
Rabin Vincent | fbf1ead | 2010-09-29 19:46:32 +0530 | [diff] [blame] | 342 | mop500_i2c_init(); |
Hanumath Prasad | 008f8a2 | 2010-08-19 12:06:32 +0100 | [diff] [blame] | 343 | mop500_sdi_init(); |
Rabin Vincent | fbf1ead | 2010-09-29 19:46:32 +0530 | [diff] [blame] | 344 | mop500_spi_init(); |
| 345 | mop500_uart_init(); |
Hanumath Prasad | 008f8a2 | 2010-08-19 12:06:32 +0100 | [diff] [blame] | 346 | |
Sundar Iyer | d5d2281 | 2010-12-13 09:33:11 +0530 | [diff] [blame] | 347 | platform_device_register(&ab8500_device); |
Rabin Vincent | b8410a1 | 2010-08-09 19:18:17 +0530 | [diff] [blame] | 348 | |
| 349 | i2c_register_board_info(0, mop500_i2c0_devices, |
| 350 | ARRAY_SIZE(mop500_i2c0_devices)); |
Philippe Langlais | dd7b2a0 | 2011-01-12 11:26:20 +0100 | [diff] [blame] | 351 | i2c_register_board_info(2, mop500_i2c2_devices, |
| 352 | ARRAY_SIZE(mop500_i2c2_devices)); |
Srinidhi Kasagar | aa44ef4 | 2009-11-28 08:17:18 +0100 | [diff] [blame] | 353 | } |
| 354 | |
| 355 | MACHINE_START(U8500, "ST-Ericsson MOP500 platform") |
| 356 | /* Maintainer: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com> */ |
Srinidhi Kasagar | aa44ef4 | 2009-11-28 08:17:18 +0100 | [diff] [blame] | 357 | .boot_params = 0x100, |
| 358 | .map_io = u8500_map_io, |
Rabin Vincent | 178980f | 2010-05-03 07:39:02 +0100 | [diff] [blame] | 359 | .init_irq = ux500_init_irq, |
Srinidhi Kasagar | aa44ef4 | 2009-11-28 08:17:18 +0100 | [diff] [blame] | 360 | /* we re-use nomadik timer here */ |
Rabin Vincent | 41ac329 | 2010-05-03 08:28:05 +0100 | [diff] [blame] | 361 | .timer = &ux500_timer, |
Srinidhi Kasagar | aa44ef4 | 2009-11-28 08:17:18 +0100 | [diff] [blame] | 362 | .init_machine = u8500_init_machine, |
| 363 | MACHINE_END |