arm: dts: logicpd-torpedo: Add isp1763 support to baseboard
PATCH 1/1 arm: dts: logicpd-torpedo: Add isp1763 support to baseboard
The baseboard has an ISP1763 USB controller acting as a host. Since the pinmuxing for the corresponding IRQ is different between OMAP35 and DM37, the pinmux has been placed in the kit-level files, while the common code is placed into the baseboard file.
arch/arm/boot/dts/logicpd-torpedo-35xx-devkit.dts +8 -0
@@ -11,3 +11,11 @@ / { model = "LogicPD Zoom OMAP35xx Torpedo Development Kit"; compatible = "logicpd,dm3730-torpedo-devkit", "ti,omap3430", "ti,omap3"; }; + +&omap3_pmx_core { + isp1763_pins: pinmux_isp1763_pins { + pinctrl-single,pins = < + OMAP3_CORE1_IOPAD(0x2154, PIN_INPUT_PULLUP | MUX_MODE4) /* sdmmc1_dat6.gpio_128 */ + >; + }; +};
arch/arm/boot/dts/logicpd-torpedo-37xx-devkit.dts +9 -0
@@ -85,3 +85,12 @@ OMAP3630_CORE2_IOPAD(0x25da, PIN_INPUT_PULLUP | MUX_MODE2) /* etk_ctl.sdmmc3_c >; }; }; + +/* The gpio muxing between omap3530 and dm3730 is different for GPIO_128 */ +&omap3_pmx_wkup { + isp1763_pins: pinmux_isp1763_pins { + pinctrl-single,pins = < + OMAP3_WKUP_IOPAD(0x2a58, PIN_INPUT_PULLUP | MUX_MODE4) /* reserved.gpio_128 */ + >; + }; +};
arch/arm/boot/dts/logicpd-torpedo-baseboard.dtsi +40 -1
53 lines not on this page · raw message
Signature · 1 line
2.32.0
Quoted 5 lines · Adam Ford
The baseboard has an ISP1763 USB controller acting as a host. Since the pinmuxing for the corresponding IRQ is different between OMAP35 and DM37, the pinmux has been placed in the kit-level files, while the common code is placed into the baseboard file.
Applying into omap-for-v5.18/dt thanks.
BTW, there's a chance that your board has the external dma request lines wired up to ISP1763, if so you might be able to configure dmaengine to use it with sdma.
Regards,
Tony