Christian Daudt | 8ac49e0 | 2012-11-19 09:46:10 -0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2012 Broadcom Corporation |
| 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"; |
| 21 | compatible = "bcm,bcm11351"; |
| 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 { |
| 38 | compatible = "bcm,bcm11351-smc", "bcm,kona-smc"; |
| 39 | reg = <0x3404c000 0x400>; //1 KiB in SRAM |
| 40 | }; |
| 41 | |
Christian Daudt | 8ac49e0 | 2012-11-19 09:46:10 -0800 | [diff] [blame] | 42 | uart@3e000000 { |
| 43 | compatible = "bcm,bcm11351-dw-apb-uart", "snps,dw-apb-uart"; |
| 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 { |
| 53 | compatible = "arm,pl310-cache"; |
| 54 | reg = <0x3ff20000 0x1000>; |
| 55 | cache-unified; |
| 56 | cache-level = <2>; |
| 57 | }; |
Christian Daudt | 5f03dc2 | 2013-03-13 14:27:28 -0700 | [diff] [blame] | 58 | |
| 59 | timer@35006000 { |
| 60 | compatible = "bcm,kona-timer"; |
| 61 | reg = <0x35006000 0x1000>; |
Matt Porter | 5401cc4 | 2013-06-06 01:41:35 -0400 | [diff] [blame^] | 62 | interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; |
Christian Daudt | 5f03dc2 | 2013-03-13 14:27:28 -0700 | [diff] [blame] | 63 | clock-frequency = <32768>; |
| 64 | }; |
| 65 | |
Christian Daudt | 8ac49e0 | 2012-11-19 09:46:10 -0800 | [diff] [blame] | 66 | }; |