Benoit Cousson | 295e98c6 | 2011-07-14 01:44:54 +0530 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.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 | |
Tony Lindgren | 642f12b | 2012-09-10 10:20:44 -0700 | [diff] [blame] | 10 | /include/ "omap36xx.dtsi" |
Benoit Cousson | 295e98c6 | 2011-07-14 01:44:54 +0530 | [diff] [blame] | 11 | |
| 12 | / { |
Tony Lindgren | 642f12b | 2012-09-10 10:20:44 -0700 | [diff] [blame] | 13 | model = "TI OMAP3 BeagleBoard xM"; |
| 14 | compatible = "ti,omap3-beagle-xm, ti,omap3-beagle", "ti,omap3"; |
Benoit Cousson | 295e98c6 | 2011-07-14 01:44:54 +0530 | [diff] [blame] | 15 | |
Benoit Cousson | 295e98c6 | 2011-07-14 01:44:54 +0530 | [diff] [blame] | 16 | memory { |
| 17 | device_type = "memory"; |
| 18 | reg = <0x80000000 0x20000000>; /* 512 MB */ |
| 19 | }; |
Florian Vaussard | a60be2f | 2012-09-05 09:46:26 +0200 | [diff] [blame] | 20 | |
| 21 | leds { |
| 22 | compatible = "gpio-leds"; |
Benoit Cousson | 1c1737e | 2012-09-05 16:42:04 +0200 | [diff] [blame] | 23 | |
| 24 | heartbeat { |
| 25 | label = "beagleboard::usr0"; |
| 26 | gpios = <&gpio5 22 0>; /* 150 -> D6 LED */ |
| 27 | linux,default-trigger = "heartbeat"; |
| 28 | }; |
| 29 | |
| 30 | mmc { |
| 31 | label = "beagleboard::usr1"; |
| 32 | gpios = <&gpio5 21 0>; /* 149 -> D7 LED */ |
| 33 | linux,default-trigger = "mmc0"; |
| 34 | }; |
Florian Vaussard | a60be2f | 2012-09-05 09:46:26 +0200 | [diff] [blame] | 35 | }; |
Peter Ujfalusi | 2c195f9 | 2012-08-29 16:31:05 +0300 | [diff] [blame] | 36 | |
Peter Ujfalusi | 2c09c60 | 2013-01-18 15:16:18 +0100 | [diff] [blame^] | 37 | pwmleds { |
| 38 | compatible = "pwm-leds"; |
| 39 | |
| 40 | pmu_stat { |
| 41 | label = "beagleboard::pmu_stat"; |
| 42 | pwms = <&twl_pwmled 1 7812500>; |
| 43 | max-brightness = <127>; |
| 44 | }; |
| 45 | }; |
| 46 | |
Peter Ujfalusi | 2c195f9 | 2012-08-29 16:31:05 +0300 | [diff] [blame] | 47 | sound { |
| 48 | compatible = "ti,omap-twl4030"; |
| 49 | ti,model = "omap3beagle"; |
| 50 | |
| 51 | ti,mcbsp = <&mcbsp2>; |
| 52 | ti,codec = <&twl_audio>; |
| 53 | }; |
Benoit Cousson | 295e98c6 | 2011-07-14 01:44:54 +0530 | [diff] [blame] | 54 | }; |
Benoit Cousson | 5340b51 | 2011-07-14 01:44:54 +0530 | [diff] [blame] | 55 | |
| 56 | &i2c1 { |
| 57 | clock-frequency = <2600000>; |
| 58 | |
| 59 | twl: twl@48 { |
| 60 | reg = <0x48>; |
| 61 | interrupts = <7>; /* SYS_NIRQ cascaded to intc */ |
| 62 | interrupt-parent = <&intc>; |
Rajendra Nayak | ecc7b06 | 2012-02-08 15:50:12 -0800 | [diff] [blame] | 63 | |
Peter Ujfalusi | 2c195f9 | 2012-08-29 16:31:05 +0300 | [diff] [blame] | 64 | twl_audio: audio { |
| 65 | compatible = "ti,twl4030-audio"; |
| 66 | codec { |
| 67 | }; |
| 68 | }; |
Benoit Cousson | 5340b51 | 2011-07-14 01:44:54 +0530 | [diff] [blame] | 69 | }; |
| 70 | }; |
| 71 | |
| 72 | /include/ "twl4030.dtsi" |
| 73 | |
| 74 | &i2c2 { |
| 75 | clock-frequency = <400000>; |
| 76 | }; |
| 77 | |
| 78 | &i2c3 { |
| 79 | clock-frequency = <100000>; |
| 80 | |
| 81 | /* |
| 82 | * Display monitor features are burnt in the EEPROM |
| 83 | * as EDID data. |
| 84 | */ |
| 85 | eeprom@50 { |
| 86 | compatible = "ti,eeprom"; |
| 87 | reg = <0x50>; |
| 88 | }; |
| 89 | }; |
Rajendra Nayak | b3431f5 | 2012-02-22 17:42:27 +0530 | [diff] [blame] | 90 | |
| 91 | &mmc1 { |
| 92 | vmmc-supply = <&vmmc1>; |
| 93 | vmmc_aux-supply = <&vsim>; |
Arnd Bergmann | 7f21779 | 2012-05-13 00:14:24 -0400 | [diff] [blame] | 94 | bus-width = <8>; |
Rajendra Nayak | b3431f5 | 2012-02-22 17:42:27 +0530 | [diff] [blame] | 95 | }; |
| 96 | |
| 97 | &mmc2 { |
Roland Stigge | fd5c3fd | 2012-06-21 01:36:03 -0700 | [diff] [blame] | 98 | status = "disabled"; |
Rajendra Nayak | b3431f5 | 2012-02-22 17:42:27 +0530 | [diff] [blame] | 99 | }; |
| 100 | |
| 101 | &mmc3 { |
Roland Stigge | fd5c3fd | 2012-06-21 01:36:03 -0700 | [diff] [blame] | 102 | status = "disabled"; |
Rajendra Nayak | b3431f5 | 2012-02-22 17:42:27 +0530 | [diff] [blame] | 103 | }; |
Florian Vaussard | a60be2f | 2012-09-05 09:46:26 +0200 | [diff] [blame] | 104 | |
| 105 | &twl_gpio { |
| 106 | ti,use-leds; |
| 107 | /* pullups: BIT(1) */ |
| 108 | ti,pullups = <0x000002>; |
| 109 | /* |
| 110 | * pulldowns: |
| 111 | * BIT(2), BIT(6), BIT(7), BIT(8), BIT(13) |
| 112 | * BIT(15), BIT(16), BIT(17) |
| 113 | */ |
| 114 | ti,pulldowns = <0x03a1c4>; |
| 115 | }; |