mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 08:00:52 +07:00
MIPS: BCM63XX: provide enet clocks as "enet" to the ethernet devices
Add lookups to provide the appropriate enetX clocks as just "enet" to the ethernet devices. Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Rob Herring <robh+dt@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Kevin Cernekee <cernekee@gmail.com> Cc: Russell King <linux@armlinux.org.uk> Cc: linux-mips@linux-mips.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-serial@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: bcm-kernel-feedback-list@broadcom.com Patchwork: https://patchwork.linux-mips.org/patch/17331/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: James Hogan <jhogan@kernel.org>
This commit is contained in:
parent
5d691036cb
commit
ef42351595
@ -377,6 +377,8 @@ static struct clk_lookup bcm3368_clks[] = {
|
|||||||
CLKDEV_INIT(NULL, "usbd", &clk_usbd),
|
CLKDEV_INIT(NULL, "usbd", &clk_usbd),
|
||||||
CLKDEV_INIT(NULL, "spi", &clk_spi),
|
CLKDEV_INIT(NULL, "spi", &clk_spi),
|
||||||
CLKDEV_INIT(NULL, "pcm", &clk_pcm),
|
CLKDEV_INIT(NULL, "pcm", &clk_pcm),
|
||||||
|
CLKDEV_INIT("bcm63xx_enet.0", "enet", &clk_enet0),
|
||||||
|
CLKDEV_INIT("bcm63xx_enet.1", "enet", &clk_enet1),
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct clk_lookup bcm6328_clks[] = {
|
static struct clk_lookup bcm6328_clks[] = {
|
||||||
@ -404,6 +406,7 @@ static struct clk_lookup bcm6338_clks[] = {
|
|||||||
CLKDEV_INIT(NULL, "usbh", &clk_usbh),
|
CLKDEV_INIT(NULL, "usbh", &clk_usbh),
|
||||||
CLKDEV_INIT(NULL, "usbd", &clk_usbd),
|
CLKDEV_INIT(NULL, "usbd", &clk_usbd),
|
||||||
CLKDEV_INIT(NULL, "spi", &clk_spi),
|
CLKDEV_INIT(NULL, "spi", &clk_spi),
|
||||||
|
CLKDEV_INIT("bcm63xx_enet.0", "enet", &clk_enet_misc),
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct clk_lookup bcm6345_clks[] = {
|
static struct clk_lookup bcm6345_clks[] = {
|
||||||
@ -417,6 +420,7 @@ static struct clk_lookup bcm6345_clks[] = {
|
|||||||
CLKDEV_INIT(NULL, "usbh", &clk_usbh),
|
CLKDEV_INIT(NULL, "usbh", &clk_usbh),
|
||||||
CLKDEV_INIT(NULL, "usbd", &clk_usbd),
|
CLKDEV_INIT(NULL, "usbd", &clk_usbd),
|
||||||
CLKDEV_INIT(NULL, "spi", &clk_spi),
|
CLKDEV_INIT(NULL, "spi", &clk_spi),
|
||||||
|
CLKDEV_INIT("bcm63xx_enet.0", "enet", &clk_enet_misc),
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct clk_lookup bcm6348_clks[] = {
|
static struct clk_lookup bcm6348_clks[] = {
|
||||||
@ -430,6 +434,8 @@ static struct clk_lookup bcm6348_clks[] = {
|
|||||||
CLKDEV_INIT(NULL, "usbh", &clk_usbh),
|
CLKDEV_INIT(NULL, "usbh", &clk_usbh),
|
||||||
CLKDEV_INIT(NULL, "usbd", &clk_usbd),
|
CLKDEV_INIT(NULL, "usbd", &clk_usbd),
|
||||||
CLKDEV_INIT(NULL, "spi", &clk_spi),
|
CLKDEV_INIT(NULL, "spi", &clk_spi),
|
||||||
|
CLKDEV_INIT("bcm63xx_enet.0", "enet", &clk_enet_misc),
|
||||||
|
CLKDEV_INIT("bcm63xx_enet.1", "enet", &clk_enet_misc),
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct clk_lookup bcm6358_clks[] = {
|
static struct clk_lookup bcm6358_clks[] = {
|
||||||
@ -445,6 +451,8 @@ static struct clk_lookup bcm6358_clks[] = {
|
|||||||
CLKDEV_INIT(NULL, "usbd", &clk_usbd),
|
CLKDEV_INIT(NULL, "usbd", &clk_usbd),
|
||||||
CLKDEV_INIT(NULL, "spi", &clk_spi),
|
CLKDEV_INIT(NULL, "spi", &clk_spi),
|
||||||
CLKDEV_INIT(NULL, "pcm", &clk_pcm),
|
CLKDEV_INIT(NULL, "pcm", &clk_pcm),
|
||||||
|
CLKDEV_INIT("bcm63xx_enet.0", "enet", &clk_enet0),
|
||||||
|
CLKDEV_INIT("bcm63xx_enet.1", "enet", &clk_enet1),
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct clk_lookup bcm6362_clks[] = {
|
static struct clk_lookup bcm6362_clks[] = {
|
||||||
|
Loading…
Reference in New Issue
Block a user