Tony Lindgren | 465ce68 | 2013-10-14 11:31:42 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Common support for omap3 EVM boards |
| 3 | */ |
| 4 | |
Tony Lindgren | 5992234 | 2013-10-14 11:31:43 -0700 | [diff] [blame] | 5 | #include "omap-gpmc-smsc911x.dtsi" |
| 6 | |
Tony Lindgren | 465ce68 | 2013-10-14 11:31:42 -0700 | [diff] [blame] | 7 | / { |
| 8 | cpus { |
| 9 | cpu@0 { |
| 10 | cpu0-supply = <&vcc>; |
| 11 | }; |
| 12 | }; |
| 13 | |
| 14 | leds { |
| 15 | compatible = "gpio-leds"; |
| 16 | ledb { |
| 17 | label = "omap3evm::ledb"; |
| 18 | gpios = <&twl_gpio 19 GPIO_ACTIVE_HIGH>; /* LEDB */ |
| 19 | linux,default-trigger = "default-on"; |
| 20 | }; |
| 21 | }; |
Tony Lindgren | 5992234 | 2013-10-14 11:31:43 -0700 | [diff] [blame] | 22 | |
| 23 | wl12xx_vmmc: wl12xx_vmmc { |
| 24 | compatible = "regulator-fixed"; |
| 25 | regulator-name = "vwl1271"; |
| 26 | regulator-min-microvolt = <1800000>; |
| 27 | regulator-max-microvolt = <1800000>; |
| 28 | gpio = <&gpio5 22 0>; /* gpio150 */ |
| 29 | startup-delay-us = <70000>; |
| 30 | enable-active-high; |
| 31 | vin-supply = <&vmmc2>; |
| 32 | }; |
Tony Lindgren | 465ce68 | 2013-10-14 11:31:42 -0700 | [diff] [blame] | 33 | }; |
| 34 | |
| 35 | &i2c1 { |
| 36 | clock-frequency = <2600000>; |
| 37 | |
| 38 | twl: twl@48 { |
| 39 | reg = <0x48>; |
| 40 | interrupts = <7>; /* SYS_NIRQ cascaded to intc */ |
| 41 | interrupt-parent = <&intc>; |
| 42 | }; |
| 43 | }; |
| 44 | |
| 45 | #include "twl4030.dtsi" |
| 46 | #include "twl4030_omap3.dtsi" |
| 47 | |
| 48 | &i2c2 { |
| 49 | clock-frequency = <400000>; |
| 50 | }; |
| 51 | |
| 52 | &i2c3 { |
| 53 | clock-frequency = <400000>; |
| 54 | |
| 55 | /* |
| 56 | * TVP5146 Video decoder-in for analog input support. |
| 57 | */ |
| 58 | tvp5146@5c { |
| 59 | compatible = "ti,tvp5146m2"; |
| 60 | reg = <0x5c>; |
| 61 | }; |
| 62 | }; |
| 63 | |
Tony Lindgren | 5992234 | 2013-10-14 11:31:43 -0700 | [diff] [blame] | 64 | &mmc1 { |
| 65 | vmmc-supply = <&vmmc1>; |
| 66 | vmmc_aux-supply = <&vsim>; |
| 67 | bus-width = <8>; |
| 68 | }; |
| 69 | |
| 70 | &mmc2 { |
| 71 | vmmc-supply = <&wl12xx_vmmc>; |
| 72 | non-removable; |
| 73 | bus-width = <4>; |
| 74 | cap-power-off-card; |
| 75 | }; |
| 76 | |
Tony Lindgren | 465ce68 | 2013-10-14 11:31:42 -0700 | [diff] [blame] | 77 | &twl_gpio { |
| 78 | ti,use-leds; |
| 79 | }; |
| 80 | |
| 81 | &usb_otg_hs { |
| 82 | interface-type = <0>; |
| 83 | usb-phy = <&usb2_phy>; |
| 84 | mode = <3>; |
| 85 | power = <50>; |
| 86 | }; |
Tony Lindgren | 5992234 | 2013-10-14 11:31:43 -0700 | [diff] [blame] | 87 | |
| 88 | &gpmc { |
| 89 | ethernet@gpmc { |
| 90 | interrupt-parent = <&gpio6>; |
| 91 | interrupts = <16 8>; |
| 92 | reg = <5 0 0xff>; |
| 93 | }; |
| 94 | }; |