Benoit Cousson | 492beed | 2011-08-16 15:59:52 +0200 | [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/ "omap4.dtsi" |
| 11 | |
| 12 | / { |
| 13 | model = "TI OMAP4 SDP board"; |
| 14 | compatible = "ti,omap4-sdp", "ti,omap4430", "ti,omap4"; |
| 15 | |
Benoit Cousson | 492beed | 2011-08-16 15:59:52 +0200 | [diff] [blame] | 16 | memory { |
| 17 | device_type = "memory"; |
| 18 | reg = <0x80000000 0x40000000>; /* 1 GB */ |
| 19 | }; |
Benoit Cousson | e7c64db | 2012-01-20 14:17:00 +0100 | [diff] [blame^] | 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 | gpio = <&gpio2 16 0>; /* gpio line 48 */ |
| 27 | enable-active-high; |
| 28 | regulator-boot-on; |
| 29 | }; |
Benoit Cousson | 492beed | 2011-08-16 15:59:52 +0200 | [diff] [blame] | 30 | }; |
Benoit Cousson | 33632ae | 2011-08-23 17:17:46 +0200 | [diff] [blame] | 31 | |
| 32 | &i2c1 { |
| 33 | clock-frequency = <400000>; |
| 34 | |
| 35 | twl: twl@48 { |
| 36 | reg = <0x48>; |
| 37 | /* SPI = 0, IRQ# = 7, 4 = active high level-sensitive */ |
| 38 | interrupts = <0 7 4>; /* IRQ_SYS_1N cascaded to gic */ |
| 39 | interrupt-parent = <&gic>; |
| 40 | }; |
| 41 | }; |
| 42 | |
| 43 | /include/ "twl6030.dtsi" |
| 44 | |
| 45 | &i2c2 { |
| 46 | clock-frequency = <400000>; |
| 47 | }; |
| 48 | |
| 49 | &i2c3 { |
| 50 | clock-frequency = <400000>; |
| 51 | |
| 52 | /* |
| 53 | * Temperature Sensor |
| 54 | * http://www.ti.com/lit/ds/symlink/tmp105.pdf |
| 55 | */ |
| 56 | tmp105@48 { |
| 57 | compatible = "ti,tmp105"; |
| 58 | reg = <0x48>; |
| 59 | }; |
| 60 | |
| 61 | /* |
| 62 | * Ambient Light Sensor |
| 63 | * http://www.rohm.com/products/databook/sensor/pdf/bh1780gli-e.pdf |
| 64 | */ |
| 65 | bh1780@29 { |
| 66 | compatible = "rohm,bh1780"; |
| 67 | reg = <0x29>; |
| 68 | }; |
| 69 | }; |
| 70 | |
| 71 | &i2c4 { |
| 72 | clock-frequency = <400000>; |
| 73 | |
| 74 | /* |
| 75 | * 3-Axis Digital Compass |
| 76 | * http://www.sparkfun.com/datasheets/Sensors/Magneto/HMC5843.pdf |
| 77 | */ |
| 78 | hmc5843@1e { |
| 79 | compatible = "honeywell,hmc5843"; |
| 80 | reg = <0x1e>; |
| 81 | }; |
| 82 | }; |
Benoit Cousson | e7c64db | 2012-01-20 14:17:00 +0100 | [diff] [blame^] | 83 | |
| 84 | &mcspi1 { |
| 85 | eth@0 { |
| 86 | compatible = "ks8851"; |
| 87 | spi-max-frequency = <24000000>; |
| 88 | reg = <0>; |
| 89 | interrupt-parent = <&gpio2>; |
| 90 | interrupts = <2>; /* gpio line 34 */ |
| 91 | vdd-supply = <&vdd_eth>; |
| 92 | }; |
| 93 | }; |