2 * Copyright 2012 ST-Ericsson AB
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:
8 * http://www.opensource.org/licenses/gpl-license.html
9 * http://www.gnu.org/copyleft/gpl.html
11 * Device Tree for the HREF+ prior to the v60 variant.
14 #include "ste-dbx5x0.dtsi"
15 #include "ste-href.dtsi"
20 gpios = <&tc3589x_gpio 7 0x4>;
27 compatible = "tps61052";
32 compatible = "toshiba,tc35892";
34 interrupt-parent = <&gpio6>;
35 interrupts = <25 IRQ_TYPE_EDGE_RISING>;
36 pinctrl-names = "default";
37 pinctrl-0 = <&tc35892_hrefprev60_mode>;
40 #interrupt-cells = <1>;
42 tc3589x_gpio: tc3589x_gpio {
43 compatible = "tc3589x-gpio";
47 #interrupt-cells = <2>;
56 * On the first generation boards, this SSP/SPI port was connected
59 pinctrl-names = "default";
60 pinctrl-0 = <&ssp0_hrefprev60_mode>;
63 vmmci: regulator-gpio {
64 gpios = <&tc3589x_gpio 18 0x4>;
65 enable-gpio = <&tc3589x_gpio 17 0x4>;
71 /* Set this up using hogs */
72 pinctrl-names = "default";
73 pinctrl-0 = <&ipgpio_hrefprev60_mode>;
76 ssp0_hrefprev60_mode: ssp0_hrefprev60_default {
78 ste,function = "ssp0";
79 ste,pins = "ssp0_a_1";
82 ste,pins = "GPIO145_C13"; /* RXD */
83 ste,config = <&in_pd>;
89 /* This additional pin needed on early MOP500 and HREFs previous to v60 */
90 sdi0_default_mode: sdi0_default {
93 ste,pins = "mc0dat31dir_a_1";
96 ste,pins = "GPIO21_AB3"; /* DAT31DIR */
97 ste,config = <&out_hi>;
103 tc35892_hrefprev60_mode: tc35892_hrefprev60 {
105 ste,pins = "GPIO217_AH12";
106 ste,config = <&gpio_in_pu>;
111 ipgpio_hrefprev60_mode: ipgpio_hrefprev60 {
113 ste,function = "ipgpio";
114 ste,pins = "ipgpio0_c_1", "ipgpio1_c_1";
117 ste,pins = "GPIO6_AF6", "GPIO7_AG5";
118 ste,config = <&in_pu>;