Permalink
Browse files

am335x-pocketbeagle-simplegaming: move to correct mikroBUS port

RobertCNelson/dtb-rebuilder#27
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
  • Loading branch information...
RobertCNelson committed Jan 2, 2018
1 parent 56e8d3c commit a68cdf8a6e815ad9ef8ebe942ac0104781d7c680
Showing with 127 additions and 119 deletions.
  1. +127 −119 arch/arm/boot/dts/am335x-pocketbeagle-simplegaming.dts
@@ -139,184 +139,192 @@
/* mikroBUS Click Header */
/************************/
/* P2_01 (ZCZ ball U14) pwm */
/* P1_36 (ZCZ ball A13) pwm */
PWM_pinmux {
compatible = "bone-pinmux-helper";
status = "okay";
pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "gpio_input", "pwm";
pinctrl-0 = <&P2_01_pwm_pin>;
pinctrl-1 = <&P2_01_gpio_pin>;
pinctrl-2 = <&P2_01_gpio_pu_pin>;
pinctrl-3 = <&P2_01_gpio_pd_pin>;
pinctrl-4 = <&P2_01_gpio_input_pin>;
pinctrl-5 = <&P2_01_pwm_pin>;
pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "gpio_input", "spi_sclk", "pwm", "pruout", "pruin";
pinctrl-0 = <&P1_36_pwm_pin>;
pinctrl-1 = <&P1_36_gpio_pin>;
pinctrl-2 = <&P1_36_gpio_pu_pin>;
pinctrl-3 = <&P1_36_gpio_pd_pin>;
pinctrl-4 = <&P1_36_gpio_input_pin>;
pinctrl-5 = <&P1_36_spi_sclk_pin>;
pinctrl-6 = <&P1_36_pwm_pin>;
pinctrl-7 = <&P1_36_pruout_pin>;
pinctrl-8 = <&P1_36_pruin_pin>;
};
/* P2_03 (ZCZ ball T10) */
/* P1_34 (ZCZ ball T11) */
INT_pinmux {
compatible = "bone-pinmux-helper";
status = "okay";
pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "gpio_input", "pwm";
pinctrl-0 = <&P2_03_gpio_pin>;
pinctrl-1 = <&P2_03_gpio_pin>;
pinctrl-2 = <&P2_03_gpio_pu_pin>;
pinctrl-3 = <&P2_03_gpio_pd_pin>;
pinctrl-4 = <&P2_03_gpio_input_pin>;
pinctrl-5 = <&P2_03_pwm_pin>;
pinctrl-0 = <&P1_34_gpio_pin>;
pinctrl-1 = <&P1_34_gpio_pin>;
pinctrl-2 = <&P1_34_gpio_pu_pin>;
pinctrl-3 = <&P1_34_gpio_pd_pin>;
pinctrl-4 = <&P1_34_gpio_input_pin>;
pinctrl-5 = <&P1_34_pwm_pin>;
};
/* P2_05 (ZCZ ball T17) uart */
/* P1_32 (ZCZ ball E15) uart */
RX_pinmux {
compatible = "bone-pinmux-helper";
status = "okay";
pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "gpio_input", "uart";
pinctrl-0 = <&P2_05_uart_pin>;
pinctrl-1 = <&P2_05_gpio_pin>;
pinctrl-2 = <&P2_05_gpio_pu_pin>;
pinctrl-3 = <&P2_05_gpio_pd_pin>;
pinctrl-4 = <&P2_05_gpio_input_pin>;
pinctrl-5 = <&P2_05_uart_pin>;
pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "gpio_input", "spi_cs", "uart", "can", "i2c", "pruout", "pruin";
pinctrl-0 = <&P1_32_uart_pin>;
pinctrl-1 = <&P1_32_gpio_pin>;
pinctrl-2 = <&P1_32_gpio_pu_pin>;
pinctrl-3 = <&P1_32_gpio_pd_pin>;
pinctrl-4 = <&P1_32_gpio_input_pin>;
pinctrl-5 = <&P1_32_spi_cs_pin>;
pinctrl-6 = <&P1_32_uart_pin>;
pinctrl-7 = <&P1_32_can_pin>;
pinctrl-8 = <&P1_32_i2c_pin>;
pinctrl-9 = <&P1_32_pruout_pin>;
pinctrl-10 = <&P1_32_pruin_pin>;
};
/* P2_07 (ZCZ ball U17) uart */
/* P1_30 (ZCZ ball E16) uart */
TX_pinmux {
compatible = "bone-pinmux-helper";
status = "okay";
pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "gpio_input", "uart";
pinctrl-0 = <&P2_07_uart_pin>;
pinctrl-1 = <&P2_07_gpio_pin>;
pinctrl-2 = <&P2_07_gpio_pu_pin>;
pinctrl-3 = <&P2_07_gpio_pd_pin>;
pinctrl-4 = <&P2_07_gpio_input_pin>;
pinctrl-5 = <&P2_07_uart_pin>;
pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "gpio_input", "spi_cs", "uart", "can", "i2c", "pruout", "pruin";
pinctrl-0 = <&P1_30_uart_pin>;
pinctrl-1 = <&P1_30_gpio_pin>;
pinctrl-2 = <&P1_30_gpio_pu_pin>;
pinctrl-3 = <&P1_30_gpio_pd_pin>;
pinctrl-4 = <&P1_30_gpio_input_pin>;
pinctrl-5 = <&P1_30_spi_cs_pin>;
pinctrl-6 = <&P1_30_uart_pin>;
pinctrl-7 = <&P1_30_can_pin>;
pinctrl-8 = <&P1_30_i2c_pin>;
pinctrl-9 = <&P1_30_pruout_pin>;
pinctrl-10 = <&P1_30_pruin_pin>;
};
/* P2_09 (ZCZ ball D15) i2c */
/* P1_28 (ZCZ ball D17) i2c */
SCL_pinmux {
compatible = "bone-pinmux-helper";
status = "okay";
pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "gpio_input", "uart", "can", "i2c", "pru_uart", "pruin";
pinctrl-0 = <&P2_09_i2c_pin>;
pinctrl-1 = <&P2_09_gpio_pin>;
pinctrl-2 = <&P2_09_gpio_pu_pin>;
pinctrl-3 = <&P2_09_gpio_pd_pin>;
pinctrl-4 = <&P2_09_gpio_input_pin>;
pinctrl-5 = <&P2_09_uart_pin>;
pinctrl-6 = <&P2_09_can_pin>;
pinctrl-7 = <&P2_09_i2c_pin>;
pinctrl-8 = <&P2_09_pru_uart_pin>;
pinctrl-9 = <&P2_09_pruin_pin>;
pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "gpio_input", "spi_cs", "can", "i2c", "pru_uart";
pinctrl-0 = <&P1_28_i2c_pin>;
pinctrl-1 = <&P1_28_gpio_pin>;
pinctrl-2 = <&P1_28_gpio_pu_pin>;
pinctrl-3 = <&P1_28_gpio_pd_pin>;
pinctrl-4 = <&P1_28_gpio_input_pin>;
pinctrl-5 = <&P1_28_spi_cs_pin>;
pinctrl-6 = <&P1_28_can_pin>;
pinctrl-7 = <&P1_28_i2c_pin>;
pinctrl-8 = <&P1_28_pru_uart_pin>;
};
/* P2_11 (ZCZ ball D16) i2c */
/* P1_26 (ZCZ ball D18) i2c */
SDA_pinmux {
compatible = "bone-pinmux-helper";
status = "okay";
pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "gpio_input", "uart", "can", "i2c", "pru_uart", "pruin";
pinctrl-0 = <&P2_11_i2c_pin>;
pinctrl-1 = <&P2_11_gpio_pin>;
pinctrl-2 = <&P2_11_gpio_pu_pin>;
pinctrl-3 = <&P2_11_gpio_pd_pin>;
pinctrl-4 = <&P2_11_gpio_input_pin>;
pinctrl-5 = <&P2_11_uart_pin>;
pinctrl-6 = <&P2_11_can_pin>;
pinctrl-7 = <&P2_11_i2c_pin>;
pinctrl-8 = <&P2_11_pru_uart_pin>;
pinctrl-9 = <&P2_11_pruin_pin>;
pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "gpio_input", "spi_cs", "can", "i2c", "pru_uart";
pinctrl-0 = <&P1_26_i2c_pin>;
pinctrl-1 = <&P1_26_gpio_pin>;
pinctrl-2 = <&P1_26_gpio_pu_pin>;
pinctrl-3 = <&P1_26_gpio_pd_pin>;
pinctrl-4 = <&P1_26_gpio_input_pin>;
pinctrl-5 = <&P1_26_spi_cs_pin>;
pinctrl-6 = <&P1_26_can_pin>;
pinctrl-7 = <&P1_26_i2c_pin>;
pinctrl-8 = <&P1_26_pru_uart_pin>;
};
/* P1_02 (ZCZ ball R5) gpio_input */
/* P2_35 (ZCZ ball U5) gpio */
AN_pinmux {
compatible = "bone-pinmux-helper";
status = "okay";
pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "gpio_input", "pruout", "pruin";
pinctrl-0 = <&P1_02_gpio_pin>;
pinctrl-1 = <&P1_02_gpio_pin>;
pinctrl-2 = <&P1_02_gpio_pu_pin>;
pinctrl-3 = <&P1_02_gpio_pd_pin>;
pinctrl-4 = <&P1_02_gpio_input_pin>;
pinctrl-5 = <&P1_02_pruout_pin>;
pinctrl-6 = <&P1_02_pruin_pin>;
pinctrl-0 = <&P2_35_gpio_pin>;
pinctrl-1 = <&P2_35_gpio_pin>;
pinctrl-2 = <&P2_35_gpio_pu_pin>;
pinctrl-3 = <&P2_35_gpio_pd_pin>;
pinctrl-4 = <&P2_35_gpio_input_pin>;
pinctrl-5 = <&P2_35_pruout_pin>;
pinctrl-6 = <&P2_35_pruin_pin>;
};
/* P1_04 (ZCZ ball R6) */
/* P2_33 (ZCZ ball R12) */
RST_pinmux {
compatible = "bone-pinmux-helper";
status = "okay";
pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "gpio_input", "pruout", "pruin";
pinctrl-0 = <&P1_04_gpio_pu_pin>;
pinctrl-1 = <&P1_04_gpio_pin>;
pinctrl-2 = <&P1_04_gpio_pu_pin>;
pinctrl-3 = <&P1_04_gpio_pd_pin>;
pinctrl-4 = <&P1_04_gpio_input_pin>;
pinctrl-5 = <&P1_04_pruout_pin>;
pinctrl-6 = <&P1_04_pruin_pin>;
pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "gpio_input", "qep", "pruout";
pinctrl-0 = <&P2_33_gpio_pin>;
pinctrl-1 = <&P2_33_gpio_pin>;
pinctrl-2 = <&P2_33_gpio_pu_pin>;
pinctrl-3 = <&P2_33_gpio_pd_pin>;
pinctrl-4 = <&P2_33_gpio_input_pin>;
pinctrl-5 = <&P2_33_qep_pin>;
pinctrl-6 = <&P2_33_pruout_pin>;
};
/* P1_06 (ZCZ ball A16) spi_cs */
/* P2_31 (ZCZ ball A15) spi_cs */
CS_pinmux {
compatible = "bone-pinmux-helper";
status = "okay";
pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "gpio_input", "spi_cs", "i2c", "pwm", "pru_uart";
pinctrl-0 = <&P1_06_spi_cs_pin>;
pinctrl-1 = <&P1_06_gpio_pin>;
pinctrl-2 = <&P1_06_gpio_pu_pin>;
pinctrl-3 = <&P1_06_gpio_pd_pin>;
pinctrl-4 = <&P1_06_gpio_input_pin>;
pinctrl-5 = <&P1_06_spi_cs_pin>;
pinctrl-6 = <&P1_06_i2c_pin>;
pinctrl-7 = <&P1_06_pwm_pin>;
pinctrl-8 = <&P1_06_pru_uart_pin>;
pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "gpio_input", "spi_cs", "pruin";
pinctrl-0 = <&P2_31_spi_cs_pin>;
pinctrl-1 = <&P2_31_gpio_pin>;
pinctrl-2 = <&P2_31_gpio_pu_pin>;
pinctrl-3 = <&P2_31_gpio_pd_pin>;
pinctrl-4 = <&P2_31_gpio_input_pin>;
pinctrl-5 = <&P2_31_spi_cs_pin>;
pinctrl-6 = <&P2_31_pruin_pin>;
};
/* P1_08 (ZCZ ball A17) spi_sclk */
/* P2_29 (ZCZ ball C18) spi_sclk */
SCK_pinmux {
compatible = "bone-pinmux-helper";
status = "okay";
pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "gpio_input", "spi_sclk", "uart", "i2c", "pwm", "pru_uart";
pinctrl-0 = <&P1_08_spi_sclk_pin>;
pinctrl-1 = <&P1_08_gpio_pin>;
pinctrl-2 = <&P1_08_gpio_pu_pin>;
pinctrl-3 = <&P1_08_gpio_pd_pin>;
pinctrl-4 = <&P1_08_gpio_input_pin>;
pinctrl-5 = <&P1_08_spi_sclk_pin>;
pinctrl-6 = <&P1_08_uart_pin>;
pinctrl-7 = <&P1_08_i2c_pin>;
pinctrl-8 = <&P1_08_pwm_pin>;
pinctrl-9 = <&P1_08_pru_uart_pin>;
pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "gpio_input", "spi_cs", "spi_sclk", "uart", "pwm", "pru_ecap";
pinctrl-0 = <&P2_29_spi_sclk_pin>;
pinctrl-1 = <&P2_29_gpio_pin>;
pinctrl-2 = <&P2_29_gpio_pu_pin>;
pinctrl-3 = <&P2_29_gpio_pd_pin>;
pinctrl-4 = <&P2_29_gpio_input_pin>;
pinctrl-5 = <&P2_29_spi_cs_pin>;
pinctrl-6 = <&P2_29_spi_sclk_pin>;
pinctrl-7 = <&P2_29_uart_pin>;
pinctrl-8 = <&P2_29_pwm_pin>;
pinctrl-9 = <&P2_29_pru_ecap_pin>;
};
/* P1_10 (ZCZ ball B17) spi */
/* P2_27 (ZCZ ball E18) spi */
MISO_pinmux {
compatible = "bone-pinmux-helper";
status = "okay";
pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "gpio_input", "spi", "uart", "i2c", "pwm", "pru_uart";
pinctrl-0 = <&P1_10_spi_pin>;
pinctrl-1 = <&P1_10_gpio_pin>;
pinctrl-2 = <&P1_10_gpio_pu_pin>;
pinctrl-3 = <&P1_10_gpio_pd_pin>;
pinctrl-4 = <&P1_10_gpio_input_pin>;
pinctrl-5 = <&P1_10_spi_pin>;
pinctrl-6 = <&P1_10_uart_pin>;
pinctrl-7 = <&P1_10_i2c_pin>;
pinctrl-8 = <&P1_10_pwm_pin>;
pinctrl-9 = <&P1_10_pru_uart_pin>;
pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "gpio_input", "spi", "uart", "can", "i2c";
pinctrl-0 = <&P2_27_spi_pin>;
pinctrl-1 = <&P2_27_gpio_pin>;
pinctrl-2 = <&P2_27_gpio_pu_pin>;
pinctrl-3 = <&P2_27_gpio_pd_pin>;
pinctrl-4 = <&P2_27_gpio_input_pin>;
pinctrl-5 = <&P2_27_spi_pin>;
pinctrl-6 = <&P2_27_uart_pin>;
pinctrl-7 = <&P2_27_can_pin>;
pinctrl-8 = <&P2_27_i2c_pin>;
};
/* P1_12 (ZCZ ball B16) spi */
/* P2_25 (ZCZ ball E17) spi */
MOSI_pinmux {
compatible = "bone-pinmux-helper";
status = "okay";
pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "gpio_input", "spi", "i2c", "pwm", "pru_uart";
pinctrl-0 = <&P1_12_spi_pin>;
pinctrl-1 = <&P1_12_gpio_pin>;
pinctrl-2 = <&P1_12_gpio_pu_pin>;
pinctrl-3 = <&P1_12_gpio_pd_pin>;
pinctrl-4 = <&P1_12_gpio_input_pin>;
pinctrl-5 = <&P1_12_spi_pin>;
pinctrl-6 = <&P1_12_i2c_pin>;
pinctrl-7 = <&P1_12_pwm_pin>;
pinctrl-8 = <&P1_12_pru_uart_pin>;
pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "gpio_input", "spi", "spi_cs", "uart", "can", "i2c";
pinctrl-0 = <&P2_25_spi_pin>;
pinctrl-1 = <&P2_25_gpio_pin>;
pinctrl-2 = <&P2_25_gpio_pu_pin>;
pinctrl-3 = <&P2_25_gpio_pd_pin>;
pinctrl-4 = <&P2_25_gpio_input_pin>;
pinctrl-5 = <&P2_25_spi_pin>;
pinctrl-6 = <&P2_25_spi_cs_pin>;
pinctrl-7 = <&P2_25_uart_pin>;
pinctrl-8 = <&P2_25_can_pin>;
pinctrl-9 = <&P2_25_i2c_pin>;
};
};

0 comments on commit a68cdf8

Please sign in to comment.