Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) // SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) //
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) //	originally from arch/arm/plat-s3c24xx/devs.c
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) //
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) // Copyright (c) 2004 Simtec Electronics
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) //	Ben Dooks <ben@simtec.co.uk>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) //
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) // Base S3C24XX platform device definitions
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #include <linux/kernel.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) #include <linux/platform_device.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) #include "devs.h"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) /* uart devices */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) static struct platform_device s3c24xx_uart_device0 = {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 	.id		= 0,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) static struct platform_device s3c24xx_uart_device1 = {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 	.id		= 1,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) static struct platform_device s3c24xx_uart_device2 = {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 	.id		= 2,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) static struct platform_device s3c24xx_uart_device3 = {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 	.id		= 3,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) struct platform_device *s3c24xx_uart_src[4] = {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) 	&s3c24xx_uart_device0,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 	&s3c24xx_uart_device1,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) 	&s3c24xx_uart_device2,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) 	&s3c24xx_uart_device3,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) struct platform_device *s3c24xx_uart_devs[4] = {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) };