Anil Kumar | 4bfe634 | 2013-03-16 15:29:21 +0530 | [diff] [blame] | 1 | /* |
| 2 | * Author: Anil Kumar <anilk4.v@gmail.com> |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License version 2 as |
| 6 | * published by the Free Software Foundation. |
| 7 | */ |
| 8 | /dts-v1/; |
| 9 | |
Florian Vaussard | 98ef7957 | 2013-05-31 14:32:55 +0200 | [diff] [blame] | 10 | #include "omap34xx.dtsi" |
Anil Kumar | 4bfe634 | 2013-03-16 15:29:21 +0530 | [diff] [blame] | 11 | / { |
| 12 | model = "TimLL OMAP3 Devkit8000"; |
| 13 | compatible = "timll,omap3-devkit8000", "ti,omap3"; |
| 14 | |
| 15 | memory { |
| 16 | device_type = "memory"; |
| 17 | reg = <0x80000000 0x10000000>; /* 256 MB */ |
| 18 | }; |
| 19 | |
| 20 | leds { |
| 21 | compatible = "gpio-leds"; |
| 22 | |
| 23 | heartbeat { |
| 24 | label = "devkit8000::led1"; |
Florian Vaussard | 6d624ea | 2013-05-31 14:32:56 +0200 | [diff] [blame] | 25 | gpios = <&gpio6 26 GPIO_ACTIVE_HIGH>; /* 186 -> LED1 */ |
Anil Kumar | 4bfe634 | 2013-03-16 15:29:21 +0530 | [diff] [blame] | 26 | default-state = "on"; |
| 27 | linux,default-trigger = "heartbeat"; |
| 28 | }; |
| 29 | |
| 30 | mmc { |
| 31 | label = "devkit8000::led2"; |
Florian Vaussard | 6d624ea | 2013-05-31 14:32:56 +0200 | [diff] [blame] | 32 | gpios = <&gpio6 3 GPIO_ACTIVE_HIGH>; /* 163 -> LED2 */ |
Anil Kumar | 4bfe634 | 2013-03-16 15:29:21 +0530 | [diff] [blame] | 33 | default-state = "on"; |
| 34 | linux,default-trigger = "none"; |
| 35 | }; |
| 36 | |
| 37 | usr { |
| 38 | label = "devkit8000::led3"; |
Florian Vaussard | 6d624ea | 2013-05-31 14:32:56 +0200 | [diff] [blame] | 39 | gpios = <&gpio6 4 GPIO_ACTIVE_HIGH>; /* 164 -> LED3 */ |
Anil Kumar | 4bfe634 | 2013-03-16 15:29:21 +0530 | [diff] [blame] | 40 | default-state = "on"; |
| 41 | linux,default-trigger = "usr"; |
| 42 | }; |
| 43 | |
| 44 | }; |
Anil Kumar | e82be16 | 2013-02-04 20:25:07 +0530 | [diff] [blame] | 45 | |
| 46 | sound { |
| 47 | compatible = "ti,omap-twl4030"; |
| 48 | ti,model = "devkit8000"; |
| 49 | |
| 50 | ti,mcbsp = <&mcbsp2>; |
| 51 | ti,codec = <&twl_audio>; |
| 52 | ti,audio-routing = |
| 53 | "Ext Spk", "PREDRIVEL", |
| 54 | "Ext Spk", "PREDRIVER", |
| 55 | "MAINMIC", "Main Mic", |
| 56 | "Main Mic", "Mic Bias 1"; |
| 57 | }; |
Anil Kumar | 4bfe634 | 2013-03-16 15:29:21 +0530 | [diff] [blame] | 58 | }; |
| 59 | |
| 60 | &i2c1 { |
| 61 | clock-frequency = <2600000>; |
| 62 | |
| 63 | twl: twl@48 { |
| 64 | reg = <0x48>; |
| 65 | interrupts = <7>; /* SYS_NIRQ cascaded to intc */ |
Anil Kumar | e82be16 | 2013-02-04 20:25:07 +0530 | [diff] [blame] | 66 | |
| 67 | twl_audio: audio { |
| 68 | compatible = "ti,twl4030-audio"; |
| 69 | codec { |
| 70 | }; |
| 71 | }; |
Anil Kumar | 4bfe634 | 2013-03-16 15:29:21 +0530 | [diff] [blame] | 72 | }; |
| 73 | }; |
| 74 | |
| 75 | &i2c2 { |
| 76 | status = "disabled"; |
| 77 | }; |
| 78 | |
| 79 | &i2c3 { |
| 80 | status = "disabled"; |
| 81 | }; |
| 82 | |
Florian Vaussard | 98ef7957 | 2013-05-31 14:32:55 +0200 | [diff] [blame] | 83 | #include "twl4030.dtsi" |
Kevin Hilman | f968845 | 2013-05-31 14:09:34 -0700 | [diff] [blame] | 84 | #include "twl4030_omap3.dtsi" |
Anil Kumar | 4bfe634 | 2013-03-16 15:29:21 +0530 | [diff] [blame] | 85 | |
| 86 | &mmc1 { |
| 87 | vmmc-supply = <&vmmc1>; |
| 88 | vmmc_aux-supply = <&vsim>; |
| 89 | bus-width = <8>; |
| 90 | }; |
| 91 | |
| 92 | &mmc2 { |
| 93 | status = "disabled"; |
| 94 | }; |
| 95 | |
| 96 | &mmc3 { |
| 97 | status = "disabled"; |
| 98 | }; |
| 99 | |
| 100 | &wdt2 { |
| 101 | status = "disabled"; |
| 102 | }; |
| 103 | |
Peter Ujfalusi | 726322c | 2014-01-24 10:19:05 +0200 | [diff] [blame] | 104 | &mcbsp2 { |
| 105 | status = "okay"; |
Anil Kumar | 4bfe634 | 2013-03-16 15:29:21 +0530 | [diff] [blame] | 106 | }; |
Anil Kumar | 2f3bb9c | 2013-02-15 23:32:25 +0530 | [diff] [blame] | 107 | |
| 108 | &gpmc { |
| 109 | ranges = <0 0 0x30000000 0x04>; /* CS0: NAND */ |
| 110 | |
| 111 | nand@0,0 { |
| 112 | reg = <0 0 0>; /* CS0, offset 0 */ |
| 113 | nand-bus-width = <16>; |
| 114 | |
Aaro Koskinen | 6283513b | 2013-09-21 02:40:14 +0300 | [diff] [blame] | 115 | gpmc,sync-clk-ps = <0>; |
Florian Vaussard | 4942350 | 2013-05-23 10:11:37 +0200 | [diff] [blame] | 116 | gpmc,cs-on-ns = <0>; |
| 117 | gpmc,cs-rd-off-ns = <44>; |
| 118 | gpmc,cs-wr-off-ns = <44>; |
| 119 | gpmc,adv-on-ns = <6>; |
| 120 | gpmc,adv-rd-off-ns = <34>; |
| 121 | gpmc,adv-wr-off-ns = <44>; |
| 122 | gpmc,we-off-ns = <40>; |
| 123 | gpmc,oe-off-ns = <54>; |
| 124 | gpmc,access-ns = <64>; |
| 125 | gpmc,rd-cycle-ns = <82>; |
| 126 | gpmc,wr-cycle-ns = <82>; |
| 127 | gpmc,wr-access-ns = <40>; |
| 128 | gpmc,wr-data-mux-bus-ns = <0>; |
Anil Kumar | 2f3bb9c | 2013-02-15 23:32:25 +0530 | [diff] [blame] | 129 | |
| 130 | #address-cells = <1>; |
| 131 | #size-cells = <1>; |
| 132 | |
| 133 | x-loader@0 { |
| 134 | label = "X-Loader"; |
| 135 | reg = <0 0x80000>; |
| 136 | }; |
| 137 | |
| 138 | bootloaders@80000 { |
| 139 | label = "U-Boot"; |
| 140 | reg = <0x80000 0x1e0000>; |
| 141 | }; |
| 142 | |
| 143 | bootloaders_env@260000 { |
| 144 | label = "U-Boot Env"; |
| 145 | reg = <0x260000 0x20000>; |
| 146 | }; |
| 147 | |
| 148 | kernel@280000 { |
| 149 | label = "Kernel"; |
| 150 | reg = <0x280000 0x400000>; |
| 151 | }; |
| 152 | |
| 153 | filesystem@680000 { |
| 154 | label = "File System"; |
| 155 | reg = <0x680000 0xf980000>; |
| 156 | }; |
| 157 | }; |
| 158 | }; |