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-ab8500.dtsi"
16 #include "ste-href.dtsi"
21 gpios = <&tc3589x_gpio 7 GPIO_ACTIVE_HIGH>;
26 /* Enable UART1 on this board */
33 compatible = "tps61052";
38 compatible = "toshiba,tc35892";
40 interrupt-parent = <&gpio6>;
41 interrupts = <25 IRQ_TYPE_EDGE_RISING>;
42 pinctrl-names = "default";
43 pinctrl-0 = <&tc35892_hrefprev60_mode>;
46 #interrupt-cells = <1>;
48 tc3589x_gpio: tc3589x_gpio {
49 compatible = "tc3589x-gpio";
53 #interrupt-cells = <2>;
62 * On the first generation boards, this SSP/SPI port was connected
65 pinctrl-names = "default";
66 pinctrl-0 = <&ssp0_hrefprev60_mode>;
69 // External Micro SD slot
71 cd-gpios = <&tc3589x_gpio 3 GPIO_ACTIVE_HIGH>;
74 vmmci: regulator-gpio {
75 gpios = <&tc3589x_gpio 18 GPIO_ACTIVE_HIGH>;
76 enable-gpio = <&tc3589x_gpio 17 GPIO_ACTIVE_HIGH>;
80 /* Set this up using hogs */
81 pinctrl-names = "default";
82 pinctrl-0 = <&ipgpio_hrefprev60_mode>;
85 ssp0_hrefprev60_mode: ssp0_hrefprev60_default {
91 pins = "GPIO145_C13"; /* RXD */
92 ste,config = <&in_pd>;
98 /* This additional pin needed on early MOP500 and HREFs previous to v60 */
99 sdi0_default_mode: sdi0_default {
102 groups = "mc0dat31dir_a_1";
105 pins = "GPIO21_AB3"; /* DAT31DIR */
106 ste,config = <&out_hi>;
112 tc35892_hrefprev60_mode: tc35892_hrefprev60 {
114 pins = "GPIO217_AH12";
115 ste,config = <&gpio_in_pu>;
120 ipgpio_hrefprev60_mode: ipgpio_hrefprev60 {
123 groups = "ipgpio0_c_1", "ipgpio1_c_1";
126 pins = "GPIO6_AF6", "GPIO7_AG5";
127 ste,config = <&in_pu>;