Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-only
0002 
0003 /dts-v1/;
0004 
0005 #include "omap36xx.dtsi"
0006 #include "logicpd-torpedo-som.dtsi"
0007 #include "omap-gpmc-smsc9221.dtsi"
0008 #include "logicpd-torpedo-baseboard.dtsi"
0009 
0010 / {
0011         model = "LogicPD Zoom DM3730 Torpedo + Wireless Development Kit";
0012         compatible = "logicpd,dm3730-torpedo-devkit", "ti,omap3630", "ti,omap3";
0013 
0014         wl12xx_vmmc: wl12xx_vmmc {
0015                 compatible = "regulator-fixed";
0016                 regulator-name = "vwl1271";
0017                 regulator-min-microvolt = <1800000>;
0018                 regulator-max-microvolt = <1800000>;
0019                 gpio = <&gpio5 29 0>;   /* gpio157 */
0020                 startup-delay-us = <70000>;
0021                 enable-active-high;
0022                 vin-supply = <&vmmc2>;
0023         };
0024 };
0025 
0026 /*
0027  * Only found on the wireless SOM. For the SOM without wireless, the pins for
0028  * MMC3 can be routed with jumpers to the second MMC slot on the devkit and
0029  * gpio157 is not connected. So this should be OK to keep common for now,
0030  * probably device tree overlays is the way to go with the various SOM and
0031  * jumpering combinations for the long run.
0032  */
0033 &mmc3 {
0034         interrupts-extended = <&intc 94 &omap3_pmx_core 0x136>;
0035         pinctrl-0 = <&mmc3_pins &mmc3_core2_pins>;
0036         pinctrl-names = "default";
0037         vmmc-supply = <&wl12xx_vmmc>;
0038         non-removable;
0039         bus-width = <4>;
0040         cap-power-off-card;
0041         #address-cells = <1>;
0042         #size-cells = <0>;
0043         wlcore: wlcore@2 {
0044                 compatible = "ti,wl1283";
0045                 reg = <2>;
0046                 interrupt-parent = <&gpio5>;
0047                 interrupts = <24 IRQ_TYPE_EDGE_RISING>; /* gpio 152 */
0048                 ref-clock-frequency = <26000000>;
0049                 tcxo-clock-frequency = <26000000>;
0050         };
0051 };
0052 
0053 &uart2 {
0054         /delete-property/dma-names;
0055         bluetooth {
0056                 compatible = "ti,wl1283-st";
0057                 enable-gpios = <&gpio6 2 GPIO_ACTIVE_HIGH>; /* gpio 162 */
0058                 max-speed = <3000000>;
0059         };
0060 };
0061 
0062 /* The DM3730 has a faster L3 than OMAP35, so increase pixel clock */
0063 &mt9p031_out {
0064         pixel-clock-frequency = <90000000>;
0065 };
0066 
0067 &omap3_pmx_core {
0068         mmc3_pins: pinmux_mm3_pins {
0069                 pinctrl-single,pins = <
0070                         OMAP3_CORE1_IOPAD(0x2164, PIN_INPUT_PULLUP | MUX_MODE3) /* sdmmc2_dat4.sdmmc3_dat0 */
0071                         OMAP3_CORE1_IOPAD(0x2166, PIN_INPUT_PULLUP | MUX_MODE3) /* sdmmc2_dat5.sdmmc3_dat1 */
0072                         OMAP3_CORE1_IOPAD(0x2168, PIN_INPUT_PULLUP | MUX_MODE3) /* sdmmc2_dat6.sdmmc3_dat2 */
0073                         OMAP3_CORE1_IOPAD(0x216a, PIN_INPUT_PULLUP | MUX_MODE3) /* sdmmc2_dat6.sdmmc3_dat3 */
0074                         OMAP3_CORE1_IOPAD(0x2184, PIN_INPUT_PULLUP | MUX_MODE4) /* mcbsp4_clkx.gpio_152 */
0075                         OMAP3_CORE1_IOPAD(0x218e, PIN_OUTPUT | MUX_MODE4)       /* mcbsp1_fsr.gpio_157 */
0076                 >;
0077         };
0078 };
0079 
0080 &omap3_pmx_core2 {
0081         mmc3_core2_pins: pinmux_mmc3_core2_pins {
0082                 pinctrl-single,pins = <
0083                         OMAP3630_CORE2_IOPAD(0x25d8, PIN_INPUT_PULLUP | MUX_MODE2)   /* etk_clk.sdmmc3_clk */
0084                         OMAP3630_CORE2_IOPAD(0x25da, PIN_INPUT_PULLUP | MUX_MODE2)   /* etk_ctl.sdmmc3_cmd */
0085                 >;
0086         };
0087 };
0088 
0089 /* The gpio muxing between omap3530 and dm3730 is different for GPIO_128 */
0090 &omap3_pmx_wkup {
0091         isp1763_pins: pinmux_isp1763_pins {
0092                 pinctrl-single,pins = <
0093                         OMAP3_WKUP_IOPAD(0x2a58, PIN_INPUT_PULLUP | MUX_MODE4)  /* reserved.gpio_128 */
0094                 >;
0095         };
0096 };