aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-4.1/528-board_nb6.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/brcm63xx/patches-4.1/528-board_nb6.patch')
-rw-r--r--target/linux/brcm63xx/patches-4.1/528-board_nb6.patch18
1 files changed, 9 insertions, 9 deletions
diff --git a/target/linux/brcm63xx/patches-4.1/528-board_nb6.patch b/target/linux/brcm63xx/patches-4.1/528-board_nb6.patch
index 173c2d26fd..8b491084c3 100644
--- a/target/linux/brcm63xx/patches-4.1/528-board_nb6.patch
+++ b/target/linux/brcm63xx/patches-4.1/528-board_nb6.patch
@@ -1,17 +1,17 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -12,6 +12,8 @@
+@@ -10,6 +10,8 @@
+ #include <linux/init.h>
+ #include <linux/kernel.h>
#include <linux/string.h>
- #include <linux/gpio_keys.h>
- #include <linux/input.h>
+#include <linux/platform_device.h>
+#include <linux/rtl8367.h>
#include <asm/addrspace.h>
#include <bcm63xx_board.h>
#include <bcm63xx_cpu.h>
-@@ -31,6 +33,9 @@
- #define BCM963XX_KEYS_POLL_INTERVAL 20
- #define BCM963XX_KEYS_DEBOUNCE_INTERVAL (BCM963XX_KEYS_POLL_INTERVAL * 3)
+@@ -26,6 +28,9 @@
+
+ #define HCS_OFFSET_128K 0x20000
+#define NB6_GPIO_RTL8367_SDA 18
+#define NB6_GPIO_RTL8367_SCK 20
@@ -19,7 +19,7 @@
/*
* known 3368 boards
*/
-@@ -1318,6 +1323,69 @@ static struct board_info __initdata boar
+@@ -1313,6 +1318,69 @@ static struct board_info __initdata boar
};
#endif /* CONFIG_BCM63XX_CPU_6358 */
@@ -89,7 +89,7 @@
/*
* known 6368 boards
*/
-@@ -1469,6 +1537,10 @@ static const struct board_info __initcon
+@@ -1464,6 +1532,10 @@ static const struct board_info __initcon
&board_DVAG3810BN,
#endif
@@ -100,7 +100,7 @@
#ifdef CONFIG_BCM63XX_CPU_6368
&board_96368mvwg,
&board_96368mvngr,
-@@ -1537,6 +1609,9 @@ static struct of_device_id const bcm963x
+@@ -1532,6 +1604,9 @@ static struct of_device_id const bcm963x
{ .compatible = "t-com,spw303v", .data = &board_spw303v, },
{ .compatible = "telsey,cpva642", .data = &board_CPVA642, },
#endif