2 * Common support for CompuLab CM-T3x30 CoMs
5 #include "omap3-cm-t3x.dtsi"
15 compatible = "ti,omap-twl4030";
24 smsc1_pins: pinmux_smsc1_pins {
25 pinctrl-single,pins = <
26 OMAP3_CORE1_IOPAD(0x20b8, PIN_OUTPUT | MUX_MODE0) /* gpmc_ncs5.gpmc_ncs5 */
27 OMAP3_CORE1_IOPAD(0x219a, PIN_INPUT_PULLUP | MUX_MODE4) /* uart3_cts_rctx.gpio_163 */
31 hsusb0_pins: pinmux_hsusb0_pins {
32 pinctrl-single,pins = <
33 OMAP3_CORE1_IOPAD(0x21a2, PIN_OUTPUT | MUX_MODE0) /* hsusb0_clk.hsusb0_clk */
34 OMAP3_CORE1_IOPAD(0x21a4, PIN_OUTPUT | MUX_MODE0) /* hsusb0_stp.hsusb0_stp */
35 OMAP3_CORE1_IOPAD(0x21a6, PIN_INPUT_PULLDOWN | MUX_MODE0) /* hsusb0_dir.hsusb0_dir */
36 OMAP3_CORE1_IOPAD(0x21a8, PIN_INPUT_PULLDOWN | MUX_MODE0) /* hsusb0_nxt.hsusb0_nxt */
37 OMAP3_CORE1_IOPAD(0x21aa, PIN_INPUT_PULLDOWN | MUX_MODE0) /* hsusb0_data0.hsusb2_data0 */
38 OMAP3_CORE1_IOPAD(0x21ac, PIN_INPUT_PULLDOWN | MUX_MODE0) /* hsusb0_data1.hsusb0_data1 */
39 OMAP3_CORE1_IOPAD(0x21ae, PIN_INPUT_PULLDOWN | MUX_MODE0) /* hsusb0_data2.hsusb0_data2 */
40 OMAP3_CORE1_IOPAD(0x21b0, PIN_INPUT_PULLDOWN | MUX_MODE0) /* hsusb0_data7.hsusb0_data3 */
41 OMAP3_CORE1_IOPAD(0x21b2, PIN_INPUT_PULLDOWN | MUX_MODE0) /* hsusb0_data7.hsusb0_data4 */
42 OMAP3_CORE1_IOPAD(0x21b4, PIN_INPUT_PULLDOWN | MUX_MODE0) /* hsusb0_data7.hsusb0_data5 */
43 OMAP3_CORE1_IOPAD(0x21b6, PIN_INPUT_PULLDOWN | MUX_MODE0) /* hsusb0_data7.hsusb0_data6 */
44 OMAP3_CORE1_IOPAD(0x21b8, PIN_INPUT_PULLDOWN | MUX_MODE0) /* hsusb0_data7.hsusb0_data7 */
49 #include "omap-gpmc-smsc911x.dtsi"
52 ranges = <5 0 0x2c000000 0x01000000>, /* CM-T3x30 SMSC9x Eth */
53 <0 0 0x00000000 0x01000000>; /* CM-T3x NAND */
55 smsc1: ethernet@gpmc {
56 compatible = "smsc,lan9221", "smsc,lan9115";
57 pinctrl-names = "default";
58 pinctrl-0 = <&smsc1_pins>;
59 interrupt-parent = <&gpio6>;
60 interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
68 interrupts = <7>; /* SYS_NIRQ cascaded to intc */
69 interrupt-parent = <&intc>;
72 compatible = "ti,twl4030-audio";
79 #include "twl4030.dtsi"
80 #include "twl4030_omap3.dtsi"
81 #include <dt-bindings/input/input.h>
84 vdda-supply = <&vdac>;
88 vmmc-supply = <&vmmc1>;
94 ti,pullups = <0x000001>;
99 MATRIX_KEY(0x00, 0x01, KEY_A)
100 MATRIX_KEY(0x00, 0x02, KEY_B)
101 MATRIX_KEY(0x00, 0x03, KEY_LEFT)
103 MATRIX_KEY(0x01, 0x01, KEY_UP)
104 MATRIX_KEY(0x01, 0x02, KEY_ENTER)
105 MATRIX_KEY(0x01, 0x03, KEY_DOWN)
107 MATRIX_KEY(0x02, 0x01, KEY_RIGHT)
108 MATRIX_KEY(0x02, 0x02, KEY_C)
109 MATRIX_KEY(0x02, 0x03, KEY_D)
114 reset-gpios = <&twl_gpio 6 GPIO_ACTIVE_LOW>;
118 reset-gpios = <&twl_gpio 7 GPIO_ACTIVE_LOW>;
122 pinctrl-names = "default";
123 pinctrl-0 = <&hsusb0_pins>;
124 interface-type = <0>;
125 usb-phy = <&usb2_phy>;
127 phy-names = "usb2-phy";