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

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/broadcom/bcm6846.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.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 /*
  3  * Copyright 2022 Broadcom Ltd.
  4  */
  5 
  6 #include <dt-bindings/interrupt-controller/arm-gic.h>
  7 #include <dt-bindings/interrupt-controller/irq.h>
  8 
  9 / {
 10         compatible = "brcm,bcm6846", "brcm,bcmbca";
 11         #address-cells = <1>;
 12         #size-cells = <1>;
 13 
 14         interrupt-parent = <&gic>;
 15 
 16         cpus {
 17                 #address-cells = <1>;
 18                 #size-cells = <0>;
 19 
 20                 CA7_0: cpu@0 {
 21                         device_type = "cpu";
 22                         compatible = "arm,cortex-a7";
 23                         reg = <0x0>;
 24                         next-level-cache = <&L2_0>;
 25                         enable-method = "psci";
 26                 };
 27 
 28                 CA7_1: cpu@1 {
 29                         device_type = "cpu";
 30                         compatible = "arm,cortex-a7";
 31                         reg = <0x1>;
 32                         next-level-cache = <&L2_0>;
 33                         enable-method = "psci";
 34                 };
 35 
 36                 L2_0: l2-cache0 {
 37                         compatible = "cache";
 38                         cache-level = <2>;
 39                         cache-unified;
 40                 };
 41         };
 42 
 43         timer {
 44                 compatible = "arm,armv7-timer";
 45                 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
 46                         <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
 47                         <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
 48                         <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
 49                 arm,cpu-registers-not-fw-configured;
 50         };
 51 
 52         pmu: pmu {
 53                 compatible = "arm,cortex-a7-pmu";
 54                 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
 55                         <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
 56                 interrupt-affinity = <&CA7_0>, <&CA7_1>;
 57         };
 58 
 59         clocks: clocks {
 60                 periph_clk: periph-clk {
 61                         compatible = "fixed-clock";
 62                         #clock-cells = <0>;
 63                         clock-frequency = <200000000>;
 64                 };
 65 
 66                 hsspi_pll: hsspi-pll {
 67                         compatible = "fixed-clock";
 68                         #clock-cells = <0>;
 69                         clock-frequency = <400000000>;
 70                 };
 71         };
 72 
 73         psci {
 74                 compatible = "arm,psci-0.2";
 75                 method = "smc";
 76         };
 77 
 78         axi@81000000 {
 79                 compatible = "simple-bus";
 80                 #address-cells = <1>;
 81                 #size-cells = <1>;
 82                 ranges = <0 0x81000000 0x8000>;
 83 
 84                 gic: interrupt-controller@1000 {
 85                         compatible = "arm,cortex-a7-gic";
 86                         #interrupt-cells = <3>;
 87                         interrupt-controller;
 88                         interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
 89                         reg = <0x1000 0x1000>,
 90                                 <0x2000 0x2000>,
 91                                 <0x4000 0x2000>,
 92                                 <0x6000 0x2000>;
 93                 };
 94         };
 95 
 96         bus@ff800000 {
 97                 compatible = "simple-bus";
 98                 #address-cells = <1>;
 99                 #size-cells = <1>;
100                 ranges = <0 0xff800000 0x800000>;
101 
102                 uart0: serial@640 {
103                         compatible = "brcm,bcm6345-uart";
104                         reg = <0x640 0x1b>;
105                         interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
106                         clocks = <&periph_clk>;
107                         clock-names = "refclk";
108                         status = "disabled";
109                 };
110 
111                 hsspi: spi@1000 {
112                         #address-cells = <1>;
113                         #size-cells = <0>;
114                         compatible = "brcm,bcm6846-hsspi", "brcm,bcmbca-hsspi-v1.0";
115                         reg = <0x1000 0x600>;
116                         interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
117                         clocks = <&hsspi_pll &hsspi_pll>;
118                         clock-names = "hsspi", "pll";
119                         num-cs = <8>;
120                         status = "disabled";
121                 };
122 
123                 nand_controller: nand-controller@1800 {
124                         #address-cells = <1>;
125                         #size-cells = <0>;
126                         compatible = "brcm,nand-bcm63138", "brcm,brcmnand-v7.1", "brcm,brcmnand";
127                         reg = <0x1800 0x600>, <0x2000 0x10>;
128                         reg-names = "nand", "nand-int-base";
129                         status = "disabled";
130 
131                         nandcs: nand@0 {
132                                 compatible = "brcm,nandcs";
133                                 reg = <0>;
134                         };
135                 };
136         };
137 };

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