On Wed, Apr 5, 2017 at 9:57 PM, Dean Claxton <[email protected]> wrote:
> Hi,
>
> I'm building a custom cape atm (physical pcb) which utilizes a number of on
> chip peripherals including uart1, uart2, uart4, uart5, i2c1, spi1, adc, and
> a bunch of gpio.
>
> I've updated the debian build on my Element14 Beaglebone Black Industrial to
> the one released on the 19th March 2017 (Debian 8.7).
>
> The guts of my cape .dts file :
>
>
>     exclusive-use =
> /* the pin header uses */
> "P8.7", /* gpio2_2   GPIO1 */
> "P8.8", /* gpio2_3   5V_LOAD1_EN */
> "P8.9", /* gpio2_5 GPIO2 */
> "P8.10", /* gpio2_4 12V_LOAD4_EN */
> "P8.11", /* gpio1_13 GPIO3 */
> "P8.12", /* gpio1_12 12V_LOAD3_EN */
> "P8.13", /* gpio0_23   GPIO4 */
> "P8.14", /* gpio0_26 12V_LOAD2_EN */
> "P8.15", /* gpio1_15 GPIO5 */
> "P8.16", /* gpio1_14 12V_LOAD1_EN */
> "P8.17", /* gpio0_27   GPIO6 */
> "P8.26", /* gpio1_29 ONE-WIRE */
> "P8.37", /* uart5_txd */
> "P8.38", /* uart5_rxd */
> "P9.11", /* uart4_rxd_mux2 */
> "P9.12", /* gpio1_28 LCD_DC */
> "P9.13", /* uart4_txd_mux2 */
> "P9.14", /* gpio1_18 LCD_BKLT_EN */
> "P9.16", /* gpio1_19 LCD_RESET */
> "P8.17", /* i2c1_scl */
> "P8.18", /* i2c1_sda */
> "P9.19", /* i2c2_scl */
> "P9.20", /* i2c2_sda */
> "P9.21", /* uart2_txd */
> "P9.22", /* uart2_rxd */
> "P9.24", /* uart1_txd */
> "P9.26", /* uart1_rxd */
> "P9.27", /* gpio3_19 SOLAR_ENABLE */
> "P9.28", /* spi1_cs0 */
> "P9.29", /* spi1_d0 */
> "P9.30", /* spi1_d1 */
> "P9.31", /* spi1_sclk */
> "P9.33", /* AIN4 SOLAR_VOLTAGE */
>                 "P9.35", /* AIN6 SOLAR_CURRENT */
>                 "P9.36", /* AIN5 AIN5 */
> "P9.37", /* AIN2 SUPPLY_CURRENT */
> "P9.38", /* AIN3 AIN3 */
> "P9.39", /* AIN0 SUPPLY_VOLTAGE */
> "P9.40", /* AIN1 AIN1 */
>
> /* the hardware ip uses */
> "gpio2_2",
> "gpio2_3",
> "gpio2_5",
> "gpio2_4",
> "gpio1_13",
> "gpio1_12",
> "gpio0_23",
> "gpio0_26",
> "gpio1_15",
> "gpio1_14",
> "gpio0_27",
> "gpio1_29",
> "uart5",
> "uart4",
> "gpio1_28",
> "gpio1_18",
> "gpio1_19",
> "i2c1",
> "i2c2",
> "uart2",
> "uart1",
> "gpio3_19",
> "spi1",
> "tscadc";
>
>     fragment@0 {
>         target = <&am33xx_pinmux>;
>         __overlay__ {
> bb_spi1_pins: pinmux_bb_spi1_pins {
> pinctrl-single,pins = <
> 0x190 0x33 /* mcasp0_aclkx.spi1_sclk, INPUT_PULLUP | MODE3 */
> 0x194 0x33 /* mcasp0_fsx.spi1_d0, INPUT_PULLUP | MODE3 */
> 0x198 0x13 /* mcasp0_axr0.spi1_d1, OUTPUT_PULLUP | MODE3 */
> 0x19c 0x13 /* mcasp0_ahclkr.spi1_cs0, OUTPUT_PULLUP | MODE3 */
> 0x164 0x12 /* eCAP0_in_PWM0_out.spi1_cs1 OUTPUT_PULLUP | MODE2 */
>>;
> };
> bb_i2c1_pins: pinmux_bb_i2c1_pins {
> pinctrl-single,pins = <
> 0x15c 0x72 /* spi0_cs0.i2c1_scl, SLEWCTRL_SLOW | INPUT_PULLUP | MODE2 */
> 0x158 0x72 /* spi0_d1.i2c1_sda, SLEWCTRL_SLOW | INPUT_PULLUP | MODE2 */
>>;
> };
> bb_i2c2_pins: pinmux_bb_i2c2_pins {
> pinctrl-single,pins = <
> 0x17c 0x73 /* uart1_rtsn.i2c2_scl, SLEWCTRL_SLOW | INPUT_PULLUP | MODE3 */
> 0x178 0x73 /* uart1_ctsn.i2c2_sda, SLEWCTRL_SLOW | INPUT_PULLUP | MODE3 */
>>;
> };
> bb_uart1_pins: pinmux_bb_uart1_pins {
> pinctrl-single,pins = <
> 0x184 0x00 /* P9.24 uart1_txd.uart1_txd | MODE0 OUTPUT */

0x00 = PIN_OUTPUT_PULLDOWN | MUX_MODE0

try:
0x20 = (PIN_OUTPUT | MUX_MODE0)

to see if it makes anydifference

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYi5z0djgUHLtY18K-iJ%2B%2BB7Yjs1Fc%2BODS8mfSZubNjULA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to