head 1.18; access; symbols netbsd-10-2-RELEASE:1.18 netbsd-9-5-RELEASE:1.18 netbsd-11-0-RELEASE:1.18 netbsd-11-0-RC7:1.18 netbsd-11-0-RC6:1.18 netbsd-11-0-RC5:1.18 netbsd-11-0-RC4:1.18 netbsd-11-0-RC3:1.18 netbsd-11-0-RC2:1.18 netbsd-11-0-RC1:1.18 perseant-exfatfs-base-20250801:1.18 netbsd-11:1.18.0.54 netbsd-11-base:1.18 netbsd-10-1-RELEASE:1.18 perseant-exfatfs-base-20240630:1.18 perseant-exfatfs:1.18.0.52 perseant-exfatfs-base:1.18 netbsd-8-3-RELEASE:1.18 netbsd-9-4-RELEASE:1.18 netbsd-10-0-RELEASE:1.18 netbsd-10-0-RC6:1.18 netbsd-10-0-RC5:1.18 netbsd-10-0-RC4:1.18 netbsd-10-0-RC3:1.18 netbsd-10-0-RC2:1.18 thorpej-ifq:1.18.0.50 thorpej-ifq-base:1.18 thorpej-altq-separation:1.18.0.48 thorpej-altq-separation-base:1.18 netbsd-10-0-RC1:1.18 netbsd-10:1.18.0.46 netbsd-10-base:1.18 bouyer-sunxi-drm:1.18.0.44 bouyer-sunxi-drm-base:1.18 netbsd-9-3-RELEASE:1.18 thorpej-i2c-spi-conf2:1.18.0.42 thorpej-i2c-spi-conf2-base:1.18 thorpej-futex2:1.18.0.40 thorpej-futex2-base:1.18 thorpej-cfargs2:1.18.0.38 thorpej-cfargs2-base:1.18 cjep_sun2x-base1:1.18 cjep_sun2x:1.18.0.36 cjep_sun2x-base:1.18 cjep_staticlib_x-base1:1.18 netbsd-9-2-RELEASE:1.18 cjep_staticlib_x:1.18.0.34 cjep_staticlib_x-base:1.18 thorpej-i2c-spi-conf:1.18.0.32 thorpej-i2c-spi-conf-base:1.18 thorpej-cfargs:1.18.0.30 thorpej-cfargs-base:1.18 thorpej-futex:1.18.0.28 thorpej-futex-base:1.18 netbsd-9-1-RELEASE:1.18 bouyer-xenpvh-base2:1.18 phil-wifi-20200421:1.18 bouyer-xenpvh-base1:1.18 phil-wifi-20200411:1.18 bouyer-xenpvh:1.18.0.26 bouyer-xenpvh-base:1.18 is-mlppp:1.18.0.24 is-mlppp-base:1.18 phil-wifi-20200406:1.18 netbsd-8-2-RELEASE:1.18 ad-namecache-base3:1.18 netbsd-9-0-RELEASE:1.18 netbsd-9-0-RC2:1.18 ad-namecache-base2:1.18 ad-namecache-base1:1.18 ad-namecache:1.18.0.22 ad-namecache-base:1.18 netbsd-9-0-RC1:1.18 phil-wifi-20191119:1.18 netbsd-9:1.18.0.20 netbsd-9-base:1.18 phil-wifi-20190609:1.18 netbsd-8-1-RELEASE:1.18 netbsd-8-1-RC1:1.18 isaki-audio2:1.18.0.18 isaki-audio2-base:1.18 pgoyette-compat-merge-20190127:1.18 pgoyette-compat-20190127:1.18 pgoyette-compat-20190118:1.18 pgoyette-compat-1226:1.18 pgoyette-compat-1126:1.18 pgoyette-compat-1020:1.18 pgoyette-compat-0930:1.18 pgoyette-compat-0906:1.18 netbsd-7-2-RELEASE:1.13 pgoyette-compat-0728:1.18 netbsd-8-0-RELEASE:1.18 phil-wifi:1.18.0.16 phil-wifi-base:1.18 pgoyette-compat-0625:1.18 netbsd-8-0-RC2:1.18 pgoyette-compat-0521:1.18 pgoyette-compat-0502:1.18 pgoyette-compat-0422:1.18 netbsd-8-0-RC1:1.18 pgoyette-compat-0415:1.18 pgoyette-compat-0407:1.18 pgoyette-compat-0330:1.18 pgoyette-compat-0322:1.18 pgoyette-compat-0315:1.18 netbsd-7-1-2-RELEASE:1.13 pgoyette-compat:1.18.0.14 pgoyette-compat-base:1.18 netbsd-7-1-1-RELEASE:1.13 tls-maxphys-base-20171202:1.18 matt-nb8-mediatek:1.18.0.12 matt-nb8-mediatek-base:1.18 nick-nhusb-base-20170825:1.18 perseant-stdc-iso10646:1.18.0.10 perseant-stdc-iso10646-base:1.18 netbsd-8:1.18.0.8 netbsd-8-base:1.18 prg-localcount2-base3:1.18 prg-localcount2-base2:1.18 prg-localcount2-base1:1.18 prg-localcount2:1.18.0.6 prg-localcount2-base:1.18 pgoyette-localcount-20170426:1.18 bouyer-socketcan-base1:1.18 jdolecek-ncq:1.18.0.4 jdolecek-ncq-base:1.18 pgoyette-localcount-20170320:1.18 netbsd-7-1:1.13.0.12 netbsd-7-1-RELEASE:1.13 netbsd-7-1-RC2:1.13 nick-nhusb-base-20170204:1.18 netbsd-7-nhusb-base-20170116:1.13 bouyer-socketcan:1.18.0.2 bouyer-socketcan-base:1.18 pgoyette-localcount-20170107:1.17 netbsd-7-1-RC1:1.13 nick-nhusb-base-20161204:1.17 pgoyette-localcount-20161104:1.17 netbsd-7-0-2-RELEASE:1.13 nick-nhusb-base-20161004:1.17 localcount-20160914:1.17 netbsd-7-nhusb:1.13.0.10 netbsd-7-nhusb-base:1.13 pgoyette-localcount-20160806:1.17 pgoyette-localcount-20160726:1.17 pgoyette-localcount:1.17.0.2 pgoyette-localcount-base:1.17 nick-nhusb-base-20160907:1.17 nick-nhusb-base-20160529:1.17 netbsd-7-0-1-RELEASE:1.13 nick-nhusb-base-20160422:1.17 nick-nhusb-base-20160319:1.17 nick-nhusb-base-20151226:1.17 netbsd-7-0:1.13.0.8 netbsd-7-0-RELEASE:1.13 nick-nhusb-base-20150921:1.17 netbsd-7-0-RC3:1.13 netbsd-7-0-RC2:1.13 netbsd-7-0-RC1:1.13 nick-nhusb-base-20150606:1.17 nick-nhusb-base-20150406:1.13 nick-nhusb:1.13.0.6 nick-nhusb-base:1.13 netbsd-6-0-6-RELEASE:1.4 netbsd-6-1-5-RELEASE:1.4.10.1 netbsd-7:1.13.0.4 netbsd-7-base:1.13 yamt-pagecache-base9:1.13 yamt-pagecache-tag8:1.4.4.1 netbsd-6-1-4-RELEASE:1.4.10.1 netbsd-6-0-5-RELEASE:1.4 tls-earlyentropy:1.13.0.2 tls-earlyentropy-base:1.13 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.13 riastradh-drm2-base3:1.10 netbsd-6-1-3-RELEASE:1.4.10.1 netbsd-6-0-4-RELEASE:1.4 netbsd-6-1-2-RELEASE:1.4.10.1 netbsd-6-0-3-RELEASE:1.4 rmind-smpnet-nbase:1.13 netbsd-6-1-1-RELEASE:1.4.10.1 riastradh-drm2-base2:1.8 riastradh-drm2-base1:1.8 riastradh-drm2:1.8.0.4 riastradh-drm2-base:1.8 rmind-smpnet:1.8.0.2 rmind-smpnet-base:1.13 netbsd-6-1:1.4.10.1.0.2 netbsd-6-0-2-RELEASE:1.4 netbsd-6-1-RELEASE:1.4.10.1 khorben-n900:1.7.0.8 netbsd-6-1-RC4:1.4.10.1 netbsd-6-1-RC3:1.4.10.1 agc-symver:1.7.0.6 agc-symver-base:1.7 netbsd-6-1-RC2:1.4.10.1 netbsd-6-1-RC1:1.4.10.1 yamt-pagecache-base8:1.7 netbsd-6-0-1-RELEASE:1.4 yamt-pagecache-base7:1.7 matt-nb6-plus-nbase:1.4 yamt-pagecache-base6:1.7 netbsd-6-0:1.4.0.14 netbsd-6-0-RELEASE:1.4 netbsd-6-0-RC2:1.4 tls-maxphys:1.7.0.2 tls-maxphys-base:1.13 matt-nb6-plus:1.4.0.12 matt-nb6-plus-base:1.4 netbsd-6-0-RC1:1.4 jmcneill-usbmp-base10:1.4 yamt-pagecache-base5:1.4 jmcneill-usbmp-base9:1.4 yamt-pagecache-base4:1.4 jmcneill-usbmp-base8:1.4 jmcneill-usbmp-base7:1.4 jmcneill-usbmp-base6:1.4 jmcneill-usbmp-base5:1.4 jmcneill-usbmp-base4:1.4 jmcneill-usbmp-base3:1.4 jmcneill-usbmp-pre-base2:1.4 jmcneill-usbmp-base2:1.4 netbsd-6:1.4.0.10 netbsd-6-base:1.4 jmcneill-usbmp:1.4.0.8 jmcneill-usbmp-base:1.4 jmcneill-audiomp3:1.4.0.6 jmcneill-audiomp3-base:1.4 yamt-pagecache-base3:1.4 yamt-pagecache-base2:1.4 yamt-pagecache:1.4.0.4 yamt-pagecache-base:1.4 rmind-uvmplock-nbase:1.4 cherry-xenmp:1.4.0.2 cherry-xenmp-base:1.4 jym-xensuspend-nbase:1.4 rmind-uvmplock-base:1.4 rmind-uvmplock:1.3.0.2 uebayasi-xip-base7:1.2 bouyer-quota2-nbase:1.2 bouyer-quota2:1.2.0.8 bouyer-quota2-base:1.2 jruoho-x86intr:1.2.0.6 jruoho-x86intr-base:1.2 matt-mips64-premerge-20101231:1.2 uebayasi-xip-base6:1.2 uebayasi-xip-base5:1.2 uebayasi-xip-base4:1.2 jym-xensuspend-base:1.4 uebayasi-xip:1.2.0.4 uebayasi-xip-base3:1.2 yamt-nfs-mp:1.2.0.2 yamt-nfs-mp-base11:1.2; locks; strict; comment @# @; 1.18 date 2017.01.07.16.19.28; author kiyohara; state Exp; branches; next 1.17; commitid BcuhW9GSJ0Z0p3Bz; 1.17 date 2015.06.03.04.20.02; author hsuenaga; state Exp; branches 1.17.2.1; next 1.16; commitid 7NNBKVIYQzkQ7Wny; 1.16 date 2015.06.03.03.55.47; author hsuenaga; state Exp; branches; next 1.15; commitid ISLdV8cogcXm1Wny; 1.15 date 2015.06.03.03.34.38; author hsuenaga; state Exp; branches; next 1.14; commitid 8frWN9ElvhksWVny; 1.14 date 2015.05.03.14.38.09; author hsuenaga; state Exp; branches; next 1.13; commitid QGsxuuo2SlXBv0ky; 1.13 date 2014.03.18.07.25.57; author matt; state Exp; branches 1.13.6.1; next 1.12; commitid Z92gFZxAsgVBr9tx; 1.12 date 2014.03.18.07.05.00; author matt; state Exp; branches; next 1.11; commitid asmwCoIeXNZnk9tx; 1.11 date 2014.03.18.05.50.06; author matt; state Exp; branches; next 1.10; commitid o1Tta9TKx6DAU8tx; 1.10 date 2013.09.30.13.06.03; author kiyohara; state Exp; branches; next 1.9; commitid 0Pt6BvSpursBKs7x; 1.9 date 2013.08.29.09.46.04; author kiyohara; state Exp; branches; next 1.8; commitid AZpMovgCAZRuFk3x; 1.8 date 2013.05.29.22.35.34; author rkujawa; state Exp; branches 1.8.2.1; next 1.7; commitid XKHpYjI8FQQrTzRw; 1.7 date 2012.08.01.10.38.41; author kiyohara; state Exp; branches 1.7.2.1; next 1.6; 1.6 date 2012.07.27.03.03.34; author kiyohara; state Exp; branches; next 1.5; 1.5 date 2012.06.19.16.50.44; author hans; state Exp; branches; next 1.4; 1.4 date 2011.03.12.22.34.52; author nonaka; state Exp; branches 1.4.4.1 1.4.10.1; next 1.3; 1.3 date 2011.03.05.14.50.56; author matt; state Exp; branches 1.3.2.1; next 1.2; 1.2 date 2010.10.06.05.24.01; author kiyohara; state Exp; branches 1.2.2.1 1.2.4.1 1.2.6.1; next 1.1; 1.1 date 2010.10.03.05.49.24; author kiyohara; state Exp; branches; next ; 1.17.2.1 date 2017.03.20.06.57.11; author pgoyette; state Exp; branches; next ; commitid jjw7cAwgyKq7RfKz; 1.13.6.1 date 2015.06.06.14.39.56; author skrll; state Exp; branches; next 1.13.6.2; commitid O6LVO5i6UulOvnoy; 1.13.6.2 date 2017.02.05.13.40.04; author skrll; state Exp; branches; next ; commitid 8hwpk1aHl2UuyLEz; 1.8.2.1 date 2014.05.18.17.44.58; author rmind; state Exp; branches; next ; commitid mL5ZYSzpqK6QS2Bx; 1.7.2.1 date 2013.06.23.06.20.00; author tls; state Exp; branches; next 1.7.2.2; commitid eVjr9caYRQbRGHUw; 1.7.2.2 date 2014.08.20.00.02.47; author tls; state Exp; branches; next 1.7.2.3; commitid jTnpym9Qu0o4R1Nx; 1.7.2.3 date 2017.12.03.11.35.54; author jdolecek; state Exp; branches; next ; commitid XcIYRZTAh1LmerhA; 1.4.4.1 date 2012.10.30.17.19.06; author yamt; state Exp; branches; next 1.4.4.2; 1.4.4.2 date 2014.05.22.11.39.33; author yamt; state Exp; branches; next ; commitid VUUXuyNWnt3AKwBx; 1.4.10.1 date 2013.01.13.19.03.05; author bouyer; state Exp; branches; next ; 1.3.2.1 date 2011.03.05.14.50.56; author rmind; state dead; branches; next 1.3.2.2; 1.3.2.2 date 2011.03.05.20.49.37; author rmind; state Exp; branches; next 1.3.2.3; 1.3.2.3 date 2011.03.06.00.26.57; author rmind; state Exp; branches; next 1.3.2.4; 1.3.2.4 date 2011.04.21.01.40.52; author rmind; state Exp; branches; next ; 1.2.2.1 date 2010.10.06.05.24.01; author yamt; state dead; branches; next 1.2.2.2; 1.2.2.2 date 2010.10.09.03.31.40; author yamt; state Exp; branches; next ; 1.2.4.1 date 2010.10.06.05.24.01; author uebayasi; state dead; branches; next 1.2.4.2; 1.2.4.2 date 2010.10.22.09.23.11; author uebayasi; state Exp; branches; next ; 1.2.6.1 date 2011.06.06.09.05.04; author jruoho; state Exp; branches; next ; desc @@ 1.18 log @Add support Marvell Dove. Also _intr_bootstrap() rename to _bootstrap(). And SoC init func, getclk into that. @ text @# $NetBSD: files.marvell,v 1.17 2015/06/03 04:20:02 hsuenaga Exp $ # # Configuration info for Marvell System on Chip support # include "arch/arm/pic/files.pic" device mvsoc { [unit = -1], [offset = -1], [irq = -1] } : bus_space_generic, pic, pic_splfuncs attach mvsoc at mainbus file arch/arm/marvell/mvsoc.c mvsoc file arch/arm/marvell/mvsoc_space.c file arch/arm/marvell/mvsoc_dma.c file arch/arm/arm32/irq_dispatch.S # Some SoC(ARMADAXP) reports false DeviceID. defflag opt_mvsoc.h ORION KIRKWOOD MV78XX0 DOVE ARMADAXP MVSOC_CONSOLE_EARLY defparam opt_mvsoc.h MVSOC_INTERREGS_PBASE MVSOC_FIXUP_DEVID MEMSIZE file arch/arm/marvell/mvsoc_intr.c file arch/arm/marvell/orion.c orion file arch/arm/marvell/kirkwood.c kirkwood file arch/arm/marvell/mv78xx0.c mv78xx0 file arch/arm/marvell/dove.c dove file arch/arm/marvell/armadaxp.c armadaxp # Integrated peripherals include "dev/marvell/files.discovery" include "dev/marvell/files.armada" # Timers device mvsoctmr: sysmon_wdog attach mvsoctmr at mvsoc file arch/arm/marvell/mvsoctmr.c mvsoctmr # RTC device mvsocrtc attach mvsocrtc at mvsoc file arch/arm/marvell/mvsocrtc.c mvsocrtc # PCI Express Interface attach mvpex at mvsoc with mvpex_mbus # PCI Interface attach gtpci at mvsoc with gtpci_mbus file arch/arm/marvell/pci_machdep.c mvpex | gtpci device pchb attach pchb at pci file dev/marvell/pchb.c pchb # Serial-ATA II Host Controller (SATAHC) attach mvsata at mvsoc with mvsata_mbus # Gigabit Ethernet Controller Interface attach mvgbec at mvsoc with mvgbec_mbus # ARMADA XP Buffer Manager attach mvxpbm at mvsoc with mvxpbm_mbus # ARMADA XP Gigabit Ethernet Controller Interface attach mvxpe at mvsoc with mvxpe_mbus # USB 2.0 Interface attach ehci at mvsoc with mvusb_mbus # Cryptographic Engines and Security Accelerator attach mvcesa at mvsoc with mvcesa_mbus # ARMADA XP Cryptographic Engines and Security Accelerator attach mvxpsec at mvsoc with mvxpsec_mbus # TWSI Two-Wire Serial Interface attach gttwsi at mvsoc with gttwsi_mbus # UART Interface attach com at mvsoc with mvuart_mbus # IDMA Controller and XOR Engine attach gtidmac at mvsoc with gtidmac_mbus # General Purpose I/O Port Interface device mvsocgpp: gpiobus, pic, pic_splfuncs attach mvsocgpp at mvsoc file arch/arm/marvell/mvsocgpp.c mvsocgpp needs-flag # Secure Digital Input/Output (SDIO) Interface attach mvsdio at mvsoc with mvsdio_mbus # Also SDHC (i.e. Dove) attach sdhc at mvsoc with mvsoc_sdhc file arch/arm/marvell/mvsoc_sdhc.c mvsoc_sdhc # Thermal Sensor device mvsocts: sysmon_envsys attach mvsocts at mvsoc file arch/arm/marvell/mvsocts.c mvsocts # Power Management Unit device mvsocpmu: sysmon_envsys attach mvsocpmu at mvsoc file arch/arm/marvell/mvsocpmu.c mvsocpmu needs-flag # SPI Serial Peripheral Interface attach mvspi at mvsoc with mvspi_mbus @ 1.17 log @add new cryptographic accelerator driver 'mvxpsec.' this driver controls CESA unit as same as mvcesa, but uses DMA engines and does CBC operations, HMAC operations by hardware. about 2 kbytes of data are processed at one. supported algorithms are: - DES-CBC, 3DES-CBC, AES-CBC - HMAC-SHA1, HMAC-MD5 non-CBC algorithm such as AES-GCM is not supported by CESA's acceleration engine. mvcesa is still useful to implement such algorithms as combination of accelerated block cipher and software chaining. @ text @d1 1 a1 1 # $NetBSD: files.marvell,v 1.14 2015/05/03 14:38:09 hsuenaga Exp $ d17 2 a18 1 defflag opt_mvsoc.h ORION KIRKWOOD MV78XX0 ARMADAXP d26 1 d94 3 d103 5 @ 1.17.2.1 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: files.marvell,v 1.18 2017/01/07 16:19:28 kiyohara Exp $ d17 1 a17 2 defflag opt_mvsoc.h ORION KIRKWOOD MV78XX0 DOVE ARMADAXP a24 1 file arch/arm/marvell/dove.c dove a91 3 # Also SDHC (i.e. Dove) attach sdhc at mvsoc with mvsoc_sdhc file arch/arm/marvell/mvsoc_sdhc.c mvsoc_sdhc a97 5 # Power Management Unit device mvsocpmu: sysmon_envsys attach mvsocpmu at mvsoc file arch/arm/marvell/mvsocpmu.c mvsocpmu needs-flag @ 1.16 log @separate buffer management codes 'mvxpbm.c' from if_mvxpe.c. the buffer management(ex. fill the rx descriptors/buffers) is done by H/W in ARMADA XP/380, and is done by S/W in ARMADA 370. the H/W BM support is not yet implemented, so all devices use the S/W management mode at this time. @ text @d73 3 @ 1.15 log @move Marvell ARMADA SoC's device driver definitions from arm/marvell to dev/marvell. @ text @d61 3 @ 1.14 log @add new ethernet driver mvxpe for recent MARVELL's SoC after ARMADA/XP. this driver supports 'counter mode', and is disabled by default. ARMADA SoC family has new ethernet controller acceleration mode called 'enhanced mode' or 'counter mode.' it seems that backward compatibility mode used by if_mvgbe is still working, but the specification of the old mode is completely disappeared from SoC's reference manual. I tested the driver using MIRABOX(ARMADA/370). @ text @d1 1 a1 1 # $NetBSD: files.marvell,v 1.13 2014/03/18 07:25:57 matt Exp $ d30 1 a61 2 define mvxpe { [port = -1 ], [irq = -1] } device mvxpe: ether, ifnet, arp, mii a62 1 file dev/marvell/if_mvxpe.c mvxpe needs-flag @ 1.13 log @defflag MVSOC_CONSOLE_EARLY @ text @d1 1 a1 1 # $NetBSD: files.marvell,v 1.12 2014/03/18 07:05:00 matt Exp $ d60 6 @ 1.13.6.1 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: files.marvell,v 1.17 2015/06/03 04:20:02 hsuenaga Exp $ a29 1 include "dev/marvell/files.armada" a59 6 # ARMADA XP Buffer Manager attach mvxpbm at mvsoc with mvxpbm_mbus # ARMADA XP Gigabit Ethernet Controller Interface attach mvxpe at mvsoc with mvxpe_mbus a65 3 # ARMADA XP Cryptographic Engines and Security Accelerator attach mvxpsec at mvsoc with mvxpsec_mbus @ 1.13.6.2 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: files.marvell,v 1.13.6.1 2015/06/06 14:39:56 skrll Exp $ d17 1 a17 2 defflag opt_mvsoc.h ORION KIRKWOOD MV78XX0 DOVE ARMADAXP a24 1 file arch/arm/marvell/dove.c dove a91 3 # Also SDHC (i.e. Dove) attach sdhc at mvsoc with mvsoc_sdhc file arch/arm/marvell/mvsoc_sdhc.c mvsoc_sdhc a97 5 # Power Management Unit device mvsocpmu: sysmon_envsys attach mvsocpmu at mvsoc file arch/arm/marvell/mvsocpmu.c mvsocpmu needs-flag @ 1.12 log @Add MEMSIZE to opt_mvsoc.h @ text @d1 1 a1 1 # $NetBSD: files.marvell,v 1.11 2014/03/18 05:50:06 matt Exp $ d18 1 @ 1.11 log @Move defparam opt_mvsoc.h to more appropriate place. @ text @d1 1 a1 1 # $NetBSD: files.marvell,v 1.10 2013/09/30 13:06:03 kiyohara Exp $ d19 1 a19 1 MVSOC_FIXUP_DEVID @ 1.10 log @Add ARMADAXP into opt_mvsoc.h. And add mv78xx0.c. However not test long time. @ text @d1 1 a1 1 # $NetBSD: files.marvell,v 1.9 2013/08/29 09:46:04 kiyohara Exp $ d16 1 d18 2 @ 1.9 log @Fix build failed with ofppc. Move 'attach mvspi at mvsoc' to arch/arm/marvell/files.marvell. @ text @d1 1 a1 1 # $NetBSD: files.marvell,v 1.8 2013/05/29 22:35:34 rkujawa Exp $ d16 1 a16 1 defflag opt_mvsoc.h ORION KIRKWOOD MV78XX0 a17 1 file arch/arm/marvell/armadaxp.c armadaxp d20 2 a21 1 #file arch/arm/marvell/mv78xx0.c mv78xx0 @ 1.8 log @Add support for Armada XP PIC. Obtained from Marvell, Semihalf. @ text @d1 1 a1 1 # $NetBSD: files.marvell,v 1.7 2012/08/01 10:38:41 kiyohara Exp $ d83 3 @ 1.8.2.1 log @sync with head @ text @d1 1 a1 1 # $NetBSD: files.marvell,v 1.8 2013/05/29 22:35:34 rkujawa Exp $ d16 1 a16 5 # Some SoC(ARMADAXP) reports false DeviceID. defflag opt_mvsoc.h ORION KIRKWOOD MV78XX0 ARMADAXP MVSOC_CONSOLE_EARLY defparam opt_mvsoc.h MVSOC_INTERREGS_PBASE MVSOC_FIXUP_DEVID MEMSIZE d18 1 d21 1 a21 2 file arch/arm/marvell/mv78xx0.c mv78xx0 file arch/arm/marvell/armadaxp.c armadaxp a82 3 # SPI Serial Peripheral Interface attach mvspi at mvsoc with mvspi_mbus @ 1.7 log @Add mvsocts. @ text @d1 1 a1 1 # $NetBSD: files.marvell,v 1.6 2012/07/27 03:03:34 kiyohara Exp $ d18 1 @ 1.7.2.1 log @resync from head @ text @d1 1 a1 1 # $NetBSD$ a17 1 file arch/arm/marvell/armadaxp.c armadaxp @ 1.7.2.2 log @Rebase to HEAD as of a few days ago. @ text @d16 1 a16 5 # Some SoC(ARMADAXP) reports false DeviceID. defflag opt_mvsoc.h ORION KIRKWOOD MV78XX0 ARMADAXP MVSOC_CONSOLE_EARLY defparam opt_mvsoc.h MVSOC_INTERREGS_PBASE MVSOC_FIXUP_DEVID MEMSIZE d18 1 d21 1 a21 2 file arch/arm/marvell/mv78xx0.c mv78xx0 file arch/arm/marvell/armadaxp.c armadaxp a82 3 # SPI Serial Peripheral Interface attach mvspi at mvsoc with mvspi_mbus @ 1.7.2.3 log @update from HEAD @ text @d17 1 a17 2 defflag opt_mvsoc.h ORION KIRKWOOD MV78XX0 DOVE ARMADAXP a24 1 file arch/arm/marvell/dove.c dove a29 1 include "dev/marvell/files.armada" a59 6 # ARMADA XP Buffer Manager attach mvxpbm at mvsoc with mvxpbm_mbus # ARMADA XP Gigabit Ethernet Controller Interface attach mvxpe at mvsoc with mvxpe_mbus a65 3 # ARMADA XP Cryptographic Engines and Security Accelerator attach mvxpsec at mvsoc with mvxpsec_mbus a81 3 # Also SDHC (i.e. Dove) attach sdhc at mvsoc with mvsoc_sdhc file arch/arm/marvell/mvsoc_sdhc.c mvsoc_sdhc a87 5 # Power Management Unit device mvsocpmu: sysmon_envsys attach mvsocpmu at mvsoc file arch/arm/marvell/mvsocpmu.c mvsocpmu needs-flag @ 1.6 log @Add mvcesa. @ text @d1 1 a1 1 # $NetBSD: files.marvell,v 1.5 2012/06/19 16:50:44 hans Exp $ d77 5 @ 1.5 log @Add support for the watchdog timer in mvsoctmr. Tested on DreamPlug system. @ text @d1 1 a1 1 # $NetBSD: files.marvell,v 1.4 2011/03/12 22:34:52 nonaka Exp $ d59 1 a59 1 #attach mvcesa at mvsoc with mvcesa_mbus @ 1.4 log @mvsoc needs pic_splfuncs. @ text @d1 1 a1 1 # $NetBSD: files.marvell,v 1.3 2011/03/05 14:50:56 matt Exp $ d27 1 a27 1 device mvsoctmr @ 1.4.10.1 log @Pull up following revision(s) (requested by riz in ticket #770): sys/arch/arm/marvell/files.marvell: revision 1.5 sys/arch/arm/marvell/mvsoctmr.c: revision 1.4 sys/arch/arm/marvell/mvsoctmr.c: revision 1.5 sys/arch/arm/marvell/mvsoctmr.c: revision 1.6 sys/arch/arm/marvell/mvsoctmr.c: revision 1.7 Add support for the watchdog timer in mvsoctmr. Tested on DreamPlug system. When disabling watchdog timer, do not set the counter to 0. Having the watchdog counter at 0 and having WDRstOutEn set to 1 causes immediate watchdog reset on my 88F5182 A2. Remove duplicate global variable. The maximum watchdog period is dependant on mvTclk; calculate at runtime. This gets the maximum period up to 25 seconds at 166⅔MHz mvTclk. @ text @d1 1 a1 1 # $NetBSD$ d27 1 a27 1 device mvsoctmr: sysmon_wdog @ 1.4.4.1 log @sync with head @ text @d1 1 a1 1 # $NetBSD: files.marvell,v 1.4 2011/03/12 22:34:52 nonaka Exp $ d27 1 a27 1 device mvsoctmr: sysmon_wdog d59 1 a59 1 attach mvcesa at mvsoc with mvcesa_mbus a76 5 # Thermal Sensor device mvsocts: sysmon_envsys attach mvsocts at mvsoc file arch/arm/marvell/mvsocts.c mvsocts @ 1.4.4.2 log @sync with head. for a reference, the tree before this commit was tagged as yamt-pagecache-tag8. this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments") @ text @d1 1 a1 1 # $NetBSD: files.marvell,v 1.4.4.1 2012/10/30 17:19:06 yamt Exp $ d16 1 a16 5 # Some SoC(ARMADAXP) reports false DeviceID. defflag opt_mvsoc.h ORION KIRKWOOD MV78XX0 ARMADAXP MVSOC_CONSOLE_EARLY defparam opt_mvsoc.h MVSOC_INTERREGS_PBASE MVSOC_FIXUP_DEVID MEMSIZE d20 1 a20 2 file arch/arm/marvell/mv78xx0.c mv78xx0 file arch/arm/marvell/armadaxp.c armadaxp a81 3 # SPI Serial Peripheral Interface attach mvspi at mvsoc with mvspi_mbus @ 1.3 log @Add contributed Marvell Kirkwood RTC driver from Brett Slager Fixes PR 44004 @ text @d1 1 a1 1 # $NetBSD: files.marvell,v 1.2 2010/10/06 05:24:01 kiyohara Exp $ d8 1 a8 1 device mvsoc { [unit = -1], [offset = -1], [irq = -1] } : bus_space_generic, pic d71 1 a71 1 device mvsocgpp: gpiobus, pic @ 1.3.2.1 log @file files.marvell was added on branch rmind-uvmplock on 2011-03-05 20:49:37 +0000 @ text @d1 76 @ 1.3.2.2 log @sync with head @ text @a0 71 # $NetBSD$ # # Configuration info for Marvell System on Chip support # include "arch/arm/pic/files.pic" device mvsoc { [unit = -1], [offset = -1], [irq = -1] } : bus_space_generic, pic attach mvsoc at mainbus file arch/arm/marvell/mvsoc.c mvsoc file arch/arm/marvell/mvsoc_space.c file arch/arm/marvell/mvsoc_dma.c file arch/arm/arm32/irq_dispatch.S defflag opt_mvsoc.h ORION KIRKWOOD MV78XX0 file arch/arm/marvell/mvsoc_intr.c file arch/arm/marvell/orion.c orion file arch/arm/marvell/kirkwood.c kirkwood #file arch/arm/marvell/mv78xx0.c mv78xx0 # Integrated peripherals include "dev/marvell/files.discovery" # Timers device mvsoctmr attach mvsoctmr at mvsoc file arch/arm/marvell/mvsoctmr.c mvsoctmr # PCI Express Interface attach mvpex at mvsoc with mvpex_mbus # PCI Interface attach gtpci at mvsoc with gtpci_mbus file arch/arm/marvell/pci_machdep.c mvpex | gtpci device pchb attach pchb at pci file dev/marvell/pchb.c pchb # Serial-ATA II Host Controller (SATAHC) attach mvsata at mvsoc with mvsata_mbus # Gigabit Ethernet Controller Interface attach mvgbec at mvsoc with mvgbec_mbus # USB 2.0 Interface attach ehci at mvsoc with mvusb_mbus # Cryptographic Engines and Security Accelerator #attach mvcesa at mvsoc with mvcesa_mbus # TWSI Two-Wire Serial Interface attach gttwsi at mvsoc with gttwsi_mbus # UART Interface attach com at mvsoc with mvuart_mbus # IDMA Controller and XOR Engine attach gtidmac at mvsoc with gtidmac_mbus # General Purpose I/O Port Interface device mvsocgpp: gpiobus, pic attach mvsocgpp at mvsoc file arch/arm/marvell/mvsocgpp.c mvsocgpp needs-flag # Secure Digital Input/Output (SDIO) Interface attach mvsdio at mvsoc with mvsdio_mbus @ 1.3.2.3 log @sync with head (and fix few botches with this) @ text @a31 5 # RTC device mvsocrtc attach mvsocrtc at mvsoc file arch/arm/marvell/mvsocrtc.c mvsocrtc @ 1.3.2.4 log @sync with head @ text @d8 1 a8 1 device mvsoc { [unit = -1], [offset = -1], [irq = -1] } : bus_space_generic, pic, pic_splfuncs d71 1 a71 1 device mvsocgpp: gpiobus, pic, pic_splfuncs @ 1.2 log @Comment-out mvcesa. It not exists now. @ text @d1 1 a1 1 # $NetBSD: files.marvell,v 1.1 2010/10/03 05:49:24 kiyohara Exp $ d32 5 @ 1.2.6.1 log @Sync with HEAD. @ text @d1 1 a1 1 # $NetBSD: files.marvell,v 1.4 2011/03/12 22:34:52 nonaka Exp $ d8 1 a8 1 device mvsoc { [unit = -1], [offset = -1], [irq = -1] } : bus_space_generic, pic, pic_splfuncs a31 5 # RTC device mvsocrtc attach mvsocrtc at mvsoc file arch/arm/marvell/mvsocrtc.c mvsocrtc d66 1 a66 1 device mvsocgpp: gpiobus, pic, pic_splfuncs @ 1.2.4.1 log @file files.marvell was added on branch uebayasi-xip on 2010-10-22 09:23:11 +0000 @ text @d1 71 @ 1.2.4.2 log @Sync with HEAD (-D20101022). @ text @a0 71 # $NetBSD$ # # Configuration info for Marvell System on Chip support # include "arch/arm/pic/files.pic" device mvsoc { [unit = -1], [offset = -1], [irq = -1] } : bus_space_generic, pic attach mvsoc at mainbus file arch/arm/marvell/mvsoc.c mvsoc file arch/arm/marvell/mvsoc_space.c file arch/arm/marvell/mvsoc_dma.c file arch/arm/arm32/irq_dispatch.S defflag opt_mvsoc.h ORION KIRKWOOD MV78XX0 file arch/arm/marvell/mvsoc_intr.c file arch/arm/marvell/orion.c orion file arch/arm/marvell/kirkwood.c kirkwood #file arch/arm/marvell/mv78xx0.c mv78xx0 # Integrated peripherals include "dev/marvell/files.discovery" # Timers device mvsoctmr attach mvsoctmr at mvsoc file arch/arm/marvell/mvsoctmr.c mvsoctmr # PCI Express Interface attach mvpex at mvsoc with mvpex_mbus # PCI Interface attach gtpci at mvsoc with gtpci_mbus file arch/arm/marvell/pci_machdep.c mvpex | gtpci device pchb attach pchb at pci file dev/marvell/pchb.c pchb # Serial-ATA II Host Controller (SATAHC) attach mvsata at mvsoc with mvsata_mbus # Gigabit Ethernet Controller Interface attach mvgbec at mvsoc with mvgbec_mbus # USB 2.0 Interface attach ehci at mvsoc with mvusb_mbus # Cryptographic Engines and Security Accelerator #attach mvcesa at mvsoc with mvcesa_mbus # TWSI Two-Wire Serial Interface attach gttwsi at mvsoc with gttwsi_mbus # UART Interface attach com at mvsoc with mvuart_mbus # IDMA Controller and XOR Engine attach gtidmac at mvsoc with gtidmac_mbus # General Purpose I/O Port Interface device mvsocgpp: gpiobus, pic attach mvsocgpp at mvsoc file arch/arm/marvell/mvsocgpp.c mvsocgpp needs-flag # Secure Digital Input/Output (SDIO) Interface attach mvsdio at mvsoc with mvsdio_mbus @ 1.2.2.1 log @file files.marvell was added on branch yamt-nfs-mp on 2010-10-09 03:31:39 +0000 @ text @d1 71 @ 1.2.2.2 log @sync with head @ text @a0 71 # $NetBSD$ # # Configuration info for Marvell System on Chip support # include "arch/arm/pic/files.pic" device mvsoc { [unit = -1], [offset = -1], [irq = -1] } : bus_space_generic, pic attach mvsoc at mainbus file arch/arm/marvell/mvsoc.c mvsoc file arch/arm/marvell/mvsoc_space.c file arch/arm/marvell/mvsoc_dma.c file arch/arm/arm32/irq_dispatch.S defflag opt_mvsoc.h ORION KIRKWOOD MV78XX0 file arch/arm/marvell/mvsoc_intr.c file arch/arm/marvell/orion.c orion file arch/arm/marvell/kirkwood.c kirkwood #file arch/arm/marvell/mv78xx0.c mv78xx0 # Integrated peripherals include "dev/marvell/files.discovery" # Timers device mvsoctmr attach mvsoctmr at mvsoc file arch/arm/marvell/mvsoctmr.c mvsoctmr # PCI Express Interface attach mvpex at mvsoc with mvpex_mbus # PCI Interface attach gtpci at mvsoc with gtpci_mbus file arch/arm/marvell/pci_machdep.c mvpex | gtpci device pchb attach pchb at pci file dev/marvell/pchb.c pchb # Serial-ATA II Host Controller (SATAHC) attach mvsata at mvsoc with mvsata_mbus # Gigabit Ethernet Controller Interface attach mvgbec at mvsoc with mvgbec_mbus # USB 2.0 Interface attach ehci at mvsoc with mvusb_mbus # Cryptographic Engines and Security Accelerator #attach mvcesa at mvsoc with mvcesa_mbus # TWSI Two-Wire Serial Interface attach gttwsi at mvsoc with gttwsi_mbus # UART Interface attach com at mvsoc with mvuart_mbus # IDMA Controller and XOR Engine attach gtidmac at mvsoc with gtidmac_mbus # General Purpose I/O Port Interface device mvsocgpp: gpiobus, pic attach mvsocgpp at mvsoc file arch/arm/marvell/mvsocgpp.c mvsocgpp needs-flag # Secure Digital Input/Output (SDIO) Interface attach mvsdio at mvsoc with mvsdio_mbus @ 1.1 log @Add support Marvell Sheeva Core and SoC. (Orion/Kirkwood) Discovery Innovation not yet. @ text @d1 1 a1 1 # $NetBSD$ d54 1 a54 1 attach mvcesa at mvsoc with mvcesa_mbus @