Haojian Zhuang | ff290fc | 2012-04-19 18:44:50 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2012 Marvell Technology Group Ltd. |
| 3 | * Author: Haojian Zhuang <haojian.zhuang@marvell.com> |
| 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 version 2 as |
| 7 | * publishhed by the Free Software Foundation. |
| 8 | */ |
| 9 | |
| 10 | /include/ "skeleton.dtsi" |
| 11 | |
| 12 | / { |
| 13 | aliases { |
| 14 | serial0 = &uart1; |
| 15 | serial1 = &uart2; |
| 16 | serial2 = &uart3; |
| 17 | i2c0 = &twsi1; |
| 18 | i2c1 = &twsi2; |
| 19 | }; |
| 20 | |
| 21 | soc { |
| 22 | #address-cells = <1>; |
| 23 | #size-cells = <1>; |
| 24 | compatible = "simple-bus"; |
| 25 | interrupt-parent = <&intc>; |
| 26 | ranges; |
| 27 | |
Haojian Zhuang | a03d8b1 | 2012-08-04 23:57:38 +0800 | [diff] [blame] | 28 | L2: l2-cache { |
| 29 | compatible = "marvell,tauros2-cache"; |
| 30 | marvell,tauros2-cache-features = <0x3>; |
| 31 | }; |
| 32 | |
Haojian Zhuang | ff290fc | 2012-04-19 18:44:50 +0800 | [diff] [blame] | 33 | axi@d4200000 { /* AXI */ |
| 34 | compatible = "mrvl,axi-bus", "simple-bus"; |
| 35 | #address-cells = <1>; |
| 36 | #size-cells = <1>; |
| 37 | reg = <0xd4200000 0x00200000>; |
| 38 | ranges; |
| 39 | |
| 40 | intc: interrupt-controller@d4282000 { |
| 41 | compatible = "mrvl,mmp-intc"; |
| 42 | interrupt-controller; |
| 43 | #interrupt-cells = <1>; |
| 44 | reg = <0xd4282000 0x1000>; |
| 45 | mrvl,intc-nr-irqs = <64>; |
| 46 | }; |
| 47 | |
| 48 | }; |
| 49 | |
| 50 | apb@d4000000 { /* APB */ |
| 51 | compatible = "mrvl,apb-bus", "simple-bus"; |
| 52 | #address-cells = <1>; |
| 53 | #size-cells = <1>; |
| 54 | reg = <0xd4000000 0x00200000>; |
| 55 | ranges; |
| 56 | |
| 57 | timer0: timer@d4014000 { |
| 58 | compatible = "mrvl,mmp-timer"; |
| 59 | reg = <0xd4014000 0x100>; |
| 60 | interrupts = <13>; |
| 61 | }; |
| 62 | |
| 63 | timer1: timer@d4016000 { |
| 64 | compatible = "mrvl,mmp-timer"; |
| 65 | reg = <0xd4016000 0x100>; |
| 66 | interrupts = <29>; |
| 67 | status = "disabled"; |
| 68 | }; |
| 69 | |
| 70 | uart1: uart@d4017000 { |
| 71 | compatible = "mrvl,mmp-uart"; |
| 72 | reg = <0xd4017000 0x1000>; |
| 73 | interrupts = <27>; |
| 74 | status = "disabled"; |
| 75 | }; |
| 76 | |
| 77 | uart2: uart@d4018000 { |
| 78 | compatible = "mrvl,mmp-uart"; |
| 79 | reg = <0xd4018000 0x1000>; |
| 80 | interrupts = <28>; |
| 81 | status = "disabled"; |
| 82 | }; |
| 83 | |
| 84 | uart3: uart@d4036000 { |
| 85 | compatible = "mrvl,mmp-uart"; |
| 86 | reg = <0xd4036000 0x1000>; |
| 87 | interrupts = <59>; |
| 88 | status = "disabled"; |
| 89 | }; |
| 90 | |
| 91 | gpio@d4019000 { |
Haojian Zhuang | f873117 | 2013-04-09 22:27:50 +0800 | [diff] [blame] | 92 | compatible = "marvell,mmp-gpio"; |
Haojian Zhuang | ff290fc | 2012-04-19 18:44:50 +0800 | [diff] [blame] | 93 | #address-cells = <1>; |
| 94 | #size-cells = <1>; |
| 95 | reg = <0xd4019000 0x1000>; |
| 96 | gpio-controller; |
| 97 | #gpio-cells = <2>; |
| 98 | interrupts = <49>; |
| 99 | interrupt-names = "gpio_mux"; |
| 100 | interrupt-controller; |
| 101 | #interrupt-cells = <1>; |
| 102 | ranges; |
| 103 | |
| 104 | gcb0: gpio@d4019000 { |
| 105 | reg = <0xd4019000 0x4>; |
| 106 | }; |
| 107 | |
| 108 | gcb1: gpio@d4019004 { |
| 109 | reg = <0xd4019004 0x4>; |
| 110 | }; |
| 111 | |
| 112 | gcb2: gpio@d4019008 { |
| 113 | reg = <0xd4019008 0x4>; |
| 114 | }; |
| 115 | |
| 116 | gcb3: gpio@d4019100 { |
| 117 | reg = <0xd4019100 0x4>; |
| 118 | }; |
| 119 | }; |
| 120 | |
| 121 | twsi1: i2c@d4011000 { |
| 122 | compatible = "mrvl,mmp-twsi"; |
Haojian Zhuang | 74d8378 | 2012-09-21 18:06:54 +0800 | [diff] [blame] | 123 | #address-cells = <1>; |
| 124 | #size-cells = <0>; |
Haojian Zhuang | ff290fc | 2012-04-19 18:44:50 +0800 | [diff] [blame] | 125 | reg = <0xd4011000 0x1000>; |
| 126 | interrupts = <7>; |
| 127 | mrvl,i2c-fast-mode; |
| 128 | status = "disabled"; |
| 129 | }; |
| 130 | |
| 131 | twsi2: i2c@d4037000 { |
| 132 | compatible = "mrvl,mmp-twsi"; |
Haojian Zhuang | 74d8378 | 2012-09-21 18:06:54 +0800 | [diff] [blame] | 133 | #address-cells = <1>; |
| 134 | #size-cells = <0>; |
Haojian Zhuang | ff290fc | 2012-04-19 18:44:50 +0800 | [diff] [blame] | 135 | reg = <0xd4037000 0x1000>; |
| 136 | interrupts = <54>; |
| 137 | status = "disabled"; |
| 138 | }; |
| 139 | |
| 140 | rtc: rtc@d4010000 { |
| 141 | compatible = "mrvl,mmp-rtc"; |
| 142 | reg = <0xd4010000 0x1000>; |
| 143 | interrupts = <5 6>; |
| 144 | interrupt-names = "rtc 1Hz", "rtc alarm"; |
| 145 | status = "disabled"; |
| 146 | }; |
| 147 | }; |
| 148 | }; |
| 149 | }; |