Lines Matching +full:usb +full:- +full:1 +full:_0

1 // SPDX-License-Identifier: GPL-2.0
3 * sh73a0 processor support - PFC hardware block
11 #include <linux/pinctrl/pinconf-generic.h>
52 PORT_ALL(DATA), /* PORT0_DATA -> PORT309_DATA */
56 PORT_ALL(IN), /* PORT0_IN -> PORT309_IN */
60 PORT_ALL(OUT), /* PORT0_OUT -> PORT309_OUT */
64 PORT_ALL(FN_IN), /* PORT0_FN_IN -> PORT309_FN_IN */
65 PORT_ALL(FN_OUT), /* PORT0_FN_OUT -> PORT309_FN_OUT */
66 PORT_ALL(FN0), /* PORT0_FN0 -> PORT309_FN0 */
67 PORT_ALL(FN1), /* PORT0_FN1 -> PORT309_FN1 */
68 PORT_ALL(FN2), /* PORT0_FN2 -> PORT309_FN2 */
69 PORT_ALL(FN3), /* PORT0_FN3 -> PORT309_FN3 */
70 PORT_ALL(FN4), /* PORT0_FN4 -> PORT309_FN4 */
71 PORT_ALL(FN5), /* PORT0_FN5 -> PORT309_FN5 */
72 PORT_ALL(FN6), /* PORT0_FN6 -> PORT309_FN6 */
73 PORT_ALL(FN7), /* PORT0_FN7 -> PORT309_FN7 */
120 /* Hardware manual Table 25-1 (Function 0-7) */
460 /* Table 25-1 (Function 0-7) */
1172 /* Table 25-1 (I/O and Pull U/D) */
1174 SH73A0_PIN_I_PU(1),
1447 /* - BSC -------------------------------------------------------------------- */
1541 /* - FSIA ------------------------------------------------------------------- */
1591 /* - FSIB ------------------------------------------------------------------- */
1641 /* - FSIC ------------------------------------------------------------------- */
1698 /* - FSID ------------------------------------------------------------------- */
1720 /* - I2C2 ------------------------------------------------------------------- */
1742 /* - I2C3 ------------------------------------------------------------------- */
1764 /* - IrDA ------------------------------------------------------------------- */
1779 /* - KEYSC ------------------------------------------------------------------ */
1914 /* - LCD -------------------------------------------------------------------- */
1957 /* - LCD2 ------------------------------------------------------------------- */
2004 /* - MMCIF ------------------------------------------------------------------ */
2036 /* - MSIOF0 ----------------------------------------------------------------- */
2193 /* - MSIOF1 ----------------------------------------------------------------- */
2264 /* - MSIOF2 ----------------------------------------------------------------- */
2385 /* - MSIOF3 (Pin function name of MSIOF3 is named BBIF1) -------------------- */
2450 /* - SCIFA0 ----------------------------------------------------------------- */
2472 /* - SCIFA1 ----------------------------------------------------------------- */
2494 /* - SCIFA2 ----------------------------------------------------------------- */
2537 /* - SCIFA3 ----------------------------------------------------------------- */
2552 /* - SCIFA4 ----------------------------------------------------------------- */
2567 /* - SCIFA5 ----------------------------------------------------------------- */
2631 /* - SCIFA6 ----------------------------------------------------------------- */
2639 /* - SCIFA7 ----------------------------------------------------------------- */
2654 /* - SCIFB ------------------------------------------------------------------ */
2697 /* - SDHI0 ------------------------------------------------------------------ */
2726 /* - SDHI1 ------------------------------------------------------------------ */
2741 /* - SDHI2 ------------------------------------------------------------------ */
2756 /* - TPU0 ------------------------------------------------------------------- */
2785 /* - TPU1 ------------------------------------------------------------------- */
2821 /* - TPU2 ------------------------------------------------------------------- */
2850 /* - TPU3 ------------------------------------------------------------------- */
2879 /* - TPU4 ------------------------------------------------------------------- */
2908 /* - USB -------------------------------------------------------------------- */
3006 BUS_DATA_PIN_GROUP(mmc0_data, 1, _0),
3007 BUS_DATA_PIN_GROUP(mmc0_data, 4, _0),
3008 BUS_DATA_PIN_GROUP(mmc0_data, 8, _0),
3010 BUS_DATA_PIN_GROUP(mmc0_data, 1, _1),
3106 BUS_DATA_PIN_GROUP(sdhi0_data, 1),
3111 BUS_DATA_PIN_GROUP(sdhi1_data, 1),
3114 BUS_DATA_PIN_GROUP(sdhi2_data, 1),
3498 SH_PFC_FUNCTION(usb),
3503 PORTCR(1, 0xe6050001), /* PORT1CR */
3802 GROUP(-12, 1, 1, 1, 1, -1, 1, 1, 1, 1, 1, 1,
3803 1, 1, 1, 1, 1, 1, 1, 1, 1),
3810 /* RESERVED [1] */
3829 GROUP(-3, 1, -12, 1, -3, 1, -1, 1, -2, 1, -3, 1,
3830 -2),
3838 /* RESERVED [1] */
3848 GROUP(-2, 1, -1, 1, 1, -3, 1, 1, 1, 1, -3, 1,
3849 -1, 1, 1, 1, 1, 1, 1, 1, -2, 1, -2, 1,
3850 -1),
3854 /* RESERVED [1] */
3864 /* RESERVED [1] */
3876 /* RESERVED [1] */
4021 /* -----------------------------------------------------------------------------
4028 void __iomem *addr = pfc->windows[1].virt + 4; in sh73a0_vccq_mc0_endisable()
4032 spin_lock_irqsave(&pfc->lock, flags); in sh73a0_vccq_mc0_endisable()
4043 spin_unlock_irqrestore(&pfc->lock, flags); in sh73a0_vccq_mc0_endisable()
4061 void __iomem *addr = pfc->windows[1].virt + 4; in sh73a0_vccq_mc0_is_enabled()
4065 spin_lock_irqsave(&pfc->lock, flags); in sh73a0_vccq_mc0_is_enabled()
4067 spin_unlock_irqrestore(&pfc->lock, flags); in sh73a0_vccq_mc0_is_enabled()
4104 /* -----------------------------------------------------------------------------
4118 /* -----------------------------------------------------------------------------
4128 cfg.dev = pfc->dev; in sh73a0_pinmux_soc_init()
4132 vccq = devm_regulator_register(pfc->dev, &sh73a0_vccq_mc0_desc, &cfg); in sh73a0_pinmux_soc_init()
4135 dev_err(pfc->dev, "Failed to register VCCQ MC0 regulator: %d\n", in sh73a0_pinmux_soc_init()