Home
last modified time | relevance | path

Searched +full:bcm63268 +full:- +full:gpio (Results 1 – 8 of 8) sorted by relevance

/linux/Documentation/devicetree/bindings/gpio/
H A Dbrcm,bcm63xx-gpio.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/gpio/brcm,bcm63xx-gpio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Broadcom BCM63xx GPIO controller
10 - Álvaro Fernández Rojas <noltari@gmail.com>
11 - Jonas Gorski <jonas.gorski@gmail.com>
14 Bindings for Broadcom's BCM63xx memory-mapped GPIO controllers.
19 BCM6338 have 8-bit data and dirout registers, where GPIO state can be read
21 BCM6318, BCM6328, BCM6358, BCM6362, BCM6368 and BCM63268 have 32-bit data
[all …]
/linux/drivers/pinctrl/bcm/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
18 framework. GPIO is provided by a separate GPIO driver.
21 tristate "Broadcom BCM2835 GPIO (with PINCONF) driver"
30 Say Y here to enable the Broadcom BCM2835 GPIO driver.
44 If compiled as module it will be called pinctrl-bcm4908.
56 bool "Broadcom BCM6318 GPIO driver"
62 Say Y here to enable the Broadcom BCM6318 GPIO driver.
65 bool "Broadcom BCM6328 GPIO driver"
71 Say Y here to enable the Broadcom BCM6328 GPIO driver.
74 bool "Broadcom BCM6358 GPIO driver"
[all …]
H A DMakefile1 # SPDX-License-Identifier: GPL-2.0
4 obj-$(CONFIG_PINCTRL_BCM281XX) += pinctrl-bcm281xx.o
5 obj-$(CONFIG_PINCTRL_BCM2835) += pinctrl-bcm2835.o
6 obj-$(CONFIG_PINCTRL_BCM4908) += pinctrl-bcm4908.o
7 obj-$(CONFIG_PINCTRL_BCM63XX) += pinctrl-bcm63xx.o
8 obj-$(CONFIG_PINCTRL_BCM6318) += pinctrl-bcm6318.o
9 obj-$(CONFIG_PINCTRL_BCM6328) += pinctrl-bcm6328.o
10 obj-$(CONFIG_PINCTRL_BCM6358) += pinctrl-bcm6358.o
11 obj-$(CONFIG_PINCTRL_BCM6362) += pinctrl-bcm6362.o
12 obj-$(CONFIG_PINCTRL_BCM6368) += pinctrl-bcm6368.o
[all …]
H A Dpinctrl-bcm63xx.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Driver for BCM63xx GPIO unit (pinctrl + GPIO)
9 #include <linux/gpio/regmap.h>
15 #include "pinctrl-bcm63xx.h"
22 static int bcm63xx_reg_mask_xlate(struct gpio_regmap *gpio, in bcm63xx_reg_mask_xlate() argument
29 *reg = base - stride * BCM63XX_BANK_SIZE; in bcm63xx_reg_mask_xlate()
36 { .compatible = "brcm,bcm6318-gpio", },
37 { .compatible = "brcm,bcm6328-gpio", },
38 { .compatible = "brcm,bcm6358-gpio", },
39 { .compatible = "brcm,bcm6362-gpio", },
[all …]
H A Dpinctrl-bcm63268.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Driver for BCM63268 GPIO unit (pinctrl + GPIO)
10 #include <linux/gpio/driver.h>
17 #include "../pinctrl-utils.h"
19 #include "pinctrl-bcm63xx.h"
28 #define BCM63268_BASEMODE_NAND BIT(2) /* GPIOs 2-7, 24-31 */
29 #define BCM63268_BASEMODE_GPIO35 BIT(4) /* GPIO 35 */
510 unsigned int basemode = (unsigned long) desc->drv_data; in bcm63268_set_gpio()
514 regmap_update_bits(pc->regs, BCM63268_BASEMODE_REG, basemode, in bcm63268_set_gpio()
518 /* base mode: 0 => gpio, 1 => mux function */ in bcm63268_set_gpio()
[all …]
/linux/Documentation/devicetree/bindings/leds/
H A Dleds-bcm6328.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/leds/leds-bcm6328.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Álvaro Fernández Rojas <noltari@gmail.com>
13 This controller is present on BCM6318, BCM6328, BCM6362 and BCM63268.
17 as spi-gpio. See
18 Documentation/devicetree/bindings/gpio/fairchild,74hc595.yaml), or by hardware
21 exporting the 74x164 as spi-gpio prevents those LEDs to be hardware
29 explained later in brcm,link-signal-sources). Even if a LED is hardware
[all …]
/linux/Documentation/devicetree/bindings/net/dsa/
H A Dbrcm,b53.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Florian Fainelli <f.fainelli@gmail.com>
18 - const: brcm,bcm5325
19 - const: brcm,bcm53101
20 - const: brcm,bcm53115
21 - const: brcm,bcm53125
22 - const: brcm,bcm53128
23 - const: brcm,bcm53134
[all …]
/linux/drivers/net/dsa/b53/
H A Db53_mmap.c4 * Copyright (C) 2012-2013 Jonas Gorski <jogo@openwrt.org>
51 .ephy_port_mask = GENMASK((ARRAY_SIZE(bcm6318_ephy_offsets) - 1), 0),
60 .ephy_port_mask = GENMASK((ARRAY_SIZE(bcm6368_ephy_offsets) - 1), 0),
69 .ephy_port_mask = GENMASK((ARRAY_SIZE(bcm63268_ephy_offsets) - 1), 0),
76 struct b53_mmap_priv *priv = dev->priv; in b53_mmap_read8()
77 void __iomem *regs = priv->regs; in b53_mmap_read8()
86 struct b53_mmap_priv *priv = dev->priv; in b53_mmap_read16()
87 void __iomem *regs = priv->regs; in b53_mmap_read16()
90 return -EINVAL; in b53_mmap_read16()
92 if (dev->pdata && dev->pdata->big_endian) in b53_mmap_read16()
[all …]