Commit | Line | Data |
---|---|---|
465ce68b TL |
1 | /* |
2 | * Common support for omap3 EVM boards | |
3 | */ | |
4 | ||
5992234b TL |
5 | #include "omap-gpmc-smsc911x.dtsi" |
6 | ||
465ce68b TL |
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 | }; | |
5992234b TL |
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 | }; | |
465ce68b TL |
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" | |
bc10f310 TL |
47 | #include "omap3-panel-sharp-ls037v7dw01.dtsi" |
48 | ||
49 | &backlight0 { | |
50 | gpios = <&twl_gpio 18 GPIO_ACTIVE_LOW>; | |
51 | }; | |
465ce68b | 52 | |
9188883f TL |
53 | &twl { |
54 | twl_power: power { | |
55 | compatible = "ti,twl4030-power-omap3-evm", "ti,twl4030-power-idle"; | |
56 | ti,use_poweroff; | |
57 | }; | |
58 | }; | |
59 | ||
465ce68b TL |
60 | &i2c2 { |
61 | clock-frequency = <400000>; | |
62 | }; | |
63 | ||
64 | &i2c3 { | |
65 | clock-frequency = <400000>; | |
66 | ||
67 | /* | |
68 | * TVP5146 Video decoder-in for analog input support. | |
69 | */ | |
70 | tvp5146@5c { | |
71 | compatible = "ti,tvp5146m2"; | |
72 | reg = <0x5c>; | |
73 | }; | |
74 | }; | |
75 | ||
bc10f310 TL |
76 | &lcd_3v3 { |
77 | gpio = <&gpio5 25 GPIO_ACTIVE_LOW>; /* gpio153 */ | |
78 | enable-active-low; | |
79 | }; | |
80 | ||
81 | &lcd0 { | |
82 | enable-gpios = <&gpio5 24 GPIO_ACTIVE_HIGH>; /* gpio152, lcd INI */ | |
83 | reset-gpios = <&gpio5 27 GPIO_ACTIVE_HIGH>; /* gpio155, lcd RESB */ | |
84 | mode-gpios = <&gpio5 26 GPIO_ACTIVE_HIGH /* gpio154, lcd MO */ | |
85 | &gpio1 2 GPIO_ACTIVE_HIGH /* gpio2, lcd LR */ | |
86 | &gpio1 3 GPIO_ACTIVE_HIGH>; /* gpio3, lcd UD */ | |
87 | }; | |
88 | ||
89 | &mcspi1 { | |
90 | tsc2046@0 { | |
91 | interrupt-parent = <&gpio6>; | |
92 | interrupts = <15 0>; /* gpio175 */ | |
93 | pendown-gpio = <&gpio6 15 0>; | |
94 | }; | |
95 | }; | |
96 | ||
5992234b TL |
97 | &mmc1 { |
98 | vmmc-supply = <&vmmc1>; | |
99 | vmmc_aux-supply = <&vsim>; | |
100 | bus-width = <8>; | |
101 | }; | |
102 | ||
103 | &mmc2 { | |
104 | vmmc-supply = <&wl12xx_vmmc>; | |
105 | non-removable; | |
106 | bus-width = <4>; | |
107 | cap-power-off-card; | |
108 | }; | |
109 | ||
465ce68b TL |
110 | &twl_gpio { |
111 | ti,use-leds; | |
112 | }; | |
113 | ||
114 | &usb_otg_hs { | |
115 | interface-type = <0>; | |
116 | usb-phy = <&usb2_phy>; | |
f9efbce6 LT |
117 | phys = <&usb2_phy>; |
118 | phy-names = "usb2-phy"; | |
465ce68b TL |
119 | mode = <3>; |
120 | power = <50>; | |
121 | }; | |
5992234b TL |
122 | |
123 | &gpmc { | |
124 | ethernet@gpmc { | |
125 | interrupt-parent = <&gpio6>; | |
126 | interrupts = <16 8>; | |
127 | reg = <5 0 0xff>; | |
128 | }; | |
129 | }; |