2 * Support for CompuLab CM-T54
7 #include <dt-bindings/interrupt-controller/irq.h>
8 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 model = "CompuLab CM-T54";
12 compatible = "compulab,omap5-cm-t54", "ti,omap5";
15 device_type = "memory";
16 reg = <0x80000000 0x7F000000>; /* 2048 MB */
19 vmmcsd_fixed: fixed-regulator-mmcsd {
20 compatible = "regulator-fixed";
21 regulator-name = "vmmcsd_fixed";
22 regulator-min-microvolt = <3300000>;
23 regulator-max-microvolt = <3300000>;
26 vwlan_pdn_fixed: fixed-regulator-vwlan-pdn {
27 compatible = "regulator-fixed";
28 regulator-name = "vwlan_pdn_fixed";
29 regulator-min-microvolt = <3300000>;
30 regulator-max-microvolt = <3300000>;
31 vin-supply = <&ldo2_reg>;
32 gpio = <&gpio4 13 GPIO_ACTIVE_HIGH>; /* gpio4_109 */
33 startup-delay-us = <1000>;
37 vwlan_fixed: fixed-regulator-vwlan {
38 compatible = "regulator-fixed";
39 regulator-name = "vwlan_fixed";
40 regulator-min-microvolt = <3300000>;
41 regulator-max-microvolt = <3300000>;
42 vin-supply = <&vwlan_pdn_fixed>;
43 gpio = <&gpio4 14 GPIO_ACTIVE_HIGH>; /* gpio4_110 */
44 startup-delay-us = <1000>;
48 /* HS USB Host PHY on PORT 2 */
49 hsusb2_phy: hsusb2_phy {
50 compatible = "usb-nop-xceiv";
51 reset-gpios = <&gpio3 12 GPIO_ACTIVE_LOW>; /* gpio3_76 HUB_RESET */
54 /* HS USB Host PHY on PORT 3 */
55 hsusb3_phy: hsusb3_phy {
56 compatible = "usb-nop-xceiv";
57 reset-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>; /* gpio3_83 ETH_RESET */
61 compatible = "gpio-leds";
64 gpios = <&gpio3 16 GPIO_ACTIVE_HIGH>; /* gpio3_80 ACT_LED */
65 linux,default-trigger = "heartbeat";
66 default-state = "off";
72 pinctrl-names = "default";
78 led_gpio_pins: pinmux_led_gpio_pins {
79 pinctrl-single,pins = <
80 OMAP5_IOPAD(0x00b0, PIN_OUTPUT | MUX_MODE6) /* hsi2_caflag.gpio3_80 */
84 i2c1_pins: pinmux_i2c1_pins {
85 pinctrl-single,pins = <
86 OMAP5_IOPAD(0x01f2, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_pmic_scl */
87 OMAP5_IOPAD(0x01f4, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_pmic_sda */
91 mmc1_pins: pinmux_mmc1_pins {
92 pinctrl-single,pins = <
93 OMAP5_IOPAD(0x01e2, PIN_INPUT_PULLUP | MUX_MODE0) /* sdcard_clk */
94 OMAP5_IOPAD(0x01e4, PIN_INPUT_PULLUP | MUX_MODE0) /* sdcard_cmd */
95 OMAP5_IOPAD(0x01e6, PIN_INPUT_PULLUP | MUX_MODE0) /* sdcard_data2 */
96 OMAP5_IOPAD(0x01e8, PIN_INPUT_PULLUP | MUX_MODE0) /* sdcard_data3 */
97 OMAP5_IOPAD(0x01ea, PIN_INPUT_PULLUP | MUX_MODE0) /* sdcard_data0 */
98 OMAP5_IOPAD(0x01ec, PIN_INPUT_PULLUP | MUX_MODE0) /* sdcard_data1 */
102 mmc2_pins: pinmux_mmc2_pins {
103 pinctrl-single,pins = <
104 OMAP5_IOPAD(0x0040, PIN_INPUT_PULLUP | MUX_MODE0) /* emmc_clk */
105 OMAP5_IOPAD(0x0042, PIN_INPUT_PULLUP | MUX_MODE0) /* emmc_cmd */
106 OMAP5_IOPAD(0x0044, PIN_INPUT_PULLUP | MUX_MODE0) /* emmc_data0 */
107 OMAP5_IOPAD(0x0046, PIN_INPUT_PULLUP | MUX_MODE0) /* emmc_data1 */
108 OMAP5_IOPAD(0x0048, PIN_INPUT_PULLUP | MUX_MODE0) /* emmc_data2 */
109 OMAP5_IOPAD(0x004a, PIN_INPUT_PULLUP | MUX_MODE0) /* emmc_data3 */
110 OMAP5_IOPAD(0x004c, PIN_INPUT_PULLUP | MUX_MODE0) /* emmc_data4 */
111 OMAP5_IOPAD(0x004e, PIN_INPUT_PULLUP | MUX_MODE0) /* emmc_data5 */
112 OMAP5_IOPAD(0x0050, PIN_INPUT_PULLUP | MUX_MODE0) /* emmc_data6 */
113 OMAP5_IOPAD(0x0052, PIN_INPUT_PULLUP | MUX_MODE0) /* emmc_data7 */
117 mmc3_pins: pinmux_mmc3_pins {
118 pinctrl-single,pins = <
119 OMAP5_IOPAD(0x01a4, PIN_INPUT_PULLUP | MUX_MODE0) /* wlsdio_clk */
120 OMAP5_IOPAD(0x01a6, PIN_INPUT_PULLUP | MUX_MODE0) /* wlsdio_cmd */
121 OMAP5_IOPAD(0x01a8, PIN_INPUT_PULLUP | MUX_MODE0) /* wlsdio_data0 */
122 OMAP5_IOPAD(0x01aa, PIN_INPUT_PULLUP | MUX_MODE0) /* wlsdio_data1 */
123 OMAP5_IOPAD(0x01ac, PIN_INPUT_PULLUP | MUX_MODE0) /* wlsdio_data2 */
124 OMAP5_IOPAD(0x01ae, PIN_INPUT_PULLUP | MUX_MODE0) /* wlsdio_data3 */
128 wlan_gpios_pins: pinmux_wlan_gpios_pins {
129 pinctrl-single,pins = <
130 OMAP5_IOPAD(0x019c, PIN_OUTPUT_PULLDOWN | MUX_MODE6) /* gpio4_109 */
131 OMAP5_IOPAD(0x019e, PIN_OUTPUT_PULLDOWN | MUX_MODE6) /* gpio4_110 */
135 usbhost_pins: pinmux_usbhost_pins {
136 pinctrl-single,pins = <
137 OMAP5_IOPAD(0x00c4, PIN_INPUT | MUX_MODE0) /* usbb2_hsic_strobe */
138 OMAP5_IOPAD(0x00c6, PIN_INPUT | MUX_MODE0) /* usbb2_hsic_data */
140 OMAP5_IOPAD(0x01dc, PIN_INPUT | MUX_MODE0) /* usbb3_hsic_strobe */
141 OMAP5_IOPAD(0x01de, PIN_INPUT | MUX_MODE0) /* usbb3_hsic_data */
143 OMAP5_IOPAD(0x00a8, PIN_OUTPUT | MUX_MODE6) /* hsi2_caready.gpio3_76 */
144 OMAP5_IOPAD(0x00b6, PIN_OUTPUT | MUX_MODE6) /* hsi2_acdata.gpio3_83 */
150 pinctrl-names = "default";
151 pinctrl-0 = <&mmc1_pins>;
152 vmmc-supply = <&ldo9_reg>;
157 pinctrl-names = "default";
158 pinctrl-0 = <&mmc2_pins>;
159 vmmc-supply = <&vmmcsd_fixed>;
165 pinctrl-names = "default";
170 vmmc-supply = <&vwlan_fixed>;
184 pinctrl-names = "default";
185 pinctrl-0 = <&i2c1_pins>;
187 clock-frequency = <400000>;
190 compatible = "at24,24c02";
196 compatible = "ti,palmas";
197 interrupts = <GIC_SPI 7 IRQ_TYPE_NONE>; /* IRQ_SYS_1N */
198 interrupt-parent = <&gic>;
200 interrupt-controller;
201 #interrupt-cells = <2>;
202 ti,system-power-controller;
204 extcon_usb3: palmas_usb {
205 compatible = "ti,palmas-usb-vid";
206 ti,enable-vbus-detection;
207 ti,enable-id-detection;
212 compatible = "ti,palmas-rtc";
213 interrupt-parent = <&palmas>;
214 interrupts = <8 IRQ_TYPE_NONE>;
218 compatible = "ti,palmas-pmic";
219 interrupt-parent = <&palmas>;
220 interrupts = <14 IRQ_TYPE_NONE>;
221 interrupt-name = "short-irq";
226 smps123_reg: smps123 {
228 regulator-name = "smps123";
229 regulator-min-microvolt = < 600000>;
230 regulator-max-microvolt = <1500000>;
237 regulator-name = "smps45";
238 regulator-min-microvolt = < 600000>;
239 regulator-max-microvolt = <1310000>;
245 /* VDD_DDR3 - over VDD_SMPS6 */
246 regulator-name = "smps6";
247 regulator-min-microvolt = <1500000>;
248 regulator-max-microvolt = <1500000>;
254 /* VDDS_1v8_OMAP over VDDS_1v8_MAIN */
255 regulator-name = "smps7";
256 regulator-min-microvolt = <1800000>;
257 regulator-max-microvolt = <1800000>;
264 regulator-name = "smps8";
265 regulator-min-microvolt = < 600000>;
266 regulator-max-microvolt = <1310000>;
272 /* VDDA_2v1_AUD over VDD_2v1 */
273 regulator-name = "smps9";
274 regulator-min-microvolt = <3300000>;
275 regulator-max-microvolt = <3300000>;
276 ti,smps-range = <0x80>;
281 smps10_out2_reg: smps10_out2 {
283 regulator-name = "smps10_out2";
284 regulator-min-microvolt = <5000000>;
285 regulator-max-microvolt = <5000000>;
290 smps10_out1_reg: smps10_out1 {
292 regulator-name = "smps10_out1";
293 regulator-min-microvolt = <5000000>;
294 regulator-max-microvolt = <5000000>;
298 /* VDDAPHY_CAM: vdda_csiport */
299 regulator-name = "ldo1";
300 regulator-min-microvolt = <1500000>;
301 regulator-max-microvolt = <1800000>;
306 regulator-name = "ldo2";
307 regulator-min-microvolt = <3300000>;
308 regulator-max-microvolt = <3300000>;
309 startup-delay-us = <1000>;
314 regulator-name = "ldo3";
315 regulator-min-microvolt = <1500000>;
316 regulator-max-microvolt = <1500000>;
322 /* VDDAPHY_DISP: vdda_dsiport/hdmi */
323 regulator-name = "ldo4";
324 regulator-min-microvolt = <1500000>;
325 regulator-max-microvolt = <1800000>;
329 /* VDDA_1V8_PHY: usb/sata/hdmi.. */
330 regulator-name = "ldo5";
331 regulator-min-microvolt = <1800000>;
332 regulator-max-microvolt = <1800000>;
338 /* VDDS_1V2_WKUP: hsic/ldo_emu_wkup */
339 regulator-name = "ldo6";
340 regulator-min-microvolt = <1200000>;
341 regulator-max-microvolt = <1200000>;
348 regulator-name = "ldo7";
349 regulator-min-microvolt = <2000000>;
350 regulator-max-microvolt = <2000000>;
351 /* Only for efuse reprograming! */
356 /* VDD_3V_GP: act led/serial console */
357 regulator-name = "ldo8";
358 regulator-min-microvolt = <3000000>;
359 regulator-max-microvolt = <3000000>;
365 /* VCC_DV_SDIO: vdds_sdcard */
366 regulator-name = "ldo9";
367 regulator-min-microvolt = <1800000>;
368 regulator-max-microvolt = <3000000>;
373 /* VDDA_1v8_REF: vdds_osc/mm_l4per.. */
374 regulator-name = "ldoln";
375 regulator-min-microvolt = <1800000>;
376 regulator-max-microvolt = <1800000>;
382 /* VDDA_3V_USB: VDDA_USBHS33 */
383 regulator-name = "ldousb";
384 regulator-min-microvolt = <3250000>;
385 regulator-max-microvolt = <3250000>;
391 /* REGEN3 controls LDO9 supply to card */
392 regulator-name = "regen3";
402 port2-mode = "ehci-hsic";
403 port3-mode = "ehci-hsic";
407 phys = <0 &hsusb2_phy &hsusb3_phy>;
411 cpu0-supply = <&smps123_reg>;