]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/clk/mvebu/armada-37xx-periph.c
clk: mvebu: armada-37xx-periph: add PCIe gated clock
[linux.git] / drivers / clk / mvebu / armada-37xx-periph.c
index 5fc6d486a3812de5ac1b7c65feb9d00b57149951..d9d84299da46528473532e4eadc2310758a724fb 100644 (file)
@@ -303,6 +303,7 @@ PERIPH_CLK_GATE_DIV(gbe_bm, 12, DIV_SEL1, 0, clk_table1);
 PERIPH_CLK_FULL_DD(sdio, 11, 14, DIV_SEL0, DIV_SEL0, 3, 6);
 PERIPH_CLK_FULL_DD(usb32_usb2_sys, 16, 16, DIV_SEL0, DIV_SEL0, 9, 12);
 PERIPH_CLK_FULL_DD(usb32_ss_sys, 17, 18, DIV_SEL0, DIV_SEL0, 15, 18);
+static PERIPH_GATE(pcie, 14);
 
 static struct clk_periph_data data_sb[] = {
        REF_CLK_MUX_DD(gbe_50),
@@ -318,6 +319,7 @@ static struct clk_periph_data data_sb[] = {
        REF_CLK_FULL_DD(sdio),
        REF_CLK_FULL_DD(usb32_usb2_sys),
        REF_CLK_FULL_DD(usb32_ss_sys),
+       REF_CLK_GATE(pcie, "gbe_core"),
        { },
 };