ramips: sync official commit for D-Link DIR-810L and Netgear R6800

This commit is contained in:
AmadeusGhost 2020-03-07 23:08:06 +08:00
parent c9c313181f
commit a170c3156d
4 changed files with 16 additions and 8 deletions

View File

@ -59,7 +59,7 @@
m25p80@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
spi-max-frequency = <50000000>;
partitions {
compatible = "fixed-partitions";
@ -102,9 +102,9 @@
read-only;
};
partition@e0000 {
partition@f0000 {
label = "Jffs2";
reg = <0xe0000 0x80000>;
reg = <0xf0000 0x80000>;
read-only;
};

View File

@ -41,27 +41,27 @@
wlan2g {
gpios = <&gpio_expander 4 GPIO_ACTIVE_LOW>;
label = "r6800:white:wlan2g";
linux,default-trigger = "phy0tpt";
linux,default-trigger = "phy0radio";
};
wlan5g {
gpios = <&gpio_expander 5 GPIO_ACTIVE_LOW>;
label = "r6800:white:wlan5g";
linux,default-trigger = "phy1tpt";
linux,default-trigger = "phy1radio";
};
usb2 {
gpios = <&gpio_expander 6 GPIO_ACTIVE_LOW>;
label = "r6800:white:usb2";
linux,default-trigger = "usbport";
trigger-sources = <&hub_port2>;
trigger-sources = <&ehci_port2>;
};
usb3 {
gpios = <&gpio_expander 7 GPIO_ACTIVE_LOW>;
label = "r6800:white:usb3";
linux,default-trigger = "usbport";
trigger-sources = <&hub_port1>;
trigger-sources = <&xhci_ehci_port1>;
};
lan1_orange {
@ -115,3 +115,10 @@
};
};
};
&state_default {
gpio {
ralink,group = "uart3", "uart2", "jtag", "wdt";
ralink,function = "gpio";
};
};

View File

@ -629,7 +629,7 @@ define Device/netgear_r6800
SERCOMM_HWVER := A001
SERCOMM_SWVER := 0x0062
IMAGE_SIZE := 40960k
DEVICE_PACKAGES += kmod-mt7615e kmod-pinctrl-sx150x
DEVICE_PACKAGES += kmod-mt7615e
endef
TARGET_DEVICES += netgear_r6800

View File

@ -237,6 +237,7 @@ CONFIG_PHYLIB=y
CONFIG_PINCTRL=y
CONFIG_PINCTRL_RT2880=y
# CONFIG_PINCTRL_SINGLE is not set
CONFIG_PINCTRL_SX150X=y
CONFIG_POWER_RESET=y
CONFIG_POWER_RESET_GPIO=y
CONFIG_POWER_SUPPLY=y