Benoit Cousson | 295e98c | 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 | |
| 10 | /include/ "omap3.dtsi" |
| 11 | |
| 12 | / { |
| 13 | model = "TI OMAP3 BeagleBoard"; |
| 14 | compatible = "ti,omap3-beagle", "ti,omap3"; |
| 15 | |
Benoit Cousson | 295e98c | 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"; |
| 23 | pmu_stat { |
| 24 | label = "beagleboard::pmu_stat"; |
| 25 | gpios = <&twl_gpio 19 0>; /* LEDB */ |
| 26 | }; |
| 27 | }; |
Benoit Cousson | 295e98c | 2011-07-14 01:44:54 +0530 | [diff] [blame] | 28 | }; |
Benoit Cousson | 5340b51 | 2011-07-14 01:44:54 +0530 | [diff] [blame] | 29 | |
| 30 | &i2c1 { |
| 31 | clock-frequency = <2600000>; |
| 32 | |
| 33 | twl: twl@48 { |
| 34 | reg = <0x48>; |
| 35 | interrupts = <7>; /* SYS_NIRQ cascaded to intc */ |
| 36 | interrupt-parent = <&intc>; |
Rajendra Nayak | ecc7b06 | 2012-02-08 15:50:12 -0800 | [diff] [blame] | 37 | |
Rajendra Nayak | 624411c | 2012-07-30 18:42:20 +0530 | [diff] [blame] | 38 | vsim: regulator-vsim { |
Rajendra Nayak | ecc7b06 | 2012-02-08 15:50:12 -0800 | [diff] [blame] | 39 | compatible = "ti,twl4030-vsim"; |
| 40 | regulator-min-microvolt = <1800000>; |
| 41 | regulator-max-microvolt = <3000000>; |
| 42 | }; |
Benoit Cousson | 5340b51 | 2011-07-14 01:44:54 +0530 | [diff] [blame] | 43 | }; |
| 44 | }; |
| 45 | |
| 46 | /include/ "twl4030.dtsi" |
| 47 | |
| 48 | &i2c2 { |
| 49 | clock-frequency = <400000>; |
| 50 | }; |
| 51 | |
| 52 | &i2c3 { |
| 53 | clock-frequency = <100000>; |
| 54 | |
| 55 | /* |
| 56 | * Display monitor features are burnt in the EEPROM |
| 57 | * as EDID data. |
| 58 | */ |
| 59 | eeprom@50 { |
| 60 | compatible = "ti,eeprom"; |
| 61 | reg = <0x50>; |
| 62 | }; |
| 63 | }; |
Rajendra Nayak | b3431f5 | 2012-02-22 17:42:27 +0530 | [diff] [blame] | 64 | |
| 65 | &mmc1 { |
| 66 | vmmc-supply = <&vmmc1>; |
| 67 | vmmc_aux-supply = <&vsim>; |
Arnd Bergmann | 7f21779 | 2012-05-13 00:14:24 -0400 | [diff] [blame] | 68 | bus-width = <8>; |
Rajendra Nayak | b3431f5 | 2012-02-22 17:42:27 +0530 | [diff] [blame] | 69 | }; |
| 70 | |
| 71 | &mmc2 { |
Roland Stigge | fd5c3fd | 2012-06-21 01:36:03 -0700 | [diff] [blame] | 72 | status = "disabled"; |
Rajendra Nayak | b3431f5 | 2012-02-22 17:42:27 +0530 | [diff] [blame] | 73 | }; |
| 74 | |
| 75 | &mmc3 { |
Roland Stigge | fd5c3fd | 2012-06-21 01:36:03 -0700 | [diff] [blame] | 76 | status = "disabled"; |
Rajendra Nayak | b3431f5 | 2012-02-22 17:42:27 +0530 | [diff] [blame] | 77 | }; |
Florian Vaussard | a60be2f | 2012-09-05 09:46:26 +0200 | [diff] [blame^] | 78 | |
| 79 | &twl_gpio { |
| 80 | ti,use-leds; |
| 81 | /* pullups: BIT(1) */ |
| 82 | ti,pullups = <0x000002>; |
| 83 | /* |
| 84 | * pulldowns: |
| 85 | * BIT(2), BIT(6), BIT(7), BIT(8), BIT(13) |
| 86 | * BIT(15), BIT(16), BIT(17) |
| 87 | */ |
| 88 | ti,pulldowns = <0x03a1c4>; |
| 89 | }; |