Heiko Schocher | 33085b3 | 2012-08-30 14:21:04 +0530 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2012 DENX Software Engineering GmbH |
| 3 | * Heiko Schocher <hs@denx.de> |
| 4 | * |
| 5 | * This program is free software; you can redistribute it and/or modify it |
| 6 | * under the terms of the GNU General Public License as published by the |
| 7 | * Free Software Foundation; either version 2 of the License, or (at your |
| 8 | * option) any later version. |
| 9 | */ |
Philip Avinash | a2bcd77 | 2013-06-14 15:15:53 +0530 | [diff] [blame] | 10 | #include "skeleton.dtsi" |
KV Sujith | 2e38b94 | 2013-11-21 23:45:30 +0530 | [diff] [blame] | 11 | #include <dt-bindings/interrupt-controller/irq.h> |
Heiko Schocher | 33085b3 | 2012-08-30 14:21:04 +0530 | [diff] [blame] | 12 | |
| 13 | / { |
| 14 | arm { |
| 15 | #address-cells = <1>; |
| 16 | #size-cells = <1>; |
| 17 | ranges; |
| 18 | intc: interrupt-controller { |
| 19 | compatible = "ti,cp-intc"; |
| 20 | interrupt-controller; |
| 21 | #interrupt-cells = <1>; |
| 22 | ti,intc-size = <100>; |
| 23 | reg = <0xfffee000 0x2000>; |
| 24 | }; |
| 25 | }; |
| 26 | soc { |
| 27 | compatible = "simple-bus"; |
| 28 | model = "da850"; |
| 29 | #address-cells = <1>; |
| 30 | #size-cells = <1>; |
| 31 | ranges = <0x0 0x01c00000 0x400000>; |
Lad, Prabhakar | c57ff58 | 2013-01-25 16:48:44 +0530 | [diff] [blame] | 32 | interrupt-parent = <&intc>; |
Heiko Schocher | 33085b3 | 2012-08-30 14:21:04 +0530 | [diff] [blame] | 33 | |
Kumar, Anil | 1faaba3 | 2013-01-16 14:37:39 +0530 | [diff] [blame] | 34 | pmx_core: pinmux@1c14120 { |
| 35 | compatible = "pinctrl-single"; |
| 36 | reg = <0x14120 0x50>; |
| 37 | #address-cells = <1>; |
| 38 | #size-cells = <0>; |
| 39 | pinctrl-single,bit-per-mux; |
| 40 | pinctrl-single,register-width = <32>; |
Manjunathappa, Prakash | 055cb2a9 | 2013-05-21 19:38:02 +0530 | [diff] [blame] | 41 | pinctrl-single,function-mask = <0xf>; |
Kumar, Anil | 1faaba3 | 2013-01-16 14:37:39 +0530 | [diff] [blame] | 42 | status = "disabled"; |
Kumar, Anil | 99b8800 | 2013-01-16 14:37:41 +0530 | [diff] [blame] | 43 | |
| 44 | nand_cs3_pins: pinmux_nand_pins { |
| 45 | pinctrl-single,bits = < |
| 46 | /* EMA_OE, EMA_WE */ |
| 47 | 0x1c 0x00110000 0x00ff0000 |
| 48 | /* EMA_CS[4],EMA_CS[3]*/ |
| 49 | 0x1c 0x00000110 0x00000ff0 |
| 50 | /* |
| 51 | * EMA_D[0], EMA_D[1], EMA_D[2], |
| 52 | * EMA_D[3], EMA_D[4], EMA_D[5], |
| 53 | * EMA_D[6], EMA_D[7] |
| 54 | */ |
| 55 | 0x24 0x11111111 0xffffffff |
| 56 | /* EMA_A[1], EMA_A[2] */ |
| 57 | 0x30 0x01100000 0x0ff00000 |
| 58 | >; |
| 59 | }; |
Vishwanathrao Badarkhe, Manish | 01729cc | 2013-02-06 15:06:22 +0530 | [diff] [blame] | 60 | i2c0_pins: pinmux_i2c0_pins { |
| 61 | pinctrl-single,bits = < |
| 62 | /* I2C0_SDA,I2C0_SCL */ |
| 63 | 0x10 0x00002200 0x0000ff00 |
| 64 | >; |
| 65 | }; |
Manjunathappa, Prakash | 88df412 | 2013-03-28 18:42:01 +0530 | [diff] [blame] | 66 | mmc0_pins: pinmux_mmc_pins { |
| 67 | pinctrl-single,bits = < |
| 68 | /* MMCSD0_DAT[3] MMCSD0_DAT[2] |
| 69 | * MMCSD0_DAT[1] MMCSD0_DAT[0] |
| 70 | * MMCSD0_CMD MMCSD0_CLK |
| 71 | */ |
| 72 | 0x28 0x00222222 0x00ffffff |
| 73 | >; |
| 74 | }; |
Philip Avinash | 64fa59c | 2013-04-10 17:42:41 +0530 | [diff] [blame] | 75 | ehrpwm0a_pins: pinmux_ehrpwm0a_pins { |
| 76 | pinctrl-single,bits = < |
| 77 | /* EPWM0A */ |
| 78 | 0xc 0x00000002 0x0000000f |
| 79 | >; |
| 80 | }; |
| 81 | ehrpwm0b_pins: pinmux_ehrpwm0b_pins { |
| 82 | pinctrl-single,bits = < |
| 83 | /* EPWM0B */ |
| 84 | 0xc 0x00000020 0x000000f0 |
| 85 | >; |
| 86 | }; |
| 87 | ehrpwm1a_pins: pinmux_ehrpwm1a_pins { |
| 88 | pinctrl-single,bits = < |
| 89 | /* EPWM1A */ |
| 90 | 0x14 0x00000002 0x0000000f |
| 91 | >; |
| 92 | }; |
| 93 | ehrpwm1b_pins: pinmux_ehrpwm1b_pins { |
| 94 | pinctrl-single,bits = < |
| 95 | /* EPWM1B */ |
| 96 | 0x14 0x00000020 0x000000f0 |
| 97 | >; |
| 98 | }; |
| 99 | ecap0_pins: pinmux_ecap0_pins { |
| 100 | pinctrl-single,bits = < |
| 101 | /* ECAP0_APWM0 */ |
| 102 | 0x8 0x20000000 0xf0000000 |
| 103 | >; |
| 104 | }; |
| 105 | ecap1_pins: pinmux_ecap1_pins { |
| 106 | pinctrl-single,bits = < |
| 107 | /* ECAP1_APWM1 */ |
| 108 | 0x4 0x40000000 0xf0000000 |
| 109 | >; |
| 110 | }; |
| 111 | ecap2_pins: pinmux_ecap2_pins { |
| 112 | pinctrl-single,bits = < |
| 113 | /* ECAP2_APWM2 */ |
| 114 | 0x4 0x00000004 0x0000000f |
| 115 | >; |
| 116 | }; |
Manjunathappa, Prakash | c6347e4 | 2013-04-03 19:39:08 +0530 | [diff] [blame] | 117 | spi1_pins: pinmux_spi_pins { |
| 118 | pinctrl-single,bits = < |
| 119 | /* SIMO, SOMI, CLK */ |
| 120 | 0x14 0x00110100 0x00ff0f00 |
| 121 | >; |
| 122 | }; |
| 123 | spi1_cs0_pin: pinmux_spi1_cs0 { |
| 124 | pinctrl-single,bits = < |
| 125 | /* CS0 */ |
| 126 | 0x14 0x00000010 0x000000f0 |
| 127 | >; |
| 128 | }; |
Lad, Prabhakar | 609f4bc | 2013-08-15 11:31:34 +0530 | [diff] [blame] | 129 | mdio_pins: pinmux_mdio_pins { |
| 130 | pinctrl-single,bits = < |
| 131 | /* MDIO_CLK, MDIO_D */ |
| 132 | 0x10 0x00000088 0x000000ff |
| 133 | >; |
| 134 | }; |
Lad, Prabhakar | dd7deaf | 2013-08-16 22:37:09 +0530 | [diff] [blame] | 135 | mii_pins: pinmux_mii_pins { |
| 136 | pinctrl-single,bits = < |
| 137 | /* |
| 138 | * MII_TXEN, MII_TXCLK, MII_COL |
| 139 | * MII_TXD_3, MII_TXD_2, MII_TXD_1 |
| 140 | * MII_TXD_0 |
| 141 | */ |
| 142 | 0x8 0x88888880 0xfffffff0 |
| 143 | /* |
| 144 | * MII_RXER, MII_CRS, MII_RXCLK |
| 145 | * MII_RXDV, MII_RXD_3, MII_RXD_2 |
| 146 | * MII_RXD_1, MII_RXD_0 |
| 147 | */ |
| 148 | 0xc 0x88888888 0xffffffff |
| 149 | >; |
| 150 | }; |
Lad, Prabhakar | 609f4bc | 2013-08-15 11:31:34 +0530 | [diff] [blame] | 151 | |
Kumar, Anil | 1faaba3 | 2013-01-16 14:37:39 +0530 | [diff] [blame] | 152 | }; |
Peter Ujfalusi | ee766e4d | 2014-08-01 09:13:26 +0300 | [diff] [blame] | 153 | edma0: edma@01c00000 { |
| 154 | compatible = "ti,edma3"; |
| 155 | reg = <0x0 0x10000>; |
| 156 | interrupts = <11 13 12>; |
| 157 | #dma-cells = <1>; |
| 158 | }; |
Heiko Schocher | 33085b3 | 2012-08-30 14:21:04 +0530 | [diff] [blame] | 159 | serial0: serial@1c42000 { |
| 160 | compatible = "ns16550a"; |
| 161 | reg = <0x42000 0x100>; |
Heiko Schocher | 33085b3 | 2012-08-30 14:21:04 +0530 | [diff] [blame] | 162 | reg-shift = <2>; |
| 163 | interrupts = <25>; |
Heiko Schocher | 33085b3 | 2012-08-30 14:21:04 +0530 | [diff] [blame] | 164 | status = "disabled"; |
| 165 | }; |
| 166 | serial1: serial@1d0c000 { |
| 167 | compatible = "ns16550a"; |
| 168 | reg = <0x10c000 0x100>; |
Heiko Schocher | 33085b3 | 2012-08-30 14:21:04 +0530 | [diff] [blame] | 169 | reg-shift = <2>; |
| 170 | interrupts = <53>; |
Heiko Schocher | 33085b3 | 2012-08-30 14:21:04 +0530 | [diff] [blame] | 171 | status = "disabled"; |
| 172 | }; |
| 173 | serial2: serial@1d0d000 { |
| 174 | compatible = "ns16550a"; |
| 175 | reg = <0x10d000 0x100>; |
Heiko Schocher | 33085b3 | 2012-08-30 14:21:04 +0530 | [diff] [blame] | 176 | reg-shift = <2>; |
| 177 | interrupts = <61>; |
Heiko Schocher | 33085b3 | 2012-08-30 14:21:04 +0530 | [diff] [blame] | 178 | status = "disabled"; |
| 179 | }; |
Mrugesh Katepallewar | 1661636 | 2013-01-28 13:17:48 +0530 | [diff] [blame] | 180 | rtc0: rtc@1c23000 { |
| 181 | compatible = "ti,da830-rtc"; |
| 182 | reg = <0x23000 0x1000>; |
| 183 | interrupts = <19 |
| 184 | 19>; |
| 185 | status = "disabled"; |
| 186 | }; |
Vishwanathrao Badarkhe, Manish | 01729cc | 2013-02-06 15:06:22 +0530 | [diff] [blame] | 187 | i2c0: i2c@1c22000 { |
| 188 | compatible = "ti,davinci-i2c"; |
| 189 | reg = <0x22000 0x1000>; |
| 190 | interrupts = <15>; |
| 191 | #address-cells = <1>; |
| 192 | #size-cells = <0>; |
| 193 | status = "disabled"; |
| 194 | }; |
Kumar, Anil | 518f97d | 2013-02-06 09:30:03 +0530 | [diff] [blame] | 195 | wdt: wdt@1c21000 { |
| 196 | compatible = "ti,davinci-wdt"; |
| 197 | reg = <0x21000 0x1000>; |
| 198 | status = "disabled"; |
| 199 | }; |
Manjunathappa, Prakash | 88df412 | 2013-03-28 18:42:01 +0530 | [diff] [blame] | 200 | mmc0: mmc@1c40000 { |
| 201 | compatible = "ti,da830-mmc"; |
| 202 | reg = <0x40000 0x1000>; |
| 203 | interrupts = <16>; |
| 204 | status = "disabled"; |
| 205 | }; |
Philip Avinash | 64fa59c | 2013-04-10 17:42:41 +0530 | [diff] [blame] | 206 | ehrpwm0: ehrpwm@01f00000 { |
| 207 | compatible = "ti,da850-ehrpwm", "ti,am33xx-ehrpwm"; |
| 208 | #pwm-cells = <3>; |
| 209 | reg = <0x300000 0x2000>; |
| 210 | status = "disabled"; |
| 211 | }; |
| 212 | ehrpwm1: ehrpwm@01f02000 { |
| 213 | compatible = "ti,da850-ehrpwm", "ti,am33xx-ehrpwm"; |
| 214 | #pwm-cells = <3>; |
| 215 | reg = <0x302000 0x2000>; |
| 216 | status = "disabled"; |
| 217 | }; |
| 218 | ecap0: ecap@01f06000 { |
| 219 | compatible = "ti,da850-ecap", "ti,am33xx-ecap"; |
| 220 | #pwm-cells = <3>; |
| 221 | reg = <0x306000 0x80>; |
| 222 | status = "disabled"; |
| 223 | }; |
| 224 | ecap1: ecap@01f07000 { |
| 225 | compatible = "ti,da850-ecap", "ti,am33xx-ecap"; |
| 226 | #pwm-cells = <3>; |
| 227 | reg = <0x307000 0x80>; |
| 228 | status = "disabled"; |
| 229 | }; |
| 230 | ecap2: ecap@01f08000 { |
| 231 | compatible = "ti,da850-ecap", "ti,am33xx-ecap"; |
| 232 | #pwm-cells = <3>; |
| 233 | reg = <0x308000 0x80>; |
| 234 | status = "disabled"; |
| 235 | }; |
Manjunathappa, Prakash | c6347e4 | 2013-04-03 19:39:08 +0530 | [diff] [blame] | 236 | spi1: spi@1f0e000 { |
| 237 | #address-cells = <1>; |
| 238 | #size-cells = <0>; |
| 239 | compatible = "ti,da830-spi"; |
| 240 | reg = <0x30e000 0x1000>; |
| 241 | num-cs = <4>; |
| 242 | ti,davinci-spi-intr-line = <1>; |
| 243 | interrupts = <56>; |
| 244 | status = "disabled"; |
| 245 | }; |
Lad, Prabhakar | 609f4bc | 2013-08-15 11:31:34 +0530 | [diff] [blame] | 246 | mdio: mdio@1e24000 { |
| 247 | compatible = "ti,davinci_mdio"; |
| 248 | #address-cells = <1>; |
| 249 | #size-cells = <0>; |
| 250 | reg = <0x224000 0x1000>; |
| 251 | }; |
Lad, Prabhakar | dd7deaf | 2013-08-16 22:37:09 +0530 | [diff] [blame] | 252 | eth0: ethernet@1e20000 { |
| 253 | compatible = "ti,davinci-dm6467-emac"; |
| 254 | reg = <0x220000 0x4000>; |
| 255 | ti,davinci-ctrl-reg-offset = <0x3000>; |
| 256 | ti,davinci-ctrl-mod-reg-offset = <0x2000>; |
| 257 | ti,davinci-ctrl-ram-offset = <0>; |
| 258 | ti,davinci-ctrl-ram-size = <0x2000>; |
| 259 | local-mac-address = [ 00 00 00 00 00 00 ]; |
| 260 | interrupts = <33 |
| 261 | 34 |
| 262 | 35 |
| 263 | 36 |
| 264 | >; |
| 265 | }; |
KV Sujith | 2e38b94 | 2013-11-21 23:45:30 +0530 | [diff] [blame] | 266 | gpio: gpio@1e26000 { |
| 267 | compatible = "ti,dm6441-gpio"; |
| 268 | gpio-controller; |
| 269 | reg = <0x226000 0x1000>; |
| 270 | interrupts = <42 IRQ_TYPE_EDGE_BOTH |
| 271 | 43 IRQ_TYPE_EDGE_BOTH 44 IRQ_TYPE_EDGE_BOTH |
| 272 | 45 IRQ_TYPE_EDGE_BOTH 46 IRQ_TYPE_EDGE_BOTH |
| 273 | 47 IRQ_TYPE_EDGE_BOTH 48 IRQ_TYPE_EDGE_BOTH |
| 274 | 49 IRQ_TYPE_EDGE_BOTH 50 IRQ_TYPE_EDGE_BOTH>; |
| 275 | ti,ngpio = <144>; |
| 276 | ti,davinci-gpio-unbanked = <0>; |
| 277 | status = "disabled"; |
| 278 | }; |
Peter Ujfalusi | db74904 | 2014-08-01 09:13:27 +0300 | [diff] [blame] | 279 | |
| 280 | mcasp0: mcasp@01d00000 { |
| 281 | compatible = "ti,da830-mcasp-audio"; |
| 282 | reg = <0x100000 0x2000>, |
| 283 | <0x102000 0x400000>; |
| 284 | reg-names = "mpu", "dat"; |
| 285 | interrupts = <54>; |
| 286 | interrupt-names = "common"; |
| 287 | status = "disabled"; |
| 288 | dmas = <&edma0 1>, |
| 289 | <&edma0 0>; |
| 290 | dma-names = "tx", "rx"; |
| 291 | }; |
Heiko Schocher | 33085b3 | 2012-08-30 14:21:04 +0530 | [diff] [blame] | 292 | }; |
Kumar, Anil | 99b8800 | 2013-01-16 14:37:41 +0530 | [diff] [blame] | 293 | nand_cs3@62000000 { |
| 294 | compatible = "ti,davinci-nand"; |
| 295 | reg = <0x62000000 0x807ff |
| 296 | 0x68000000 0x8000>; |
| 297 | ti,davinci-chipselect = <1>; |
| 298 | ti,davinci-mask-ale = <0>; |
| 299 | ti,davinci-mask-cle = <0>; |
| 300 | ti,davinci-mask-chipsel = <0>; |
| 301 | ti,davinci-ecc-mode = "hw"; |
| 302 | ti,davinci-ecc-bits = <4>; |
| 303 | ti,davinci-nand-use-bbt; |
| 304 | status = "disabled"; |
| 305 | }; |
Heiko Schocher | 33085b3 | 2012-08-30 14:21:04 +0530 | [diff] [blame] | 306 | }; |