Skip to contentSkip to conversation

pru-icss: Fix incorect pinout

PATCH Gary Thomas 1 participant 1 message Nov 1, 2016

lore
Share & tools
lore
#0 lore raw

I found an incorrect pin assignment for the BeagleBoneBlack PRU CAPE, which also caused a pin conflict with I2C2.

This patch fixes the error. Since this is a GIT based recipe, do you want a patch for the recipe or just to merge it into your GIT tree?

Thanks

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

The device tree for the BeagleBoneBlack is using the incorrect pin for PRU0_UART_rts. It should be pin P9.21, not P9.19. This also corrects a potential pin conflict with I2C2.

--

pru_cape/am335x-boneblack-prucape.dtsi +1 -1
Index: git/pru_cape/am335x-boneblack-prucape.dtsi
===================================================================
@@ -23,7 +23,7 @@
 			0x0a8 0x05	/* lcd_data2, OMAP_MUX_MODE5 | AM33XX_PIN_OUTPUT, PRU CAPE Audio Sync, HDMI Conf. */
 			0x184 0x05	/* uart1_txd, OMAP_MUX_MODE5 | AM33XX_PIN_OUTPUT, PRU CAPE PRU UART txd */
 			0x180 0x2d	/* uart1_rxd, OMAP_MUX_MODE5 | AM33XX_PIN_INPUT, PRU CAPE PRU UART rxd */
-			0x17c 0x04	/* spi0_d0, OMAP_MUX_MODE4 | AM33XX_PIN_OUTPUT, PRU CAPE PRU UART rts */
+			0x154 0x04	/* spi0_d0, OMAP_MUX_MODE4 | AM33XX_PIN_OUTPUT, PRU CAPE PRU UART rts */
 			0x150 0x2c	/* spi0_sclk, OMAP_MUX_MODE4 | AM33XX_PIN_INPUT, PRU CAPE PRU UART cts */
 			0x0b8 0x04	/* lcd_data6, OMAP_MUX_MODE4 | AM33XX_PIN_OUTPUT, PRU CAPE LCD rs t3 */
 			0x0e8 0x04	/* lcd_pclk, OMAP_MUX_MODE4 | AM33XX_PIN_OUTPUT, PRU CAPE LCD e v5 */