aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorRoman Yeryomin <roman@advem.lv>2018-05-01 21:33:17 +0300
committerJohn Crispin <john@phrozen.org>2018-05-05 06:57:00 +0200
commit2c35bcffd080abaf1262d0afd905b04ea8696829 (patch)
tree9870fe2c6df78735ba78bce3f0e29ac9c3530f50 /target
parentaf069fbd24f94d0374bb2fae483db98d36dcb44d (diff)
downloadupstream-2c35bcffd080abaf1262d0afd905b04ea8696829.tar.gz
upstream-2c35bcffd080abaf1262d0afd905b04ea8696829.tar.bz2
upstream-2c35bcffd080abaf1262d0afd905b04ea8696829.zip
gemini: add rtl8366rb to dir-685 board
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Diffstat (limited to 'target')
-rw-r--r--target/linux/gemini/image/Makefile3
-rw-r--r--target/linux/gemini/patches-4.14/0905-arm-dts-gemini-dlink-dir-685-add-rtl8366rb.patch15
2 files changed, 17 insertions, 1 deletions
diff --git a/target/linux/gemini/image/Makefile b/target/linux/gemini/image/Makefile
index 908045a2de..dca3b63b19 100644
--- a/target/linux/gemini/image/Makefile
+++ b/target/linux/gemini/image/Makefile
@@ -79,7 +79,8 @@ DIR685_CMDLINE:=-console=ttyS0,19200n8 root=/dev/sda1 rw rootwait
define Device/dlink-dir-685
DEVICE_TITLE := D-Link DIR-685 Xtreme N Storage Router
CMDLINE := $(DIR685_CMDLINE)
- DEVICE_PACKAGES := $(GEMINI_NAS_PACKAGES)
+ DEVICE_PACKAGES := $(GEMINI_NAS_PACKAGES) \
+ kmod-switch-rtl8366rb swconfig
endef
TARGET_DEVICES += dlink-dir-685
diff --git a/target/linux/gemini/patches-4.14/0905-arm-dts-gemini-dlink-dir-685-add-rtl8366rb.patch b/target/linux/gemini/patches-4.14/0905-arm-dts-gemini-dlink-dir-685-add-rtl8366rb.patch
new file mode 100644
index 0000000000..42501225be
--- /dev/null
+++ b/target/linux/gemini/patches-4.14/0905-arm-dts-gemini-dlink-dir-685-add-rtl8366rb.patch
@@ -0,0 +1,15 @@
+--- a/arch/arm/boot/dts/gemini-dlink-dir-685.dts
++++ b/arch/arm/boot/dts/gemini-dlink-dir-685.dts
+@@ -86,6 +86,12 @@
+ };
+ };
+
++ rtl8366rb {
++ compatible = "realtek,rtl8366rb";
++ gpio-sda = <&gpio0 22 GPIO_ACTIVE_HIGH>;
++ gpio-sck = <&gpio0 21 GPIO_ACTIVE_HIGH>;
++ };
++
+ leds {
+ compatible = "gpio-leds";
+ led-wps {