ARM: ux500: move MSP pin control to the device tree
[deliverable/linux.git] / arch / arm / boot / dts / ste-hrefprev60.dtsi
CommitLineData
dd06faff
LJ
1/*
2 * Copyright 2012 ST-Ericsson AB
3 *
4 * The code contained herein is licensed under the GNU General Public
5 * License. You may obtain a copy of the GNU General Public License
6 * Version 2 or later at the following locations:
7 *
8 * http://www.opensource.org/licenses/gpl-license.html
9 * http://www.gnu.org/copyleft/gpl.html
01dc909f
LW
10 *
11 * Device Tree for the HREF+ prior to the v60 variant.
dd06faff
LJ
12 */
13
2ce05a14
LW
14#include "ste-dbx5x0.dtsi"
15#include "ste-href.dtsi"
dd06faff
LJ
16
17/ {
6b8db132
LJ
18 gpio_keys {
19 button@1 {
20 gpios = <&tc3589x_gpio 7 0x4>;
21 };
22 };
23
b1ba1439 24 soc {
dd06faff
LJ
25 i2c@80004000 {
26 tps61052@33 {
27 compatible = "tps61052";
28 reg = <0x33>;
29 };
d62407b0 30
7e0a51a0
LW
31 tc35892@42 {
32 compatible = "toshiba,tc35892";
d62407b0
LW
33 reg = <0x42>;
34 interrupt-parent = <&gpio6>;
35 interrupts = <25 IRQ_TYPE_EDGE_RISING>;
36
37 interrupt-controller;
7e0a51a0 38 #interrupt-cells = <1>;
d62407b0
LW
39
40 tc3589x_gpio: tc3589x_gpio {
41 compatible = "tc3589x-gpio";
7e0a51a0 42 interrupts = <0>;
d62407b0
LW
43
44 interrupt-controller;
45 #interrupt-cells = <2>;
46 gpio-controller;
47 #gpio-cells = <2>;
48 };
49 };
dd06faff 50 };
cbebba7d 51
8ad49c65
LJ
52 vmmci: regulator-gpio {
53 gpios = <&tc3589x_gpio 18 0x4>;
75766003 54 enable-gpio = <&tc3589x_gpio 17 0x4>;
8ad49c65
LJ
55
56 status = "okay";
57 };
1e662353
LW
58
59 pinctrl {
60 sdi0 {
61 /* This additional pin needed on early MOP500 and HREFs previous to v60 */
62 sdi0_default_mode: sdi0_default {
63 hrefprev60_mux {
64 ste,function = "mc0";
65 ste,pins = "mc0dat31dir_a_1";
66 };
67 hrefprev60_cfg1 {
68 ste,pins = "GPIO21_AB3"; /* DAT31DIR */
69 ste,config = <&out_hi>;
70 };
71
72 };
73 };
74 };
dd06faff
LJ
75 };
76};
This page took 0.077257 seconds and 5 git commands to generate.