| /kernel/linux/linux-5.10/drivers/staging/mt7621-dts/ |
| D | mt7621.dtsi | 1 #include <dt-bindings/interrupt-controller/mips-gic.h> 2 #include <dt-bindings/gpio/gpio.h> 5 #address-cells = <1>; 6 #size-cells = <1>; 7 compatible = "mediatek,mt7621-soc"; 20 #address-cells = <0>; 21 #interrupt-cells = <1>; 22 interrupt-controller; 23 compatible = "mti,cpu-interrupt-controller"; 31 #clock-cells = <0>; [all …]
|
| D | gbpc2.dts | 1 /dts-v1/; 3 #include "mt7621.dtsi" 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/input.h> 9 compatible = "gnubee,gb-pc2", "mediatek,mt7621-soc"; 10 model = "GB-PC2"; 28 gpio-keys { 29 compatible = "gpio-keys"; 33 gpios = <&gpio 18 GPIO_ACTIVE_HIGH>; 47 #address-cells = <1>; [all …]
|
| D | gbpc1.dts | 1 /dts-v1/; 3 #include "mt7621.dtsi" 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/input.h> 9 compatible = "gnubee,gb-pc1", "mediatek,mt7621-soc"; 10 model = "GB-PC1"; 28 gpio-keys { 29 compatible = "gpio-keys"; 33 gpios = <&gpio 18 GPIO_ACTIVE_HIGH>; 38 gpio-leds { [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/gpio/ |
| D | mediatek,mt7621-gpio.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/gpio/mediatek,mt7621-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Mediatek MT7621 SoC GPIO controller 10 - Sergio Paracuellos <sergio.paracuellos@gmail.com> 15 We load one GPIO controller instance per bank. Also the GPIO controller can receive 21 pattern: "^gpio@[0-9a-f]+$" 24 const: mediatek,mt7621-gpio 29 "#gpio-cells": [all …]
|
| /kernel/linux/linux-6.6/arch/mips/boot/dts/ralink/ |
| D | mt7621.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 #include <dt-bindings/interrupt-controller/mips-gic.h> 3 #include <dt-bindings/gpio/gpio.h> 4 #include <dt-bindings/clock/mt7621-clk.h> 5 #include <dt-bindings/reset/mt7621-reset.h> 8 #address-cells = <1>; 9 #size-cells = <1>; 10 compatible = "mediatek,mt7621-soc"; 13 #address-cells = <1>; 14 #size-cells = <0>; [all …]
|
| D | mt7621-tplink-hc220-g5-v1.dts | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 /dts-v1/; 4 #include "mt7621.dtsi" 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/leds/common.h> 11 compatible = "tplink,hc220-g5-v1", "mediatek,mt7621-soc"; 12 model = "TP-Link HC220 G5 v1"; 23 gpio-keys { 24 compatible = "gpio-keys"; [all …]
|
| D | mt7628a.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 #address-cells = <1>; 5 #size-cells = <1>; 6 compatible = "ralink,mt7628a-soc"; 9 #address-cells = <1>; 10 #size-cells = <0>; 19 resetc: reset-controller { 20 compatible = "ralink,rt2880-reset"; 21 #reset-cells = <1>; 24 cpuintc: interrupt-controller { [all …]
|
| D | mt7621-gnubee-gb-pc1.dts | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 /dts-v1/; 4 #include "mt7621.dtsi" 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 10 compatible = "gnubee,gb-pc1", "mediatek,mt7621-soc"; 11 model = "GB-PC1"; 23 gpio-keys { 24 compatible = "gpio-keys"; 26 key-reset { [all …]
|
| D | mt7621-gnubee-gb-pc2.dts | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 /dts-v1/; 4 #include "mt7621.dtsi" 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 10 compatible = "gnubee,gb-pc2", "mediatek,mt7621-soc"; 11 model = "GB-PC2"; 23 gpio-keys { 24 compatible = "gpio-keys"; 26 key-reset { [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/dsa/ |
| D | mediatek,mt7530.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Arınç ÜNAL <arinc.unal@arinc9.com> 11 - Landen Chao <Landen.Chao@mediatek.com> 12 - DENG Qingfang <dqfext@gmail.com> 13 - Sean Wang <sean.wang@mediatek.com> 14 - Daniel Golle <daniel@makrotopia.org> 17 There are three versions of MT7530, standalone, in a multi-chip module and 18 built-into a SoC. [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/gpio/ |
| D | mediatek,mt7621-gpio.txt | 1 Mediatek MT7621 SoC GPIO controller bindings 5 We load one GPIO controller instance per bank. Also the GPIO controller can receive 10 - #gpio-cells : Should be two. The first cell is the GPIO pin number and the 11 second cell specifies GPIO flags, as defined in <dt-bindings/gpio/gpio.h>. 13 - #interrupt-cells : Specifies the number of cells needed to encode an 16 Documentation/devicetree/bindings/interrupt-controller/interrupts.txt 17 - compatible: 18 - "mediatek,mt7621-gpio" for Mediatek controllers 19 - reg : Physical base address and length of the controller's registers 20 - interrupt-parent : phandle of the parent interrupt controller. [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/pci/ |
| D | mediatek,mt7621-pcie.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/mediatek,mt7621-pcie.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MediaTek MT7621 PCIe controller 10 - Sergio Paracuellos <sergio.paracuellos@gmail.com> 13 MediaTek MT7621 PCIe subsys supports a single Root Complex (RC) 14 with 3 Root Ports. Each Root Port supports a Gen1 1-lane Link 17 - $ref: /schemas/pci/pci-bus.yaml# 21 const: mediatek,mt7621-pci [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/pinctrl/ |
| D | mediatek,mt7621-pinctrl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/mediatek,mt7621-pinctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MediaTek MT7621 Pin Controller 10 - Arınç ÜNAL <arinc.unal@arinc9.com> 11 - Sergio Paracuellos <sergio.paracuellos@gmail.com> 14 MediaTek MT7621 pin controller for MT7621 SoC. 20 const: ralink,mt7621-pinctrl 23 '-pins$': [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/dsa/ |
| D | mt7530.txt | 6 - compatible: may be compatible = "mediatek,mt7530" 7 or compatible = "mediatek,mt7621" 9 - #address-cells: Must be 1. 10 - #size-cells: Must be 0. 11 - mediatek,mcm: Boolean; if defined, indicates that either MT7530 is the part 12 on multi-chip module belong to MT7623A has or the remotely standalone 17 - core-supply: Phandle to the regulator node necessary for the core power. 18 - io-supply: Phandle to the regulator node necessary for the I/O power. 19 See Documentation/devicetree/bindings/regulator/mt6323-regulator.txt 24 - reset-gpios: Should be a gpio specifier for a reset line. [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/mt7621-pci/ |
| D | mediatek,mt7621-pci.txt | 1 MediaTek MT7621 PCIe controller 4 - compatible: "mediatek,mt7621-pci" 5 - device_type: Must be "pci" 6 - reg: Base addresses and lengths of the PCIe subsys and root ports. 7 - bus-range: Range of bus numbers associated with this controller. 8 - #address-cells: Address representation for root ports (must be 3) 9 - pinctrl-names : The pin control state names. 10 - pinctrl-0: The "default" pinctrl state. 11 - #size-cells: Size representation for root ports (must be 2) 12 - ranges: Ranges for the PCI memory and I/O regions. [all …]
|
| D | pci-mt7621.c | 1 // SPDX-License-Identifier: GPL-2.0+ 20 #include <linux/gpio/consumer.h> 33 #include <mt7621.h> 49 /* Host-PCI bridge registers */ 92 * struct mt7621_pcie_port - PCIe port information 98 * @gpio_rst: gpio reset 116 * struct mt7621_pcie - PCIe host information 119 * @mem: non-prefetchable memory resource 147 return readl(pcie->base + reg); in pcie_read() 152 writel(val, pcie->base + reg); in pcie_write() [all …]
|
| /kernel/linux/linux-5.10/arch/mips/boot/dts/ralink/ |
| D | mt7628a.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 #address-cells = <1>; 5 #size-cells = <1>; 6 compatible = "ralink,mt7628a-soc"; 9 #address-cells = <1>; 10 #size-cells = <0>; 19 resetc: reset-controller { 20 compatible = "ralink,rt2880-reset"; 21 #reset-cells = <1>; 24 cpuintc: interrupt-controller { [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/bus/ |
| D | palmbus.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sergio Paracuellos <sergio.paracuellos@gmail.com> 19 pattern: "^palmbus(@[0-9a-f]+)?$" 21 "#address-cells": 24 "#size-cells": 36 # All other properties should be child nodes with unit-address and 'reg' 37 "@[0-9a-f]+$": 45 - reg [all …]
|
| /kernel/linux/linux-6.6/drivers/gpio/ |
| D | gpio-mt7621.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2009-2011 Gabor Juhos <juhosg@openwrt.org> 8 #include <linux/gpio/driver.h> 43 * struct mtk - state container for 45 * separate gpio-chip each one with its 50 * @gc_map: array of the gpio chips 68 struct gpio_chip *gc = &rg->chip; in mtk_gpio_w32() 71 offset = (rg->bank * GPIO_BANK_STRIDE) + offset; in mtk_gpio_w32() 72 gc->write_reg(mtk->base + offset, val); in mtk_gpio_w32() 78 struct gpio_chip *gc = &rg->chip; in mtk_gpio_r32() [all …]
|
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 # generic gpio support: platform drivers, dedicated expander chips, etc 4 ccflags-$(CONFIG_DEBUG_GPIO) += -DDEBUG 6 obj-$(CONFIG_GPIOLIB) += gpiolib.o 7 obj-$(CONFIG_GPIOLIB) += gpiolib-devres.o 8 obj-$(CONFIG_GPIOLIB) += gpiolib-legacy.o 9 obj-$(CONFIG_OF_GPIO) += gpiolib-of.o 10 obj-$(CONFIG_GPIO_CDEV) += gpiolib-cdev.o 11 obj-$(CONFIG_GPIO_SYSFS) += gpiolib-sysfs.o 12 obj-$(CONFIG_GPIO_ACPI) += gpiolib-acpi.o [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/ |
| D | mediatek-bluetooth.txt | 1 MediaTek SoC built-in Bluetooth Devices 5 child node of the serial node with BTIF. The dt-bindings details for BTIF 10 - compatible: Must be 11 "mediatek,mt7622-bluetooth": for MT7622 SoC 12 - clocks: Should be the clock specifiers corresponding to the entry in 13 clock-names property. 14 - clock-names: Should contain "ref" entries. 15 - power-domains: Phandle to the power domain that the device is part of 20 compatible = "mediatek,mt7622-btif", 21 "mediatek,mtk-btif"; [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/ |
| D | mediatek-bluetooth.txt | 1 MediaTek SoC built-in Bluetooth Devices 5 child node of the serial node with BTIF. The dt-bindings details for BTIF 10 - compatible: Must be 11 "mediatek,mt7622-bluetooth": for MT7622 SoC 12 - clocks: Should be the clock specifiers corresponding to the entry in 13 clock-names property. 14 - clock-names: Should contain "ref" entries. 15 - power-domains: Phandle to the power domain that the device is part of 20 compatible = "mediatek,mt7622-btif", 21 "mediatek,mtk-btif"; [all …]
|
| /kernel/linux/linux-6.6/drivers/pinctrl/mediatek/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 58 bool "MediaTek MT7621 pin control" 150 Say yes here to support pin controller and gpio driver 152 In MTK platform, we support virtual gpio and use it to 153 map specific eint which doesn't have real gpio pin. 225 Say yes here to support pin controller and gpio driver 227 In MTK platform, we support virtual gpio and use it to 228 map specific eint which doesn't have real gpio pin.
|
| /kernel/linux/linux-6.6/drivers/pci/controller/ |
| D | pcie-mt7621.c | 1 // SPDX-License-Identifier: GPL-2.0+ 21 #include <linux/gpio/consumer.h> 35 /* MediaTek-specific configuration registers */ 40 /* Host-PCI bridge registers */ 67 * struct mt7621_pcie_port - PCIe port information 74 * @gpio_rst: gpio reset 91 * struct mt7621_pcie - PCIe host information 107 return readl_relaxed(pcie->base + reg); in pcie_read() 112 writel_relaxed(val, pcie->base + reg); in pcie_write() 117 return readl_relaxed(port->base + reg); in pcie_port_read() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpio/ |
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 # generic gpio support: platform drivers, dedicated expander chips, etc 4 ccflags-$(CONFIG_DEBUG_GPIO) += -DDEBUG 6 obj-$(CONFIG_GPIOLIB) += gpiolib.o 7 obj-$(CONFIG_GPIOLIB) += gpiolib-devres.o 8 obj-$(CONFIG_GPIOLIB) += gpiolib-legacy.o 9 obj-$(CONFIG_OF_GPIO) += gpiolib-of.o 10 obj-$(CONFIG_GPIO_CDEV) += gpiolib-cdev.o 11 obj-$(CONFIG_GPIO_SYSFS) += gpiolib-sysfs.o 12 obj-$(CONFIG_GPIO_ACPI) += gpiolib-acpi.o [all …]
|