0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003 * Suppport for CompuLab SBC-T3517 with CM-T3517
0004 */
0005
0006 #include "omap3-cm-t3517.dts"
0007 #include "omap3-sb-t35.dtsi"
0008
0009 / {
0010 model = "CompuLab SBC-T3517 with CM-T3517";
0011 compatible = "compulab,omap3-sbc-t3517", "compulab,omap3-cm-t3517", "ti,am3517", "ti,omap3";
0012
0013 aliases {
0014 display0 = &dvi0;
0015 display1 = &tv0;
0016 };
0017
0018 /* Only one GPMC smsc9220 on SBC-T3517, CM-T3517 uses am35x Ethernet */
0019 vddvario: regulator-vddvario-sb-t35 {
0020 compatible = "regulator-fixed";
0021 regulator-name = "vddvario";
0022 regulator-always-on;
0023 };
0024
0025 vdd33a: regulator-vdd33a-sb-t35 {
0026 compatible = "regulator-fixed";
0027 regulator-name = "vdd33a";
0028 regulator-always-on;
0029 };
0030 };
0031
0032 &omap3_pmx_core {
0033 pinctrl-names = "default";
0034 pinctrl-0 = <
0035 &sb_t35_usb_hub_pins
0036 &usb_hub_pins
0037 >;
0038
0039 mmc1_aux_pins: pinmux_mmc1_aux_pins {
0040 pinctrl-single,pins = <
0041 OMAP3_CORE1_IOPAD(0x20c0, PIN_INPUT_PULLUP | MUX_MODE4) /* gpmc_clk.gpio_59 */
0042 OMAP3_CORE1_IOPAD(0x2174, PIN_INPUT_PULLUP | MUX_MODE4) /* uart2_cts.gpio_144 */
0043 >;
0044 };
0045
0046 sb_t35_usb_hub_pins: pinmux_sb_t35_usb_hub_pins {
0047 pinctrl-single,pins = <
0048 OMAP3_CORE1_IOPAD(0x21ec, PIN_OUTPUT | MUX_MODE4) /* ccdc_wen.gpio_98 - SB-T35 USB HUB RST */
0049 >;
0050 };
0051 };
0052
0053 &mmc1 {
0054 pinctrl-names = "default";
0055 pinctrl-0 = <
0056 &mmc1_pins
0057 &mmc1_aux_pins
0058 >;
0059
0060 wp-gpios = <&gpio2 27 GPIO_ACTIVE_HIGH>; /* gpio_59 */
0061 cd-gpios = <&gpio5 16 GPIO_ACTIVE_HIGH>; /* gpio_144 */
0062 };
0063
0064 &dss {
0065 port {
0066 dpi_out: endpoint {
0067 remote-endpoint = <&tfp410_in>;
0068 data-lines = <24>;
0069 };
0070 };
0071 };
0072
0073 &gpmc {
0074 ranges = <4 0 0x2d000000 0x01000000>, /* SB-T35 SMSC9x Eth */
0075 <0 0 0x00000000 0x01000000>; /* CM-T3x NAND */
0076 };