Christian Daudt | 8ac49e0 | 2012-11-19 09:46:10 -0800 | [diff] [blame] | 1 | /* |
Markus Mayer | e3b62ff | 2013-08-02 13:12:21 -0700 | [diff] [blame] | 2 | * Copyright (C) 2012-2013 Broadcom Corporation |
Christian Daudt | 8ac49e0 | 2012-11-19 09:46:10 -0800 | [diff] [blame] | 3 | * |
| 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 Porter | 5401cc4 | 2013-06-06 01:41:35 -0400 | [diff] [blame] | 14 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
| 15 | #include <dt-bindings/interrupt-controller/irq.h> |
| 16 | |
Matt Porter | 7437565 | 2013-06-06 01:41:34 -0400 | [diff] [blame] | 17 | #include "skeleton.dtsi" |
Christian Daudt | 8ac49e0 | 2012-11-19 09:46:10 -0800 | [diff] [blame] | 18 | |
| 19 | / { |
| 20 | model = "BCM11351 SoC"; |
Christian Daudt | 15e22dd | 2013-07-30 16:27:10 -0700 | [diff] [blame] | 21 | compatible = "brcm,bcm11351"; |
Christian Daudt | 8ac49e0 | 2012-11-19 09:46:10 -0800 | [diff] [blame] | 22 | 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 Daudt | 7f6c62e | 2013-03-13 15:05:37 -0700 | [diff] [blame] | 37 | smc@0x3404c000 { |
Christian Daudt | 15e22dd | 2013-07-30 16:27:10 -0700 | [diff] [blame] | 38 | compatible = "brcm,bcm11351-smc", "brcm,kona-smc"; |
Matt Porter | d22dc5e | 2013-06-11 14:45:58 -0400 | [diff] [blame] | 39 | reg = <0x3404c000 0x400>; /* 1 KiB in SRAM */ |
Christian Daudt | 7f6c62e | 2013-03-13 15:05:37 -0700 | [diff] [blame] | 40 | }; |
| 41 | |
Christian Daudt | 8ac49e0 | 2012-11-19 09:46:10 -0800 | [diff] [blame] | 42 | uart@3e000000 { |
Christian Daudt | 15e22dd | 2013-07-30 16:27:10 -0700 | [diff] [blame] | 43 | compatible = "brcm,bcm11351-dw-apb-uart", "snps,dw-apb-uart"; |
Christian Daudt | 8ac49e0 | 2012-11-19 09:46:10 -0800 | [diff] [blame] | 44 | status = "disabled"; |
| 45 | reg = <0x3e000000 0x1000>; |
| 46 | clock-frequency = <13000000>; |
Matt Porter | 5401cc4 | 2013-06-06 01:41:35 -0400 | [diff] [blame] | 47 | interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>; |
Christian Daudt | 8ac49e0 | 2012-11-19 09:46:10 -0800 | [diff] [blame] | 48 | reg-shift = <2>; |
| 49 | reg-io-width = <4>; |
| 50 | }; |
| 51 | |
| 52 | L2: l2-cache { |
Christian Daudt | 15e22dd | 2013-07-30 16:27:10 -0700 | [diff] [blame] | 53 | compatible = "brcm,bcm11351-a2-pl310-cache"; |
Christian Daudt | 3b656fe | 2013-05-09 22:21:01 +0100 | [diff] [blame] | 54 | reg = <0x3ff20000 0x1000>; |
| 55 | cache-unified; |
| 56 | cache-level = <2>; |
Christian Daudt | 8ac49e0 | 2012-11-19 09:46:10 -0800 | [diff] [blame] | 57 | }; |
Christian Daudt | 5f03dc2 | 2013-03-13 14:27:28 -0700 | [diff] [blame] | 58 | |
Markus Mayer | e3b62ff | 2013-08-02 13:12:21 -0700 | [diff] [blame] | 59 | watchdog@35002f40 { |
| 60 | compatible = "brcm,bcm11351-wdt", "brcm,kona-wdt"; |
| 61 | reg = <0x35002f40 0x6c>; |
| 62 | }; |
| 63 | |
Christian Daudt | 5f03dc2 | 2013-03-13 14:27:28 -0700 | [diff] [blame] | 64 | timer@35006000 { |
Christian Daudt | 15e22dd | 2013-07-30 16:27:10 -0700 | [diff] [blame] | 65 | compatible = "brcm,kona-timer"; |
Christian Daudt | 5f03dc2 | 2013-03-13 14:27:28 -0700 | [diff] [blame] | 66 | reg = <0x35006000 0x1000>; |
Matt Porter | 5401cc4 | 2013-06-06 01:41:35 -0400 | [diff] [blame] | 67 | interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; |
Christian Daudt | 5f03dc2 | 2013-03-13 14:27:28 -0700 | [diff] [blame] | 68 | clock-frequency = <32768>; |
| 69 | }; |
| 70 | |
Christian Daudt | d7358f8 | 2013-08-07 22:37:47 -0700 | [diff] [blame] | 71 | sdio1: sdio@3f180000 { |
Christian Daudt | 15e22dd | 2013-07-30 16:27:10 -0700 | [diff] [blame] | 72 | compatible = "brcm,kona-sdhci"; |
Christian Daudt | 2dbfe74 | 2013-05-10 00:10:07 -0700 | [diff] [blame] | 73 | reg = <0x3f180000 0x10000>; |
| 74 | interrupts = <0x0 77 0x4>; |
| 75 | status = "disabled"; |
| 76 | }; |
| 77 | |
Christian Daudt | d7358f8 | 2013-08-07 22:37:47 -0700 | [diff] [blame] | 78 | sdio2: sdio@3f190000 { |
Christian Daudt | 15e22dd | 2013-07-30 16:27:10 -0700 | [diff] [blame] | 79 | compatible = "brcm,kona-sdhci"; |
Christian Daudt | 2dbfe74 | 2013-05-10 00:10:07 -0700 | [diff] [blame] | 80 | reg = <0x3f190000 0x10000>; |
| 81 | interrupts = <0x0 76 0x4>; |
| 82 | status = "disabled"; |
| 83 | }; |
| 84 | |
Christian Daudt | d7358f8 | 2013-08-07 22:37:47 -0700 | [diff] [blame] | 85 | sdio3: sdio@3f1a0000 { |
Christian Daudt | 15e22dd | 2013-07-30 16:27:10 -0700 | [diff] [blame] | 86 | compatible = "brcm,kona-sdhci"; |
Christian Daudt | 2dbfe74 | 2013-05-10 00:10:07 -0700 | [diff] [blame] | 87 | reg = <0x3f1a0000 0x10000>; |
| 88 | interrupts = <0x0 74 0x4>; |
| 89 | status = "disabled"; |
| 90 | }; |
| 91 | |
Christian Daudt | d7358f8 | 2013-08-07 22:37:47 -0700 | [diff] [blame] | 92 | sdio4: sdio@3f1b0000 { |
Christian Daudt | 15e22dd | 2013-07-30 16:27:10 -0700 | [diff] [blame] | 93 | compatible = "brcm,kona-sdhci"; |
Christian Daudt | 2dbfe74 | 2013-05-10 00:10:07 -0700 | [diff] [blame] | 94 | reg = <0x3f1b0000 0x10000>; |
| 95 | interrupts = <0x0 73 0x4>; |
| 96 | status = "disabled"; |
| 97 | }; |
| 98 | |
Christian Daudt | 8ac49e0 | 2012-11-19 09:46:10 -0800 | [diff] [blame] | 99 | }; |