linux/drivers/clk/mediatek/clk-mt7988-eth.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (c) 2023 MediaTek Inc.
 * Author: Sam Shih <[email protected]>
 * Author: Xiufeng Li <[email protected]>
 */

#include <linux/clk-provider.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/of_device.h>
#include <linux/platform_device.h>
#include "clk-mtk.h"
#include "clk-gate.h"
#include "reset.h"
#include <dt-bindings/clock/mediatek,mt7988-clk.h>
#include <dt-bindings/reset/mediatek,mt7988-resets.h>

static const struct mtk_gate_regs ethdma_cg_regs =;

#define GATE_ETHDMA(_id, _name, _parent, _shift)

static const struct mtk_gate ethdma_clks[] =;

static const struct mtk_clk_desc ethdma_desc =;

static const struct mtk_gate_regs sgmii_cg_regs =;

#define GATE_SGMII(_id, _name, _parent, _shift)

static const struct mtk_gate sgmii0_clks[] =;

static const struct mtk_clk_desc sgmii0_desc =;

static const struct mtk_gate sgmii1_clks[] =;

static const struct mtk_clk_desc sgmii1_desc =;

static const struct mtk_gate_regs ethwarp_cg_regs =;

#define GATE_ETHWARP(_id, _name, _parent, _shift)

static const struct mtk_gate ethwarp_clks[] =;

static u16 ethwarp_rst_ofs[] =;

static u16 ethwarp_idx_map[] =;

static const struct mtk_clk_rst_desc ethwarp_rst_desc =;

static const struct mtk_clk_desc ethwarp_desc =;

static const struct of_device_id of_match_clk_mt7988_eth[] =;
MODULE_DEVICE_TABLE(of, of_match_clk_mt7988_eth);

static struct platform_driver clk_mt7988_eth_drv =;
module_platform_driver();

MODULE_DESCRIPTION();
MODULE_LICENSE();