@@ -1424,6 +1424,24 @@ I2C_PFC_MUX(i2c3_b, SDA3_B, SCL3_B);
14241424I2C_PFC_PIN (i2c3_c , RCAR_GP_PIN (1 , 22 ), RCAR_GP_PIN (1 , 23 ));
14251425I2C_PFC_MUX (i2c3_c , SDA3_C , SCL3_C );
14261426
1427+ /* - LBSC ------------------------------------------------------------------- */
1428+ SH_PFC_PINS (lbsc_cs0 , PIN_CS0 );
1429+ SH_PFC_MUX1 (lbsc_cs0 , CS0 );
1430+ SH_PFC_PINS (lbsc_cs1 , PIN_CS1_A26 );
1431+ SH_PFC_MUX1 (lbsc_cs1 , CS1_A26 );
1432+ SH_PFC_PINS (lbsc_ex_cs0 , RCAR_GP_PIN (1 , 3 ));
1433+ SH_PFC_MUX1 (lbsc_ex_cs0 , EX_CS0 );
1434+ SH_PFC_PINS (lbsc_ex_cs1 , RCAR_GP_PIN (1 , 4 ));
1435+ SH_PFC_MUX1 (lbsc_ex_cs1 , EX_CS1 );
1436+ SH_PFC_PINS (lbsc_ex_cs2 , RCAR_GP_PIN (1 , 5 ));
1437+ SH_PFC_MUX1 (lbsc_ex_cs2 , EX_CS2 );
1438+ SH_PFC_PINS (lbsc_ex_cs3 , RCAR_GP_PIN (1 , 6 ));
1439+ SH_PFC_MUX1 (lbsc_ex_cs3 , EX_CS3 );
1440+ SH_PFC_PINS (lbsc_ex_cs4 , RCAR_GP_PIN (1 , 7 ));
1441+ SH_PFC_MUX1 (lbsc_ex_cs4 , EX_CS4 );
1442+ SH_PFC_PINS (lbsc_ex_cs5 , RCAR_GP_PIN (1 , 8 ));
1443+ SH_PFC_MUX1 (lbsc_ex_cs5 , EX_CS5 );
1444+
14271445/* - MMC macro -------------------------------------------------------------- */
14281446#define MMC_PFC_PINS (name , args ...) SH_PFC_PINS(name, args)
14291447#define MMC_PFC_CTRL (name , clk , cmd ) SH_PFC_MUX2(name, clk, cmd)
@@ -1724,6 +1742,14 @@ static const struct sh_pfc_pin_group pinmux_groups[] = {
17241742 SH_PFC_PIN_GROUP (i2c3_a ),
17251743 SH_PFC_PIN_GROUP (i2c3_b ),
17261744 SH_PFC_PIN_GROUP (i2c3_c ),
1745+ SH_PFC_PIN_GROUP (lbsc_cs0 ),
1746+ SH_PFC_PIN_GROUP (lbsc_cs1 ),
1747+ SH_PFC_PIN_GROUP (lbsc_ex_cs0 ),
1748+ SH_PFC_PIN_GROUP (lbsc_ex_cs1 ),
1749+ SH_PFC_PIN_GROUP (lbsc_ex_cs2 ),
1750+ SH_PFC_PIN_GROUP (lbsc_ex_cs3 ),
1751+ SH_PFC_PIN_GROUP (lbsc_ex_cs4 ),
1752+ SH_PFC_PIN_GROUP (lbsc_ex_cs5 ),
17271753 SH_PFC_PIN_GROUP (mmc_ctrl ),
17281754 BUS_DATA_PIN_GROUP (mmc_data , 1 ),
17291755 BUS_DATA_PIN_GROUP (mmc_data , 4 ),
@@ -1897,6 +1923,17 @@ static const char * const i2c3_groups[] = {
18971923 "i2c3_c" ,
18981924};
18991925
1926+ static const char * const lbsc_groups [] = {
1927+ "lbsc_cs0" ,
1928+ "lbsc_cs1" ,
1929+ "lbsc_ex_cs0" ,
1930+ "lbsc_ex_cs1" ,
1931+ "lbsc_ex_cs2" ,
1932+ "lbsc_ex_cs3" ,
1933+ "lbsc_ex_cs4" ,
1934+ "lbsc_ex_cs5" ,
1935+ };
1936+
19001937static const char * const mmc_groups [] = {
19011938 "mmc_ctrl" ,
19021939 "mmc_data1" ,
@@ -2049,6 +2086,7 @@ static const struct sh_pfc_function pinmux_functions[] = {
20492086 SH_PFC_FUNCTION (i2c1 ),
20502087 SH_PFC_FUNCTION (i2c2 ),
20512088 SH_PFC_FUNCTION (i2c3 ),
2089+ SH_PFC_FUNCTION (lbsc ),
20522090 SH_PFC_FUNCTION (mmc ),
20532091 SH_PFC_FUNCTION (scif_clk ),
20542092 SH_PFC_FUNCTION (scif0 ),
0 commit comments