Uri Yosef | 3319f69 | 2012-07-02 01:26:00 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2012 Variscite Ltd. - http://www.variscite.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/ "omap4.dtsi" |
| 11 | |
| 12 | / { |
| 13 | model = "Variscite OMAP4 SOM"; |
| 14 | compatible = "var,omap4-var_som", "ti,omap4430", "ti,omap4"; |
| 15 | |
| 16 | memory { |
| 17 | device_type = "memory"; |
| 18 | reg = <0x80000000 0x40000000>; /* 1 GB */ |
| 19 | }; |
| 20 | |
| 21 | vdd_eth: fixedregulator@0 { |
| 22 | compatible = "regulator-fixed"; |
| 23 | regulator-name = "VDD_ETH"; |
| 24 | regulator-min-microvolt = <3300000>; |
| 25 | regulator-max-microvolt = <3300000>; |
| 26 | enable-active-high; |
| 27 | regulator-boot-on; |
| 28 | }; |
| 29 | }; |
| 30 | |
| 31 | &i2c1 { |
| 32 | clock-frequency = <400000>; |
| 33 | |
| 34 | twl: twl@48 { |
| 35 | reg = <0x48>; |
| 36 | /* SPI = 0, IRQ# = 7, 4 = active high level-sensitive */ |
| 37 | interrupts = <0 7 4>; /* IRQ_SYS_1N cascaded to gic */ |
| 38 | interrupt-parent = <&gic>; |
| 39 | }; |
| 40 | }; |
| 41 | |
| 42 | /include/ "twl6030.dtsi" |
| 43 | |
| 44 | &i2c2 { |
| 45 | clock-frequency = <400000>; |
| 46 | }; |
| 47 | |
| 48 | &i2c3 { |
| 49 | clock-frequency = <400000>; |
| 50 | |
| 51 | /* |
| 52 | * Temperature Sensor |
| 53 | * http://www.ti.com/lit/ds/symlink/tmp105.pdf |
| 54 | */ |
| 55 | tmp105@49 { |
| 56 | compatible = "ti,tmp105"; |
| 57 | reg = <0x49>; |
| 58 | }; |
| 59 | }; |
| 60 | |
| 61 | &i2c4 { |
| 62 | clock-frequency = <400000>; |
| 63 | }; |
| 64 | |
| 65 | &mcspi1 { |
| 66 | eth@0 { |
| 67 | compatible = "ks8851"; |
| 68 | spi-max-frequency = <24000000>; |
| 69 | reg = <0>; |
| 70 | interrupt-parent = <&gpio6>; |
| 71 | interrupts = <11>; /* gpio line 171 */ |
| 72 | vdd-supply = <&vdd_eth>; |
| 73 | }; |
| 74 | }; |
| 75 | |
| 76 | &mmc1 { |
| 77 | vmmc-supply = <&vmmc>; |
| 78 | ti,bus-width = <8>; |
| 79 | ti,non-removable; |
| 80 | }; |
| 81 | |
| 82 | &mmc2 { |
| 83 | status = "disabled"; |
| 84 | }; |
| 85 | |
| 86 | &mmc3 { |
| 87 | status = "disabled"; |
| 88 | }; |
| 89 | |
| 90 | &mmc4 { |
| 91 | status = "disabled"; |
| 92 | }; |
| 93 | |
| 94 | &mmc5 { |
| 95 | ti,bus-width = <4>; |
| 96 | }; |