summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/tegra124-platforms/tegra124-apalis-gpio.dtsi
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2016-06-06 16:54:42 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2016-06-29 16:49:35 +0200
commiteeb6061f4b93cdd2c946e354ff69224163636282 (patch)
treec0332fd3e31f147d1141fa0f982ef54ae8b87d4f /arch/arm/boot/dts/tegra124-platforms/tegra124-apalis-gpio.dtsi
parent4d58a5bc83475c1ca5f9990cf9bfeba5b2fe3bbc (diff)
arm: tegra: initial support for apalis tk1Apalis_TK1_LinuxImageV2.6Beta2_20160701
This patch adds support for the Toradex Apalis TK1 acomputer on module which can be used on different carrier boards. The module consists of a Tegra TK1 SoC, a PMIC solution, 2 GB of DDR3L RAM, a bunch of level shifters, an eMMC, a TMP451 temperature sensor chip, an I210 gigabit Ethernet controller and a SGTL5000 audio codec. Furthermore, there is a Kinetis MK20DN512 companion micro controller for analogue, CAN and resistive touch functionality which is not yet supported. This is known to boot into either a basic Angstrom/OpenEmbedded/Yocto or L4T/JetPack Ubuntu based image. The following things are known to work to a certain extend: - analogue/digital audio - debug UART1 - DVFS power management incl. low power core migration - eMMC - gigabit Ethernet - GPIOs - HDMI (incl. HDA audio) - I2C - LVDS - PCIe - SATA - SD/MMC cards - temperature sensor - USB host ports The rest is untested. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
Diffstat (limited to 'arch/arm/boot/dts/tegra124-platforms/tegra124-apalis-gpio.dtsi')
-rw-r--r--arch/arm/boot/dts/tegra124-platforms/tegra124-apalis-gpio.dtsi68
1 files changed, 68 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/tegra124-platforms/tegra124-apalis-gpio.dtsi b/arch/arm/boot/dts/tegra124-platforms/tegra124-apalis-gpio.dtsi
new file mode 100644
index 000000000000..62ece8b66750
--- /dev/null
+++ b/arch/arm/boot/dts/tegra124-platforms/tegra124-apalis-gpio.dtsi
@@ -0,0 +1,68 @@
+#include <dt-bindings/gpio/tegra-gpio.h>
+
+/ {
+ gpio: gpio@6000d000 {
+ gpio-init-names = "default";
+ gpio-init-0 = <&gpio_default>;
+
+ gpio_default: default {
+ gpio-input = <
+ TEGRA_GPIO(A, 1)
+ TEGRA_GPIO(B, 1)
+ TEGRA_GPIO(I, 5)
+ TEGRA_GPIO(I, 6)
+ TEGRA_GPIO(J, 0)
+ TEGRA_GPIO(J, 2)
+ TEGRA_GPIO(K, 2)
+ TEGRA_GPIO(K, 7)
+ TEGRA_GPIO(N, 7)
+ TEGRA_GPIO(O, 5)
+ TEGRA_GPIO(V, 3)
+ TEGRA_GPIO(V, 4)
+ TEGRA_GPIO(V, 5)
+ TEGRA_GPIO(W, 3)
+ TEGRA_GPIO(W, 5)
+ TEGRA_GPIO(BB, 0)
+ TEGRA_GPIO(BB, 4)
+ TEGRA_GPIO(CC, 5)
+ TEGRA_GPIO(DD, 1)
+ TEGRA_GPIO(DD, 2)
+ TEGRA_GPIO(DD, 3)
+ TEGRA_GPIO(DD, 5)
+ TEGRA_GPIO(DD, 6)
+ TEGRA_GPIO(EE, 3)
+ TEGRA_GPIO(EE, 5)
+ TEGRA_GPIO(FF, 0)
+ TEGRA_GPIO(FF, 1)
+ TEGRA_GPIO(FF, 2)
+ >;
+ gpio-output-low = <
+ TEGRA_GPIO(C, 0)
+ TEGRA_GPIO(Q, 0) /* Shift_CTRL_OE[0] */
+ TEGRA_GPIO(Q, 1) /* Shift_CTRL_OE[1] */
+ TEGRA_GPIO(Q, 2) /* Shift_CTRL_OE[2] */
+ TEGRA_GPIO(Q, 4) /* Shift_CTRL_OE[4] */
+ TEGRA_GPIO(R, 0) /* Shift_CTRL_Dir_In[0] */
+ TEGRA_GPIO(R, 1) /* Shift_CTRL_Dir_In[1] */
+ TEGRA_GPIO(R, 2) /* Shift_CTRL_OE[3] */
+ TEGRA_GPIO(S, 3) /* Shift_CTRL_Dir_In[2] */
+ TEGRA_GPIO(BB, 3)
+ TEGRA_GPIO(BB, 6)
+ >;
+ gpio-output-high = <
+ TEGRA_GPIO(N, 2)
+ TEGRA_GPIO(N, 4)
+ TEGRA_GPIO(N, 5)
+#if 0
+ TEGRA_GPIO(O, 6) /* LAN_DEV_OFF# */
+#endif
+ TEGRA_GPIO(Q, 5) /* Shift_CTRL_Dir_Out[0] */
+ TEGRA_GPIO(Q, 6) /* Shift_CTRL_Dir_Out[1] */
+ TEGRA_GPIO(Q, 7) /* Shift_CTRL_Dir_Out[2] */
+ TEGRA_GPIO(S, 2) /* LAN_RESET# */
+ TEGRA_GPIO(U, 4)
+ TEGRA_GPIO(BB, 5)
+ >;
+ };
+ };
+};