forked from coolsnowwolf/lede
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update kernel 4.4/4.9 to the lastest version
- Loading branch information
1 parent
761ccf5
commit 03e969f
Showing
314 changed files
with
13,183 additions
and
885 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
target/linux/ar71xx/patches-4.9/433-spi-rb4xx-cpld-driver.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,15 +13,15 @@ Signed-off-by: Rafał Miłecki <[email protected]> | |
|
||
--- a/drivers/net/phy/b53/b53_common.c | ||
+++ b/drivers/net/phy/b53/b53_common.c | ||
@@ -27,6 +27,7 @@ | ||
@@ -28,6 +28,7 @@ | ||
#include <linux/of.h> | ||
#include <linux/of_net.h> | ||
#include <linux/platform_data/b53.h> | ||
+#include <linux/of.h> | ||
|
||
#include "b53_regs.h" | ||
#include "b53_priv.h" | ||
@@ -1578,6 +1579,28 @@ static int b53_switch_init(struct b53_de | ||
@@ -1579,6 +1580,28 @@ static int b53_switch_init(struct b53_de | ||
return ret; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -696,7 +696,7 @@ Signed-off-by: Noralf Trønnes <[email protected]> | |
} | ||
--- a/drivers/usb/core/hub.c | ||
+++ b/drivers/usb/core/hub.c | ||
@@ -5045,7 +5045,7 @@ static void port_event(struct usb_hub *h | ||
@@ -5054,7 +5054,7 @@ static void port_event(struct usb_hub *h | ||
if (portchange & USB_PORT_STAT_C_OVERCURRENT) { | ||
u16 status = 0, unused; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,7 +65,7 @@ Signed-off-by: Phil Elwell <[email protected]> | |
+__copy_from_user_std(void *to, const void __user *from, unsigned long n); | ||
+ | ||
static inline unsigned long __must_check | ||
__copy_from_user(void *to, const void __user *from, unsigned long n) | ||
__arch_copy_from_user(void *to, const void __user *from, unsigned long n) | ||
{ | ||
--- a/arch/arm/lib/Makefile | ||
+++ b/arch/arm/lib/Makefile | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,141 @@ | ||
/dts-v1/; | ||
|
||
#include "bcm6328.dtsi" | ||
|
||
#include <dt-bindings/input/input.h> | ||
|
||
/ { | ||
model = "Sercomm AD1018 (SPI flash mod)"; | ||
compatible = "sercomm,ad1018-nor", "brcm,bcm6328"; | ||
|
||
chosen { | ||
bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200"; | ||
stdout-path = "serial0:115200n8"; | ||
}; | ||
|
||
gpio-keys-polled { | ||
compatible = "gpio-keys-polled"; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
poll-interval = <20>; | ||
debounce-interval = <60>; | ||
|
||
wps { | ||
label = "wps"; | ||
gpios = <&pinctrl 24 1>; | ||
linux,code = <KEY_WPS_BUTTON>; | ||
}; | ||
wifi { | ||
label = "wifi"; | ||
gpios = <&pinctrl 25 1>; | ||
linux,code = <KEY_WLAN>; | ||
}; | ||
reset { | ||
label = "reset"; | ||
gpios = <&pinctrl 31 1>; | ||
linux,code = <KEY_RESTART>; | ||
}; | ||
}; | ||
|
||
}; | ||
|
||
&pinctrl { | ||
pinctrl_leds: leds { | ||
function = "led"; | ||
pins = "gpio0", "gpio1"; | ||
}; | ||
}; | ||
|
||
&leds { | ||
status = "ok"; | ||
|
||
pinctrl-names = "default"; | ||
pinctrl-0 = <&pinctrl_leds &pinctrl_serial_led | ||
&pinctrl_ephy0_spd_led &pinctrl_ephy1_act_led | ||
&pinctrl_ephy2_act_led &pinctrl_ephy3_act_led>; | ||
|
||
brcm,serial-leds; | ||
brcm,serial-shift-inv; | ||
brcm,serial-dat-low; | ||
|
||
inet_red@0 { | ||
reg = <0>; | ||
active-low; | ||
label = "AD1018:red:internet"; | ||
}; | ||
|
||
inet_green@1 { | ||
reg = <1>; | ||
active-low; | ||
label = "AD1018:green:internet"; | ||
}; | ||
|
||
power_green@8 { | ||
reg = <8>; | ||
active-low; | ||
label = "AD1018:green:power"; | ||
default-state = "on"; | ||
}; | ||
|
||
adsl_green@10 { | ||
reg = <10>; | ||
active-low; | ||
label = "AD1018:green:adsl"; | ||
}; | ||
|
||
adsl_red@11 { | ||
reg = <11>; | ||
active-low; | ||
label = "AD1018:red:adsl"; | ||
}; | ||
|
||
phone_green@12 { | ||
reg = <12>; | ||
active-low; | ||
label = "AD1018:green:phone"; | ||
}; | ||
|
||
wps_green@13 { | ||
reg = <13>; | ||
active-low; | ||
label = "AD1018:green:wps"; | ||
}; | ||
|
||
wifi_green@14 { | ||
reg = <14>; | ||
active-low; | ||
label = "AD1018:green:wifi"; | ||
}; | ||
|
||
usb_green@15 { | ||
reg = <15>; | ||
active-low; | ||
label = "AD1018:green:usb"; | ||
}; | ||
|
||
ephy0_spd@17 { | ||
reg = <17>; | ||
brcm,hardware-controlled; | ||
}; | ||
}; | ||
|
||
&hsspi { | ||
status = "ok"; | ||
|
||
flash@0 { | ||
compatible = "jedec,spi-nor"; | ||
spi-max-frequency = <16666667>; | ||
spi-tx-bus-width = <2>; | ||
spi-rx-bus-width = <2>; | ||
reg = <0>; | ||
|
||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
|
||
linux,part-probe = "bcm63xxpart"; | ||
}; | ||
}; | ||
|
||
&uart0 { | ||
status = "ok"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.