aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-4.4/403-6358-enet1-external-mii-clk.patch
diff options
context:
space:
mode:
authorJonas Gorski <jonas.gorski@gmail.com>2017-02-01 12:58:22 +0100
committerJonas Gorski <jonas.gorski@gmail.com>2017-02-09 14:30:44 +0100
commit31d5c5bc90512cc9f06a9a916f9922782483acc3 (patch)
tree363a1dd84f92370ec54fa486c7b523b3f32775ab /target/linux/brcm63xx/patches-4.4/403-6358-enet1-external-mii-clk.patch
parentc7f31b280faccd20079aef34f3c0811dfa2e33b1 (diff)
downloadupstream-31d5c5bc90512cc9f06a9a916f9922782483acc3.tar.gz
upstream-31d5c5bc90512cc9f06a9a916f9922782483acc3.tar.bz2
upstream-31d5c5bc90512cc9f06a9a916f9922782483acc3.zip
brcm63xx: setup internal switch leds for bcm6368
Setup the GPIO_MODE register bits for used internal switch port leds. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Diffstat (limited to 'target/linux/brcm63xx/patches-4.4/403-6358-enet1-external-mii-clk.patch')
-rw-r--r--target/linux/brcm63xx/patches-4.4/403-6358-enet1-external-mii-clk.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm63xx/patches-4.4/403-6358-enet1-external-mii-clk.patch b/target/linux/brcm63xx/patches-4.4/403-6358-enet1-external-mii-clk.patch
index 9699cf3511..206fc3f179 100644
--- a/target/linux/brcm63xx/patches-4.4/403-6358-enet1-external-mii-clk.patch
+++ b/target/linux/brcm63xx/patches-4.4/403-6358-enet1-external-mii-clk.patch
@@ -8,7 +8,7 @@
+ val |= GPIO_MODE_6358_ENET1_MII_CLK_INV;
}
- bcm_gpio_writel(val, GPIO_MODE_REG);
+ if (BCMCPU_IS_6368() && board.has_enetsw) {
--- a/arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h
+++ b/arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h
@@ -651,6 +651,8 @@