• Home
  • Raw
  • Download

Lines Matching +full:nand +full:- +full:has +full:- +full:wp

1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/arch/arm/mach-omap1/board-h2.c
5 * Board specific inits for OMAP-1610 H2
30 #include <linux/platform_data/gpio-omap.h>
33 #include <asm/mach-types.h>
38 #include <linux/omap-dma.h>
40 #include <linux/platform_data/keypad-omap.h>
47 #include "board-h2.h"
91 /* bootloader (U-Boot, etc) in first sector */
96 .mask_flags = MTD_WRITEABLE, /* force read-only */
134 .name = "physmap-flash",
145 /* REVISIT: enable these partitions if you make NAND BOOT
147 * x-load only support P2 and H3.
153 .mask_flags = MTD_WRITEABLE, /* force read-only */
159 .mask_flags = MTD_WRITEABLE, /* force read-only */
264 .name = "omap-keypad",
265 .id = -1,
292 .name = "leds-gpio",
293 .id = -1,
318 return -ENOSYS; in tps_setup()
342 /* usb1 has a Mini-AB port and external isp1301 transceiver */
349 /* needs OTG cable, or NONSTANDARD (B-to-MiniB) */
365 * to address 0 by a dip switch), NAND on CS2B. The NAND driver will in h2_init()
366 * notice whether a NAND chip is enabled at probe time. in h2_init()
368 * FIXME revC boards (and H3) support NAND-boot, with a dip switch to in h2_init()
369 * put NOR on CS2B and NAND (which on H2 may be 16bit) on CS3. Try in h2_init()
374 h2_nor_resource.end += SZ_32M - 1; in h2_init()
377 h2_nand_resource.end += SZ_4K - 1; in h2_init()
378 BUG_ON(gpio_request(H2_NAND_RB_GPIO_PIN, "NAND ready") < 0); in h2_init()
384 /* MMC: card detect and WP */ in h2_init()
386 omap_cfg_reg(BALLOUT_V8_ARMIO3); /* WP */ in h2_init()
419 MACHINE_START(OMAP_H2, "TI-H2")