ARM: dts: sbc-t3x: refactor DT support
[linux-2.6-block.git] / arch / arm / boot / dts / omap3-cm-t3x.dtsi
CommitLineData
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";
14 ledb {
15 label = "cm-t3x:green";
16 gpios = <&gpio6 26 GPIO_ACTIVE_HIGH>; /* gpio186 */
17 linux,default-trigger = "heartbeat";
18 };
19 };
20};
21
22&omap3_pmx_core {
23
24 uart3_pins: pinmux_uart3_pins {
25 pinctrl-single,pins = <
26 OMAP3_CORE1_IOPAD(0x219e, PIN_INPUT | MUX_MODE0) /* uart3_rx_irrx.uart3_rx_irrx */
27 OMAP3_CORE1_IOPAD(0x21a0, PIN_OUTPUT | MUX_MODE0) /* uart3_tx_irtx.uart3_tx_irtx */
28 >;
29 };
30
31 mmc1_pins: pinmux_mmc1_pins {
32 pinctrl-single,pins = <
33 OMAP3_CORE1_IOPAD(0x2144, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_clk.sdmmc1_clk */
34 OMAP3_CORE1_IOPAD(0x2146, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_cmd.sdmmc1_cmd */
35 OMAP3_CORE1_IOPAD(0x2148, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat0.sdmmc1_dat0 */
36 OMAP3_CORE1_IOPAD(0x214a, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat1.sdmmc1_dat1 */
37 OMAP3_CORE1_IOPAD(0x214c, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat2.sdmmc1_dat2 */
38 OMAP3_CORE1_IOPAD(0x214e, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat3.sdmmc1_dat3 */
39 >;
40 };
41};
42
43&uart3 {
44 pinctrl-names = "default";
45 pinctrl-0 = <&uart3_pins>;
46};
47
48&mmc1 {
49 pinctrl-names = "default";
50 pinctrl-0 = <&mmc1_pins>;
51 bus-width = <4>;
52};
53
54&i2c1 {
55 clock-frequency = <400000>;
56};
57
58&i2c3 {
59 clock-frequency = <400000>;
60};