The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/src/arm/sunplus-sp7021-achip.dtsi

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 // SPDX-License-Identifier: GPL-2.0
    2 /*
    3  * Device Tree Source for Sunplus SP7021
    4  *
    5  * Copyright (C) 2021 Sunplus Technology Co.
    6  */
    7 
    8 #include "sunplus-sp7021.dtsi"
    9 #include <dt-bindings/interrupt-controller/arm-gic.h>
   10 
   11 / {
   12         compatible = "sunplus,sp7021-achip", "sunplus,sp7021";
   13         model = "Sunplus SP7021 (CA7)";
   14         #address-cells = <1>;
   15         #size-cells = <1>;
   16         interrupt-parent = <&gic>;
   17 
   18         cpus {
   19                 #address-cells = <1>;
   20                 #size-cells = <0>;
   21 
   22                 cpu0: cpu@0 {
   23                         compatible = "arm,cortex-a7";
   24                         device_type = "cpu";
   25                         reg = <0>;
   26                         clock-frequency = <931000000>;
   27                 };
   28                 cpu1: cpu@1 {
   29                         compatible = "arm,cortex-a7";
   30                         device_type = "cpu";
   31                         reg = <1>;
   32                         clock-frequency = <931000000>;
   33                 };
   34                 cpu2: cpu@2 {
   35                         compatible = "arm,cortex-a7";
   36                         device_type = "cpu";
   37                         reg = <2>;
   38                         clock-frequency = <931000000>;
   39                 };
   40                 cpu3: cpu@3 {
   41                         compatible = "arm,cortex-a7";
   42                         device_type = "cpu";
   43                         reg = <3>;
   44                         clock-frequency = <931000000>;
   45                 };
   46         };
   47 
   48         gic: interrupt-controller@9f101000 {
   49                 compatible = "arm,cortex-a7-gic";
   50                 interrupt-controller;
   51                 #interrupt-cells = <3>;
   52                 reg = <0x9f101000 0x1000>,
   53                       <0x9f102000 0x2000>,
   54                       <0x9f104000 0x2000>,
   55                       <0x9f106000 0x2000>;
   56         };
   57 
   58         timer {
   59                 compatible = "arm,armv7-timer";
   60                 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
   61                              <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
   62                              <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
   63                              <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
   64                 clock-frequency = <XTAL>;
   65                 arm,cpu-registers-not-fw-configured;
   66         };
   67 
   68         arm-pmu {
   69                 compatible = "arm,cortex-a7-pmu";
   70                 interrupts = <GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH>,
   71                              <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>,
   72                              <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>,
   73                              <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>;
   74                 interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
   75         };
   76 
   77         soc@9c000000 {
   78                 intc: interrupt-controller@780 {
   79                         interrupt-parent = <&gic>;
   80                         interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>, /* EXT_INT0 */
   81                                      <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; /* EXT_INT1 */
   82                 };
   83         };
   84 };

Cache object: f100ffa3943148e014d5c68f71503102


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.