2 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
13 #include "am4372.dtsi"
14 #include <dt-bindings/pinctrl/am43xx.h>
15 #include <dt-bindings/gpio/gpio.h>
18 model = "TI AM43x EPOS EVM";
19 compatible = "ti,am43x-epos-evm","ti,am4372","ti,am43";
21 vmmcsd_fixed: fixedregulator-sd {
22 compatible = "regulator-fixed";
23 regulator-name = "vmmcsd_fixed";
24 regulator-min-microvolt = <3300000>;
25 regulator-max-microvolt = <3300000>;
29 am43xx_pinmux: pinmux@44e10800 {
30 cpsw_default: cpsw_default {
31 pinctrl-single,pins = <
33 0x10c (PIN_INPUT_PULLDOWN | MUX_MODE1) /* mii1_crs.rmii1_crs */
34 0x110 (PIN_INPUT_PULLDOWN | MUX_MODE1) /* mii1_rxerr.rmii1_rxerr */
35 0x114 (PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* mii1_txen.rmii1_txen */
36 0x118 (PIN_INPUT_PULLDOWN | MUX_MODE1) /* mii1_rxdv.rmii1_rxdv */
37 0x124 (PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* mii1_txd1.rmii1_txd1 */
38 0x128 (PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* mii1_txd0.rmii1_txd0 */
39 0x13c (PIN_INPUT_PULLDOWN | MUX_MODE1) /* mii1_rxd1.rmii1_rxd1 */
40 0x140 (PIN_INPUT_PULLDOWN | MUX_MODE1) /* mii1_rxd0.rmii1_rxd0 */
41 0x144 (PIN_INPUT_PULLDOWN | MUX_MODE0) /* rmii1_refclk.rmii1_refclk */
45 cpsw_sleep: cpsw_sleep {
46 pinctrl-single,pins = <
47 /* Slave 1 reset value */
48 0x10c (PIN_INPUT_PULLDOWN | MUX_MODE7)
49 0x110 (PIN_INPUT_PULLDOWN | MUX_MODE7)
50 0x114 (PIN_INPUT_PULLDOWN | MUX_MODE7)
51 0x118 (PIN_INPUT_PULLDOWN | MUX_MODE7)
52 0x124 (PIN_INPUT_PULLDOWN | MUX_MODE7)
53 0x128 (PIN_INPUT_PULLDOWN | MUX_MODE7)
54 0x13c (PIN_INPUT_PULLDOWN | MUX_MODE7)
55 0x140 (PIN_INPUT_PULLDOWN | MUX_MODE7)
56 0x144 (PIN_INPUT_PULLDOWN | MUX_MODE7)
60 davinci_mdio_default: davinci_mdio_default {
61 pinctrl-single,pins = <
63 0x148 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0) /* mdio_data.mdio_data */
64 0x14c (PIN_OUTPUT_PULLUP | MUX_MODE0) /* mdio_clk.mdio_clk */
68 davinci_mdio_sleep: davinci_mdio_sleep {
69 pinctrl-single,pins = <
70 /* MDIO reset value */
71 0x148 (PIN_INPUT_PULLDOWN | MUX_MODE7)
72 0x14c (PIN_INPUT_PULLDOWN | MUX_MODE7)
76 i2c0_pins: pinmux_i2c0_pins {
77 pinctrl-single,pins = <
78 0x188 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0) /* i2c0_sda.i2c0_sda */
79 0x18c (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0) /* i2c0_scl.i2c0_scl */
84 matrix_keypad: matrix_keypad@0 {
85 compatible = "gpio-matrix-keypad";
86 debounce-delay-ms = <5>;
87 col-scan-delay-us = <2>;
89 row-gpios = <&gpio0 12 GPIO_ACTIVE_HIGH /* Bank0, pin12 */
90 &gpio0 13 GPIO_ACTIVE_HIGH /* Bank0, pin13 */
91 &gpio0 14 GPIO_ACTIVE_HIGH /* Bank0, pin14 */
92 &gpio0 15 GPIO_ACTIVE_HIGH>; /* Bank0, pin15 */
94 col-gpios = <&gpio3 9 GPIO_ACTIVE_HIGH /* Bank3, pin9 */
95 &gpio3 10 GPIO_ACTIVE_HIGH /* Bank3, pin10 */
96 &gpio2 18 GPIO_ACTIVE_HIGH /* Bank2, pin18 */
97 &gpio2 19 GPIO_ACTIVE_HIGH>; /* Bank2, pin19 */
99 linux,keymap = <0x00000201 /* P1 */
102 0x0300020a /* NUMERIC_STAR */
110 0x0302020b /* NUMERIC_POUND */
112 0x0103006a /* RIGHT */
113 0x0203006c /* DOWN */
114 0x03030069>; /* LEFT */
120 vmmc-supply = <&vmmcsd_fixed>;
125 pinctrl-names = "default", "sleep";
126 pinctrl-0 = <&cpsw_default>;
127 pinctrl-1 = <&cpsw_sleep>;
132 pinctrl-names = "default", "sleep";
133 pinctrl-0 = <&davinci_mdio_default>;
134 pinctrl-1 = <&davinci_mdio_sleep>;
139 phy_id = <&davinci_mdio>, <16>;
144 phy_id = <&davinci_mdio>, <1>;
150 pinctrl-names = "default";
151 pinctrl-0 = <&i2c0_pins>;
154 compatible = "at24,24c256";
160 compatible = "pixcir,pixcir_ts";
162 interrupt-parent = <&gpio1>;
165 attb-gpio = <&gpio1 17 GPIO_ACTIVE_HIGH>;