xref: /plan9/sys/src/9/rb/words (revision f43f8ee646e2cb29aea7fd7bb5fc7318a3f4921f)
1mikrotik rb450g routerboard
2
3atheros ar7161 cpu: mips 24Kc v3.5 rev 0: 30 dec 2005,
4	big-endian, 32-bit only, 8- or 9-stage pipeline; 8kb cache
5	option, but no l2 support, no relocatable reset exception
6	vector, no UserLocal register, no wait with interrupts
7	disabled, no errata fixes.
8no fpu
9256mb dram
10mmu 16 tlbs
11l1 i-cache 4 ways, 512 sets, 32 bytes per line = 64K
12l1 d-cache 4 ways, 256 sets, 32 bytes per line = 32k
13config1: 0x9ee3519e
14config2: 0x80000000 (no l2 cache)
15config3: 0x20	(VInt: vectored interrupts available)
16config7: 0	(wait instruction not interruptible)
17cause:	0x50008018 (original interrupt behaviour)
18intctl: 0	(original interrupt behaviour)
19srsctl, srsmap are 0
20perf ctl 0: 0x80000000
21perf ctl 1: 0x0
22ll/sc target memory must be cached.
23
241 uart		8250 (actually 16550ish)
252 ethers	arge[01] ar71xx, 2nd has 4 ports & a bridge
26pci bus(es)
27no video
28no disk but has flash, alas
29
30addresses
31
32devices; access by KSEG1|addr
330x10000000	pci memory space
340x18020000	uart 16550 in apb space
350x19000000	ether arge1, phy0-3
360x1a000000	ether arge0, phy4
370x1b000000	ehci
380x1c000000	ochi
390x1f000000	spi
40
410x80060000	virtual start addr (linux)
420xbfc00000	prom
43
44irqs
452	pci
463	ehci
474	arge1 ar71xx @ 0x19:: + ar8316 switch
485	arge0 ar71xx @ 0x1a::
496	uart
507	clock
51
52apb intrs
530	timer
541	error
552	gpio
563	uart
574	watchdog
585	hwpmc
596	ohci
607	dma
61
62for previous mips assembler code, see
63	/1998/0101/sys/src/boot/carrera
64	/1998/0101/sys/src/brazil/carrera
65	/2000/0615/sys/src/9/carrera
66	/n/fornaxdump/1997/1201/sys/src/brazil/magnum
67
68for ether, see
69	/o/bsd/free/sys/mips/atheros/if_arge.c
70	/o/bsd/free/sys/mips/atheros/if_argevar.h
71	/o/bsd/free/sys/mips/atheros/ar71xxreg.h
72	/o/bsd/free/sys/dev/etherswitch/*
73	/o/openwrt/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx
74