2014-07-29 02:53:33 +07:00
|
|
|
/*
|
2018-07-31 14:11:27 +07:00
|
|
|
* Copyright (C) 2014-18 H. Nikolaus Schaller <hns@goldelico.com>
|
2014-07-29 02:53:33 +07:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "omap3-gta04.dtsi"
|
|
|
|
|
|
|
|
/ {
|
2018-07-31 14:11:28 +07:00
|
|
|
model = "Goldelico GTA04A5/Letux 2804";
|
2014-07-29 02:53:33 +07:00
|
|
|
|
|
|
|
sound {
|
2018-07-31 14:11:29 +07:00
|
|
|
ti,jack-det-gpio = <&twl_gpio 2 GPIO_ACTIVE_HIGH>; /* GTA04A5 only */
|
2014-07-29 02:53:33 +07:00
|
|
|
};
|
2018-07-31 14:11:30 +07:00
|
|
|
|
|
|
|
pps {
|
|
|
|
compatible = "pps-gpio";
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pps_pins>;
|
|
|
|
|
|
|
|
gpios = <&gpio4 18 GPIO_ACTIVE_HIGH>; /* GPIN_114 */
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
|
2018-07-31 14:11:31 +07:00
|
|
|
&gpio5 {
|
|
|
|
irda_en {
|
|
|
|
gpio-hog;
|
|
|
|
gpios = <(175-160) GPIO_ACTIVE_HIGH>;
|
|
|
|
output-high; /* activate gpio_175 to disable IrDA receiver */
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-07-31 14:11:30 +07:00
|
|
|
&omap3_pmx_core {
|
2018-07-31 14:11:31 +07:00
|
|
|
irda_pins: pinmux_irda {
|
|
|
|
pinctrl-single,pins = <
|
|
|
|
OMAP3_CORE1_IOPAD(0x21d0, PIN_OUTPUT_PULLUP | MUX_MODE4) /* mcspi1_cs1 = gpio175 */
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
|
2018-07-31 14:11:30 +07:00
|
|
|
pps_pins: pinmux_pps_pins {
|
|
|
|
pinctrl-single,pins = <
|
|
|
|
OMAP3_CORE1_IOPAD(0x2138, PIN_INPUT | MUX_MODE4) /* gpin114 */
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
|
2014-07-29 02:53:33 +07:00
|
|
|
};
|