diff options
author | Daniel González Cabanelas <dgcbueu@gmail.com> | 2022-12-19 15:21:28 +0100 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2023-03-04 20:07:33 +0100 |
commit | e55b4b436ee010da27bb9ded28975fe00e7475ff (patch) | |
tree | 2cc85b8c115f19340ff3a1c529640c4b6877c72a /target/linux/bcm63xx/patches-5.15/430-MIPS-BCM63XX-add-nand-clocks.patch | |
parent | 55117c35808f130f7ca05aee10ab0eb5d07eaafa (diff) | |
download | upstream-e55b4b436ee010da27bb9ded28975fe00e7475ff.tar.gz upstream-e55b4b436ee010da27bb9ded28975fe00e7475ff.tar.bz2 upstream-e55b4b436ee010da27bb9ded28975fe00e7475ff.zip |
bcm63xx: kernel: fix up bcm63268 roboswitch gpio registers
Some BCM63268 bootloaders may leave gpio registers, related to the
roboswitch, disabled before loading the OpenWrt firmware. As result of
this the switch won't work.
These registers, if not enabled, probably avoid forwarding packets.
Signed-off-by: Daniel González Cabanelas <dgcbueu@gmail.com>
Diffstat (limited to 'target/linux/bcm63xx/patches-5.15/430-MIPS-BCM63XX-add-nand-clocks.patch')
-rw-r--r-- | target/linux/bcm63xx/patches-5.15/430-MIPS-BCM63XX-add-nand-clocks.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/bcm63xx/patches-5.15/430-MIPS-BCM63XX-add-nand-clocks.patch b/target/linux/bcm63xx/patches-5.15/430-MIPS-BCM63XX-add-nand-clocks.patch index b5979ff248..4106aa0ded 100644 --- a/target/linux/bcm63xx/patches-5.15/430-MIPS-BCM63XX-add-nand-clocks.patch +++ b/target/linux/bcm63xx/patches-5.15/430-MIPS-BCM63XX-add-nand-clocks.patch @@ -1,6 +1,6 @@ --- a/arch/mips/bcm63xx/clk.c +++ b/arch/mips/bcm63xx/clk.c -@@ -430,6 +430,23 @@ static struct clk clk_pcie = { +@@ -444,6 +444,23 @@ static struct clk clk_pcie = { }; /* @@ -24,7 +24,7 @@ * Internal peripheral clock */ static struct clk clk_periph = { -@@ -626,6 +643,7 @@ static struct clk_lookup bcm6362_clks[] +@@ -640,6 +657,7 @@ static struct clk_lookup bcm6362_clks[] CLKDEV_INIT("bcm63xx-hsspi.0", "pll", &clk_hsspi_pll), CLKDEV_INIT("10001000.spi", "pll", &clk_hsspi_pll), /* gated clocks */ @@ -32,7 +32,7 @@ CLKDEV_INIT(NULL, "enetsw", &clk_enetsw), CLKDEV_INIT(NULL, "usbh", &clk_usbh), CLKDEV_INIT(NULL, "usbd", &clk_usbd), -@@ -643,6 +661,7 @@ static struct clk_lookup bcm6368_clks[] +@@ -657,6 +675,7 @@ static struct clk_lookup bcm6368_clks[] CLKDEV_INIT("10000100.serial", "refclk", &clk_periph), CLKDEV_INIT("10000120.serial", "refclk", &clk_periph), /* gated clocks */ @@ -40,7 +40,7 @@ CLKDEV_INIT(NULL, "enetsw", &clk_enetsw), CLKDEV_INIT(NULL, "usbh", &clk_usbh), CLKDEV_INIT(NULL, "usbd", &clk_usbd), -@@ -661,6 +680,7 @@ static struct clk_lookup bcm63268_clks[] +@@ -675,6 +694,7 @@ static struct clk_lookup bcm63268_clks[] CLKDEV_INIT("bcm63xx-hsspi.0", "pll", &clk_hsspi_pll), CLKDEV_INIT("10001000.spi", "pll", &clk_hsspi_pll), /* gated clocks */ |