]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blame - arch/arm/boot/dts/omap3-evm-common.dtsi
ARM: dts: omap: Add generic compatible string for I2C EEPROM
[mirror_ubuntu-focal-kernel.git] / arch / arm / boot / dts / omap3-evm-common.dtsi
CommitLineData
465ce68b
TL
1/*
2 * Common support for omap3 EVM boards
3 */
4
8cf747f1 5#include <dt-bindings/input/input.h>
5992234b
TL
6#include "omap-gpmc-smsc911x.dtsi"
7
465ce68b
TL
8/ {
9 cpus {
10 cpu@0 {
11 cpu0-supply = <&vcc>;
12 };
13 };
14
15 leds {
16 compatible = "gpio-leds";
17 ledb {
18 label = "omap3evm::ledb";
19 gpios = <&twl_gpio 19 GPIO_ACTIVE_HIGH>; /* LEDB */
20 linux,default-trigger = "default-on";
21 };
22 };
5992234b
TL
23
24 wl12xx_vmmc: wl12xx_vmmc {
25 compatible = "regulator-fixed";
26 regulator-name = "vwl1271";
27 regulator-min-microvolt = <1800000>;
28 regulator-max-microvolt = <1800000>;
3a637e00 29 gpio = <&gpio5 22 GPIO_ACTIVE_HIGH>; /* gpio150 */
5992234b
TL
30 startup-delay-us = <70000>;
31 enable-active-high;
32 vin-supply = <&vmmc2>;
33 };
465ce68b
TL
34};
35
36&i2c1 {
37 clock-frequency = <2600000>;
38
39 twl: twl@48 {
40 reg = <0x48>;
41 interrupts = <7>; /* SYS_NIRQ cascaded to intc */
42 interrupt-parent = <&intc>;
43 };
44};
45
46#include "twl4030.dtsi"
47#include "twl4030_omap3.dtsi"
bc10f310
TL
48#include "omap3-panel-sharp-ls037v7dw01.dtsi"
49
50&backlight0 {
51 gpios = <&twl_gpio 18 GPIO_ACTIVE_LOW>;
52};
465ce68b 53
9188883f
TL
54&twl {
55 twl_power: power {
56 compatible = "ti,twl4030-power-omap3-evm", "ti,twl4030-power-idle";
57 ti,use_poweroff;
58 };
59};
60
465ce68b
TL
61&i2c2 {
62 clock-frequency = <400000>;
63};
64
65&i2c3 {
66 clock-frequency = <400000>;
67
68 /*
69 * TVP5146 Video decoder-in for analog input support.
70 */
71 tvp5146@5c {
72 compatible = "ti,tvp5146m2";
73 reg = <0x5c>;
74 };
75};
76
bc10f310
TL
77&lcd_3v3 {
78 gpio = <&gpio5 25 GPIO_ACTIVE_LOW>; /* gpio153 */
bc10f310
TL
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 */
3a637e00 93 pendown-gpio = <&gpio6 15 GPIO_ACTIVE_HIGH>;
bc10f310
TL
94 };
95};
96
5992234b 97&mmc1 {
3704aae9 98 interrupts-extended = <&intc 83 &omap3_pmx_core 0x11a>;
5992234b
TL
99 vmmc-supply = <&vmmc1>;
100 vmmc_aux-supply = <&vsim>;
101 bus-width = <8>;
102};
103
104&mmc2 {
105 vmmc-supply = <&wl12xx_vmmc>;
106 non-removable;
107 bus-width = <4>;
108 cap-power-off-card;
99f84cae
EP
109
110 #address-cells = <1>;
111 #size-cells = <0>;
112 wlcore: wlcore@2 {
113 compatible = "ti,wl1271";
114 reg = <2>;
115 interrupt-parent = <&gpio5>;
116 interrupts = <21 IRQ_TYPE_LEVEL_HIGH>; /* gpio 149 */
117 ref-clock-frequency = <38400000>;
118 };
5992234b
TL
119};
120
465ce68b
TL
121&twl_gpio {
122 ti,use-leds;
123};
124
8cf747f1
TL
125&twl_keypad {
126 linux,keymap = <
127 MATRIX_KEY(2, 2, KEY_1)
128 MATRIX_KEY(1, 1, KEY_2)
129 MATRIX_KEY(0, 0, KEY_3)
130 MATRIX_KEY(3, 2, KEY_4)
131 MATRIX_KEY(2, 1, KEY_5)
132 MATRIX_KEY(1, 0, KEY_6)
133 MATRIX_KEY(1, 3, KEY_7)
134 MATRIX_KEY(3, 1, KEY_8)
135 MATRIX_KEY(2, 0, KEY_9)
136 MATRIX_KEY(2, 3, KEY_KPASTERISK)
137 MATRIX_KEY(0, 2, KEY_0)
138 MATRIX_KEY(3, 0, KEY_KPDOT)
139 /* s4 not wired */
140 MATRIX_KEY(1, 2, KEY_BACKSPACE)
141 MATRIX_KEY(0, 1, KEY_ENTER)
142 >;
143};
144
465ce68b
TL
145&usb_otg_hs {
146 interface-type = <0>;
147 usb-phy = <&usb2_phy>;
f9efbce6
LT
148 phys = <&usb2_phy>;
149 phy-names = "usb2-phy";
465ce68b
TL
150 mode = <3>;
151 power = <50>;
152};
5992234b
TL
153
154&gpmc {
155 ethernet@gpmc {
156 interrupt-parent = <&gpio6>;
157 interrupts = <16 8>;
158 reg = <5 0 0xff>;
159 };
160};