2 * Copyright (C) 2013 Pavel Machek <pavel@ucw.cz>
3 * Copyright 2013 Aaro Koskinen <aaro.koskinen@iki.fi>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 (or later) as
7 * published by the Free Software Foundation.
12 #include "omap34xx.dtsi"
16 compatible = "nokia,omap3-n900", "ti,omap3";
25 device_type = "memory";
26 reg = <0x80000000 0x10000000>; /* 256 MB */
32 pinctrl-names = "default";
34 uart2_pins: pinmux_uart2_pins {
35 pinctrl-single,pins = <
36 0x14a (PIN_INPUT | MUX_MODE0) /* uart2_rx */
37 0x148 (PIN_OUTPUT | MUX_MODE0) /* uart2_tx */
41 uart3_pins: pinmux_uart3_pins {
42 pinctrl-single,pins = <
43 0x16e (PIN_INPUT | MUX_MODE0) /* uart3_rx */
44 0x170 (PIN_OUTPUT | MUX_MODE0) /* uart3_tx */
48 i2c1_pins: pinmux_i2c1_pins {
49 pinctrl-single,pins = <
50 0x18a (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_scl */
51 0x18c (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_sda */
55 i2c2_pins: pinmux_i2c2_pins {
56 pinctrl-single,pins = <
57 0x18e (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c2_scl */
58 0x190 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c2_sda */
62 i2c3_pins: pinmux_i2c3_pins {
63 pinctrl-single,pins = <
64 0x192 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_scl */
65 0x194 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_sda */
69 mmc1_pins: pinmux_mmc1_pins {
70 pinctrl-single,pins = <
71 0x114 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_clk */
72 0x116 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_cmd */
73 0x118 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat0 */
74 0x11a (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat1 */
75 0x11c (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat2 */
76 0x11e (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat3 */
82 pinctrl-names = "default";
83 pinctrl-0 = <&i2c1_pins>;
85 clock-frequency = <2200000>;
89 interrupts = <7>; /* SYS_NIRQ cascaded to intc */
90 interrupt-parent = <&intc>;
94 #include "twl4030.dtsi"
95 #include "twl4030_omap3.dtsi"
99 ti,pulldowns = <0x03ff3f>; /* BIT(0..5) | BIT(8..17) */
103 pinctrl-names = "default";
104 pinctrl-0 = <&i2c2_pins>;
106 clock-frequency = <100000>;
110 pinctrl-names = "default";
111 pinctrl-0 = <&i2c3_pins>;
113 clock-frequency = <400000>;
117 pinctrl-names = "default";
118 pinctrl-0 = <&mmc1_pins>;
119 vmmc-supply = <&vmmc1>;
121 cd-gpios = <&gpio6 0 GPIO_ACTIVE_HIGH>; /* 160 */
134 * For some reason, touchscreen is necessary for screen to work at
135 * all on real hw. It works well without it on emulator.
137 * Also... order in the device tree actually matters here.
140 compatible = "tsc2005";
141 spi-max-frequency = <6000000>;
145 compatible = "acx565akm";
146 spi-max-frequency = <6000000>;
152 interface-type = <0>;
153 usb-phy = <&usb2_phy>;
155 phy-names = "usb2-phy";
165 pinctrl-names = "default";
166 pinctrl-0 = <&uart2_pins>;
170 pinctrl-names = "default";
171 pinctrl-0 = <&uart3_pins>;