diff options
author | Jonas Gorski <jogo@openwrt.org> | 2015-03-30 20:21:01 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2015-03-30 20:21:01 +0000 |
commit | 7253835d7c06db7cf5661446b576da0ecb458cab (patch) | |
tree | d7290e0d0fcdb84e7639ef6bf37b2f10478cb56b /target/linux/brcm63xx/patches-3.18/559-board_vw6339gu.patch | |
parent | 578883791e9dd98e5ea4f99823447d676c1d6d92 (diff) | |
download | master-187ad058-7253835d7c06db7cf5661446b576da0ecb458cab.tar.gz master-187ad058-7253835d7c06db7cf5661446b576da0ecb458cab.tar.bz2 master-187ad058-7253835d7c06db7cf5661446b576da0ecb458cab.zip |
brcm63xx: move VG50 to DT
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45166 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/patches-3.18/559-board_vw6339gu.patch')
-rw-r--r-- | target/linux/brcm63xx/patches-3.18/559-board_vw6339gu.patch | 67 |
1 files changed, 10 insertions, 57 deletions
diff --git a/target/linux/brcm63xx/patches-3.18/559-board_vw6339gu.patch b/target/linux/brcm63xx/patches-3.18/559-board_vw6339gu.patch index 2b70a99bdf..51c4b68d2c 100644 --- a/target/linux/brcm63xx/patches-3.18/559-board_vw6339gu.patch +++ b/target/linux/brcm63xx/patches-3.18/559-board_vw6339gu.patch @@ -1,6 +1,6 @@ --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c -@@ -1864,6 +1864,108 @@ static struct board_info __initdata boar +@@ -1864,6 +1864,53 @@ static struct board_info __initdata boar }, }, }; @@ -50,66 +50,11 @@ + }, + }, + }, -+ -+ .leds = { -+ { -+ .name = "VW6339GU:green:power", -+ .gpio = 1, -+ .active_low = 1, -+ }, -+ { -+ .name = "VW6339GU:red:power", -+ .gpio = 0, -+ .active_low = 1, -+ }, -+ { -+ .name = "VW6339GU:green:internet", -+ .gpio = 8, -+ .active_low = 1, -+ }, -+ { -+ .name = "VW6339GU:red:internet", -+ .gpio = 2, -+ .active_low = 1, -+ }, -+ { -+ .name = "VW6339GU:green:dsl", -+ .gpio = 3, -+ .active_low = 1, -+ }, -+ { -+ .name = "VW6339GU:green:wps", -+ .gpio = 7, -+ .active_low = 1, -+ }, -+ { -+ .name = "VW6339GU:green:usb", -+ .gpio = 15, -+ .active_low = 1, -+ }, -+ }, -+ -+ .buttons = { -+ { -+ .desc = "reset", -+ .gpio = 32, -+ .type = EV_KEY, -+ .code = KEY_RESTART, -+ .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL, -+ }, -+ { -+ .desc = "wps", -+ .gpio = 34, -+ .type = EV_KEY, -+ .code = KEY_WPS_BUTTON, -+ .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL, -+ }, -+ }, +}; #endif /* CONFIG_BCM63XX_CPU_63268 */ /* -@@ -1950,6 +2052,7 @@ static const struct board_info __initcon +@@ -1950,6 +1997,7 @@ static const struct board_info __initcon #endif #ifdef CONFIG_BCM63XX_CPU_63268 &board_963269bhr, @@ -117,3 +62,11 @@ #endif }; +@@ -2035,6 +2083,7 @@ static struct of_device_id const bcm963x + { .compatible = "brcm,bcm96368mvwg", .data = &board_96368mvwg, }, + #endif + #ifdef CONFIG_BCM63XX_CPU_63268 ++ { .compatible = "inteno,vg50", .data = &board_vw6339gu, }, + #endif + #endif /* CONFIG_OF */ + { }, |