From: Kevin Lo Subject: Add iwm(4) to arm64 GENERIC To: tech@openbsd.org Date: Wed, 24 Jan 2024 13:59:40 +0800 Hi, This patch adds iwm(4) to arm64 GENERIC, as follow up of GENERIC,v 1.280. Tested on Rock 3A. ok? OpenBSD 7.4-current (GENERIC.MP) #0: Wed Jan 24 13:20:42 CST 2024 root@rock3a:/usr/src/sys/arch/arm64/compile/GENERIC.MP real mem = 8317788160 (7932MB) avail mem = 7976329216 (7606MB) random: good seed from bootblocks mainbus0 at root: Radxa ROCK3 Model A psci0 at mainbus0: PSCI 1.1, SMCCC 1.2, SYSTEM_SUSPEND efi0 at mainbus0: UEFI 2.10 efi0: Das U-Boot rev 0x20231000 smbios0 at efi0: SMBIOS 3.0 smbios0: vendor U-Boot version "2023.10" date 10/01/2023 smbios0: Unknown Unknown Product cpu0 at mainbus0 mpidr 0: ARM Cortex-A55 r2p0 cpu0: 32KB 64b/line 4-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache cpu0: 512KB 64b/line 16-way L2 cache cpu0: DP,RDM,Atomic,CRC32,SHA2,SHA1,AES+PMULL,LRCPC,DPB,ASID16,PAN+ATS1E1,LO,HPDS,VH,HAFDBS,SBSS cpu1 at mainbus0 mpidr 100: ARM Cortex-A55 r2p0 cpu1: 32KB 64b/line 4-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache cpu1: 512KB 64b/line 16-way L2 cache cpu1: DP,RDM,Atomic,CRC32,SHA2,SHA1,AES+PMULL,LRCPC,DPB,ASID16,PAN+ATS1E1,LO,HPDS,VH,HAFDBS,SBSS cpu2 at mainbus0 mpidr 200: ARM Cortex-A55 r2p0 cpu2: 32KB 64b/line 4-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache cpu2: 512KB 64b/line 16-way L2 cache cpu2: DP,RDM,Atomic,CRC32,SHA2,SHA1,AES+PMULL,LRCPC,DPB,ASID16,PAN+ATS1E1,LO,HPDS,VH,HAFDBS,SBSS cpu3 at mainbus0 mpidr 300: ARM Cortex-A55 r2p0 cpu3: 32KB 64b/line 4-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache cpu3: 512KB 64b/line 16-way L2 cache cpu3: DP,RDM,Atomic,CRC32,SHA2,SHA1,AES+PMULL,LRCPC,DPB,ASID16,PAN+ATS1E1,LO,HPDS,VH,HAFDBS,SBSS scmi0 at mainbus0: SCMI 2.0 apm0 at mainbus0 agintc0 at mainbus0 mbi shift 4:4 nirq 352 nredist 4 ipi: 0, 1, 2: "interrupt-controller" syscon0 at mainbus0: "syscon" rkiovd0 at syscon0 syscon1 at mainbus0: "syscon" syscon2 at mainbus0: "syscon" syscon3 at mainbus0: "syscon" syscon4 at mainbus0: "syscon" syscon5 at mainbus0: "syscon" syscon6 at mainbus0: "syscon" rkclock0 at mainbus0: PMUCRU rkclock1 at mainbus0: CRU syscon7 at mainbus0: "power-management" "power-controller" at syscon7 not configured syscon8 at mainbus0: "qos" syscon9 at mainbus0: "qos" syscon10 at mainbus0: "qos" syscon11 at mainbus0: "qos" syscon12 at mainbus0: "qos" syscon13 at mainbus0: "qos" syscon14 at mainbus0: "qos" syscon15 at mainbus0: "qos" syscon16 at mainbus0: "qos" syscon17 at mainbus0: "qos" syscon18 at mainbus0: "qos" syscon19 at mainbus0: "qos" syscon20 at mainbus0: "qos" syscon21 at mainbus0: "qos" syscon22 at mainbus0: "qos" syscon23 at mainbus0: "qos" syscon24 at mainbus0: "qos" syscon25 at mainbus0: "qos" syscon26 at mainbus0: "qos" syscon27 at mainbus0: "qos" syscon28 at mainbus0: "qos" syscon29 at mainbus0: "qos" syscon30 at mainbus0: "qos" syscon31 at mainbus0: "qos" rkcomphy0 at mainbus0 rkcomphy1 at mainbus0 rkusbphy0 at mainbus0: phy 0 rkusbphy1 at mainbus0: phy 1 rkpinctrl0 at mainbus0: "pinctrl" rkgpio0 at rkpinctrl0 rkgpio1 at rkpinctrl0 rkgpio2 at rkpinctrl0 rkgpio3 at rkpinctrl0 rkgpio4 at rkpinctrl0 syscon32 at mainbus0: "syscon" syscon33 at mainbus0: "qos" syscon34 at mainbus0: "qos" syscon35 at mainbus0: "qos" syscon36 at mainbus0: "syscon" rkpciephy0 at mainbus0 rkcomphy2 at mainbus0 "fit-images" at mainbus0 not configured "opp-table-0" at mainbus0 not configured rkdrm0 at mainbus0 drm0 at rkdrm0 "firmware" at mainbus0 not configured "opp-table-1" at mainbus0 not configured simpleaudio0 at mainbus0 "pmu" at mainbus0 not configured agtimer0 at mainbus0: 24000 kHz "xin24m" at mainbus0 not configured "xin32k" at mainbus0 not configured "sram" at mainbus0 not configured xhci0 at mainbus0, xHCI 1.10 usb0 at xhci0: USB revision 3.0 uhub0 at usb0 configuration 1 interface 0 "Generic xHCI root hub" rev 3.00/1.00 addr 1 xhci1 at mainbus0, xHCI 1.10 usb1 at xhci1: USB revision 3.0 uhub1 at usb1 configuration 1 interface 0 "Generic xHCI root hub" rev 3.00/1.00 addr 1 ehci0 at mainbus0 usb2 at ehci0: USB revision 2.0 uhub2 at usb2 configuration 1 interface 0 "Generic EHCI root hub" rev 2.00/1.00 addr 1 ohci0 at mainbus0: version 1.0 ehci1 at mainbus0 usb3 at ehci1: USB revision 2.0 uhub3 at usb3 configuration 1 interface 0 "Generic EHCI root hub" rev 2.00/1.00 addr 1 ohci1 at mainbus0: version 1.0 rkiic0 at mainbus0 iic0 at rkiic0 fanpwr0 at iic0 addr 0x1c: TCS4525, 1.02 VDC rkpmic0 at iic0 addr 0x20: RK809 "gpu" at mainbus0 not configured "video-codec" at mainbus0 not configured "iommu" at mainbus0 not configured "video-codec" at mainbus0 not configured "iommu" at mainbus0 not configured dwmmc0 at mainbus0: 50 MHz base clock sdmmc0 at dwmmc0: 4-bit, sd high-speed, dma dwqe0 at mainbus0 gmac 1: rev 0x51, address aa:19:b4:xx:xx:xx rgephy0 at dwqe0 phy 0: RTL8169S/8110S/8211 PHY, rev. 6 "vop" at mainbus0 not configured "iommu" at mainbus0 not configured "hdmi" at mainbus0 not configured dwpcie0 at mainbus0 dwmmc1 at mainbus0: 50 MHz base clock sdmmc1 at dwmmc1: 4-bit, sd high-speed, dma "spi" at mainbus0 not configured dwmshc0 at mainbus0 dwmshc0: SDHC 4.20, 200 MHz base clock sdmmc2 at dwmshc0: 8-bit, sd high-speed, mmc high-speed, dma "i2s" at mainbus0 not configured "i2s" at mainbus0 not configured "i2s" at mainbus0 not configured "dma-controller" at mainbus0 not configured "dma-controller" at mainbus0 not configured rkiic1 at mainbus0 iic1 at rkiic1 pcxrtc0 at iic1 addr 0x51: battery low "watchdog" at mainbus0 not configured com0 at mainbus0: dw16550, 64 byte fifo com1 at mainbus0: dw16550, 64 byte fifo com1: console rktemp0 at mainbus0 "saradc" at mainbus0 not configured dwpcie1 at mainbus0 "hdmi-con" at mainbus0 not configured "external-gmac1-clock" at mainbus0 not configured gpioleds0 at mainbus0: no LEDs simpleaudio1 at mainbus0 "sdio-pwrseq" at mainbus0 not configured "vcc12v-dcin-regulator" at mainbus0 not configured "pcie30-avdd0v9-regulator" at mainbus0 not configured "pcie30-avdd1v8-regulator" at mainbus0 not configured "vcc3v3-pi6c-03-regulator" at mainbus0 not configured "vcc3v3-pcie-regulator" at mainbus0 not configured "vcc3v3-sys-regulator" at mainbus0 not configured "vcc5v0-sys-regulator" at mainbus0 not configured "vcc5v0-usb-regulator" at mainbus0 not configured "vcc5v0-usb-host-regulator" at mainbus0 not configured "vcc5v0-usb-hub-regulator" at mainbus0 not configured "vcc5v0-usb-otg-regulator" at mainbus0 not configured "vcc-cam-regulator" at mainbus0 not configured "vcc-mipi-regulator" at mainbus0 not configured "binman" at mainbus0 not configured "dmc" at mainbus0 not configured "nvmem" at mainbus0 not configured usb4 at ohci0: USB revision 1.0 uhub4 at usb4 configuration 1 interface 0 "Generic OHCI root hub" rev 1.00/1.00 addr 1 usb5 at ohci1: USB revision 1.0 uhub5 at usb5 configuration 1 interface 0 "Generic OHCI root hub" rev 1.00/1.00 addr 1 pci0 at dwpcie0 ppb0 at pci0 dev 0 function 0 "Rockchip RK3566" rev 0x00 pci1 at ppb0 bus 1 iwm0 at pci1 dev 0 function 0 "Intel Dual Band Wireless-AC 9260" rev 0x29, msix dwpcie1: can't initialize hardware sdmmc0: can't enable card scsibus0 at sdmmc1: 2 targets, initiator 0 sd0 at scsibus0 targ 1 lun 0: removable sd0: 60906MB, 512 bytes/sector, 124735488 sectors scsibus1 at sdmmc2: 2 targets, initiator 0 sd1 at scsibus1 targ 1 lun 0: sd1: 59000MB, 512 bytes/sector, 120832000 sectors uhub6 at uhub2 port 1 configuration 1 interface 0 "Terminus Technology USB 2.0 Hub" rev 2.00/1.11 addr 2 ugen0 at uhub6 port 2 "Intel Bluetooth" rev 2.00/0.02 addr 3 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets root on sd0a (bc76f170485837ce.a) swap on sd0b dump on sd0b WARNING: bad clock chip time WARNING: CHECK AND RESET THE DATE! rkdrm0: no display interface ports configured iwm0: hw rev 0x320, fw ver 46.ff18e32a.0, address fc:77:74:xx:xx:xx Index: sys/arch/arm64/conf/GENERIC =================================================================== RCS file: /cvs/src/sys/arch/arm64/conf/GENERIC,v retrieving revision 1.281 diff -u -p -u -p -r1.281 GENERIC --- sys/arch/arm64/conf/GENERIC 22 Jan 2024 18:54:01 -0000 1.281 +++ sys/arch/arm64/conf/GENERIC 24 Jan 2024 05:50:19 -0000 @@ -395,6 +395,7 @@ vmx* at pci? # VMware VMXNET3 virtual athn* at pci? # Atheros AR9k (802.11a/g/n) bwfm* at pci? # Broadcom FullMAC iwn* at pci? # Intel WiFi Link 4965/5000/1000/6000 +iwm* at pci? # Intel WiFi Link 7xxx iwx* at pci? # Intel WiFi Link 22xxx #qwx* at pci? # Qualcomm 802.11ax