Lines Matching +full:0 +full:x0202
32 mxs_set_sspclk(MXC_SSPCLK0, 96000, 0); in board_early_init_f()
34 return 0; in board_early_init_f()
46 case 0: in xfi3_mmc_cd()
53 return 0; in xfi3_mmc_cd()
63 gpio_direction_output(MX23_PAD_GPMI_D08__GPIO_0_8, 0); in board_mmc_init()
64 ret = mxsmmc_initialize(bis, 0, NULL, xfi3_mmc_cd); in board_mmc_init()
69 gpio_direction_output(MX23_PAD_PWM3__GPIO_1_29, 0); in board_mmc_init()
134 uint32_t val = 0; in mxsfb_read_register()
138 reg = ((reg & 0xff) << 1) | (((reg >> 8) & 0xff) << 10); in mxsfb_read_register()
153 for (i = 0; i < 18; i++) { in mxsfb_read_register()
155 gpio_direction_output(mux, 0); in mxsfb_read_register()
159 gpio_direction_output(MX23_PAD_LCD_RS__GPIO_1_19, 0); in mxsfb_read_register()
161 gpio_direction_output(MX23_PAD_LCD_CS__GPIO_1_21, 0); in mxsfb_read_register()
163 gpio_direction_output(MX23_PAD_LCD_WR__GPIO_1_20, 0); in mxsfb_read_register()
166 for (i = 0; i < 18; i++) { in mxsfb_read_register()
175 for (i = 0; i < 18; i++) { in mxsfb_read_register()
181 gpio_direction_output(MX23_PAD_LCD_ENABLE__GPIO_1_23, 0); in mxsfb_read_register()
187 gpio_direction_output(MX23_PAD_LCD_ENABLE__GPIO_1_23, 0); in mxsfb_read_register()
190 for (i = 0; i < 18; i++) { in mxsfb_read_register()
205 *value = ((val >> 1) & 0xff) | ((val >> 2) & 0xff00); in mxsfb_read_register()
207 writel(val, 0x2000); in mxsfb_read_register()
208 return 0; in mxsfb_read_register()
214 const unsigned int timeout = 0x10000; in mxsfb_write_byte()
217 payload = ((payload & 0xff) << 1) | (((payload >> 8) & 0xff) << 10); in mxsfb_write_byte()
246 mxsfb_write_byte(reg, 0); in mxsfb_write_register()
255 { 0xe5, 0 , 0x78f0 },
256 { 0xe3, 0 , 0x3008 },
257 { 0xe7, 0 , 0x0012 },
258 { 0xef, 0 , 0x1231 },
259 { 0x00, 0 , 0x0001 },
260 { 0x01, 0 , 0x0100 },
261 { 0x02, 0 , 0x0700 },
262 { 0x03, 0 , 0x1030 },
263 { 0x04, 0 , 0x0000 },
264 { 0x08, 0 , 0x0207 },
265 { 0x09, 0 , 0x0000 },
266 { 0x0a, 0 , 0x0000 },
267 { 0x0c, 0 , 0x0000 },
268 { 0x0d, 0 , 0x0000 },
269 { 0x0f, 0 , 0x0000 },
270 { 0x10, 0 , 0x0000 },
271 { 0x11, 0 , 0x0007 },
272 { 0x12, 0 , 0x0000 },
273 { 0x13, 20 , 0x0000 },
275 { 0x10, 0 , 0x1290 },
276 { 0x11, 50 , 0x0007 },
278 { 0x12, 50 , 0x0019 },
280 { 0x13, 0 , 0x1700 },
281 { 0x29, 50 , 0x0014 },
283 { 0x20, 0 , 0x0000 },
284 { 0x21, 0 , 0x0000 },
285 { 0x30, 0 , 0x0504 },
286 { 0x31, 0 , 0x0007 },
287 { 0x32, 0 , 0x0006 },
288 { 0x35, 0 , 0x0106 },
289 { 0x36, 0 , 0x0202 },
290 { 0x37, 0 , 0x0504 },
291 { 0x38, 0 , 0x0500 },
292 { 0x39, 0 , 0x0706 },
293 { 0x3c, 0 , 0x0204 },
294 { 0x3d, 0 , 0x0202 },
295 { 0x50, 0 , 0x0000 },
296 { 0x51, 0 , 0x00ef },
297 { 0x52, 0 , 0x0000 },
298 { 0x53, 0 , 0x013f },
299 { 0x60, 0 , 0xa700 },
300 { 0x61, 0 , 0x0001 },
301 { 0x6a, 0 , 0x0000 },
302 { 0x2b, 50 , 0x000d },
304 { 0x90, 0 , 0x0011 },
305 { 0x92, 0 , 0x0600 },
306 { 0x93, 0 , 0x0003 },
307 { 0x95, 0 , 0x0110 },
308 { 0x97, 0 , 0x0000 },
309 { 0x98, 0 , 0x0000 },
310 { 0x07, 0 , 0x0173 },
329 mxsfb_read_register(0, &id); in board_mxsfb_system_setup()
330 writel(id, 0x2004); in board_mxsfb_system_setup()
344 writel((0x02 << LCDIF_TIMING_CMD_HOLD_OFFSET) | in board_mxsfb_system_setup()
345 (0x02 << LCDIF_TIMING_CMD_SETUP_OFFSET) | in board_mxsfb_system_setup()
346 (0x02 << LCDIF_TIMING_DATA_HOLD_OFFSET) | in board_mxsfb_system_setup()
347 (0x01 << LCDIF_TIMING_DATA_SETUP_OFFSET), in board_mxsfb_system_setup()
353 for (i = 0; i < ARRAY_SIZE(lcd_regs); i++) { in board_mxsfb_system_setup()
359 mxsfb_write_byte(0x22, 0); in board_mxsfb_system_setup()
375 gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100; in board_init()
380 return 0; in board_init()
386 return 0; in board_eth_init()