blob: 05a5aabe3b2ccadbef92c305659ccf4f51fd7580 [file] [log] [blame]
Christian Daudt8ac49e02012-11-19 09:46:10 -08001/*
Markus Mayere3b62ff2013-08-02 13:12:21 -07002 * Copyright (C) 2012-2013 Broadcom Corporation
Christian Daudt8ac49e02012-11-19 09:46:10 -08003 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License as
6 * published by the Free Software Foundation version 2.
7 *
8 * This program is distributed "as is" WITHOUT ANY WARRANTY of any
9 * kind, whether express or implied; without even the implied warranty
10 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 */
13
Matt Porter5401cc42013-06-06 01:41:35 -040014#include <dt-bindings/interrupt-controller/arm-gic.h>
15#include <dt-bindings/interrupt-controller/irq.h>
16
Matt Porter74375652013-06-06 01:41:34 -040017#include "skeleton.dtsi"
Christian Daudt8ac49e02012-11-19 09:46:10 -080018
19/ {
20 model = "BCM11351 SoC";
Christian Daudt15e22dd2013-07-30 16:27:10 -070021 compatible = "brcm,bcm11351";
Christian Daudt8ac49e02012-11-19 09:46:10 -080022 interrupt-parent = <&gic>;
23
24 chosen {
25 bootargs = "console=ttyS0,115200n8";
26 };
27
28 gic: interrupt-controller@3ff00100 {
29 compatible = "arm,cortex-a9-gic";
30 #interrupt-cells = <3>;
31 #address-cells = <0>;
32 interrupt-controller;
33 reg = <0x3ff01000 0x1000>,
34 <0x3ff00100 0x100>;
35 };
36
Christian Daudt7f6c62e2013-03-13 15:05:37 -070037 smc@0x3404c000 {
Christian Daudt15e22dd2013-07-30 16:27:10 -070038 compatible = "brcm,bcm11351-smc", "brcm,kona-smc";
Matt Porterd22dc5e2013-06-11 14:45:58 -040039 reg = <0x3404c000 0x400>; /* 1 KiB in SRAM */
Christian Daudt7f6c62e2013-03-13 15:05:37 -070040 };
41
Christian Daudt8ac49e02012-11-19 09:46:10 -080042 uart@3e000000 {
Christian Daudt15e22dd2013-07-30 16:27:10 -070043 compatible = "brcm,bcm11351-dw-apb-uart", "snps,dw-apb-uart";
Christian Daudt8ac49e02012-11-19 09:46:10 -080044 status = "disabled";
45 reg = <0x3e000000 0x1000>;
46 clock-frequency = <13000000>;
Matt Porter5401cc42013-06-06 01:41:35 -040047 interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
Christian Daudt8ac49e02012-11-19 09:46:10 -080048 reg-shift = <2>;
49 reg-io-width = <4>;
50 };
51
52 L2: l2-cache {
Christian Daudt15e22dd2013-07-30 16:27:10 -070053 compatible = "brcm,bcm11351-a2-pl310-cache";
Christian Daudt3b656fe2013-05-09 22:21:01 +010054 reg = <0x3ff20000 0x1000>;
55 cache-unified;
56 cache-level = <2>;
Christian Daudt8ac49e02012-11-19 09:46:10 -080057 };
Christian Daudt5f03dc22013-03-13 14:27:28 -070058
Markus Mayere3b62ff2013-08-02 13:12:21 -070059 watchdog@35002f40 {
60 compatible = "brcm,bcm11351-wdt", "brcm,kona-wdt";
61 reg = <0x35002f40 0x6c>;
62 };
63
Christian Daudt5f03dc22013-03-13 14:27:28 -070064 timer@35006000 {
Christian Daudt15e22dd2013-07-30 16:27:10 -070065 compatible = "brcm,kona-timer";
Christian Daudt5f03dc22013-03-13 14:27:28 -070066 reg = <0x35006000 0x1000>;
Matt Porter5401cc42013-06-06 01:41:35 -040067 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
Christian Daudt5f03dc22013-03-13 14:27:28 -070068 clock-frequency = <32768>;
69 };
70
Christian Daudtd7358f82013-08-07 22:37:47 -070071 sdio1: sdio@3f180000 {
Christian Daudt15e22dd2013-07-30 16:27:10 -070072 compatible = "brcm,kona-sdhci";
Christian Daudt2dbfe742013-05-10 00:10:07 -070073 reg = <0x3f180000 0x10000>;
74 interrupts = <0x0 77 0x4>;
75 status = "disabled";
76 };
77
Christian Daudtd7358f82013-08-07 22:37:47 -070078 sdio2: sdio@3f190000 {
Christian Daudt15e22dd2013-07-30 16:27:10 -070079 compatible = "brcm,kona-sdhci";
Christian Daudt2dbfe742013-05-10 00:10:07 -070080 reg = <0x3f190000 0x10000>;
81 interrupts = <0x0 76 0x4>;
82 status = "disabled";
83 };
84
Christian Daudtd7358f82013-08-07 22:37:47 -070085 sdio3: sdio@3f1a0000 {
Christian Daudt15e22dd2013-07-30 16:27:10 -070086 compatible = "brcm,kona-sdhci";
Christian Daudt2dbfe742013-05-10 00:10:07 -070087 reg = <0x3f1a0000 0x10000>;
88 interrupts = <0x0 74 0x4>;
89 status = "disabled";
90 };
91
Christian Daudtd7358f82013-08-07 22:37:47 -070092 sdio4: sdio@3f1b0000 {
Christian Daudt15e22dd2013-07-30 16:27:10 -070093 compatible = "brcm,kona-sdhci";
Christian Daudt2dbfe742013-05-10 00:10:07 -070094 reg = <0x3f1b0000 0x10000>;
95 interrupts = <0x0 73 0x4>;
96 status = "disabled";
97 };
98
Christian Daudt8ac49e02012-11-19 09:46:10 -080099};