Dmitry Lifshitz | fb45105 | 2014-01-12 15:22:54 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Suppport for CompuLab SBC-T3517 with CM-T3517 |
| 3 | */ |
| 4 | |
| 5 | #include "omap3-cm-t3517.dts" |
| 6 | #include "omap3-sb-t35.dtsi" |
| 7 | |
| 8 | / { |
| 9 | model = "CompuLab SBC-T3517 with CM-T3517"; |
| 10 | compatible = "compulab,omap3-sbc-t3517", "compulab,omap3-cm-t3517", "ti,am3517", "ti,omap3"; |
Tony Lindgren | de9949a | 2014-04-23 11:04:30 -0700 | [diff] [blame^] | 11 | |
| 12 | /* Only one GPMC smsc9220 on SBC-T3517, CM-T3517 uses am35x Ethernet */ |
| 13 | vddvario: regulator-vddvario-sb-t35 { |
| 14 | compatible = "regulator-fixed"; |
| 15 | regulator-name = "vddvario"; |
| 16 | regulator-always-on; |
| 17 | }; |
| 18 | |
| 19 | vdd33a: regulator-vdd33a-sb-t35 { |
| 20 | compatible = "regulator-fixed"; |
| 21 | regulator-name = "vdd33a"; |
| 22 | regulator-always-on; |
| 23 | }; |
Dmitry Lifshitz | fb45105 | 2014-01-12 15:22:54 +0200 | [diff] [blame] | 24 | }; |
| 25 | |
| 26 | &omap3_pmx_core { |
| 27 | pinctrl-names = "default"; |
| 28 | pinctrl-0 = < |
| 29 | &sb_t35_usb_hub_pins |
| 30 | &usb_hub_pins |
| 31 | >; |
| 32 | |
| 33 | mmc1_aux_pins: pinmux_mmc1_aux_pins { |
| 34 | pinctrl-single,pins = < |
| 35 | OMAP3_CORE1_IOPAD(0x20c0, PIN_INPUT_PULLUP | MUX_MODE4) /* gpmc_clk.gpio_59 */ |
| 36 | OMAP3_CORE1_IOPAD(0x2174, PIN_INPUT_PULLUP | MUX_MODE4) /* uart2_cts.gpio_144 */ |
| 37 | >; |
| 38 | }; |
| 39 | |
| 40 | sb_t35_usb_hub_pins: pinmux_sb_t35_usb_hub_pins { |
| 41 | pinctrl-single,pins = < |
| 42 | OMAP3_CORE1_IOPAD(0x21ec, PIN_OUTPUT | MUX_MODE4) /* ccdc_wen.gpio_98 - SB-T35 USB HUB RST */ |
| 43 | >; |
| 44 | }; |
| 45 | }; |
| 46 | |
| 47 | &mmc1 { |
| 48 | pinctrl-names = "default"; |
| 49 | pinctrl-0 = < |
| 50 | &mmc1_pins |
| 51 | &mmc1_aux_pins |
| 52 | >; |
| 53 | |
| 54 | wp-gpios = <&gpio2 27 GPIO_ACTIVE_HIGH>; /* gpio_59 */ |
| 55 | cd-gpios = <&gpio5 16 GPIO_ACTIVE_HIGH>; /* gpio_144 */ |
| 56 | }; |