Skip to content

Commit 7a6ee0b

Browse files
arinc9gregkh
authored andcommitted
mips: dts: ralink: add MT7621 SoC
The MT7621 system-on-a-chip includes an 880 MHz MIPS1004Kc dual-core CPU, a 5-port 10/100/1000 switch/PHY and one RGMII. Add the devicetrees for GB-PC1 and GB-PC2 devices which use MT7621 SoC. Acked-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Acked-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com> Link: https://lore.kernel.org/r/20220315160149.3617-1-arinc.unal@arinc9.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 5aaec65 commit 7a6ee0b

File tree

11 files changed

+16
-24
lines changed

11 files changed

+16
-24
lines changed

MAINTAINERS

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16180,6 +16180,13 @@ L: linux-mips@vger.kernel.org
1618016180
S: Maintained
1618116181
F: arch/mips/ralink
1618216182

16183+
RALINK MT7621 MIPS ARCHITECTURE
16184+
M: Arınç ÜNAL <arinc.unal@arinc9.com>
16185+
M: Sergio Paracuellos <sergio.paracuellos@gmail.com>
16186+
L: linux-mips@vger.kernel.org
16187+
S: Maintained
16188+
F: arch/mips/boot/dts/ralink/mt7621*
16189+
1618316190
RALINK RT2X00 WIRELESS LAN DRIVER
1618416191
M: Stanislaw Gruszka <stf_xl@wp.pl>
1618516192
M: Helmut Schaa <helmut.schaa@googlemail.com>

arch/mips/boot/dts/ralink/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,8 @@ dtb-$(CONFIG_DTB_MT7620A_EVAL) += mt7620a_eval.dtb
66
dtb-$(CONFIG_DTB_OMEGA2P) += omega2p.dtb
77
dtb-$(CONFIG_DTB_VOCORE2) += vocore2.dtb
88

9+
dtb-$(CONFIG_SOC_MT7621) += \
10+
mt7621-gnubee-gb-pc1.dtb \
11+
mt7621-gnubee-gb-pc2.dtb
12+
913
obj-$(CONFIG_BUILTIN_DTB) += $(addsuffix .o, $(dtb-y))

arch/mips/ralink/Kconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,15 @@ choice
5454
select HAVE_PCI
5555
select PCI_DRIVERS_GENERIC
5656
select SOC_BUS
57+
58+
help
59+
The MT7621 system-on-a-chip includes an 880 MHz MIPS1004Kc dual-core CPU,
60+
a 5-port 10/100/1000 switch/PHY and one RGMII.
5761
endchoice
5862

5963
choice
6064
prompt "Devicetree selection"
65+
depends on !SOC_MT7621
6166
default DTB_RT_NONE
6267
help
6368
Select the devicetree.

drivers/staging/Kconfig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,6 @@ source "drivers/staging/vc04_services/Kconfig"
8080

8181
source "drivers/staging/pi433/Kconfig"
8282

83-
source "drivers/staging/mt7621-dts/Kconfig"
84-
8583
source "drivers/staging/axis-fifo/Kconfig"
8684

8785
source "drivers/staging/fieldbus/Kconfig"

drivers/staging/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ obj-$(CONFIG_KS7010) += ks7010/
3030
obj-$(CONFIG_GREYBUS) += greybus/
3131
obj-$(CONFIG_BCM2835_VCHIQ) += vc04_services/
3232
obj-$(CONFIG_PI433) += pi433/
33-
obj-$(CONFIG_SOC_MT7621) += mt7621-dts/
3433
obj-$(CONFIG_XIL_AXIS_FIFO) += axis-fifo/
3534
obj-$(CONFIG_FIELDBUS_DEV) += fieldbus/
3635
obj-$(CONFIG_QLGE) += qlge/

drivers/staging/mt7621-dts/Kconfig

Lines changed: 0 additions & 11 deletions
This file was deleted.

drivers/staging/mt7621-dts/Makefile

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)