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

TOMOYO Linux Cross Reference
Linux/arch/powerpc/platforms/83xx/mpc836x_rdk.c

Version: ~ [ linux-6.2-rc3 ] ~ [ linux-6.1.5 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.87 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.162 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.228 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.269 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.302 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.8.17 ] ~ [ linux-4.7.10 ] ~ [ linux-4.6.7 ] ~ [ linux-4.5.7 ] ~ [ linux-4.4.302 ] ~ [ linux-4.3.6 ] ~ [ linux-4.2.8 ] ~ [ linux-4.1.52 ] ~ [ linux-4.0.9 ] ~ [ 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 /*
  2  * MPC8360E-RDK board file.
  3  *
  4  * Copyright (c) 2006  Freescale Semiconductor, Inc.
  5  * Copyright (c) 2007-2008  MontaVista Software, Inc.
  6  *
  7  * Author: Anton Vorontsov <avorontsov@ru.mvista.com>
  8  *
  9  * This program is free software; you can redistribute it and/or modify it
 10  * under  the terms of  the GNU General  Public License as published by the
 11  * Free Software Foundation;  either version 2 of the  License, or (at your
 12  * option) any later version.
 13  */
 14 
 15 #include <linux/kernel.h>
 16 #include <linux/pci.h>
 17 #include <linux/of_platform.h>
 18 #include <linux/io.h>
 19 #include <asm/prom.h>
 20 #include <asm/time.h>
 21 #include <asm/ipic.h>
 22 #include <asm/udbg.h>
 23 #include <asm/qe.h>
 24 #include <asm/qe_ic.h>
 25 #include <sysdev/fsl_soc.h>
 26 #include <sysdev/fsl_pci.h>
 27 
 28 #include "mpc83xx.h"
 29 
 30 machine_device_initcall(mpc836x_rdk, mpc83xx_declare_of_platform_devices);
 31 
 32 static void __init mpc836x_rdk_setup_arch(void)
 33 {
 34         if (ppc_md.progress)
 35                 ppc_md.progress("mpc836x_rdk_setup_arch()", 0);
 36 
 37         mpc83xx_setup_pci();
 38 #ifdef CONFIG_QUICC_ENGINE
 39         qe_reset();
 40 #endif
 41 }
 42 
 43 /*
 44  * Called very early, MMU is off, device-tree isn't unflattened.
 45  */
 46 static int __init mpc836x_rdk_probe(void)
 47 {
 48         unsigned long root = of_get_flat_dt_root();
 49 
 50         return of_flat_dt_is_compatible(root, "fsl,mpc8360rdk");
 51 }
 52 
 53 define_machine(mpc836x_rdk) {
 54         .name           = "MPC836x RDK",
 55         .probe          = mpc836x_rdk_probe,
 56         .setup_arch     = mpc836x_rdk_setup_arch,
 57         .init_IRQ       = mpc83xx_ipic_and_qe_init_IRQ,
 58         .get_irq        = ipic_get_irq,
 59         .restart        = mpc83xx_restart,
 60         .time_init      = mpc83xx_time_init,
 61         .calibrate_decr = generic_calibrate_decr,
 62         .progress       = udbg_progress,
 63 };
 64 

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

kernel.org | git.kernel.org | LWN.net | Project Home | Wiki (Japanese) | Wiki (English) | 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.

osdn.jp