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 */
71 pinctrl-names = "default";
72 pinctrl-0 = <&i2c1_pins>;
74 clock-frequency = <2200000>;
78 interrupts = <7>; /* SYS_NIRQ cascaded to intc */
79 interrupt-parent = <&intc>;
83 #include "twl4030.dtsi"
84 #include "twl4030_omap3.dtsi"
88 ti,pulldowns = <0x03ff3f>; /* BIT(0..5) | BIT(8..17) */
92 pinctrl-names = "default";
93 pinctrl-0 = <&i2c2_pins>;
95 clock-frequency = <100000>;
99 pinctrl-names = "default";
100 pinctrl-0 = <&i2c3_pins>;
102 clock-frequency = <400000>;
119 * For some reason, touchscreen is necessary for screen to work at
120 * all on real hw. It works well without it on emulator.
122 * Also... order in the device tree actually matters here.
125 compatible = "tsc2005";
126 spi-max-frequency = <6000000>;
130 compatible = "acx565akm";
131 spi-max-frequency = <6000000>;
137 interface-type = <0>;
138 usb-phy = <&usb2_phy>;
140 phy-names = "usb2-phy";
150 pinctrl-names = "default";
151 pinctrl-0 = <&uart2_pins>;
155 pinctrl-names = "default";
156 pinctrl-0 = <&uart3_pins>;