ARM: kirkwood: Add support for NETGEAR ReadyNAS NV+ v2
[deliverable/linux.git] / arch / arm / boot / dts / omap3-igep.dtsi
1 /*
2 * Device Tree Source for IGEP Technology devices
3 *
4 * Copyright (C) 2012 Javier Martinez Canillas <javier@collabora.co.uk>
5 * Copyright (C) 2012 Enric Balletbo i Serra <eballetbo@gmail.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 */
11 /dts-v1/;
12
13 #include "omap34xx.dtsi"
14
15 / {
16 memory {
17 device_type = "memory";
18 reg = <0x80000000 0x20000000>; /* 512 MB */
19 };
20
21 sound {
22 compatible = "ti,omap-twl4030";
23 ti,model = "igep2";
24 ti,mcbsp = <&mcbsp2>;
25 ti,codec = <&twl_audio>;
26 };
27 };
28
29 &omap3_pmx_core {
30 uart1_pins: pinmux_uart1_pins {
31 pinctrl-single,pins = <
32 0x152 (PIN_INPUT | MUX_MODE0) /* uart1_rx.uart1_rx */
33 0x14c (PIN_OUTPUT |MUX_MODE0) /* uart1_tx.uart1_tx */
34 >;
35 };
36
37 uart2_pins: pinmux_uart2_pins {
38 pinctrl-single,pins = <
39 0x14a (PIN_INPUT | MUX_MODE0) /* uart2_rx.uart2_rx */
40 0x148 (PIN_OUTPUT | MUX_MODE0) /* uart2_tx.uart2_tx */
41 >;
42 };
43
44 uart3_pins: pinmux_uart3_pins {
45 pinctrl-single,pins = <
46 0x16e (PIN_INPUT | MUX_MODE0) /* uart3_rx.uart3_rx */
47 0x170 (PIN_OUTPUT | MUX_MODE0) /* uart3_tx.uart3_tx */
48 >;
49 };
50
51 mcbsp2_pins: pinmux_mcbsp2_pins {
52 pinctrl-single,pins = <
53 0x10c (PIN_INPUT | MUX_MODE0) /* mcbsp2_fsx.mcbsp2_fsx */
54 0x10e (PIN_INPUT | MUX_MODE0) /* mcbsp2_clkx.mcbsp2_clkx */
55 0x110 (PIN_INPUT | MUX_MODE0) /* mcbsp2_dr.mcbsp2.dr */
56 0x112 (PIN_OUTPUT | MUX_MODE0) /* mcbsp2_dx.mcbsp2_dx */
57 >;
58 };
59
60 mmc1_pins: pinmux_mmc1_pins {
61 pinctrl-single,pins = <
62 0x114 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_clk.sdmmc1_clk */
63 0x116 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_cmd.sdmmc1_cmd */
64 0x118 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat0.sdmmc1_dat0 */
65 0x11a (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat1.sdmmc1_dat1 */
66 0x11c (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat2.sdmmc1_dat2 */
67 0x11e (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat3.sdmmc1_dat3 */
68 0x120 (PIN_INPUT | MUX_MODE0) /* sdmmc1_dat4.sdmmc1_dat4 */
69 0x122 (PIN_INPUT | MUX_MODE0) /* sdmmc1_dat5.sdmmc1_dat5 */
70 0x124 (PIN_INPUT | MUX_MODE0) /* sdmmc1_dat6.sdmmc1_dat6 */
71 0x126 (PIN_INPUT | MUX_MODE0) /* sdmmc1_dat7.sdmmc1_dat7 */
72 >;
73 };
74
75 smsc911x_pins: pinmux_smsc911x_pins {
76 pinctrl-single,pins = <
77 0x1a2 (PIN_INPUT | MUX_MODE4) /* mcspi1_cs2.gpio_176 */
78 >;
79 };
80
81 leds_pins: pinmux_leds_pins { };
82 };
83
84 &i2c1 {
85 clock-frequency = <2600000>;
86
87 twl: twl@48 {
88 reg = <0x48>;
89 interrupts = <7>; /* SYS_NIRQ cascaded to intc */
90 interrupt-parent = <&intc>;
91
92 twl_audio: audio {
93 compatible = "ti,twl4030-audio";
94 codec {
95 };
96 };
97 };
98 };
99
100 #include "twl4030.dtsi"
101 #include "twl4030_omap3.dtsi"
102
103 &i2c2 {
104 clock-frequency = <400000>;
105 };
106
107 &mcbsp2 {
108 pinctrl-names = "default";
109 pinctrl-0 = <&mcbsp2_pins>;
110 };
111
112 &mmc1 {
113 pinctrl-names = "default";
114 pinctrl-0 = <&mmc1_pins>;
115 vmmc-supply = <&vmmc1>;
116 vmmc_aux-supply = <&vsim>;
117 bus-width = <8>;
118 };
119
120 &mmc2 {
121 status = "disabled";
122 };
123
124 &mmc3 {
125 status = "disabled";
126 };
127
128 &uart1 {
129 pinctrl-names = "default";
130 pinctrl-0 = <&uart1_pins>;
131 };
132
133 &uart2 {
134 pinctrl-names = "default";
135 pinctrl-0 = <&uart2_pins>;
136 };
137
138 &uart3 {
139 pinctrl-names = "default";
140 pinctrl-0 = <&uart3_pins>;
141 };
142
143 &twl_gpio {
144 ti,use-leds;
145 };
146
147 &usb_otg_hs {
148 interface-type = <0>;
149 usb-phy = <&usb2_phy>;
150 phys = <&usb2_phy>;
151 phy-names = "usb2-phy";
152 mode = <3>;
153 power = <50>;
154 };
This page took 0.047946 seconds and 5 git commands to generate.