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
31 #include <linux/omap-dma.h>
32 #include <linux/platform_data/gpio-omap.h>
33 #include <linux/platform_data/keypad-omap.h>
36 #include <asm/mach-types.h>
46 #include "board-h2.h"
49 #define OMAP_GPIO_LABEL "gpio-0-15"
93 /* bootloader (U-Boot, etc) in first sector */
98 .mask_flags = MTD_WRITEABLE, /* force read-only */
136 .name = "physmap-flash",
147 /* REVISIT: enable these partitions if you make NAND BOOT
149 * x-load only support P2 and H3.
155 .mask_flags = MTD_WRITEABLE, /* force read-only */
161 .mask_flags = MTD_WRITEABLE, /* force read-only */
266 .name = "omap-keypad",
267 .id = -1,
294 .name = "leds-gpio",
295 .id = -1,
320 return -ENOSYS; in tps_setup()
356 /* usb1 has a Mini-AB port and external isp1301 transceiver */
363 /* needs OTG cable, or NONSTANDARD (B-to-MiniB) */
379 * to address 0 by a dip switch), NAND on CS2B. The NAND driver will in h2_init()
380 * notice whether a NAND chip is enabled at probe time. in h2_init()
382 * FIXME revC boards (and H3) support NAND-boot, with a dip switch to in h2_init()
383 * put NOR on CS2B and NAND (which on H2 may be 16bit) on CS3. Try in h2_init()
388 h2_nor_resource.end += SZ_32M - 1; in h2_init()
391 h2_nand_resource.end += SZ_4K - 1; in h2_init()
392 BUG_ON(gpio_request(H2_NAND_RB_GPIO_PIN, "NAND ready") < 0); in h2_init()
400 /* MMC: card detect and WP */ in h2_init()
402 omap_cfg_reg(BALLOUT_V8_ARMIO3); /* WP */ in h2_init()
437 MACHINE_START(OMAP_H2, "TI-H2")