Heiko Stuebner | f75efdd | 2013-09-29 13:25:08 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2013 MundoReader S.L. |
| 3 | * Author: Heiko Stuebner <heiko@sntech.de> |
| 4 | * |
| 5 | * This program is free software; you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License as published by |
| 7 | * the Free Software Foundation; either version 2 of the License, or |
| 8 | * (at your option) any later version. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | */ |
| 15 | |
| 16 | #include <dt-bindings/interrupt-controller/irq.h> |
| 17 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
| 18 | #include "skeleton.dtsi" |
| 19 | |
| 20 | / { |
| 21 | interrupt-parent = <&gic>; |
| 22 | |
| 23 | soc { |
| 24 | #address-cells = <1>; |
| 25 | #size-cells = <1>; |
| 26 | compatible = "simple-bus"; |
| 27 | ranges; |
| 28 | |
Heiko Stuebner | f6f70cf | 2013-06-17 21:28:57 +0200 | [diff] [blame^] | 29 | scu@1013c000 { |
| 30 | compatible = "arm,cortex-a9-scu"; |
| 31 | reg = <0x1013c000 0x100>; |
| 32 | }; |
| 33 | |
Heiko Stuebner | f75efdd | 2013-09-29 13:25:08 +0200 | [diff] [blame] | 34 | gic: interrupt-controller@1013d000 { |
| 35 | compatible = "arm,cortex-a9-gic"; |
| 36 | interrupt-controller; |
| 37 | #interrupt-cells = <3>; |
| 38 | reg = <0x1013d000 0x1000>, |
| 39 | <0x1013c100 0x0100>; |
| 40 | }; |
| 41 | |
| 42 | L2: l2-cache-controller@10138000 { |
| 43 | compatible = "arm,pl310-cache"; |
| 44 | reg = <0x10138000 0x1000>; |
| 45 | cache-unified; |
| 46 | cache-level = <2>; |
| 47 | }; |
| 48 | |
Heiko Stuebner | f95a2b3 | 2013-09-30 16:29:55 +0200 | [diff] [blame] | 49 | global-timer@1013c200 { |
| 50 | compatible = "arm,cortex-a9-global-timer"; |
| 51 | reg = <0x1013c200 0x20>; |
| 52 | interrupts = <GIC_PPI 11 0x304>; |
| 53 | clocks = <&dummy150m>; |
| 54 | }; |
| 55 | |
Heiko Stuebner | f75efdd | 2013-09-29 13:25:08 +0200 | [diff] [blame] | 56 | local-timer@1013c600 { |
| 57 | compatible = "arm,cortex-a9-twd-timer"; |
| 58 | reg = <0x1013c600 0x20>; |
| 59 | interrupts = <GIC_PPI 13 0x304>; |
| 60 | clocks = <&dummy150m>; |
| 61 | }; |
| 62 | |
| 63 | uart0: serial@10124000 { |
| 64 | compatible = "snps,dw-apb-uart"; |
| 65 | reg = <0x10124000 0x400>; |
| 66 | interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; |
| 67 | reg-shift = <2>; |
| 68 | reg-io-width = <1>; |
| 69 | clocks = <&clk_gates1 8>; |
| 70 | status = "disabled"; |
| 71 | }; |
| 72 | |
| 73 | uart1: serial@10126000 { |
| 74 | compatible = "snps,dw-apb-uart"; |
| 75 | reg = <0x10126000 0x400>; |
| 76 | interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; |
| 77 | reg-shift = <2>; |
| 78 | reg-io-width = <1>; |
| 79 | clocks = <&clk_gates1 10>; |
| 80 | status = "disabled"; |
| 81 | }; |
| 82 | |
| 83 | uart2: serial@20064000 { |
| 84 | compatible = "snps,dw-apb-uart"; |
| 85 | reg = <0x20064000 0x400>; |
| 86 | interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>; |
| 87 | reg-shift = <2>; |
| 88 | reg-io-width = <1>; |
| 89 | clocks = <&clk_gates1 12>; |
| 90 | status = "disabled"; |
| 91 | }; |
| 92 | |
| 93 | uart3: serial@20068000 { |
| 94 | compatible = "snps,dw-apb-uart"; |
| 95 | reg = <0x20068000 0x400>; |
| 96 | interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; |
| 97 | reg-shift = <2>; |
| 98 | reg-io-width = <1>; |
| 99 | clocks = <&clk_gates1 14>; |
| 100 | status = "disabled"; |
| 101 | }; |
| 102 | |
| 103 | dwmmc@10214000 { |
| 104 | compatible = "rockchip,rk2928-dw-mshc"; |
| 105 | reg = <0x10214000 0x1000>; |
| 106 | interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; |
| 107 | #address-cells = <1>; |
| 108 | #size-cells = <0>; |
| 109 | |
| 110 | clocks = <&clk_gates5 10>, <&clk_gates2 11>; |
| 111 | clock-names = "biu", "ciu"; |
| 112 | |
| 113 | status = "disabled"; |
| 114 | }; |
| 115 | |
| 116 | dwmmc@10218000 { |
| 117 | compatible = "rockchip,rk2928-dw-mshc"; |
| 118 | reg = <0x10218000 0x1000>; |
| 119 | interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>; |
| 120 | #address-cells = <1>; |
| 121 | #size-cells = <0>; |
| 122 | |
| 123 | clocks = <&clk_gates5 11>, <&clk_gates2 13>; |
| 124 | clock-names = "biu", "ciu"; |
| 125 | |
| 126 | status = "disabled"; |
| 127 | }; |
| 128 | }; |
| 129 | }; |