/openbmc/linux/Documentation/devicetree/bindings/arm/mediatek/ |
H A D | mediatek,pericfg.yaml | 4 $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 D | mediatek,mt8192-sys-clock.yaml | 22 - mediatek,mt8192-pericfg 57 pericfg: syscon@10003000 { 58 compatible = "mediatek,mt8192-pericfg", "syscon";
|
/openbmc/linux/Documentation/devicetree/bindings/pwm/ |
H A D | mediatek,mt2712-pwm.yaml | 85 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 D | mt2712e.dtsi | 259 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 D | mt6795.dtsi | 263 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 D | mt7622.dtsi | 233 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 D | mt8173.dtsi | 362 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 D | mt8516.dtsi | 194 pericfg: pericfg@10003050 { label 195 compatible = "mediatek,mt8516-pericfg", "syscon"; 433 mediatek,pericfg = <&pericfg>;
|
/openbmc/linux/arch/arm/boot/dts/mediatek/ |
H A D | mt2701.dtsi | 139 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 D | mt8135.dtsi | 140 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 D | mt7623.dtsi | 243 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 D | mt7629.dtsi | 87 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 D | mediatek,star-emac.yaml | 45 mediatek,pericfg: 48 Phandle to the device containing the PERICFG register range. This is used 77 - mediatek,pericfg 90 mediatek,pericfg = <&pericfg>;
|
H A D | mediatek-dwmac.yaml | 70 mediatek,pericfg: 142 - mediatek,pericfg 166 clocks = <&pericfg CLK_PERI_GMAC>, 167 <&pericfg CLK_PERI_GMAC_PCLK>, 178 mediatek,pericfg = <&pericfg>;
|
H A D | mediatek-bluetooth.txt | 24 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 D | mt7623.dtsi | 113 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 D | mt7629.dtsi | 74 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 D | mediatek-thermal.txt | 44 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 D | mediatek,musb.yaml | 101 clocks = <&pericfg CLK_PERI_USB0>, 102 <&pericfg CLK_PERI_USB0_MCU>, 103 <&pericfg CLK_PERI_USB_SLV>;
|
/openbmc/linux/drivers/clk/mediatek/ |
H A D | clk-mt8173-pericfg.c | 107 { .compatible = "mediatek,mt8173-pericfg", .data = &peri_desc }, 114 .name = "clk-mt8173-pericfg", 122 MODULE_DESCRIPTION("MediaTek MT8173 pericfg clocks driver");
|
H A D | clk-mt6795-pericfg.c | 89 { .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 D | mediatek,spi-mtk-nor.yaml | 88 clocks = <&pericfg CLK_PERI_SPI>, <&topckgen CLK_TOP_SPINFI_IFR_SEL>, 89 <&pericfg CLK_PERI_NFI>;
|
H A D | mediatek,spi-mtk-snfi.yaml | 110 clocks = <&pericfg CLK_PERI_NFI_PD>, <&pericfg CLK_PERI_SNFI_PD>;
|
/openbmc/linux/Documentation/devicetree/bindings/mtd/ |
H A D | mediatek,mtk-nfc.yaml | 122 clocks = <&pericfg CLK_PERI_NFI>, 123 <&pericfg CLK_PERI_NFI_PAD>;
|
/openbmc/linux/drivers/net/ethernet/mediatek/ |
H A D | mtk_star_emac.c | 256 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()
|