aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/filogic
diff options
context:
space:
mode:
authorSam Shih <sam.shih@mediatek.com>2023-02-19 10:18:36 +0800
committerDaniel Golle <daniel@makrotopia.org>2023-05-24 19:26:52 +0100
commite458cfc214778fe081e20c1719f0da35fcfd9563 (patch)
tree60e0d18708b94f7b5ad6277b0b75a430686a9f91 /target/linux/mediatek/filogic
parent670dedbbd71056fa60666a6c5f7bd84ebcf6a2a1 (diff)
downloadupstream-e458cfc214778fe081e20c1719f0da35fcfd9563.tar.gz
upstream-e458cfc214778fe081e20c1719f0da35fcfd9563.tar.bz2
upstream-e458cfc214778fe081e20c1719f0da35fcfd9563.zip
mediatek: add basic mt7988 device tree support
This add basic device tree support for mediatek MT7988 SoC Signed-off-by: Sam Shih <sam.shih@mediatek.com> Signed-off-by: Daniel Golle <daniel@makrotopia.org> (cherry picked from commit e3a681bab4b2c193704e76b8a6091e57f0fab14e)
Diffstat (limited to 'target/linux/mediatek/filogic')
-rw-r--r--target/linux/mediatek/filogic/base-files/etc/board.d/02_network3
-rw-r--r--target/linux/mediatek/filogic/config-5.151
2 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/mediatek/filogic/base-files/etc/board.d/02_network b/target/linux/mediatek/filogic/base-files/etc/board.d/02_network
index 63f898a9cd..2fca00921b 100644
--- a/target/linux/mediatek/filogic/base-files/etc/board.d/02_network
+++ b/target/linux/mediatek/filogic/base-files/etc/board.d/02_network
@@ -26,6 +26,9 @@ mediatek_setup_interfaces()
mediatek,mt7986b-rfb)
ucidef_set_interfaces_lan_wan "lan0 lan1 lan2 lan3" eth1
;;
+ mediatek,mt7988a-dsa-10g-spim-snand)
+ ucidef_set_interfaces_lan_wan "lan0 lan1 lan2 lan3" "eth1 eth2"
+ ;;
tplink,tl-xdr4288|\
tplink,tl-xdr6088)
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4 lan5" eth1
diff --git a/target/linux/mediatek/filogic/config-5.15 b/target/linux/mediatek/filogic/config-5.15
index 3e6a1654f2..4cae8c50ac 100644
--- a/target/linux/mediatek/filogic/config-5.15
+++ b/target/linux/mediatek/filogic/config-5.15
@@ -360,6 +360,7 @@ CONFIG_REGULATOR_FIXED_VOLTAGE=y
CONFIG_REGULATOR_MT6380=y
CONFIG_REGULATOR_RT5190A=y
CONFIG_RESET_CONTROLLER=y
+CONFIG_RESET_TI_SYSCON=y
CONFIG_RFS_ACCEL=y
CONFIG_RODATA_FULL_DEFAULT_ENABLED=y
CONFIG_RPS=y