~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm/mach-s3c/mach-s3c64xx-dt.c

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0
  2 //
  3 // Samsung's S3C64XX flattened device tree enabled machine
  4 //
  5 // Copyright (c) 2013 Tomasz Figa <tomasz.figa@gmail.com>
  6 
  7 #include <asm/mach/arch.h>
  8 #include <asm/mach/map.h>
  9 #include <asm/system_misc.h>
 10 
 11 #include "cpu.h"
 12 #include "map.h"
 13 
 14 #include "s3c64xx.h"
 15 
 16 /*
 17  * IO mapping for shared system controller IP.
 18  *
 19  * FIXME: Make remaining drivers use dynamic mapping.
 20  */
 21 static struct map_desc s3c64xx_dt_iodesc[] __initdata = {
 22         {
 23                 .virtual        = (unsigned long)S3C_VA_SYS,
 24                 .pfn            = __phys_to_pfn(S3C64XX_PA_SYSCON),
 25                 .length         = SZ_4K,
 26                 .type           = MT_DEVICE,
 27         },
 28 };
 29 
 30 static void __init s3c64xx_dt_map_io(void)
 31 {
 32         debug_ll_io_init();
 33         iotable_init(s3c64xx_dt_iodesc, ARRAY_SIZE(s3c64xx_dt_iodesc));
 34 
 35         s3c64xx_init_cpu();
 36 
 37         if (!soc_is_s3c64xx())
 38                 panic("SoC is not S3C64xx!");
 39 }
 40 
 41 static const char *const s3c64xx_dt_compat[] __initconst = {
 42         "samsung,s3c6400",
 43         "samsung,s3c6410",
 44         NULL
 45 };
 46 
 47 DT_MACHINE_START(S3C6400_DT, "Samsung S3C64xx (Flattened Device Tree)")
 48         /* Maintainer: Tomasz Figa <tomasz.figa@gmail.com> */
 49         .dt_compat      = s3c64xx_dt_compat,
 50         .map_io         = s3c64xx_dt_map_io,
 51 MACHINE_END
 52 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php