Home
last modified time | relevance | path

Searched full:pericfg (Results 1 – 25 of 73) sorted by relevance

123

/openbmc/linux/Documentation/devicetree/bindings/arm/mediatek/
H A Dmediatek,pericfg.yaml4 $id: http://devicetree.org/schemas/arm/mediatek/mediatek,pericfg.yaml#
13 The Mediatek pericfg controller provides various clocks and reset outputs
21 - mediatek,mt2701-pericfg
22 - mediatek,mt2712-pericfg
23 - mediatek,mt6765-pericfg
24 - mediatek,mt6795-pericfg
25 - mediatek,mt7622-pericfg
26 - mediatek,mt7629-pericfg
27 - mediatek,mt8135-pericfg
28 - mediatek,mt8173-pericfg
[all …]
H A Dmediatek,mt8192-sys-clock.yaml22 - mediatek,mt8192-pericfg
57 pericfg: syscon@10003000 {
58 compatible = "mediatek,mt8192-pericfg", "syscon";
/openbmc/linux/Documentation/devicetree/bindings/pwm/
H A Dmediatek,mt2712-pwm.yaml85 clocks = <&topckgen CLK_TOP_PWM_SEL>, <&pericfg CLK_PERI_PWM>,
86 <&pericfg CLK_PERI_PWM0>, <&pericfg CLK_PERI_PWM1>,
87 <&pericfg CLK_PERI_PWM2>, <&pericfg CLK_PERI_PWM3>,
88 <&pericfg CLK_PERI_PWM4>, <&pericfg CLK_PERI_PWM5>,
89 <&pericfg CLK_PERI_PWM6>, <&pericfg CLK_PERI_PWM7>;
/openbmc/linux/arch/arm64/boot/dts/mediatek/
H A Dmt2712e.dtsi259 pericfg: syscon@10003000 { label
260 compatible = "mediatek,mt2712-pericfg", "syscon";
411 clocks = <&pericfg CLK_PERI_AP_DMA>;
419 clocks = <&pericfg CLK_PERI_AUXADC>;
483 <&pericfg CLK_PERI_PWM>,
484 <&pericfg CLK_PERI_PWM0>,
485 <&pericfg CLK_PERI_PWM1>,
486 <&pericfg CLK_PERI_PWM2>,
487 <&pericfg CLK_PERI_PWM3>,
488 <&pericfg CLK_PERI_PWM4>,
[all …]
H A Dmt6795.dtsi263 pericfg: syscon@10003000 { label
264 compatible = "mediatek,mt6795-pericfg", "syscon";
491 clocks = <&pericfg CLK_PERI_UART0_SEL>, <&pericfg CLK_PERI_UART0>;
503 clocks = <&pericfg CLK_PERI_UART1_SEL>, <&pericfg CLK_PERI_UART1>;
530 clocks = <&pericfg CLK_PERI_AP_DMA>;
541 clocks = <&pericfg CLK_PERI_UART2_SEL>, <&pericfg CLK_PERI_UART2>;
553 clocks = <&pericfg CLK_PERI_UART3_SEL>, <&pericfg CLK_PERI_UART3>;
566 <&pericfg CLK_PERI_PWM>,
567 <&pericfg CLK_PERI_PWM1>,
568 <&pericfg CLK_PERI_PWM2>,
[all …]
H A Dmt7622.dtsi233 pericfg: pericfg@10002000 { label
234 compatible = "mediatek,mt7622-pericfg",
385 clocks = <&pericfg CLK_PERI_AUXADC_PD>;
396 <&pericfg CLK_PERI_UART0_PD>;
407 <&pericfg CLK_PERI_UART1_PD>;
418 <&pericfg CLK_PERI_UART2_PD>;
429 <&pericfg CLK_PERI_UART3_PD>;
440 <&pericfg CLK_PERI_PWM_PD>,
441 <&pericfg CLK_PERI_PWM1_PD>,
442 <&pericfg CLK_PERI_PWM2_PD>,
[all …]
H A Dmt8173.dtsi362 pericfg: power-controller@10003000 { label
363 compatible = "mediatek,mt8173-pericfg", "syscon";
662 clocks = <&pericfg CLK_PERI_AUXADC>;
672 clocks = <&pericfg CLK_PERI_UART0_SEL>, <&pericfg CLK_PERI_UART0>;
682 clocks = <&pericfg CLK_PERI_UART1_SEL>, <&pericfg CLK_PERI_UART1>;
692 clocks = <&pericfg CLK_PERI_UART2_SEL>, <&pericfg CLK_PERI_UART2>;
702 clocks = <&pericfg CLK_PERI_UART3_SEL>, <&pericfg CLK_PERI_UART3>;
713 clocks = <&pericfg CLK_PERI_I2C0>,
714 <&pericfg CLK_PERI_AP_DMA>;
729 clocks = <&pericfg CLK_PERI_I2C1>,
[all …]
H A Dmt8516.dtsi194 pericfg: pericfg@10003050 { label
195 compatible = "mediatek,mt8516-pericfg", "syscon";
433 mediatek,pericfg = <&pericfg>;
/openbmc/linux/arch/arm/boot/dts/mediatek/
H A Dmt2701.dtsi139 pericfg: syscon@10003000 { label
140 compatible = "mediatek,mt2701-pericfg", "syscon";
248 clocks = <&pericfg CLK_PERI_AUXADC>;
259 clocks = <&pericfg CLK_PERI_UART0_SEL>, <&pericfg CLK_PERI_UART0>;
269 clocks = <&pericfg CLK_PERI_UART1_SEL>, <&pericfg CLK_PERI_UART1>;
279 clocks = <&pericfg CLK_PERI_UART2_SEL>, <&pericfg CLK_PERI_UART2>;
289 clocks = <&pericfg CLK_PERI_UART3_SEL>, <&pericfg CLK_PERI_UART3>;
301 clocks = <&pericfg CLK_PERI_I2C0>, <&pericfg CLK_PERI_AP_DMA>;
315 clocks = <&pericfg CLK_PERI_I2C1>, <&pericfg CLK_PERI_AP_DMA>;
329 clocks = <&pericfg CLK_PERI_I2C2>, <&pericfg CLK_PERI_AP_DMA>;
[all …]
H A Dmt8135.dtsi140 pericfg: pericfg@10003000 { label
143 compatible = "mediatek,mt8135-pericfg", "syscon";
185 <&pericfg MT8135_PERI_PWRAP_BRIDGE_SW_RST>;
226 clocks = <&pericfg CLK_PERI_UART0_SEL>, <&pericfg CLK_PERI_UART0>;
235 clocks = <&pericfg CLK_PERI_UART1_SEL>, <&pericfg CLK_PERI_UART1>;
244 clocks = <&pericfg CLK_PERI_UART2_SEL>, <&pericfg CLK_PERI_UART2>;
253 clocks = <&pericfg CLK_PERI_UART3_SEL>, <&pericfg CLK_PERI_UART3>;
H A Dmt7623.dtsi243 pericfg: syscon@10003000 { label
244 compatible = "mediatek,mt7623-pericfg",
245 "mediatek,mt2701-pericfg",
370 clocks = <&pericfg CLK_PERI_AUXADC>;
380 clocks = <&pericfg CLK_PERI_UART0_SEL>,
381 <&pericfg CLK_PERI_UART0>;
391 clocks = <&pericfg CLK_PERI_UART1_SEL>,
392 <&pericfg CLK_PERI_UART1>;
402 clocks = <&pericfg CLK_PERI_UART2_SEL>,
403 <&pericfg CLK_PERI_UART2>;
[all …]
H A Dmt7629.dtsi87 pericfg: syscon@10002000 { label
88 compatible = "mediatek,mt7629-pericfg", "syscon";
216 <&pericfg CLK_PERI_UART0_PD>;
227 <&pericfg CLK_PERI_UART1_PD>;
238 <&pericfg CLK_PERI_UART2_PD>;
248 <&pericfg CLK_PERI_PWM_PD>,
249 <&pericfg CLK_PERI_PWM1_PD>;
264 clocks = <&pericfg CLK_PERI_I2C0_PD>,
265 <&pericfg CLK_PERI_AP_DMA_PD>;
283 <&pericfg CLK_PERI_SPI0_PD>;
[all …]
/openbmc/linux/Documentation/devicetree/bindings/net/
H A Dmediatek,star-emac.yaml45 mediatek,pericfg:
48 Phandle to the device containing the PERICFG register range. This is used
77 - mediatek,pericfg
90 mediatek,pericfg = <&pericfg>;
H A Dmediatek-dwmac.yaml70 mediatek,pericfg:
142 - mediatek,pericfg
166 clocks = <&pericfg CLK_PERI_GMAC>,
167 <&pericfg CLK_PERI_GMAC_PCLK>,
178 mediatek,pericfg = <&pericfg>;
H A Dmediatek-bluetooth.txt24 clocks = <&pericfg CLK_PERI_BTIF_PD>;
103 clocks = <&pericfg CLK_PERI_UART1_SEL>,
104 <&pericfg CLK_PERI_UART1>;
/openbmc/u-boot/arch/arm/dts/
H A Dmt7623.dtsi113 pericfg: syscon@10003000 { label
114 compatible = "mediatek,mt7623-pericfg", "syscon";
192 <&pericfg CLK_PERI_UART0>;
203 <&pericfg CLK_PERI_UART1>;
214 <&pericfg CLK_PERI_UART2>;
226 <&pericfg CLK_PERI_UART3>;
235 clocks = <&pericfg CLK_PERI_MSDC30_0>,
245 clocks = <&pericfg CLK_PERI_MSDC30_1>,
H A Dmt7629.dtsi74 pericfg: syscon@10002000 { label
75 compatible = "mediatek,mt7629-pericfg", "syscon";
184 <&pericfg CLK_PERI_UART0_PD>;
198 <&pericfg CLK_PERI_UART1_PD>;
211 <&pericfg CLK_PERI_UART2_PD>;
/openbmc/linux/Documentation/devicetree/bindings/thermal/
H A Dmediatek-thermal.txt44 clocks = <&pericfg CLK_PERI_THERM>, <&pericfg CLK_PERI_AUXADC>;
46 resets = <&pericfg MT8173_PERI_THERM_SW_RST>;
/openbmc/linux/Documentation/devicetree/bindings/usb/
H A Dmediatek,musb.yaml101 clocks = <&pericfg CLK_PERI_USB0>,
102 <&pericfg CLK_PERI_USB0_MCU>,
103 <&pericfg CLK_PERI_USB_SLV>;
/openbmc/linux/drivers/clk/mediatek/
H A Dclk-mt8173-pericfg.c107 { .compatible = "mediatek,mt8173-pericfg", .data = &peri_desc },
114 .name = "clk-mt8173-pericfg",
122 MODULE_DESCRIPTION("MediaTek MT8173 pericfg clocks driver");
H A Dclk-mt6795-pericfg.c89 { .compatible = "mediatek,mt6795-pericfg" },
152 .name = "clk-mt6795-pericfg",
160 MODULE_DESCRIPTION("MediaTek MT6795 pericfg clocks driver");
/openbmc/linux/Documentation/devicetree/bindings/spi/
H A Dmediatek,spi-mtk-nor.yaml88 clocks = <&pericfg CLK_PERI_SPI>, <&topckgen CLK_TOP_SPINFI_IFR_SEL>,
89 <&pericfg CLK_PERI_NFI>;
H A Dmediatek,spi-mtk-snfi.yaml110 clocks = <&pericfg CLK_PERI_NFI_PD>, <&pericfg CLK_PERI_SNFI_PD>;
/openbmc/linux/Documentation/devicetree/bindings/mtd/
H A Dmediatek,mtk-nfc.yaml122 clocks = <&pericfg CLK_PERI_NFI>,
123 <&pericfg CLK_PERI_NFI_PAD>;
/openbmc/linux/drivers/net/ethernet/mediatek/
H A Dmtk_star_emac.c256 struct regmap *pericfg; member
1564 priv->pericfg = syscon_regmap_lookup_by_phandle(of_node, in mtk_star_probe()
1565 "mediatek,pericfg"); in mtk_star_probe()
1566 if (IS_ERR(priv->pericfg)) { in mtk_star_probe()
1567 dev_err(dev, "Failed to lookup the PERICFG syscon\n"); in mtk_star_probe()
1568 return PTR_ERR(priv->pericfg); in mtk_star_probe()
1683 ret = regmap_update_bits(priv->pericfg, in mt8516_set_interface_mode()
1690 return regmap_update_bits(priv->pericfg, in mt8516_set_interface_mode()
1715 return regmap_update_bits(priv->pericfg, in mt8365_set_interface_mode()

123