blob: a69d328604219e4dd434454d82c785da49daedcd [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001// SPDX-License-Identifier: GPL-2.0
Dmitry Lifshitzfb451052014-01-12 15:22:54 +02002/*
3 * Suppport for CompuLab SBC-T3517 with CM-T3517
4 */
5
6#include "omap3-cm-t3517.dts"
7#include "omap3-sb-t35.dtsi"
8
9/ {
10 model = "CompuLab SBC-T3517 with CM-T3517";
11 compatible = "compulab,omap3-sbc-t3517", "compulab,omap3-cm-t3517", "ti,am3517", "ti,omap3";
Tony Lindgrende9949a2014-04-23 11:04:30 -070012
Dmitry Lifshitze5ee0422014-11-02 13:19:58 +020013 aliases {
14 display0 = &dvi0;
Dmitry Lifshitzb360e982014-11-23 11:42:01 +020015 display1 = &tv0;
Dmitry Lifshitze5ee0422014-11-02 13:19:58 +020016 };
17
Tony Lindgrende9949a2014-04-23 11:04:30 -070018 /* Only one GPMC smsc9220 on SBC-T3517, CM-T3517 uses am35x Ethernet */
19 vddvario: regulator-vddvario-sb-t35 {
20 compatible = "regulator-fixed";
21 regulator-name = "vddvario";
22 regulator-always-on;
23 };
24
25 vdd33a: regulator-vdd33a-sb-t35 {
26 compatible = "regulator-fixed";
27 regulator-name = "vdd33a";
28 regulator-always-on;
29 };
Dmitry Lifshitzfb451052014-01-12 15:22:54 +020030};
31
32&omap3_pmx_core {
33 pinctrl-names = "default";
34 pinctrl-0 = <
35 &sb_t35_usb_hub_pins
36 &usb_hub_pins
37 >;
38
39 mmc1_aux_pins: pinmux_mmc1_aux_pins {
40 pinctrl-single,pins = <
41 OMAP3_CORE1_IOPAD(0x20c0, PIN_INPUT_PULLUP | MUX_MODE4) /* gpmc_clk.gpio_59 */
42 OMAP3_CORE1_IOPAD(0x2174, PIN_INPUT_PULLUP | MUX_MODE4) /* uart2_cts.gpio_144 */
43 >;
44 };
45
46 sb_t35_usb_hub_pins: pinmux_sb_t35_usb_hub_pins {
47 pinctrl-single,pins = <
48 OMAP3_CORE1_IOPAD(0x21ec, PIN_OUTPUT | MUX_MODE4) /* ccdc_wen.gpio_98 - SB-T35 USB HUB RST */
49 >;
50 };
51};
52
53&mmc1 {
54 pinctrl-names = "default";
55 pinctrl-0 = <
56 &mmc1_pins
57 &mmc1_aux_pins
58 >;
59
60 wp-gpios = <&gpio2 27 GPIO_ACTIVE_HIGH>; /* gpio_59 */
61 cd-gpios = <&gpio5 16 GPIO_ACTIVE_HIGH>; /* gpio_144 */
62};
Dmitry Lifshitze5ee0422014-11-02 13:19:58 +020063
64&dss {
65 port {
66 dpi_out: endpoint {
67 remote-endpoint = <&tfp410_in>;
68 data-lines = <24>;
69 };
70 };
71};
72
Dmitry Lifshitzdf73b7f2014-12-28 16:30:49 +020073&gpmc {
74 ranges = <4 0 0x2d000000 0x01000000>, /* SB-T35 SMSC9x Eth */
75 <0 0 0x00000000 0x01000000>; /* CM-T3x NAND */
76};