@@ -2546,6 +2546,109 @@ static const unsigned int msiof2_tx_b_pins[] = {
25462546static const unsigned int msiof2_tx_b_mux [] = {
25472547 MSIOF2_TXD_B_MARK ,
25482548};
2549+ /* - PWM -------------------------------------------------------------------- */
2550+ static const unsigned int pwm0_pins [] = {
2551+ RCAR_GP_PIN (1 , 14 ),
2552+ };
2553+ static const unsigned int pwm0_mux [] = {
2554+ PWM0_MARK ,
2555+ };
2556+ static const unsigned int pwm0_b_pins [] = {
2557+ RCAR_GP_PIN (5 , 3 ),
2558+ };
2559+ static const unsigned int pwm0_b_mux [] = {
2560+ PWM0_B_MARK ,
2561+ };
2562+ static const unsigned int pwm1_pins [] = {
2563+ RCAR_GP_PIN (4 , 5 ),
2564+ };
2565+ static const unsigned int pwm1_mux [] = {
2566+ PWM1_MARK ,
2567+ };
2568+ static const unsigned int pwm1_b_pins [] = {
2569+ RCAR_GP_PIN (5 , 10 ),
2570+ };
2571+ static const unsigned int pwm1_b_mux [] = {
2572+ PWM1_B_MARK ,
2573+ };
2574+ static const unsigned int pwm1_c_pins [] = {
2575+ RCAR_GP_PIN (1 , 18 ),
2576+ };
2577+ static const unsigned int pwm1_c_mux [] = {
2578+ PWM1_C_MARK ,
2579+ };
2580+ static const unsigned int pwm2_pins [] = {
2581+ RCAR_GP_PIN (4 , 10 ),
2582+ };
2583+ static const unsigned int pwm2_mux [] = {
2584+ PWM2_MARK ,
2585+ };
2586+ static const unsigned int pwm2_b_pins [] = {
2587+ RCAR_GP_PIN (5 , 17 ),
2588+ };
2589+ static const unsigned int pwm2_b_mux [] = {
2590+ PWM2_B_MARK ,
2591+ };
2592+ static const unsigned int pwm2_c_pins [] = {
2593+ RCAR_GP_PIN (0 , 13 ),
2594+ };
2595+ static const unsigned int pwm2_c_mux [] = {
2596+ PWM2_C_MARK ,
2597+ };
2598+ static const unsigned int pwm3_pins [] = {
2599+ RCAR_GP_PIN (4 , 13 ),
2600+ };
2601+ static const unsigned int pwm3_mux [] = {
2602+ PWM3_MARK ,
2603+ };
2604+ static const unsigned int pwm3_b_pins [] = {
2605+ RCAR_GP_PIN (0 , 16 ),
2606+ };
2607+ static const unsigned int pwm3_b_mux [] = {
2608+ PWM3_B_MARK ,
2609+ };
2610+ static const unsigned int pwm4_pins [] = {
2611+ RCAR_GP_PIN (1 , 3 ),
2612+ };
2613+ static const unsigned int pwm4_mux [] = {
2614+ PWM4_MARK ,
2615+ };
2616+ static const unsigned int pwm4_b_pins [] = {
2617+ RCAR_GP_PIN (0 , 21 ),
2618+ };
2619+ static const unsigned int pwm4_b_mux [] = {
2620+ PWM4_B_MARK ,
2621+ };
2622+ static const unsigned int pwm5_pins [] = {
2623+ RCAR_GP_PIN (3 , 30 ),
2624+ };
2625+ static const unsigned int pwm5_mux [] = {
2626+ PWM5_MARK ,
2627+ };
2628+ static const unsigned int pwm5_b_pins [] = {
2629+ RCAR_GP_PIN (4 , 0 ),
2630+ };
2631+ static const unsigned int pwm5_b_mux [] = {
2632+ PWM5_B_MARK ,
2633+ };
2634+ static const unsigned int pwm5_c_pins [] = {
2635+ RCAR_GP_PIN (0 , 10 ),
2636+ };
2637+ static const unsigned int pwm5_c_mux [] = {
2638+ PWM5_C_MARK ,
2639+ };
2640+ static const unsigned int pwm6_pins [] = {
2641+ RCAR_GP_PIN (4 , 8 ),
2642+ };
2643+ static const unsigned int pwm6_mux [] = {
2644+ PWM6_MARK ,
2645+ };
2646+ static const unsigned int pwm6_b_pins [] = {
2647+ RCAR_GP_PIN (0 , 7 ),
2648+ };
2649+ static const unsigned int pwm6_b_mux [] = {
2650+ PWM6_B_MARK ,
2651+ };
25492652/* - QSPI ------------------------------------------------------------------- */
25502653static const unsigned int qspi_ctrl_pins [] = {
25512654 /* SPCLK, SSL */
@@ -3689,6 +3792,23 @@ static const struct sh_pfc_pin_group pinmux_groups[] = {
36893792 SH_PFC_PIN_GROUP (msiof2_ss2_b ),
36903793 SH_PFC_PIN_GROUP (msiof2_rx_b ),
36913794 SH_PFC_PIN_GROUP (msiof2_tx_b ),
3795+ SH_PFC_PIN_GROUP (pwm0 ),
3796+ SH_PFC_PIN_GROUP (pwm0_b ),
3797+ SH_PFC_PIN_GROUP (pwm1 ),
3798+ SH_PFC_PIN_GROUP (pwm1_b ),
3799+ SH_PFC_PIN_GROUP (pwm1_c ),
3800+ SH_PFC_PIN_GROUP (pwm2 ),
3801+ SH_PFC_PIN_GROUP (pwm2_b ),
3802+ SH_PFC_PIN_GROUP (pwm2_c ),
3803+ SH_PFC_PIN_GROUP (pwm3 ),
3804+ SH_PFC_PIN_GROUP (pwm3_b ),
3805+ SH_PFC_PIN_GROUP (pwm4 ),
3806+ SH_PFC_PIN_GROUP (pwm4_b ),
3807+ SH_PFC_PIN_GROUP (pwm5 ),
3808+ SH_PFC_PIN_GROUP (pwm5_b ),
3809+ SH_PFC_PIN_GROUP (pwm5_c ),
3810+ SH_PFC_PIN_GROUP (pwm6 ),
3811+ SH_PFC_PIN_GROUP (pwm6_b ),
36923812 SH_PFC_PIN_GROUP (qspi_ctrl ),
36933813 SH_PFC_PIN_GROUP (qspi_data2 ),
36943814 SH_PFC_PIN_GROUP (qspi_data4 ),
@@ -4050,6 +4170,44 @@ static const char * const msiof2_groups[] = {
40504170 "msiof2_tx_b" ,
40514171};
40524172
4173+ static const char * const pwm0_groups [] = {
4174+ "pwm0" ,
4175+ "pwm0_b" ,
4176+ };
4177+
4178+ static const char * const pwm1_groups [] = {
4179+ "pwm1" ,
4180+ "pwm1_b" ,
4181+ "pwm1_c" ,
4182+ };
4183+
4184+ static const char * const pwm2_groups [] = {
4185+ "pwm2" ,
4186+ "pwm2_b" ,
4187+ "pwm2_c" ,
4188+ };
4189+
4190+ static const char * const pwm3_groups [] = {
4191+ "pwm3" ,
4192+ "pwm3_b" ,
4193+ };
4194+
4195+ static const char * const pwm4_groups [] = {
4196+ "pwm4" ,
4197+ "pwm4_b" ,
4198+ };
4199+
4200+ static const char * const pwm5_groups [] = {
4201+ "pwm5" ,
4202+ "pwm5_b" ,
4203+ "pwm5_c" ,
4204+ };
4205+
4206+ static const char * const pwm6_groups [] = {
4207+ "pwm6" ,
4208+ "pwm6_b" ,
4209+ };
4210+
40534211static const char * const qspi_groups [] = {
40544212 "qspi_ctrl" ,
40554213 "qspi_data2" ,
@@ -4284,6 +4442,13 @@ static const struct sh_pfc_function pinmux_functions[] = {
42844442 SH_PFC_FUNCTION (msiof0 ),
42854443 SH_PFC_FUNCTION (msiof1 ),
42864444 SH_PFC_FUNCTION (msiof2 ),
4445+ SH_PFC_FUNCTION (pwm0 ),
4446+ SH_PFC_FUNCTION (pwm1 ),
4447+ SH_PFC_FUNCTION (pwm2 ),
4448+ SH_PFC_FUNCTION (pwm3 ),
4449+ SH_PFC_FUNCTION (pwm4 ),
4450+ SH_PFC_FUNCTION (pwm5 ),
4451+ SH_PFC_FUNCTION (pwm6 ),
42874452 SH_PFC_FUNCTION (qspi ),
42884453 SH_PFC_FUNCTION (scif0 ),
42894454 SH_PFC_FUNCTION (scif1 ),
0 commit comments