Skip to content

Instantly share code, notes, and snippets.

@jdub
Created February 21, 2015 13:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jdub/41df2500c4f66fbf8dae to your computer and use it in GitHub Desktop.
Save jdub/41df2500c4f66fbf8dae to your computer and use it in GitHub Desktop.
--- linux-3.18.7.orig/arch/mips/bcm63xx/boards/board_bcm963xx.c 2015-02-11 18:01:12.000000000 +1100
+++ linux-3.18.7/arch/mips/bcm63xx/boards/board_bcm963xx.c 2015-02-22 00:00:44.064301765 +1100
@@ -115,6 +115,48 @@
},
},
};
+
+static struct board_info __initdata board_963281tavng = {
+ .name = "963281tavng",
+ .expected_cpu_id = "0x6328",
+
+ .has_uart0 = 1,
+ .has_pci = 1,
+
+ .leds = {
+ {
+ .name = "963281tavng::internet-fail", // WAN Error
+ .gpio = 1,
+ },
+ {
+ .name = "963281tavng::power-fail",
+ .gpio = 4,
+ },
+ {
+ .name = "963281tavng::internet", // WAN Data
+ .gpio = 7,
+ },
+ {
+ .name = "963281tavng::power",
+ .gpio = 8,
+ .default_trigger = "default-on",
+ },
+ {
+ .name = "963281tavng::wps",
+ .gpio = 9,
+ .active_low = 1,
+ },
+ {
+ .name = "963281tavng::adsl", // ADSL
+ .gpio = 11,
+ .active_low = 1,
+ },
+ {
+ .name = "963281tavng::adsl-fail", // ADSL Fail
+ .gpio = 11,
+ },
+ },
+};
#endif
/*
@@ -681,6 +723,7 @@
#endif
#ifdef CONFIG_BCM63XX_CPU_6328
&board_96328avng,
+ &board_963281tavng,
#endif
#ifdef CONFIG_BCM63XX_CPU_6338
&board_96338gw,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment