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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arc/axc001.dtsi

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ 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.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0-only
  2 /*
  3  * Copyright (C) 2013-15 Synopsys, Inc. (www.synopsys.com)
  4  */
  5 
  6 /*
  7  * Device tree for AXC001 770D/EM6/AS221 CPU card
  8  * Note that this file only supports the 770D CPU
  9  */
 10 
 11 /include/ "skeleton.dtsi"
 12 
 13 / {
 14         compatible = "snps,arc";
 15         #address-cells = <2>;
 16         #size-cells = <2>;
 17 
 18         cpu_card {
 19                 compatible = "simple-bus";
 20                 #address-cells = <1>;
 21                 #size-cells = <1>;
 22 
 23                 ranges = <0x00000000 0x0 0xf0000000 0x10000000>;
 24 
 25                 core_clk: core_clk {
 26                         #clock-cells = <0>;
 27                         compatible = "fixed-clock";
 28                         clock-frequency = <750000000>;
 29                 };
 30 
 31                 input_clk: input-clk {
 32                         #clock-cells = <0>;
 33                         compatible = "fixed-clock";
 34                         clock-frequency = <33333333>;
 35                 };
 36 
 37                 core_intc: arc700-intc@cpu {
 38                         compatible = "snps,arc700-intc";
 39                         interrupt-controller;
 40                         #interrupt-cells = <1>;
 41                 };
 42 
 43                 /*
 44                  * this GPIO block ORs all interrupts on CPU card (creg,..)
 45                  * to uplink only 1 IRQ to ARC core intc
 46                  */
 47                 dw-apb-gpio@2000 {
 48                         compatible = "snps,dw-apb-gpio";
 49                         reg = < 0x2000 0x80 >;
 50                         #address-cells = <1>;
 51                         #size-cells = <0>;
 52 
 53                         ictl_intc: gpio-controller@0 {
 54                                 compatible = "snps,dw-apb-gpio-port";
 55                                 gpio-controller;
 56                                 #gpio-cells = <2>;
 57                                 snps,nr-gpios = <30>;
 58                                 reg = <0>;
 59                                 interrupt-controller;
 60                                 #interrupt-cells = <2>;
 61                                 interrupt-parent = <&core_intc>;
 62                                 interrupts = <15>;
 63                         };
 64                 };
 65 
 66                 debug_uart: dw-apb-uart@5000 {
 67                         compatible = "snps,dw-apb-uart";
 68                         reg = <0x5000 0x100>;
 69                         clock-frequency = <33333000>;
 70                         interrupt-parent = <&ictl_intc>;
 71                         interrupts = <19 4>;
 72                         baud = <115200>;
 73                         reg-shift = <2>;
 74                         reg-io-width = <4>;
 75                 };
 76 
 77                 arcpct0: pct {
 78                         compatible = "snps,arc700-pct";
 79                 };
 80         };
 81 
 82         /*
 83          * This INTC is actually connected to DW APB GPIO
 84          * which acts as a wire between MB INTC and CPU INTC.
 85          * GPIO INTC is configured in platform init code
 86          * and here we mimic direct connection from MB INTC to
 87          * CPU INTC, thus we set "interrupts = <7>" instead of
 88          * "interrupts = <12>"
 89          *
 90          * This intc actually resides on MB, but we move it here to
 91          * avoid duplicating the MB dtsi file given that IRQ from
 92          * this intc to cpu intc are different for axs101 and axs103
 93          */
 94         mb_intc: interrupt-controller@e0012000 {
 95                 #interrupt-cells = <1>;
 96                 compatible = "snps,dw-apb-ictl";
 97                 reg = < 0x0 0xe0012000 0x0 0x200 >;
 98                 interrupt-controller;
 99                 interrupt-parent = <&core_intc>;
100                 interrupts = < 7 >;
101         };
102 
103         memory {
104                 device_type = "memory";
105                 /* CONFIG_LINUX_RAM_BASE needs to match low mem start */
106                 reg = <0x0 0x80000000 0x0 0x1b000000>;  /* (512 - 32) MiB */
107         };
108 
109         reserved-memory {
110                 #address-cells = <2>;
111                 #size-cells = <2>;
112                 ranges;
113                 /*
114                  * We just move frame buffer area to the very end of
115                  * available DDR. And even though in case of ARC770 there's
116                  * no strict requirement for a frame-buffer to be in any
117                  * particular location it allows us to use the same
118                  * base board's DT node for ARC PGU as for ARc HS38.
119                  */
120                 frame_buffer: frame_buffer@9e000000 {
121                         compatible = "shared-dma-pool";
122                         reg = <0x0 0x9e000000 0x0 0x2000000>;
123                         no-map;
124                 };
125         };
126 };

~ [ 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