From da03d6403a3cd66dc2ff141e4b2c237c0bce2d30 Mon Sep 17 00:00:00 2001 From: ombhilare999 Date: Sat, 7 Aug 2021 16:09:35 +0530 Subject: gpmc pin modes added in bone-pinmux helper --- src/arm/am335x-bone-common-univ.dtsi | 69 ++++++++++++++++++++++++------------ 1 file changed, 46 insertions(+), 23 deletions(-) diff --git a/src/arm/am335x-bone-common-univ.dtsi b/src/arm/am335x-bone-common-univ.dtsi index b25496c..2bf7c92 100644 --- a/src/arm/am335x-bone-common-univ.dtsi +++ b/src/arm/am335x-bone-common-univ.dtsi @@ -1463,149 +1463,161 @@ P8_03_pinmux { compatible = "bone-pinmux-helper"; status = "okay"; - pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd"; + pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "gpmc_pin"; pinctrl-0 = <&P8_03_default_pin>; pinctrl-1 = <&P8_03_gpio_pin>; pinctrl-2 = <&P8_03_gpio_pu_pin>; pinctrl-3 = <&P8_03_gpio_pd_pin>; + pinctrl-4 = <&P8_03_gpmc_pin>; }; /* P8_04 (ZCZ ball T9) emmc */ P8_04_pinmux { compatible = "bone-pinmux-helper"; status = "okay"; - pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd"; + pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "gpmc_pin"; pinctrl-0 = <&P8_04_default_pin>; pinctrl-1 = <&P8_04_gpio_pin>; pinctrl-2 = <&P8_04_gpio_pu_pin>; pinctrl-3 = <&P8_04_gpio_pd_pin>; + pinctrl-4 = <&P8_04_gpmc_pin>; }; /* P8_05 (ZCZ ball R8) emmc */ P8_05_pinmux { compatible = "bone-pinmux-helper"; status = "okay"; - pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd"; + pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "gpmc_pin"; pinctrl-0 = <&P8_05_default_pin>; pinctrl-1 = <&P8_05_gpio_pin>; pinctrl-2 = <&P8_05_gpio_pu_pin>; pinctrl-3 = <&P8_05_gpio_pd_pin>; + pinctrl-4 = <&P8_05_gpmc_pin>; }; /* P8_06 (ZCZ ball T8) emmc */ P8_06_pinmux { compatible = "bone-pinmux-helper"; status = "okay"; - pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd"; + pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "gpmc_pin"; pinctrl-0 = <&P8_06_default_pin>; pinctrl-1 = <&P8_06_gpio_pin>; pinctrl-2 = <&P8_06_gpio_pu_pin>; pinctrl-3 = <&P8_06_gpio_pd_pin>; + pinctrl-4 = <&P8_06_gpmc_pin>; }; /* P8_07 (ZCZ ball R7) */ P8_07_pinmux { compatible = "bone-pinmux-helper"; status = "okay"; - pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "timer"; + pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "timer", "gpmc_pin"; pinctrl-0 = <&P8_07_default_pin>; pinctrl-1 = <&P8_07_gpio_pin>; pinctrl-2 = <&P8_07_gpio_pu_pin>; pinctrl-3 = <&P8_07_gpio_pd_pin>; pinctrl-4 = <&P8_07_timer_pin>; + pinctrl-5 = <&P8_07_gpmc_pin>; }; /* P8_08 (ZCZ ball T7) */ P8_08_pinmux { compatible = "bone-pinmux-helper"; status = "okay"; - pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "timer"; + pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "timer", "gpmc_pin"; pinctrl-0 = <&P8_08_default_pin>; pinctrl-1 = <&P8_08_gpio_pin>; pinctrl-2 = <&P8_08_gpio_pu_pin>; pinctrl-3 = <&P8_08_gpio_pd_pin>; pinctrl-4 = <&P8_08_timer_pin>; + pinctrl-5 = <&P8_08_gpmc_pin>; }; /* P8_09 (ZCZ ball T6) */ P8_09_pinmux { compatible = "bone-pinmux-helper"; status = "okay"; - pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "timer"; + pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "timer", "gpmc_pin"; pinctrl-0 = <&P8_09_default_pin>; pinctrl-1 = <&P8_09_gpio_pin>; pinctrl-2 = <&P8_09_gpio_pu_pin>; pinctrl-3 = <&P8_09_gpio_pd_pin>; pinctrl-4 = <&P8_09_timer_pin>; + pinctrl-5 = <&P8_09_gpmc_pin>; }; /* P8_10 (ZCZ ball U6) */ P8_10_pinmux { compatible = "bone-pinmux-helper"; status = "okay"; - pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "timer"; + pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "timer", "gpmc_pin"; pinctrl-0 = <&P8_10_default_pin>; pinctrl-1 = <&P8_10_gpio_pin>; pinctrl-2 = <&P8_10_gpio_pu_pin>; pinctrl-3 = <&P8_10_gpio_pd_pin>; pinctrl-4 = <&P8_10_timer_pin>; + pinctrl-5 = <&P8_10_gpmc_pin>; }; /* P8_11 (ZCZ ball R12) */ P8_11_pinmux { compatible = "bone-pinmux-helper"; status = "okay"; - pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "eqep", "pruout"; + pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "eqep", "pruout", "gpmc_pin"; pinctrl-0 = <&P8_11_default_pin>; pinctrl-1 = <&P8_11_gpio_pin>; pinctrl-2 = <&P8_11_gpio_pu_pin>; pinctrl-3 = <&P8_11_gpio_pd_pin>; pinctrl-4 = <&P8_11_eqep_pin>; pinctrl-5 = <&P8_11_pruout_pin>; + pinctrl-6 = <&P8_11_gpmc_pin>; }; /* P8_12 (ZCZ ball T12) */ P8_12_pinmux { compatible = "bone-pinmux-helper"; status = "okay"; - pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "eqep", "pruout"; + pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "eqep", "pruout", "gpmc_pin"; pinctrl-0 = <&P8_12_default_pin>; pinctrl-1 = <&P8_12_gpio_pin>; pinctrl-2 = <&P8_12_gpio_pu_pin>; pinctrl-3 = <&P8_12_gpio_pd_pin>; pinctrl-4 = <&P8_12_eqep_pin>; pinctrl-5 = <&P8_12_pruout_pin>; + pinctrl-6 = <&P8_12_gpmc_pin>; }; /* P8_13 (ZCZ ball T10) */ P8_13_pinmux { compatible = "bone-pinmux-helper"; status = "okay"; - pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "pwm"; + pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "pwm", "gpmc_pin"; pinctrl-0 = <&P8_13_default_pin>; pinctrl-1 = <&P8_13_gpio_pin>; pinctrl-2 = <&P8_13_gpio_pu_pin>; pinctrl-3 = <&P8_13_gpio_pd_pin>; pinctrl-4 = <&P8_13_pwm_pin>; + pinctrl-5 = <&P8_13_gpmc_pin>; }; /* P8_14 (ZCZ ball T11) */ P8_14_pinmux { compatible = "bone-pinmux-helper"; status = "okay"; - pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "pwm"; + pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "pwm", "gpmc_pin"; pinctrl-0 = <&P8_14_default_pin>; pinctrl-1 = <&P8_14_gpio_pin>; pinctrl-2 = <&P8_14_gpio_pu_pin>; pinctrl-3 = <&P8_14_gpio_pd_pin>; pinctrl-4 = <&P8_14_pwm_pin>; + pinctrl-5 = <&P8_14_gpmc_pin>; }; /* P8_15 (ZCZ ball U13) */ P8_15_pinmux { compatible = "bone-pinmux-helper"; status = "okay"; - pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "eqep", "pru_ecap_pwm", "pruin"; + pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "eqep", "pru_ecap_pwm", "pruin", "gpmc_pin"; pinctrl-0 = <&P8_15_default_pin>; pinctrl-1 = <&P8_15_gpio_pin>; pinctrl-2 = <&P8_15_gpio_pu_pin>; @@ -1613,54 +1625,59 @@ pinctrl-4 = <&P8_15_eqep_pin>; pinctrl-5 = <&P8_15_pru_ecap_pwm_pin>; pinctrl-6 = <&P8_15_pruin_pin>; + pinctrl-7 = <&P8_15_gpmc_pin>; }; /* P8_16 (ZCZ ball V13) */ P8_16_pinmux { compatible = "bone-pinmux-helper"; status = "okay"; - pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "eqep", "pruin"; + pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "eqep", "pruin", "gpmc_pin"; pinctrl-0 = <&P8_16_default_pin>; pinctrl-1 = <&P8_16_gpio_pin>; pinctrl-2 = <&P8_16_gpio_pu_pin>; pinctrl-3 = <&P8_16_gpio_pd_pin>; pinctrl-4 = <&P8_16_eqep_pin>; pinctrl-5 = <&P8_16_pruin_pin>; + pinctrl-6 = <&P8_16_gpmc_pin>; }; /* P8_17 (ZCZ ball U12) */ P8_17_pinmux { compatible = "bone-pinmux-helper"; status = "okay"; - pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "pwm"; + pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "pwm", "gpmc_pin"; pinctrl-0 = <&P8_17_default_pin>; pinctrl-1 = <&P8_17_gpio_pin>; pinctrl-2 = <&P8_17_gpio_pu_pin>; pinctrl-3 = <&P8_17_gpio_pd_pin>; pinctrl-4 = <&P8_17_pwm_pin>; + pinctrl-5 = <&P8_17_gpmc_pin>; }; /* P8_18 (ZCZ ball V12) */ P8_18_pinmux { compatible = "bone-pinmux-helper"; status = "okay"; - pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd"; + pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "gpmc_pin"; pinctrl-0 = <&P8_18_default_pin>; pinctrl-1 = <&P8_18_gpio_pin>; pinctrl-2 = <&P8_18_gpio_pu_pin>; pinctrl-3 = <&P8_18_gpio_pd_pin>; + pinctrl-4 = <&P8_18_gpmc_pin>; }; /* P8_19 (ZCZ ball U10) */ P8_19_pinmux { compatible = "bone-pinmux-helper"; status = "okay"; - pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "pwm"; + pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "pwm", "gpmc_pin"; pinctrl-0 = <&P8_19_default_pin>; pinctrl-1 = <&P8_19_gpio_pin>; pinctrl-2 = <&P8_19_gpio_pu_pin>; pinctrl-3 = <&P8_19_gpio_pd_pin>; pinctrl-4 = <&P8_19_pwm_pin>; + pinctrl-5 = <&P8_19_gpmc_pin>; }; /* P8_20 (ZCZ ball V9) emmc */ @@ -1680,57 +1697,62 @@ P8_21_pinmux { compatible = "bone-pinmux-helper"; status = "okay"; - pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "pruout", "pruin"; + pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "pruout", "pruin", "gpmc_pin"; pinctrl-0 = <&P8_21_default_pin>; pinctrl-1 = <&P8_21_gpio_pin>; pinctrl-2 = <&P8_21_gpio_pu_pin>; pinctrl-3 = <&P8_21_gpio_pd_pin>; pinctrl-4 = <&P8_21_pruout_pin>; pinctrl-5 = <&P8_21_pruin_pin>; + pinctrl-6 = <&P8_21_gpmc_pin>; }; /* P8_22 (ZCZ ball V8) emmc */ P8_22_pinmux { compatible = "bone-pinmux-helper"; status = "okay"; - pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd"; + pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "gpmc_pin"; pinctrl-0 = <&P8_22_default_pin>; pinctrl-1 = <&P8_22_gpio_pin>; pinctrl-2 = <&P8_22_gpio_pu_pin>; pinctrl-3 = <&P8_22_gpio_pd_pin>; + pinctrl-4 = <&P8_22_gpmc_pin>; }; /* P8_23 (ZCZ ball U8) emmc */ P8_23_pinmux { compatible = "bone-pinmux-helper"; status = "okay"; - pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd"; + pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "gpmc_pin"; pinctrl-0 = <&P8_23_default_pin>; pinctrl-1 = <&P8_23_gpio_pin>; pinctrl-2 = <&P8_23_gpio_pu_pin>; pinctrl-3 = <&P8_23_gpio_pd_pin>; + pinctrl-4 = <&P8_23_gpmc_pin>; }; /* P8_24 (ZCZ ball V7) emmc */ P8_24_pinmux { compatible = "bone-pinmux-helper"; status = "okay"; - pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd"; + pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "gpmc_pin"; pinctrl-0 = <&P8_24_default_pin>; pinctrl-1 = <&P8_24_gpio_pin>; pinctrl-2 = <&P8_24_gpio_pu_pin>; pinctrl-3 = <&P8_24_gpio_pd_pin>; + pinctrl-4 = <&P8_24_gpmc_pin>; }; /* P8_25 (ZCZ ball U7) emmc */ P8_25_pinmux { compatible = "bone-pinmux-helper"; status = "okay"; - pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd"; + pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "gpmc_pin"; pinctrl-0 = <&P8_25_default_pin>; pinctrl-1 = <&P8_25_gpio_pin>; pinctrl-2 = <&P8_25_gpio_pu_pin>; pinctrl-3 = <&P8_25_gpio_pd_pin>; + pinctrl-4 = <&P8_25_gpmc_pin>; }; /* P8_26 (ZCZ ball V6) */ @@ -2047,12 +2069,13 @@ P9_12_pinmux { compatible = "bone-pinmux-helper"; status = "okay"; - pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd"; + pinctrl-names = "default", "gpio", "gpio_pu", "gpio_pd", "gpmc_pd"; pinctrl-0 = <&P9_12_default_pin>; pinctrl-1 = <&P9_12_gpio_pin>; pinctrl-2 = <&P9_12_gpio_pu_pin>; pinctrl-3 = <&P9_12_gpio_pd_pin>; pinctrl-4 = <&P9_12_mcasp_pin>; + pinctrl-5 = <&P9_12_gpmc_pin>; }; /* P9_13 (ZCZ ball U17) */ -- cgit v1.2.3