|  | @@ -175,3 +175,52 @@ static struct gpio_led_platform_data gpio_leds_info = {
 | 
	
		
			
				|  |  |  	.num_leds	= ARRAY_SIZE(gpio_leds),
 | 
	
		
			
				|  |  |  };
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +static struct platform_device gpio_leds_device = {
 | 
	
		
			
				|  |  | +	.name   = "leds-gpio",
 | 
	
		
			
				|  |  | +	.id     = -1,
 | 
	
		
			
				|  |  | +	.dev    = {
 | 
	
		
			
				|  |  | +		.platform_data  = &gpio_leds_info,
 | 
	
		
			
				|  |  | +	},
 | 
	
		
			
				|  |  | +};
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +/* TPU LED */
 | 
	
		
			
				|  |  | +static struct led_renesas_tpu_config led_renesas_tpu12_pdata = {
 | 
	
		
			
				|  |  | +	.name		= "V2513",
 | 
	
		
			
				|  |  | +	.pin_gpio_fn	= GPIO_FN_TPU1TO2,
 | 
	
		
			
				|  |  | +	.pin_gpio	= GPIO_PORT153,
 | 
	
		
			
				|  |  | +	.channel_offset = 0x90,
 | 
	
		
			
				|  |  | +	.timer_bit = 2,
 | 
	
		
			
				|  |  | +	.max_brightness = 1000,
 | 
	
		
			
				|  |  | +};
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +static struct resource tpu12_resources[] = {
 | 
	
		
			
				|  |  | +	[0] = {
 | 
	
		
			
				|  |  | +		.name	= "TPU12",
 | 
	
		
			
				|  |  | +		.start	= 0xe6610090,
 | 
	
		
			
				|  |  | +		.end	= 0xe66100b5,
 | 
	
		
			
				|  |  | +		.flags	= IORESOURCE_MEM,
 | 
	
		
			
				|  |  | +	},
 | 
	
		
			
				|  |  | +};
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +static struct platform_device leds_tpu12_device = {
 | 
	
		
			
				|  |  | +	.name = "leds-renesas-tpu",
 | 
	
		
			
				|  |  | +	.id = 12,
 | 
	
		
			
				|  |  | +	.dev = {
 | 
	
		
			
				|  |  | +		.platform_data  = &led_renesas_tpu12_pdata,
 | 
	
		
			
				|  |  | +	},
 | 
	
		
			
				|  |  | +	.num_resources	= ARRAY_SIZE(tpu12_resources),
 | 
	
		
			
				|  |  | +	.resource	= tpu12_resources,
 | 
	
		
			
				|  |  | +};
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +static struct led_renesas_tpu_config led_renesas_tpu41_pdata = {
 | 
	
		
			
				|  |  | +	.name		= "V2514",
 | 
	
		
			
				|  |  | +	.pin_gpio_fn	= GPIO_FN_TPU4TO1,
 | 
	
		
			
				|  |  | +	.pin_gpio	= GPIO_PORT199,
 | 
	
		
			
				|  |  | +	.channel_offset = 0x50,
 | 
	
		
			
				|  |  | +	.timer_bit = 1,
 | 
	
		
			
				|  |  | +	.max_brightness = 1000,
 | 
	
		
			
				|  |  | +};
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +static struct resource tpu41_resources[] = {
 | 
	
		
			
				|  |  | +	[0] = {
 | 
	
		
			
				|  |  | +		.name	= "TPU41",
 |