summaryrefslogtreecommitdiff
path: root/target/linux/ramips/mt7688
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-10-19 10:07:38 +0000
committerJohn Crispin <john@openwrt.org>2015-10-19 10:07:38 +0000
commit51dd991d3957a33f102c9887da379263599c395f (patch)
treefb3e9fdd2edcc6c2f42a385f7196b28fd6370f3c /target/linux/ramips/mt7688
parentb792ea7ac045922ff287ed95c1a4d5961640f19f (diff)
downloadmtk-20170518-51dd991d3957a33f102c9887da379263599c395f.zip
mtk-20170518-51dd991d3957a33f102c9887da379263599c395f.tar.gz
mtk-20170518-51dd991d3957a33f102c9887da379263599c395f.tar.bz2
ramips: add LinkIt Smart7688 support
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47203
Diffstat (limited to 'target/linux/ramips/mt7688')
-rw-r--r--target/linux/ramips/mt7688/config-3.188
-rw-r--r--target/linux/ramips/mt7688/profiles/01-mediatek.mk12
2 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/ramips/mt7688/config-3.18 b/target/linux/ramips/mt7688/config-3.18
index b828b99..27eab9a 100644
--- a/target/linux/ramips/mt7688/config-3.18
+++ b/target/linux/ramips/mt7688/config-3.18
@@ -103,6 +103,7 @@ CONFIG_IRQ_FORCED_THREADING=y
CONFIG_IRQ_INTC=y
CONFIG_IRQ_WORK=y
CONFIG_LIBFDT=y
+CONFIG_LINKIT_BOOTSTRAP=y
CONFIG_MDIO_BOARDINFO=y
CONFIG_MIPS=y
CONFIG_MIPS_FPU_EMULATOR=y
@@ -149,6 +150,10 @@ CONFIG_PINCTRL=y
CONFIG_PINCTRL_RT2880=y
# CONFIG_PINCTRL_SINGLE is not set
# CONFIG_PREEMPT_RCU is not set
+CONFIG_PWM=y
+# CONFIG_PWM_FSL_FTM is not set
+CONFIG_PWM_MEDIATEK=y
+CONFIG_PWM_SYSFS=y
CONFIG_RALINK=y
# CONFIG_RALINK_WDT is not set
# CONFIG_RCU_STALL_COMMON is not set
@@ -165,10 +170,13 @@ CONFIG_SOC_MT7620=y
# CONFIG_SOC_RT288X is not set
# CONFIG_SOC_RT305X is not set
# CONFIG_SOC_RT3883 is not set
+# CONFIG_SND_MT76XX_SOC_MT7620 is not set
+CONFIG_SND_MT76XX_SOC_MT7628=y
CONFIG_SPI=y
CONFIG_SPI_MASTER=y
CONFIG_SPI_MT7621=y
# CONFIG_SPI_RT2880 is not set
+CONFIG_SPI_SPIDEV=y
CONFIG_SWCONFIG=y
CONFIG_SYS_HAS_CPU_MIPS32_R1=y
CONFIG_SYS_HAS_CPU_MIPS32_R2=y
diff --git a/target/linux/ramips/mt7688/profiles/01-mediatek.mk b/target/linux/ramips/mt7688/profiles/01-mediatek.mk
index 02190dd..0e24e06 100644
--- a/target/linux/ramips/mt7688/profiles/01-mediatek.mk
+++ b/target/linux/ramips/mt7688/profiles/01-mediatek.mk
@@ -16,3 +16,15 @@ define Profile/mt7688/Description
Default package set compatible with most boards.
endef
$(eval $(call Profile,mt7688))
+
+define Profile/LinkIt7688
+ NAME:=LinkIt7688
+ PACKAGES:=\
+ kmod-usb-core kmod-usb2 kmod-usb-ohci \
+ uboot-envtools kmod-ledtrig-netdev
+endef
+
+define Profile/LinkIt7688/Description
+ Default package set compatible with LinkIt Smart7688 dev board.
+endef
+$(eval $(call Profile,LinkIt7688))