• Home
  • Raw
  • Download

Lines Matching +full:led +full:- +full:usb +full:- +full:mode

1 // SPDX-License-Identifier: GPL-2.0
6 // Copyright (c) 2003-2005 Simtec Electronics
9 // Copyright (c) 2005-2008 Christer Weinigel <christer@weinigel.se>
30 #include "hardware-s3c24xx.h"
32 #include <asm/mach-types.h>
34 #include <linux/platform_data/fb-s3c2410.h>
35 #include <linux/platform_data/leds-s3c24xx.h>
36 #include "regs-gpio.h"
37 #include "gpio-samsung.h"
38 #include "gpio-cfg.h"
44 #include <linux/platform_data/i2c-s3c2410.h>
48 #include <linux/platform_data/mmc-s3cmci.h>
49 #include <linux/platform_data/usb-s3c2410_udc.h>
149 .name = "gpio-keys",
150 .id = -1,
239 .name = "gpio-keys",
240 .id = -1,
247 /* This is the bluetooth LED on the device. */
262 /* This is the blue LED on the device. Originally used to indicate GPS activity
278 /* This LED is driven by the battery microcontroller, and is blinking
281 * to force the LED to blink red, so call that warning LED. */
389 .dev_id = "s3c2410-sdi",
443 /* GPA0-11 special functions -- unknown what they do in n30_hwinit()
444 * GPA12 N30 special function -- unknown what it does in n30_hwinit()
445 * N35/PiN output -- unknown what it does in n30_hwinit()
460 * GPB3 output USB D+ pull up 0=disabled, 1=enabled in n30_hwinit()
461 * GPB4 N30 output -- unknown function in n30_hwinit()
463 * GPB5 output -- unknown function in n30_hwinit()
464 * GPB6 input -- unknown function in n30_hwinit()
465 * GPB7 output -- unknown function in n30_hwinit()
466 * GPB8 output -- probably LCD driver enable in n30_hwinit()
467 * GPB9 output -- probably LCD VSYNC driver enable in n30_hwinit()
468 * GPB10 output -- probably LCD HSYNC driver enable in n30_hwinit()
480 * GPC6 input -- unknown function in n30_hwinit()
482 * this input can be triggered by power on the USB device in n30_hwinit()
484 * GPC8 N30/N35 output -- unknown function, always driven to 1 in n30_hwinit()
485 * PiN input -- unknown function, always read as 1 in n30_hwinit()
487 * GPC9-15 LCD in n30_hwinit()
493 /* GPD0 input -- unknown function in n30_hwinit()
494 * GPD1-D7 LCD in n30_hwinit()
495 * GPD8 N30 output -- unknown function in n30_hwinit()
496 * N35/PiN output 1=GPS LED on in n30_hwinit()
497 * GPD9 output 0=power led blinks red, 1=normal power led function in n30_hwinit()
498 * GPD10 output -- unknown function in n30_hwinit()
499 * GPD11-15 LCD drivers in n30_hwinit()
505 /* GPE0-4 I2S audio bus in n30_hwinit()
506 * GPE5-10 SD/MMC bus in n30_hwinit()
507 * E11-13 outputs -- unknown function, probably power management in n30_hwinit()
508 * E14-15 I2C bus connected to the battery controller in n30_hwinit()
518 * GPF3 N30/PiN input -- unknown function in n30_hwinit()
530 * GPG1 input 1=USB gadget port has power from a host in n30_hwinit()
531 * GPG2 N30 input -- unknown function in n30_hwinit()
533 * GPG3 N30 output -- unknown function in n30_hwinit()
538 * GPG6 N30 output 0=blue led on, 1=off in n30_hwinit()
544 * GPG11 N30 input -- unknown function in n30_hwinit()
546 * PiN output -- unknown function in n30_hwinit()
547 * GPG12-15 touch screen functions in n30_hwinit()
563 * GPH8 input -- unknown function in n30_hwinit()
564 * GPH9 CLKOUT0 HCLK -- unknown use in n30_hwinit()
565 * GPH10 CLKOUT1 FCLK -- unknown use in n30_hwinit()
591 /* GPB3 is the line that controls the pull-up for the USB D+ line */
603 /* Turn off suspend on both USB ports, and switch the in n30_init()
604 * selectable USB port to USB device mode. */ in n30_init()
610 /* Configure the I2S pins (GPE0...GPE4) in correct mode */ in n30_init()
615 /* Turn off suspend on both USB ports, and switch the in n30_init()
616 * selectable USB port to USB device mode. */ in n30_init()
621 /* Disable pull-up and add GPIO tables */ in n30_init()
631 /* Turn off suspend and switch the selectable USB port in n30_init()
632 * to USB device mode. Turn on suspend for the host in n30_init()
637 * possible to add a USB device inside the N35 if you in n30_init()
644 /* Disable pull-up and add GPIO tables */ in n30_init()
654 MACHINE_START(N30, "Acer-N30")
656 Ben Dooks <ben-linux@fluff.org>
665 MACHINE_START(N35, "Acer-N35")