Commit | Line | Data |
---|---|---|
d234e423 DL |
1 | /* |
2 | * Common support for CompuLab CM-T3x CoMs | |
3 | */ | |
4 | ||
5 | / { | |
6 | ||
7 | memory { | |
8 | device_type = "memory"; | |
9 | reg = <0x80000000 0x10000000>; /* 256 MB */ | |
10 | }; | |
11 | ||
12 | leds { | |
13 | compatible = "gpio-leds"; | |
dc897926 DL |
14 | pinctrl-names = "default"; |
15 | pinctrl-0 = <&green_led_pins>; | |
d234e423 DL |
16 | ledb { |
17 | label = "cm-t3x:green"; | |
18 | gpios = <&gpio6 26 GPIO_ACTIVE_HIGH>; /* gpio186 */ | |
19 | linux,default-trigger = "heartbeat"; | |
20 | }; | |
21 | }; | |
22 | }; | |
23 | ||
24 | &omap3_pmx_core { | |
25 | ||
26 | uart3_pins: pinmux_uart3_pins { | |
27 | pinctrl-single,pins = < | |
28 | OMAP3_CORE1_IOPAD(0x219e, PIN_INPUT | MUX_MODE0) /* uart3_rx_irrx.uart3_rx_irrx */ | |
29 | OMAP3_CORE1_IOPAD(0x21a0, PIN_OUTPUT | MUX_MODE0) /* uart3_tx_irtx.uart3_tx_irtx */ | |
30 | >; | |
31 | }; | |
32 | ||
33 | mmc1_pins: pinmux_mmc1_pins { | |
34 | pinctrl-single,pins = < | |
35 | OMAP3_CORE1_IOPAD(0x2144, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_clk.sdmmc1_clk */ | |
36 | OMAP3_CORE1_IOPAD(0x2146, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_cmd.sdmmc1_cmd */ | |
37 | OMAP3_CORE1_IOPAD(0x2148, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat0.sdmmc1_dat0 */ | |
38 | OMAP3_CORE1_IOPAD(0x214a, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat1.sdmmc1_dat1 */ | |
39 | OMAP3_CORE1_IOPAD(0x214c, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat2.sdmmc1_dat2 */ | |
40 | OMAP3_CORE1_IOPAD(0x214e, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat3.sdmmc1_dat3 */ | |
41 | >; | |
42 | }; | |
dc897926 DL |
43 | |
44 | green_led_pins: pinmux_green_led_pins { | |
45 | pinctrl-single,pins = < | |
46 | OMAP3_CORE1_IOPAD(0x21e2, PIN_OUTPUT | MUX_MODE4) /* sys_clkout2.gpio_186 */ | |
47 | >; | |
48 | }; | |
d234e423 DL |
49 | }; |
50 | ||
51 | &uart3 { | |
52 | pinctrl-names = "default"; | |
53 | pinctrl-0 = <&uart3_pins>; | |
54 | }; | |
55 | ||
56 | &mmc1 { | |
57 | pinctrl-names = "default"; | |
58 | pinctrl-0 = <&mmc1_pins>; | |
59 | bus-width = <4>; | |
60 | }; | |
61 | ||
4ceb3936 DL |
62 | &mmc3 { |
63 | status = "disabled"; | |
64 | }; | |
65 | ||
d234e423 DL |
66 | &i2c1 { |
67 | clock-frequency = <400000>; | |
68 | }; | |
69 | ||
70 | &i2c3 { | |
71 | clock-frequency = <400000>; | |
72 | }; |