@@ -1424,6 +1424,24 @@ I2C_PFC_MUX(i2c3_b, SDA3_B, SCL3_B);
1424
1424
I2C_PFC_PIN (i2c3_c , RCAR_GP_PIN (1 , 22 ), RCAR_GP_PIN (1 , 23 ));
1425
1425
I2C_PFC_MUX (i2c3_c , SDA3_C , SCL3_C );
1426
1426
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
+
1427
1445
/* - MMC macro -------------------------------------------------------------- */
1428
1446
#define MMC_PFC_PINS (name , args ...) SH_PFC_PINS(name, args)
1429
1447
#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[] = {
1724
1742
SH_PFC_PIN_GROUP (i2c3_a ),
1725
1743
SH_PFC_PIN_GROUP (i2c3_b ),
1726
1744
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 ),
1727
1753
SH_PFC_PIN_GROUP (mmc_ctrl ),
1728
1754
BUS_DATA_PIN_GROUP (mmc_data , 1 ),
1729
1755
BUS_DATA_PIN_GROUP (mmc_data , 4 ),
@@ -1897,6 +1923,17 @@ static const char * const i2c3_groups[] = {
1897
1923
"i2c3_c" ,
1898
1924
};
1899
1925
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
+
1900
1937
static const char * const mmc_groups [] = {
1901
1938
"mmc_ctrl" ,
1902
1939
"mmc_data1" ,
@@ -2049,6 +2086,7 @@ static const struct sh_pfc_function pinmux_functions[] = {
2049
2086
SH_PFC_FUNCTION (i2c1 ),
2050
2087
SH_PFC_FUNCTION (i2c2 ),
2051
2088
SH_PFC_FUNCTION (i2c3 ),
2089
+ SH_PFC_FUNCTION (lbsc ),
2052
2090
SH_PFC_FUNCTION (mmc ),
2053
2091
SH_PFC_FUNCTION (scif_clk ),
2054
2092
SH_PFC_FUNCTION (scif0 ),
0 commit comments