diff --git a/devices/n66/device.toml b/devices/n66/device.toml index 71eea464..916e4bdf 100644 --- a/devices/n66/device.toml +++ b/devices/n66/device.toml @@ -22,7 +22,7 @@ platform = "apple-16k" dtb = "s8000-n66" # arch/arm64/boot/dts/apple/.dtb [firmware] -recipe = "firmware.json" # Pins this board's public IPSW; makes the touchscreen, VXD and AOP firmware, and the GPU firmware from the iPad 5's iPadOS 16.7.10. +recipe = "firmware.json" # Pins this board's public IPSW; makes the touchscreen, VXD, AOP, Wi-Fi and Bluetooth firmware, and the GPU firmware from the iPad 5's iPadOS 16.7.10. [support] status = "experimental" @@ -44,9 +44,9 @@ light_sensor = "working" # CT821 with the unit's LSCI calibration (RAM boot 2026 touch_id = "missing" storage_read = "working" # NVMe 5 GT/s x2, 1 GiB read, no faults or timeouts (RAM boot 2026-11-22) storage_write = "working" # 256 MiB to a Linux partition read back after drop_caches, APFS unchanged; Omarchy A installed and booted from storage (2026-11-23) -wifi = "missing" # Not described yet: BCM4350/4345 on PCIe port 1, its control function on uart4, neither in s800-0-3.dtsi -bluetooth_input = "missing" # Not described yet: the controller is on uart1, not in s800-0-3.dtsi -bluetooth_audio = "missing" # Same as Bluetooth input +wifi = "working" # BCM4350/8 (C5) on PCIe port 1: firmware loads, a scan finds 31 networks; association not tested yet (RAM boot 2026-11-23) +bluetooth_input = "untested" # BCM4350C5 on UART1: USI Patchram loads, inquiry and LE scan work; nothing paired yet (RAM boot 2026-11-23) +bluetooth_audio = "untested" cellular = "missing" battery = "untested" # bq27540 gauge on uart5 behind the SN2400's HDQ mux charging = "untested" # SN2400 charger diff --git a/devices/n66/firmware.json b/devices/n66/firmware.json index aa376bcf..e8ed5c21 100644 --- a/devices/n66/firmware.json +++ b/devices/n66/firmware.json @@ -48,6 +48,243 @@ "zip": "Firmware/AOP/aopfw-s8000aop.im4p" }, "sha256": "8b13cd96c292683bde0716199fb1821394cedfdbbbf27867e9bb49914287b44d" + }, + "s-C2_P-pinotnoir_M-BLMA_V-m__m-1.1.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-BLMA_V-m__m-1.1.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-BLMA_V-m__m-1.1.txt", + "sha256": "be9d5658dd45b764c48984363fa7b26a145030193324ba8e97715a780a07fa00" + }, + "s-C2_P-pinotnoir_M-BLMA_V-m__m-2.1.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-BLMA_V-m__m-2.1.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-BLMA_V-m__m-2.1.txt", + "sha256": "ba157a34ad0a23b7b11c25c5e38657cd29170142b9d0ba2ee28ee72cdd8c09e0" + }, + "s-C2_P-pinotnoir_M-BLMA_V-m__m-2.5.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-BLMA_V-m__m-2.5.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-BLMA_V-m__m-2.5.txt", + "sha256": "2d03a6dcf9386094b76b00b7ca0b14734a946fe10cbb9de3218e7b1614a79a4a" + }, + "s-C2_P-pinotnoir_M-BLMA_V-t__m-2.1.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-BLMA_V-t__m-2.1.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-BLMA_V-t__m-2.1.txt", + "sha256": "294974433a0e04013c4c8badb216f83cd0d04513f3e1c303dfb06884cb624069" + }, + "s-C2_P-pinotnoir_M-BLMA_V-t__m-2.5.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-BLMA_V-t__m-2.5.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-BLMA_V-t__m-2.5.txt", + "sha256": "81d24ed4469121cdf687bcdb65cc899b8499da03c3b3e22575be5ff2dab5b8af" + }, + "s-C2_P-pinotnoir_M-BLMA_V-u__m-2.1.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-BLMA_V-u__m-2.1.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-BLMA_V-u__m-2.1.txt", + "sha256": "0bfd1e1ce6ab3a25c9a6f1308f2e6f3607c8562e2c7e4f5dfe14b2b7eeef9d53" + }, + "s-C2_P-pinotnoir_M-BLMA_V-u__m-2.5.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-BLMA_V-u__m-2.5.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-BLMA_V-u__m-2.5.txt", + "sha256": "f638500c23aef603fcdfdb831cf35eaaedd73a02c4dc133f6cfb271dff8fee74" + }, + "s-C2_P-pinotnoir_M-STBL_V-m__m-2.3.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-STBL_V-m__m-2.3.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-STBL_V-m__m-2.3.txt", + "sha256": "eb202f1369fe6ffa77ca1fc2d41310b8503025b4831cd9bf725f248a3bebe0f1" + }, + "s-C2_P-pinotnoir_M-STBL_V-m__m-2.5.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-STBL_V-m__m-2.5.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-STBL_V-m__m-2.5.txt", + "sha256": "ad348983a5adfb77787ff21680e4258f14a92bc766d54e7fbfb9c1343db8a326" + }, + "s-C2_P-pinotnoir_M-STBL_V-t__m-2.5.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-STBL_V-t__m-2.5.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-STBL_V-t__m-2.5.txt", + "sha256": "85ee47e12a7d4e57ee53dd8ba7156abfd300c8e17924a47938d240d62bf06e5f" + }, + "s-C2_P-pinotnoir_M-STBL_V-u__m-2.1.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-STBL_V-u__m-2.1.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-STBL_V-u__m-2.1.txt", + "sha256": "0fb2dc137f3a706e7343a929a75df051046ffb46e7f24aa8b3ca3473eb65f033" + }, + "s-C2_P-pinotnoir_M-STBL_V-u__m-2.5.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-STBL_V-u__m-2.5.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-STBL_V-u__m-2.5.txt", + "sha256": "0fb2dc137f3a706e7343a929a75df051046ffb46e7f24aa8b3ca3473eb65f033" + }, + "s-C2_pinotnoir.clmb": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C2/pinotnoir.clmb" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C2/pinotnoir.clmb", + "sha256": "bee49067505a012b3a1130e33d692051bdf6b01e366ef950dc02c6001c27a4c0" + }, + "s-C2_pinotnoir.trx": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C2/pinotnoir.trx" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C2/pinotnoir.trx", + "sha256": "fb1c8d1d73c6742226bd12a19d09630190f4cac053792a6bae96aab6bc1e59f8" + }, + "s-C2_pinotnoir.txcb": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C2/pinotnoir.txcb" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C2/pinotnoir.txcb", + "sha256": "b6901a7b2ae326b5f18e291dcf9c96fa1ca32a9b3aa33ca7e20a9401467dba5d" + }, + "s-C5_P-pinotnoir_M-BLMA_V-m__m-2.1.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-m__m-2.1.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-m__m-2.1.txt", + "sha256": "ba157a34ad0a23b7b11c25c5e38657cd29170142b9d0ba2ee28ee72cdd8c09e0" + }, + "s-C5_P-pinotnoir_M-BLMA_V-m__m-2.5.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-m__m-2.5.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-m__m-2.5.txt", + "sha256": "2d03a6dcf9386094b76b00b7ca0b14734a946fe10cbb9de3218e7b1614a79a4a" + }, + "s-C5_P-pinotnoir_M-BLMA_V-m__m-2.9.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-m__m-2.9.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-m__m-2.9.txt", + "sha256": "4305c42bc2b90d1041c602a41cd8ffa2b262b8c55910d83420105479fd61b367" + }, + "s-C5_P-pinotnoir_M-BLMA_V-m__m-5.1.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-m__m-5.1.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-m__m-5.1.txt", + "sha256": "4305c42bc2b90d1041c602a41cd8ffa2b262b8c55910d83420105479fd61b367" + }, + "s-C5_P-pinotnoir_M-BLMA_V-m__m-5.3.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-m__m-5.3.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-m__m-5.3.txt", + "sha256": "309fb686d8df4e01832e1d7e90dc9d83a587b6e388560e9d5b04a65ea40d1101" + }, + "s-C5_P-pinotnoir_M-BLMA_V-m__m-5.5.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-m__m-5.5.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-m__m-5.5.txt", + "sha256": "4305c42bc2b90d1041c602a41cd8ffa2b262b8c55910d83420105479fd61b367" + }, + "s-C5_P-pinotnoir_M-BLMA_V-m__m-6.1.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-m__m-6.1.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-m__m-6.1.txt", + "sha256": "4305c42bc2b90d1041c602a41cd8ffa2b262b8c55910d83420105479fd61b367" + }, + "s-C5_P-pinotnoir_M-BLMA_V-t__m-2.1.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-t__m-2.1.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-t__m-2.1.txt", + "sha256": "294974433a0e04013c4c8badb216f83cd0d04513f3e1c303dfb06884cb624069" + }, + "s-C5_P-pinotnoir_M-BLMA_V-t__m-2.5.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-t__m-2.5.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-t__m-2.5.txt", + "sha256": "81d24ed4469121cdf687bcdb65cc899b8499da03c3b3e22575be5ff2dab5b8af" + }, + "s-C5_P-pinotnoir_M-BLMA_V-t__m-2.7.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-t__m-2.7.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-t__m-2.7.txt", + "sha256": "7799a83d1d7c89460575db25710df6d1e3d37207a17bc1016ece67795f358991" + }, + "s-C5_P-pinotnoir_M-BLMA_V-u__m-2.1.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-u__m-2.1.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-u__m-2.1.txt", + "sha256": "0bfd1e1ce6ab3a25c9a6f1308f2e6f3607c8562e2c7e4f5dfe14b2b7eeef9d53" + }, + "s-C5_P-pinotnoir_M-BLMA_V-u__m-2.5.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-u__m-2.5.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-u__m-2.5.txt", + "sha256": "f638500c23aef603fcdfdb831cf35eaaedd73a02c4dc133f6cfb271dff8fee74" + }, + "s-C5_P-pinotnoir_M-BLMA_V-u__m-2.7.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-u__m-2.7.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-u__m-2.7.txt", + "sha256": "5921cc177ada1c745025e0397cd556c1cd9b1e92ae36e52f6a3ca7b888d1c253" + }, + "s-C5_P-pinotnoir_M-BLMA_V-u__m-5.1.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-u__m-5.1.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-u__m-5.1.txt", + "sha256": "f638500c23aef603fcdfdb831cf35eaaedd73a02c4dc133f6cfb271dff8fee74" + }, + "s-C5_P-pinotnoir_M-BLMA_V-u__m-5.3.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-u__m-5.3.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-u__m-5.3.txt", + "sha256": "5921cc177ada1c745025e0397cd556c1cd9b1e92ae36e52f6a3ca7b888d1c253" + }, + "s-C5_pinotnoir.clmb": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C5/pinotnoir.clmb" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C5/pinotnoir.clmb", + "sha256": "3a6d473fe9cdc14fc2667c67b72e894f47d67a841c9bbb56039b70e45bef2b92" + }, + "s-C5_pinotnoir.trx": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C5/pinotnoir.trx" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C5/pinotnoir.trx", + "sha256": "85b4339fb00f4cb501e678cd79f268cbcbae6736e0fa19d76d99e9da5ba08254" + }, + "s-C5_pinotnoir.txcb": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C5/pinotnoir.txcb" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C5/pinotnoir.txcb", + "sha256": "a225551360dcaef3640e67e0d4496c807caf25263c33e19f65d0c9e619293013" + }, + "BlueTool": { + "ipsw": { + "rootfs": "usr/sbin/BlueTool" + }, + "device": "/usr/sbin/BlueTool" } }, "outputs": [ @@ -113,6 +350,356 @@ "coprocessor": "AOP_ext" } ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350c2-pcie.apple,pinotnoir-BLMA-m-1.1.txt", + "sha256": "be9d5658dd45b764c48984363fa7b26a145030193324ba8e97715a780a07fa00", + "steps": [ + { + "step": "copy@1", + "input": "s-C2_P-pinotnoir_M-BLMA_V-m__m-1.1.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350c2-pcie.apple,pinotnoir-BLMA-m-2.1.txt", + "sha256": "ba157a34ad0a23b7b11c25c5e38657cd29170142b9d0ba2ee28ee72cdd8c09e0", + "steps": [ + { + "step": "copy@1", + "input": "s-C2_P-pinotnoir_M-BLMA_V-m__m-2.1.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350c2-pcie.apple,pinotnoir-BLMA-m-2.5.txt", + "sha256": "2d03a6dcf9386094b76b00b7ca0b14734a946fe10cbb9de3218e7b1614a79a4a", + "steps": [ + { + "step": "copy@1", + "input": "s-C2_P-pinotnoir_M-BLMA_V-m__m-2.5.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350c2-pcie.apple,pinotnoir-BLMA-t-2.1.txt", + "sha256": "294974433a0e04013c4c8badb216f83cd0d04513f3e1c303dfb06884cb624069", + "steps": [ + { + "step": "copy@1", + "input": "s-C2_P-pinotnoir_M-BLMA_V-t__m-2.1.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350c2-pcie.apple,pinotnoir-BLMA-t-2.5.txt", + "sha256": "81d24ed4469121cdf687bcdb65cc899b8499da03c3b3e22575be5ff2dab5b8af", + "steps": [ + { + "step": "copy@1", + "input": "s-C2_P-pinotnoir_M-BLMA_V-t__m-2.5.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350c2-pcie.apple,pinotnoir-BLMA-u-2.1.txt", + "sha256": "0bfd1e1ce6ab3a25c9a6f1308f2e6f3607c8562e2c7e4f5dfe14b2b7eeef9d53", + "steps": [ + { + "step": "copy@1", + "input": "s-C2_P-pinotnoir_M-BLMA_V-u__m-2.1.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350c2-pcie.apple,pinotnoir-BLMA-u-2.5.txt", + "sha256": "f638500c23aef603fcdfdb831cf35eaaedd73a02c4dc133f6cfb271dff8fee74", + "steps": [ + { + "step": "copy@1", + "input": "s-C2_P-pinotnoir_M-BLMA_V-u__m-2.5.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350c2-pcie.apple,pinotnoir-STBL-m-2.3.txt", + "sha256": "eb202f1369fe6ffa77ca1fc2d41310b8503025b4831cd9bf725f248a3bebe0f1", + "steps": [ + { + "step": "copy@1", + "input": "s-C2_P-pinotnoir_M-STBL_V-m__m-2.3.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350c2-pcie.apple,pinotnoir-STBL-m-2.5.txt", + "sha256": "ad348983a5adfb77787ff21680e4258f14a92bc766d54e7fbfb9c1343db8a326", + "steps": [ + { + "step": "copy@1", + "input": "s-C2_P-pinotnoir_M-STBL_V-m__m-2.5.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350c2-pcie.apple,pinotnoir-STBL-t-2.5.txt", + "sha256": "85ee47e12a7d4e57ee53dd8ba7156abfd300c8e17924a47938d240d62bf06e5f", + "steps": [ + { + "step": "copy@1", + "input": "s-C2_P-pinotnoir_M-STBL_V-t__m-2.5.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350c2-pcie.apple,pinotnoir-STBL-u-2.1.txt", + "sha256": "0fb2dc137f3a706e7343a929a75df051046ffb46e7f24aa8b3ca3473eb65f033", + "steps": [ + { + "step": "copy@1", + "input": "s-C2_P-pinotnoir_M-STBL_V-u__m-2.1.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350c2-pcie.apple,pinotnoir-STBL-u-2.5.txt", + "sha256": "0fb2dc137f3a706e7343a929a75df051046ffb46e7f24aa8b3ca3473eb65f033", + "steps": [ + { + "step": "copy@1", + "input": "s-C2_P-pinotnoir_M-STBL_V-u__m-2.5.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350c2-pcie.apple,pinotnoir.clm_blob", + "sha256": "bee49067505a012b3a1130e33d692051bdf6b01e366ef950dc02c6001c27a4c0", + "steps": [ + { + "step": "copy@1", + "input": "s-C2_pinotnoir.clmb" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350c2-pcie.apple,pinotnoir.bin", + "sha256": "fb1c8d1d73c6742226bd12a19d09630190f4cac053792a6bae96aab6bc1e59f8", + "steps": [ + { + "step": "copy@1", + "input": "s-C2_pinotnoir.trx" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350c2-pcie.apple,pinotnoir.txcap_blob", + "sha256": "b6901a7b2ae326b5f18e291dcf9c96fa1ca32a9b3aa33ca7e20a9401467dba5d", + "steps": [ + { + "step": "copy@1", + "input": "s-C2_pinotnoir.txcb" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350-pcie.apple,pinotnoir-BLMA-m-2.1.txt", + "sha256": "ba157a34ad0a23b7b11c25c5e38657cd29170142b9d0ba2ee28ee72cdd8c09e0", + "steps": [ + { + "step": "copy@1", + "input": "s-C5_P-pinotnoir_M-BLMA_V-m__m-2.1.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350-pcie.apple,pinotnoir-BLMA-m-2.5.txt", + "sha256": "2d03a6dcf9386094b76b00b7ca0b14734a946fe10cbb9de3218e7b1614a79a4a", + "steps": [ + { + "step": "copy@1", + "input": "s-C5_P-pinotnoir_M-BLMA_V-m__m-2.5.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350-pcie.apple,pinotnoir-BLMA-m-2.9.txt", + "sha256": "4305c42bc2b90d1041c602a41cd8ffa2b262b8c55910d83420105479fd61b367", + "steps": [ + { + "step": "copy@1", + "input": "s-C5_P-pinotnoir_M-BLMA_V-m__m-2.9.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350-pcie.apple,pinotnoir-BLMA-m-5.1.txt", + "sha256": "4305c42bc2b90d1041c602a41cd8ffa2b262b8c55910d83420105479fd61b367", + "steps": [ + { + "step": "copy@1", + "input": "s-C5_P-pinotnoir_M-BLMA_V-m__m-5.1.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350-pcie.apple,pinotnoir-BLMA-m-5.3.txt", + "sha256": "309fb686d8df4e01832e1d7e90dc9d83a587b6e388560e9d5b04a65ea40d1101", + "steps": [ + { + "step": "copy@1", + "input": "s-C5_P-pinotnoir_M-BLMA_V-m__m-5.3.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350-pcie.apple,pinotnoir-BLMA-m-5.5.txt", + "sha256": "4305c42bc2b90d1041c602a41cd8ffa2b262b8c55910d83420105479fd61b367", + "steps": [ + { + "step": "copy@1", + "input": "s-C5_P-pinotnoir_M-BLMA_V-m__m-5.5.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350-pcie.apple,pinotnoir-BLMA-m-6.1.txt", + "sha256": "4305c42bc2b90d1041c602a41cd8ffa2b262b8c55910d83420105479fd61b367", + "steps": [ + { + "step": "copy@1", + "input": "s-C5_P-pinotnoir_M-BLMA_V-m__m-6.1.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350-pcie.apple,pinotnoir-BLMA-t-2.1.txt", + "sha256": "294974433a0e04013c4c8badb216f83cd0d04513f3e1c303dfb06884cb624069", + "steps": [ + { + "step": "copy@1", + "input": "s-C5_P-pinotnoir_M-BLMA_V-t__m-2.1.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350-pcie.apple,pinotnoir-BLMA-t-2.5.txt", + "sha256": "81d24ed4469121cdf687bcdb65cc899b8499da03c3b3e22575be5ff2dab5b8af", + "steps": [ + { + "step": "copy@1", + "input": "s-C5_P-pinotnoir_M-BLMA_V-t__m-2.5.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350-pcie.apple,pinotnoir-BLMA-t-2.7.txt", + "sha256": "7799a83d1d7c89460575db25710df6d1e3d37207a17bc1016ece67795f358991", + "steps": [ + { + "step": "copy@1", + "input": "s-C5_P-pinotnoir_M-BLMA_V-t__m-2.7.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350-pcie.apple,pinotnoir-BLMA-u-2.1.txt", + "sha256": "0bfd1e1ce6ab3a25c9a6f1308f2e6f3607c8562e2c7e4f5dfe14b2b7eeef9d53", + "steps": [ + { + "step": "copy@1", + "input": "s-C5_P-pinotnoir_M-BLMA_V-u__m-2.1.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350-pcie.apple,pinotnoir-BLMA-u-2.5.txt", + "sha256": "f638500c23aef603fcdfdb831cf35eaaedd73a02c4dc133f6cfb271dff8fee74", + "steps": [ + { + "step": "copy@1", + "input": "s-C5_P-pinotnoir_M-BLMA_V-u__m-2.5.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350-pcie.apple,pinotnoir-BLMA-u-2.7.txt", + "sha256": "5921cc177ada1c745025e0397cd556c1cd9b1e92ae36e52f6a3ca7b888d1c253", + "steps": [ + { + "step": "copy@1", + "input": "s-C5_P-pinotnoir_M-BLMA_V-u__m-2.7.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350-pcie.apple,pinotnoir-BLMA-u-5.1.txt", + "sha256": "f638500c23aef603fcdfdb831cf35eaaedd73a02c4dc133f6cfb271dff8fee74", + "steps": [ + { + "step": "copy@1", + "input": "s-C5_P-pinotnoir_M-BLMA_V-u__m-5.1.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350-pcie.apple,pinotnoir-BLMA-u-5.3.txt", + "sha256": "5921cc177ada1c745025e0397cd556c1cd9b1e92ae36e52f6a3ca7b888d1c253", + "steps": [ + { + "step": "copy@1", + "input": "s-C5_P-pinotnoir_M-BLMA_V-u__m-5.3.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350-pcie.apple,pinotnoir.clm_blob", + "sha256": "3a6d473fe9cdc14fc2667c67b72e894f47d67a841c9bbb56039b70e45bef2b92", + "steps": [ + { + "step": "copy@1", + "input": "s-C5_pinotnoir.clmb" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350-pcie.apple,pinotnoir.bin", + "sha256": "85b4339fb00f4cb501e678cd79f268cbcbae6736e0fa19d76d99e9da5ba08254", + "steps": [ + { + "step": "copy@1", + "input": "s-C5_pinotnoir.trx" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350-pcie.apple,pinotnoir.txcap_blob", + "sha256": "a225551360dcaef3640e67e0d4496c807caf25263c33e19f65d0c9e619293013", + "steps": [ + { + "step": "copy@1", + "input": "s-C5_pinotnoir.txcb" + } + ] + }, + { + "destination": "lib/firmware/brcm/BCM.apple,n66-USI.hcd", + "sha256": "50065cbf3d8eee5ed4a09d4a8b3ef3a44e350fe47fdaff0596721ab80046dac0", + "steps": [ + { + "step": "bluetool-hcd@1", + "input": "BlueTool" + } + ] + }, + { + "destination": "lib/firmware/brcm/BCM.apple,n66-MUR.hcd", + "sha256": "8428aa1ddaef75c1aa313893a66cdfafde85acd785d68597902a4c7cbe4ea12c", + "steps": [ + { + "step": "bluetool-hcd@1", + "input": "BlueTool" + } + ] } ] } diff --git a/devices/n66m/device.toml b/devices/n66m/device.toml index 193abe5e..b5c42109 100644 --- a/devices/n66m/device.toml +++ b/devices/n66m/device.toml @@ -22,7 +22,7 @@ platform = "apple-16k" dtb = "s8003-n66m" # arch/arm64/boot/dts/apple/.dtb [firmware] -recipe = "firmware.json" # Pins this board's public IPSW; makes the touchscreen, VXD and AOP firmware, and the GPU firmware from the iPad 5's iPadOS 16.7.10. +recipe = "firmware.json" # Pins this board's public IPSW; makes the touchscreen, VXD, AOP, Wi-Fi and Bluetooth firmware, and the GPU firmware from the iPad 5's iPadOS 16.7.10. [support] status = "experimental" @@ -43,9 +43,9 @@ light_sensor = "untested" touch_id = "missing" storage_read = "untested" storage_write = "untested" -wifi = "missing" # Not described yet: BCM4350/4345 on PCIe port 1, its control function on uart4, neither in s800-0-3.dtsi -bluetooth_input = "missing" # Not described yet: the controller is on uart1, not in s800-0-3.dtsi -bluetooth_audio = "missing" # Same as Bluetooth input +wifi = "untested" # BCM4350 as on the N66 (same IPSW device tree wiring) +bluetooth_input = "untested" # BCM4350C5 as on the N66 +bluetooth_audio = "untested" cellular = "missing" battery = "untested" # bq27540 gauge on uart5 behind the SN2400's HDQ mux charging = "untested" # SN2400 charger diff --git a/devices/n66m/firmware.json b/devices/n66m/firmware.json index 124513ee..32c9ff9b 100644 --- a/devices/n66m/firmware.json +++ b/devices/n66m/firmware.json @@ -48,6 +48,243 @@ "zip": "Firmware/AOP/aopfw-s8000aop.im4p" }, "sha256": "8b13cd96c292683bde0716199fb1821394cedfdbbbf27867e9bb49914287b44d" + }, + "s-C2_P-pinotnoir_M-BLMA_V-m__m-1.1.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-BLMA_V-m__m-1.1.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-BLMA_V-m__m-1.1.txt", + "sha256": "be9d5658dd45b764c48984363fa7b26a145030193324ba8e97715a780a07fa00" + }, + "s-C2_P-pinotnoir_M-BLMA_V-m__m-2.1.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-BLMA_V-m__m-2.1.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-BLMA_V-m__m-2.1.txt", + "sha256": "ba157a34ad0a23b7b11c25c5e38657cd29170142b9d0ba2ee28ee72cdd8c09e0" + }, + "s-C2_P-pinotnoir_M-BLMA_V-m__m-2.5.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-BLMA_V-m__m-2.5.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-BLMA_V-m__m-2.5.txt", + "sha256": "2d03a6dcf9386094b76b00b7ca0b14734a946fe10cbb9de3218e7b1614a79a4a" + }, + "s-C2_P-pinotnoir_M-BLMA_V-t__m-2.1.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-BLMA_V-t__m-2.1.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-BLMA_V-t__m-2.1.txt", + "sha256": "294974433a0e04013c4c8badb216f83cd0d04513f3e1c303dfb06884cb624069" + }, + "s-C2_P-pinotnoir_M-BLMA_V-t__m-2.5.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-BLMA_V-t__m-2.5.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-BLMA_V-t__m-2.5.txt", + "sha256": "81d24ed4469121cdf687bcdb65cc899b8499da03c3b3e22575be5ff2dab5b8af" + }, + "s-C2_P-pinotnoir_M-BLMA_V-u__m-2.1.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-BLMA_V-u__m-2.1.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-BLMA_V-u__m-2.1.txt", + "sha256": "0bfd1e1ce6ab3a25c9a6f1308f2e6f3607c8562e2c7e4f5dfe14b2b7eeef9d53" + }, + "s-C2_P-pinotnoir_M-BLMA_V-u__m-2.5.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-BLMA_V-u__m-2.5.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-BLMA_V-u__m-2.5.txt", + "sha256": "f638500c23aef603fcdfdb831cf35eaaedd73a02c4dc133f6cfb271dff8fee74" + }, + "s-C2_P-pinotnoir_M-STBL_V-m__m-2.3.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-STBL_V-m__m-2.3.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-STBL_V-m__m-2.3.txt", + "sha256": "eb202f1369fe6ffa77ca1fc2d41310b8503025b4831cd9bf725f248a3bebe0f1" + }, + "s-C2_P-pinotnoir_M-STBL_V-m__m-2.5.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-STBL_V-m__m-2.5.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-STBL_V-m__m-2.5.txt", + "sha256": "ad348983a5adfb77787ff21680e4258f14a92bc766d54e7fbfb9c1343db8a326" + }, + "s-C2_P-pinotnoir_M-STBL_V-t__m-2.5.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-STBL_V-t__m-2.5.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-STBL_V-t__m-2.5.txt", + "sha256": "85ee47e12a7d4e57ee53dd8ba7156abfd300c8e17924a47938d240d62bf06e5f" + }, + "s-C2_P-pinotnoir_M-STBL_V-u__m-2.1.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-STBL_V-u__m-2.1.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-STBL_V-u__m-2.1.txt", + "sha256": "0fb2dc137f3a706e7343a929a75df051046ffb46e7f24aa8b3ca3473eb65f033" + }, + "s-C2_P-pinotnoir_M-STBL_V-u__m-2.5.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-STBL_V-u__m-2.5.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C2/P-pinotnoir_M-STBL_V-u__m-2.5.txt", + "sha256": "0fb2dc137f3a706e7343a929a75df051046ffb46e7f24aa8b3ca3473eb65f033" + }, + "s-C2_pinotnoir.clmb": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C2/pinotnoir.clmb" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C2/pinotnoir.clmb", + "sha256": "bee49067505a012b3a1130e33d692051bdf6b01e366ef950dc02c6001c27a4c0" + }, + "s-C2_pinotnoir.trx": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C2/pinotnoir.trx" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C2/pinotnoir.trx", + "sha256": "fb1c8d1d73c6742226bd12a19d09630190f4cac053792a6bae96aab6bc1e59f8" + }, + "s-C2_pinotnoir.txcb": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C2/pinotnoir.txcb" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C2/pinotnoir.txcb", + "sha256": "b6901a7b2ae326b5f18e291dcf9c96fa1ca32a9b3aa33ca7e20a9401467dba5d" + }, + "s-C5_P-pinotnoir_M-BLMA_V-m__m-2.1.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-m__m-2.1.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-m__m-2.1.txt", + "sha256": "ba157a34ad0a23b7b11c25c5e38657cd29170142b9d0ba2ee28ee72cdd8c09e0" + }, + "s-C5_P-pinotnoir_M-BLMA_V-m__m-2.5.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-m__m-2.5.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-m__m-2.5.txt", + "sha256": "2d03a6dcf9386094b76b00b7ca0b14734a946fe10cbb9de3218e7b1614a79a4a" + }, + "s-C5_P-pinotnoir_M-BLMA_V-m__m-2.9.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-m__m-2.9.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-m__m-2.9.txt", + "sha256": "4305c42bc2b90d1041c602a41cd8ffa2b262b8c55910d83420105479fd61b367" + }, + "s-C5_P-pinotnoir_M-BLMA_V-m__m-5.1.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-m__m-5.1.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-m__m-5.1.txt", + "sha256": "4305c42bc2b90d1041c602a41cd8ffa2b262b8c55910d83420105479fd61b367" + }, + "s-C5_P-pinotnoir_M-BLMA_V-m__m-5.3.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-m__m-5.3.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-m__m-5.3.txt", + "sha256": "309fb686d8df4e01832e1d7e90dc9d83a587b6e388560e9d5b04a65ea40d1101" + }, + "s-C5_P-pinotnoir_M-BLMA_V-m__m-5.5.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-m__m-5.5.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-m__m-5.5.txt", + "sha256": "4305c42bc2b90d1041c602a41cd8ffa2b262b8c55910d83420105479fd61b367" + }, + "s-C5_P-pinotnoir_M-BLMA_V-m__m-6.1.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-m__m-6.1.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-m__m-6.1.txt", + "sha256": "4305c42bc2b90d1041c602a41cd8ffa2b262b8c55910d83420105479fd61b367" + }, + "s-C5_P-pinotnoir_M-BLMA_V-t__m-2.1.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-t__m-2.1.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-t__m-2.1.txt", + "sha256": "294974433a0e04013c4c8badb216f83cd0d04513f3e1c303dfb06884cb624069" + }, + "s-C5_P-pinotnoir_M-BLMA_V-t__m-2.5.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-t__m-2.5.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-t__m-2.5.txt", + "sha256": "81d24ed4469121cdf687bcdb65cc899b8499da03c3b3e22575be5ff2dab5b8af" + }, + "s-C5_P-pinotnoir_M-BLMA_V-t__m-2.7.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-t__m-2.7.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-t__m-2.7.txt", + "sha256": "7799a83d1d7c89460575db25710df6d1e3d37207a17bc1016ece67795f358991" + }, + "s-C5_P-pinotnoir_M-BLMA_V-u__m-2.1.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-u__m-2.1.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-u__m-2.1.txt", + "sha256": "0bfd1e1ce6ab3a25c9a6f1308f2e6f3607c8562e2c7e4f5dfe14b2b7eeef9d53" + }, + "s-C5_P-pinotnoir_M-BLMA_V-u__m-2.5.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-u__m-2.5.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-u__m-2.5.txt", + "sha256": "f638500c23aef603fcdfdb831cf35eaaedd73a02c4dc133f6cfb271dff8fee74" + }, + "s-C5_P-pinotnoir_M-BLMA_V-u__m-2.7.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-u__m-2.7.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-u__m-2.7.txt", + "sha256": "5921cc177ada1c745025e0397cd556c1cd9b1e92ae36e52f6a3ca7b888d1c253" + }, + "s-C5_P-pinotnoir_M-BLMA_V-u__m-5.1.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-u__m-5.1.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-u__m-5.1.txt", + "sha256": "f638500c23aef603fcdfdb831cf35eaaedd73a02c4dc133f6cfb271dff8fee74" + }, + "s-C5_P-pinotnoir_M-BLMA_V-u__m-5.3.txt": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-u__m-5.3.txt" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C5/P-pinotnoir_M-BLMA_V-u__m-5.3.txt", + "sha256": "5921cc177ada1c745025e0397cd556c1cd9b1e92ae36e52f6a3ca7b888d1c253" + }, + "s-C5_pinotnoir.clmb": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C5/pinotnoir.clmb" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C5/pinotnoir.clmb", + "sha256": "3a6d473fe9cdc14fc2667c67b72e894f47d67a841c9bbb56039b70e45bef2b92" + }, + "s-C5_pinotnoir.trx": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C5/pinotnoir.trx" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C5/pinotnoir.trx", + "sha256": "85b4339fb00f4cb501e678cd79f268cbcbae6736e0fa19d76d99e9da5ba08254" + }, + "s-C5_pinotnoir.txcb": { + "ipsw": { + "rootfs": "usr/share/firmware/wifi/C-4350__s-C5/pinotnoir.txcb" + }, + "device": "/usr/share/firmware/wifi/C-4350__s-C5/pinotnoir.txcb", + "sha256": "a225551360dcaef3640e67e0d4496c807caf25263c33e19f65d0c9e619293013" + }, + "BlueTool": { + "ipsw": { + "rootfs": "usr/sbin/BlueTool" + }, + "device": "/usr/sbin/BlueTool" } }, "outputs": [ @@ -113,6 +350,356 @@ "coprocessor": "AOP_ext" } ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350c2-pcie.apple,pinotnoir-BLMA-m-1.1.txt", + "sha256": "be9d5658dd45b764c48984363fa7b26a145030193324ba8e97715a780a07fa00", + "steps": [ + { + "step": "copy@1", + "input": "s-C2_P-pinotnoir_M-BLMA_V-m__m-1.1.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350c2-pcie.apple,pinotnoir-BLMA-m-2.1.txt", + "sha256": "ba157a34ad0a23b7b11c25c5e38657cd29170142b9d0ba2ee28ee72cdd8c09e0", + "steps": [ + { + "step": "copy@1", + "input": "s-C2_P-pinotnoir_M-BLMA_V-m__m-2.1.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350c2-pcie.apple,pinotnoir-BLMA-m-2.5.txt", + "sha256": "2d03a6dcf9386094b76b00b7ca0b14734a946fe10cbb9de3218e7b1614a79a4a", + "steps": [ + { + "step": "copy@1", + "input": "s-C2_P-pinotnoir_M-BLMA_V-m__m-2.5.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350c2-pcie.apple,pinotnoir-BLMA-t-2.1.txt", + "sha256": "294974433a0e04013c4c8badb216f83cd0d04513f3e1c303dfb06884cb624069", + "steps": [ + { + "step": "copy@1", + "input": "s-C2_P-pinotnoir_M-BLMA_V-t__m-2.1.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350c2-pcie.apple,pinotnoir-BLMA-t-2.5.txt", + "sha256": "81d24ed4469121cdf687bcdb65cc899b8499da03c3b3e22575be5ff2dab5b8af", + "steps": [ + { + "step": "copy@1", + "input": "s-C2_P-pinotnoir_M-BLMA_V-t__m-2.5.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350c2-pcie.apple,pinotnoir-BLMA-u-2.1.txt", + "sha256": "0bfd1e1ce6ab3a25c9a6f1308f2e6f3607c8562e2c7e4f5dfe14b2b7eeef9d53", + "steps": [ + { + "step": "copy@1", + "input": "s-C2_P-pinotnoir_M-BLMA_V-u__m-2.1.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350c2-pcie.apple,pinotnoir-BLMA-u-2.5.txt", + "sha256": "f638500c23aef603fcdfdb831cf35eaaedd73a02c4dc133f6cfb271dff8fee74", + "steps": [ + { + "step": "copy@1", + "input": "s-C2_P-pinotnoir_M-BLMA_V-u__m-2.5.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350c2-pcie.apple,pinotnoir-STBL-m-2.3.txt", + "sha256": "eb202f1369fe6ffa77ca1fc2d41310b8503025b4831cd9bf725f248a3bebe0f1", + "steps": [ + { + "step": "copy@1", + "input": "s-C2_P-pinotnoir_M-STBL_V-m__m-2.3.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350c2-pcie.apple,pinotnoir-STBL-m-2.5.txt", + "sha256": "ad348983a5adfb77787ff21680e4258f14a92bc766d54e7fbfb9c1343db8a326", + "steps": [ + { + "step": "copy@1", + "input": "s-C2_P-pinotnoir_M-STBL_V-m__m-2.5.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350c2-pcie.apple,pinotnoir-STBL-t-2.5.txt", + "sha256": "85ee47e12a7d4e57ee53dd8ba7156abfd300c8e17924a47938d240d62bf06e5f", + "steps": [ + { + "step": "copy@1", + "input": "s-C2_P-pinotnoir_M-STBL_V-t__m-2.5.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350c2-pcie.apple,pinotnoir-STBL-u-2.1.txt", + "sha256": "0fb2dc137f3a706e7343a929a75df051046ffb46e7f24aa8b3ca3473eb65f033", + "steps": [ + { + "step": "copy@1", + "input": "s-C2_P-pinotnoir_M-STBL_V-u__m-2.1.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350c2-pcie.apple,pinotnoir-STBL-u-2.5.txt", + "sha256": "0fb2dc137f3a706e7343a929a75df051046ffb46e7f24aa8b3ca3473eb65f033", + "steps": [ + { + "step": "copy@1", + "input": "s-C2_P-pinotnoir_M-STBL_V-u__m-2.5.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350c2-pcie.apple,pinotnoir.clm_blob", + "sha256": "bee49067505a012b3a1130e33d692051bdf6b01e366ef950dc02c6001c27a4c0", + "steps": [ + { + "step": "copy@1", + "input": "s-C2_pinotnoir.clmb" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350c2-pcie.apple,pinotnoir.bin", + "sha256": "fb1c8d1d73c6742226bd12a19d09630190f4cac053792a6bae96aab6bc1e59f8", + "steps": [ + { + "step": "copy@1", + "input": "s-C2_pinotnoir.trx" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350c2-pcie.apple,pinotnoir.txcap_blob", + "sha256": "b6901a7b2ae326b5f18e291dcf9c96fa1ca32a9b3aa33ca7e20a9401467dba5d", + "steps": [ + { + "step": "copy@1", + "input": "s-C2_pinotnoir.txcb" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350-pcie.apple,pinotnoir-BLMA-m-2.1.txt", + "sha256": "ba157a34ad0a23b7b11c25c5e38657cd29170142b9d0ba2ee28ee72cdd8c09e0", + "steps": [ + { + "step": "copy@1", + "input": "s-C5_P-pinotnoir_M-BLMA_V-m__m-2.1.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350-pcie.apple,pinotnoir-BLMA-m-2.5.txt", + "sha256": "2d03a6dcf9386094b76b00b7ca0b14734a946fe10cbb9de3218e7b1614a79a4a", + "steps": [ + { + "step": "copy@1", + "input": "s-C5_P-pinotnoir_M-BLMA_V-m__m-2.5.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350-pcie.apple,pinotnoir-BLMA-m-2.9.txt", + "sha256": "4305c42bc2b90d1041c602a41cd8ffa2b262b8c55910d83420105479fd61b367", + "steps": [ + { + "step": "copy@1", + "input": "s-C5_P-pinotnoir_M-BLMA_V-m__m-2.9.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350-pcie.apple,pinotnoir-BLMA-m-5.1.txt", + "sha256": "4305c42bc2b90d1041c602a41cd8ffa2b262b8c55910d83420105479fd61b367", + "steps": [ + { + "step": "copy@1", + "input": "s-C5_P-pinotnoir_M-BLMA_V-m__m-5.1.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350-pcie.apple,pinotnoir-BLMA-m-5.3.txt", + "sha256": "309fb686d8df4e01832e1d7e90dc9d83a587b6e388560e9d5b04a65ea40d1101", + "steps": [ + { + "step": "copy@1", + "input": "s-C5_P-pinotnoir_M-BLMA_V-m__m-5.3.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350-pcie.apple,pinotnoir-BLMA-m-5.5.txt", + "sha256": "4305c42bc2b90d1041c602a41cd8ffa2b262b8c55910d83420105479fd61b367", + "steps": [ + { + "step": "copy@1", + "input": "s-C5_P-pinotnoir_M-BLMA_V-m__m-5.5.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350-pcie.apple,pinotnoir-BLMA-m-6.1.txt", + "sha256": "4305c42bc2b90d1041c602a41cd8ffa2b262b8c55910d83420105479fd61b367", + "steps": [ + { + "step": "copy@1", + "input": "s-C5_P-pinotnoir_M-BLMA_V-m__m-6.1.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350-pcie.apple,pinotnoir-BLMA-t-2.1.txt", + "sha256": "294974433a0e04013c4c8badb216f83cd0d04513f3e1c303dfb06884cb624069", + "steps": [ + { + "step": "copy@1", + "input": "s-C5_P-pinotnoir_M-BLMA_V-t__m-2.1.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350-pcie.apple,pinotnoir-BLMA-t-2.5.txt", + "sha256": "81d24ed4469121cdf687bcdb65cc899b8499da03c3b3e22575be5ff2dab5b8af", + "steps": [ + { + "step": "copy@1", + "input": "s-C5_P-pinotnoir_M-BLMA_V-t__m-2.5.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350-pcie.apple,pinotnoir-BLMA-t-2.7.txt", + "sha256": "7799a83d1d7c89460575db25710df6d1e3d37207a17bc1016ece67795f358991", + "steps": [ + { + "step": "copy@1", + "input": "s-C5_P-pinotnoir_M-BLMA_V-t__m-2.7.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350-pcie.apple,pinotnoir-BLMA-u-2.1.txt", + "sha256": "0bfd1e1ce6ab3a25c9a6f1308f2e6f3607c8562e2c7e4f5dfe14b2b7eeef9d53", + "steps": [ + { + "step": "copy@1", + "input": "s-C5_P-pinotnoir_M-BLMA_V-u__m-2.1.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350-pcie.apple,pinotnoir-BLMA-u-2.5.txt", + "sha256": "f638500c23aef603fcdfdb831cf35eaaedd73a02c4dc133f6cfb271dff8fee74", + "steps": [ + { + "step": "copy@1", + "input": "s-C5_P-pinotnoir_M-BLMA_V-u__m-2.5.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350-pcie.apple,pinotnoir-BLMA-u-2.7.txt", + "sha256": "5921cc177ada1c745025e0397cd556c1cd9b1e92ae36e52f6a3ca7b888d1c253", + "steps": [ + { + "step": "copy@1", + "input": "s-C5_P-pinotnoir_M-BLMA_V-u__m-2.7.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350-pcie.apple,pinotnoir-BLMA-u-5.1.txt", + "sha256": "f638500c23aef603fcdfdb831cf35eaaedd73a02c4dc133f6cfb271dff8fee74", + "steps": [ + { + "step": "copy@1", + "input": "s-C5_P-pinotnoir_M-BLMA_V-u__m-5.1.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350-pcie.apple,pinotnoir-BLMA-u-5.3.txt", + "sha256": "5921cc177ada1c745025e0397cd556c1cd9b1e92ae36e52f6a3ca7b888d1c253", + "steps": [ + { + "step": "copy@1", + "input": "s-C5_P-pinotnoir_M-BLMA_V-u__m-5.3.txt" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350-pcie.apple,pinotnoir.clm_blob", + "sha256": "3a6d473fe9cdc14fc2667c67b72e894f47d67a841c9bbb56039b70e45bef2b92", + "steps": [ + { + "step": "copy@1", + "input": "s-C5_pinotnoir.clmb" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350-pcie.apple,pinotnoir.bin", + "sha256": "85b4339fb00f4cb501e678cd79f268cbcbae6736e0fa19d76d99e9da5ba08254", + "steps": [ + { + "step": "copy@1", + "input": "s-C5_pinotnoir.trx" + } + ] + }, + { + "destination": "lib/firmware/brcm/brcmfmac4350-pcie.apple,pinotnoir.txcap_blob", + "sha256": "a225551360dcaef3640e67e0d4496c807caf25263c33e19f65d0c9e619293013", + "steps": [ + { + "step": "copy@1", + "input": "s-C5_pinotnoir.txcb" + } + ] + }, + { + "destination": "lib/firmware/brcm/BCM.apple,n66m-USI.hcd", + "sha256": "50065cbf3d8eee5ed4a09d4a8b3ef3a44e350fe47fdaff0596721ab80046dac0", + "steps": [ + { + "step": "bluetool-hcd@1", + "input": "BlueTool" + } + ] + }, + { + "destination": "lib/firmware/brcm/BCM.apple,n66m-MUR.hcd", + "sha256": "8428aa1ddaef75c1aa313893a66cdfafde85acd785d68597902a4c7cbe4ea12c", + "steps": [ + { + "step": "bluetool-hcd@1", + "input": "BlueTool" + } + ] } ] } diff --git a/docs/compatibility.md b/docs/compatibility.md index 84fc2e37..53b3d3bd 100644 --- a/docs/compatibility.md +++ b/docs/compatibility.md @@ -39,8 +39,8 @@ Every device Orchard installs on. ✅ works · ❌ doesn't work yet · – no su | iPad 5 (Wi-Fi) | A9, TSMC | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | [brkosebay](https://github.com/brkosebay) | | iPhone 6s | A9, Samsung | 🤔 | 🤔 | 🤔 | ❌ | ❌ | ❌ | 🤔 | 🤔 | 🤔 | – | | iPhone 6s | A9, TSMC | 🤔 | 🤔 | 🤔 | ❌ | ❌ | ❌ | 🤔 | 🤔 | 🤔 | – | -| iPhone 6s Plus | A9, Samsung | ✅ | 🤔 | ✅ | ❌ | ❌ | ❌ | 🤔 | 🤔 | 🤔 | [ricktav](https://github.com/ricktav) | -| iPhone 6s Plus | A9, TSMC | 🤔 | 🤔 | 🤔 | ❌ | ❌ | ❌ | 🤔 | 🤔 | 🤔 | – | +| iPhone 6s Plus | A9, Samsung | ✅ | 🤔 | ✅ | ✅ | 🤔 | ❌ | 🤔 | 🤔 | 🤔 | [ricktav](https://github.com/ricktav) | +| iPhone 6s Plus | A9, TSMC | 🤔 | 🤔 | 🤔 | 🤔 | 🤔 | ❌ | 🤔 | 🤔 | 🤔 | – | | iPhone SE | A9, Samsung | 🤔 | 🤔 | 🤔 | ❌ | ❌ | ❌ | 🤔 | 🤔 | 🤔 | – | | iPhone SE | A9, TSMC | 🤔 | 🤔 | 🤔 | ❌ | ❌ | ❌ | 🤔 | 🤔 | 🤔 | – | | iPad 6 (Cellular) | A10 | 🤔 | 🤔 | 🤔 | 🤔 | 🤔 | 🤔 | 🤔 | 🤔 | 🤔 | – | @@ -213,12 +213,12 @@ Boards Orchard builds for. States: working, untested, missing, none (no such har | `j82` | untested | untested | untested | missing | untested | untested | missing | missing | missing | missing | untested | untested | untested | untested | untested | missing | untested | untested | untested | untested | untested | untested | untested | missing | untested | missing | missing | missing | | `j71s` | untested | untested | untested | untested | untested | untested | untested | untested | untested | missing | untested | untested | untested | untested | untested | none | untested | untested | untested | untested | untested | untested | untested | untested | untested | untested | missing | untested | | `j72s` | untested | untested | untested | untested | untested | untested | untested | untested | untested | missing | untested | untested | untested | untested | untested | missing | untested | untested | untested | untested | untested | untested | untested | untested | untested | untested | missing | untested | -| `n66` | working | untested | working | untested | working | working | untested | untested | working | missing | working | working | missing | missing | missing | missing | untested | untested | missing | untested | untested | untested | untested | missing | missing | missing | missing | untested | +| `n66` | working | untested | working | untested | working | working | untested | untested | working | missing | working | working | working | untested | untested | missing | untested | untested | missing | untested | untested | untested | untested | missing | missing | missing | missing | untested | | `n69u` | untested | untested | untested | untested | untested | untested | untested | untested | untested | missing | untested | untested | missing | missing | missing | missing | untested | untested | missing | untested | untested | untested | untested | missing | missing | missing | missing | untested | | `n71` | untested | untested | untested | untested | untested | untested | untested | untested | untested | missing | untested | untested | missing | missing | missing | missing | untested | untested | missing | untested | untested | untested | untested | missing | missing | missing | missing | untested | | `j71t` | working | working | working | working | working | working | working | working | working | missing | working | working | working | working | untested | none | working | working | working | working | working | working | working | working | working | working | missing | working | | `j72t` | untested | untested | untested | untested | untested | untested | untested | untested | untested | missing | untested | untested | untested | untested | untested | missing | untested | untested | untested | untested | untested | untested | untested | untested | untested | untested | missing | untested | -| `n66m` | untested | untested | untested | untested | untested | untested | untested | untested | untested | missing | untested | untested | missing | missing | missing | missing | untested | untested | missing | untested | untested | untested | untested | missing | missing | missing | missing | untested | +| `n66m` | untested | untested | untested | untested | untested | untested | untested | untested | untested | missing | untested | untested | untested | untested | untested | missing | untested | untested | missing | untested | untested | untested | untested | missing | missing | missing | missing | untested | | `n69` | untested | untested | untested | untested | untested | untested | untested | untested | untested | missing | untested | untested | missing | missing | missing | missing | untested | untested | missing | untested | untested | untested | untested | missing | missing | missing | missing | untested | | `n71m` | untested | untested | untested | untested | untested | untested | untested | untested | untested | missing | untested | untested | missing | missing | missing | missing | untested | untested | missing | untested | untested | untested | untested | missing | missing | missing | missing | untested | | `j127` | untested | missing | untested | missing | missing | untested | missing | missing | missing | missing | missing | missing | missing | missing | missing | missing | missing | missing | missing | untested | untested | untested | untested | missing | missing | missing | missing | missing | @@ -270,12 +270,12 @@ A yes means an enabled device tree node binds a driver in `7.3.0-rc1-orchard-app | `j82` | experimental | yes | yes | yes | – | – | – | yes | yes | yes | yes | yes | yes | yes | yes | yes | – | yes | – | – | | `j71s` | experimental | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | – | yes | | `j72s` | experimental | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | – | yes | -| `n66` | experimental | yes | yes | yes | yes | yes | yes | yes | yes | – | – | – | yes | yes | yes | yes | – | – | – | yes | +| `n66` | experimental | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | – | – | – | yes | | `n69u` | experimental | yes | yes | yes | yes | yes | yes | yes | yes | – | – | – | yes | yes | yes | yes | – | – | – | yes | | `n71` | experimental | yes | yes | yes | yes | yes | yes | yes | yes | – | – | – | yes | yes | yes | yes | – | – | – | yes | | `j71t` | experimental | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | – | yes | | `j72t` | experimental | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | – | yes | -| `n66m` | experimental | yes | yes | yes | yes | yes | yes | yes | yes | – | – | – | yes | yes | yes | yes | – | – | – | yes | +| `n66m` | experimental | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | – | – | – | yes | | `n69` | experimental | yes | yes | yes | yes | yes | yes | yes | yes | – | – | – | yes | yes | yes | yes | – | – | – | yes | | `n71m` | experimental | yes | yes | yes | yes | yes | yes | yes | yes | – | – | – | yes | yes | yes | yes | – | – | – | yes | | `j127` | experimental | yes | – | yes | – | – | – | – | – | – | – | – | – | – | yes | yes | – | – | – | – | diff --git a/kernel/patches/devices/t8010/0044-arm64-dts-apple-s800-0-3-Add-UART1-and-the-UART4-WLA.patch b/kernel/patches/devices/t8010/0044-arm64-dts-apple-s800-0-3-Add-UART1-and-the-UART4-WLA.patch new file mode 100644 index 00000000..f107b1de --- /dev/null +++ b/kernel/patches/devices/t8010/0044-arm64-dts-apple-s800-0-3-Add-UART1-and-the-UART4-WLA.patch @@ -0,0 +1,63 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: ricktav <82380971+ricktav@users.noreply.github.com> +Date: Mon, 23 Nov 2026 15:44:12 +0100 +Subject: [PATCH] arm64: dts: apple: s800-0-3: Add UART1 and the UART4 WLAN + platform control + +Every A9 board has UART1: the iPhones' Bluetooth controller sits on it +and the iPads have a debug port there, so enable it. UART4 carries the +ADT's "wlan" node (the Wi-Fi module's platform control, +wlan-pcie-uart,bcm4350) on the A9 iPhones, where the iPad 5 uses UART2; +describe that role disabled, as for UART2, since the iPads' UART4 holds +no Wi-Fi control (only an unused NFC node). + +Assisted-by: LLM +Signed-off-by: ricktav <82380971+ricktav@users.noreply.github.com> +--- + arch/arm64/boot/dts/apple/s800-0-3.dtsi | 26 +++++++++++++++++++++++++ + 1 file changed, 26 insertions(+) + +diff --git a/arch/arm64/boot/dts/apple/s800-0-3.dtsi b/arch/arm64/boot/dts/apple/s800-0-3.dtsi +index 29f9d1dc3..193ac3871 100644 +--- a/arch/arm64/boot/dts/apple/s800-0-3.dtsi ++++ b/arch/arm64/boot/dts/apple/s800-0-3.dtsi +@@ -273,6 +273,18 @@ serial0: serial@20a0c0000 { + status = "disabled"; + }; + ++ serial1: serial@20a0c4000 { ++ compatible = "apple,s8000-uart", "apple,t8010-uart", "apple,s5l-uart"; ++ reg = <0x2 0x0a0c4000 0x0 0x4000>; ++ reg-io-width = <4>; ++ interrupt-parent = <&aic>; ++ interrupts = ; ++ /* Use the bootloader-enabled clocks for now. */ ++ clocks = <&clkref>, <&clkref>; ++ clock-names = "uart", "clk_uart_baud0"; ++ power-domains = <&ps_uart1>; ++ }; ++ + /* + * uart2 carries the ADT's "wlan" node (wlan-pcie-uart,bcm4355): + * the platform-control function of the PCIe Wi-Fi module. +@@ -297,6 +309,20 @@ serial3: serial@20a0cc000 { + status = "disabled"; + }; + ++ /* ++ * The A9 iPhones put the ADT's "wlan" node (wlan-pcie-uart, ++ * bcm4350/bcm4345) on uart4 instead. This node is that role, ++ * not the plain UART, so the boards that have it enable it: ++ * the iPads have their Wi-Fi control on uart2 and only an ++ * unused NFC node on uart4. ++ */ ++ wlan_uart4: wlan-platform-control@20a0d0000 { ++ compatible = "apple,t8010-wlan-uart-provider"; ++ reg = <0x2 0x0a0d0000 0x0 0x4000>; ++ power-domains = <&ps_uart4>; ++ status = "disabled"; ++ }; ++ + serial5: serial@20a0d4000 { + compatible = "apple,s8000-uart", "apple,t8010-uart", "apple,s5l-uart"; + reg = <0x2 0x0a0d4000 0x0 0x4000>; diff --git a/kernel/patches/devices/t8010/0045-arm64-dts-apple-n66-Add-Wi-Fi-and-Bluetooth.patch b/kernel/patches/devices/t8010/0045-arm64-dts-apple-n66-Add-Wi-Fi-and-Bluetooth.patch new file mode 100644 index 00000000..e247d183 --- /dev/null +++ b/kernel/patches/devices/t8010/0045-arm64-dts-apple-n66-Add-Wi-Fi-and-Bluetooth.patch @@ -0,0 +1,176 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: ricktav <82380971+ricktav@users.noreply.github.com> +Date: Mon, 23 Nov 2026 15:44:12 +0100 +Subject: [PATCH] arm64: dts: apple: n66: Add Wi-Fi and Bluetooth + +The iPhone 6s Plus has a BCM4350 "pinotnoir" module from USI or Murata. +From the ADT: + +- Wi-Fi on PCIe port 1 (pci-bridge1: PERST# GPIO 161, CLKREQ# 165, + DEVICE_WAKE 73, 2.5 GT/s), with REG_ON on D2255 GPIO 10 and its + platform control on UART4. +- Bluetooth (BCM4350C5) on UART1 at up to 3 Mbit/s, with power enable on + D2255 GPIO 8 and BT_WAKE on AP GPIO 71. + +The D2255 GPIO controller goes to the file every A9 iPhone includes: +the IPSW device trees of all six (N66, N66m, N71, N71m, N69, N69u) use +D2255 lines 8 and 10 for this, and only those two are exposed. Neither +function has a host wake on an AP GPIO (iOS takes both as D2255 +events), so none is described. The Samsung and TSMC N66 share the +module description. + +On a Samsung N66 RAM boot the BCM4350/8 enumerated on port 1, brcmfmac +loaded its firmware and scanned 31 networks, and Bluetooth loaded the +USI Patchram and found LE devices. + +Assisted-by: LLM +Signed-off-by: ricktav <82380971+ricktav@users.noreply.github.com> +--- + arch/arm64/boot/dts/apple/s800x-iphone.dtsi | 15 ++- + arch/arm64/boot/dts/apple/s800x-n66.dtsi | 104 ++++++++++++++++++++ + 2 files changed, 118 insertions(+), 1 deletion(-) + +diff --git a/arch/arm64/boot/dts/apple/s800x-iphone.dtsi b/arch/arm64/boot/dts/apple/s800x-iphone.dtsi +index 3498ce5ea..5e346b201 100644 +--- a/arch/arm64/boot/dts/apple/s800x-iphone.dtsi ++++ b/arch/arm64/boot/dts/apple/s800x-iphone.dtsi +@@ -1,6 +1,7 @@ + // SPDX-License-Identifier: GPL-2.0+ OR MIT + /* +- * Touchscreen, ambient light sensor and panel link of the A9 iPhones ++ * Touchscreen, ambient light sensor, panel link and D2255 GPIOs of the A9 ++ * iPhones + * + * The IPSW device trees of N66, N66m, N71, N71m, N69 and N69u wire both + * the same way: the touch controller on SPI2 with the same GPIOs, bit +@@ -34,6 +35,18 @@ touch_core: regulator-touch-core { + compatible = "apple,antigua-touch-core-regulator"; + regulator-name = "touch-core"; + }; ++ ++ /* ++ * Every A9 iPhone's D2255 (pmu,d2255) switches Bluetooth power ++ * on line 8 and Wi-Fi REG_ON on line 10; the other lines stay ++ * as iBoot left them. ++ */ ++ pmu_gpio: gpio { ++ compatible = "apple,d2255-pmic-gpio"; ++ gpio-controller; ++ #gpio-cells = <2>; ++ gpio-reserved-ranges = <0 8>, <9 1>, <11 10>; ++ }; + }; + }; + +diff --git a/arch/arm64/boot/dts/apple/s800x-n66.dtsi b/arch/arm64/boot/dts/apple/s800x-n66.dtsi +index 34fc1191c..6984485ab 100644 +--- a/arch/arm64/boot/dts/apple/s800x-n66.dtsi ++++ b/arch/arm64/boot/dts/apple/s800x-n66.dtsi +@@ -22,3 +22,107 @@ &touchscreen { + &battery_info { + constant-charge-current-max-microamp = <1924000>; + }; ++ ++/ { ++ aliases { ++ bluetooth0 = &bluetooth; /* the loader adds the device address */ ++ serial1 = &serial1; ++ wifi0 = &wifi0; /* the loader adds the MAC and calibration */ ++ }; ++ ++ /* ADT uart4/wlan function-reg_on: D2255 GPIO 10 */ ++ wlan_vdd: regulator-wlan-vdd { ++ compatible = "regulator-fixed"; ++ regulator-name = "wlan-vdd"; ++ gpio = <&pmu_gpio 10 GPIO_ACTIVE_HIGH>; ++ enable-active-high; ++ off-on-delay-us = <100000>; ++ }; ++}; ++ ++&pcie0 { ++ pinctrl-0 = <&wifi_clkreq_pins>; ++ pinctrl-names = "default"; ++ ++ /* ++ * Wi-Fi, from the ADT pci-bridge1: PERST# GPIO 161, CLKREQ# 165, ++ * DEVICE_WAKE 73, 2.5 GT/s. The module has no host wake on an AP ++ * GPIO; iOS takes it as a D2255 event. ++ */ ++ pci@1,0 { ++ device_type = "pci"; ++ reg = <0x800 0x0 0x0 0x0 0x0>; ++ bus-range = <2 2>; ++ reset-gpios = <&pinctrl_ap 161 GPIO_ACTIVE_LOW>; ++ max-link-speed = <1>; ++ aspm-no-l0s; ++ aspm-no-l1; ++ ++ #address-cells = <3>; ++ #size-cells = <2>; ++ ranges; ++ ++ /* BCM4350 (14e4:43a3) "pinotnoir"; bus 2 maps to pcie0_dart1 */ ++ wifi0: wifi@0,0 { ++ compatible = "pci14e4,43a3"; ++ reg = <0x20000 0x0 0x0 0x0 0x0>; ++ apple,wlan-uart = <&wlan_uart4>; ++ device-wake-gpios = <&pinctrl_ap 73 GPIO_ACTIVE_HIGH>; ++ vdd-supply = <&wlan_vdd>; ++ brcm,board-type = "apple,pinotnoir"; ++ /* cfg80211's country goes to the firmware as /0 */ ++ brcm,ccode-map-trivial; ++ }; ++ }; ++}; ++ ++&pinctrl_ap { ++ /* ++ * Port 1 CLKREQ# (ADT pci-bridge1 function-clkreq) in its peripheral ++ * function: iBoot doesn't set it up for Wi-Fi on a tethered boot. ++ */ ++ wifi_clkreq_pins: wifi-clkreq-pins { ++ pinmux = ; ++ }; ++ ++ /* ADT uart4 function-tx and function-rts */ ++ wlan_uart4_pins: wlan-uart4-pins { ++ pinmux = , ++ ; ++ }; ++ ++ /* ADT uart1: TX 24 and RTS 26; RX and CTS follow them */ ++ bluetooth_uart1_pins: bluetooth-uart1-pins { ++ pinmux = , ++ , ++ , ++ ; ++ }; ++}; ++ ++&wlan_uart4 { ++ pinctrl-0 = <&wlan_uart4_pins>; ++ pinctrl-names = "default"; ++ status = "okay"; ++}; ++ ++/* ++ * The BCM4350C5's Bluetooth on UART1, from the ADT uart1/bluetooth node: ++ * power enable on D2255 GPIO 8, BT_WAKE on AP GPIO 71, 3 Mbit/s ++ * transport-speed. The Patchram follows the Wi-Fi module vendor (USI or ++ * Murata) that brcmfmac reads from the OTP. ++ */ ++&serial1 { ++ pinctrl-0 = <&bluetooth_uart1_pins>; ++ pinctrl-names = "default"; ++ uart-has-rtscts; ++ ++ bluetooth: bluetooth { ++ compatible = "apple,n66-bcm4350c5-bt"; ++ current-speed = <115200>; ++ max-speed = <3000000>; ++ shutdown-gpios = <&pmu_gpio 8 GPIO_ACTIVE_HIGH>; ++ device-wakeup-gpios = <&pinctrl_ap 71 GPIO_ACTIVE_HIGH>; ++ apple,wlan = <&wifi0>; ++ }; ++}; diff --git a/kernel/patches/drivers/bluetooth/0010-dt-bindings-net-bluetooth-brcm-Add-iPhone-6s-Plus-BC.patch b/kernel/patches/drivers/bluetooth/0010-dt-bindings-net-bluetooth-brcm-Add-iPhone-6s-Plus-BC.patch new file mode 100644 index 00000000..930551cc --- /dev/null +++ b/kernel/patches/drivers/bluetooth/0010-dt-bindings-net-bluetooth-brcm-Add-iPhone-6s-Plus-BC.patch @@ -0,0 +1,28 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: ricktav <82380971+ricktav@users.noreply.github.com> +Date: Mon, 23 Nov 2026 15:43:09 +0100 +Subject: [PATCH] dt-bindings: net: bluetooth: brcm: Add iPhone 6s Plus + BCM4350C5 + +The iPhone 6s Plus (N66) has a BCM4350C5 in its USI or Murata +"Pinotnoir" module, on a UART. iOS loads its Patchram from BlueTool as +"BCM4350C5_..._Pinotnoir_OS_{USI,MUR}_BM_MCC". + +Assisted-by: LLM +Signed-off-by: ricktav <82380971+ricktav@users.noreply.github.com> +--- + .../devicetree/bindings/net/bluetooth/brcm,bluetooth.yaml | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/Documentation/devicetree/bindings/net/bluetooth/brcm,bluetooth.yaml b/Documentation/devicetree/bindings/net/bluetooth/brcm,bluetooth.yaml +index aecd8e794..88ba22135 100644 +--- a/Documentation/devicetree/bindings/net/bluetooth/brcm,bluetooth.yaml ++++ b/Documentation/devicetree/bindings/net/bluetooth/brcm,bluetooth.yaml +@@ -32,6 +32,7 @@ properties: + - const: brcm,bcm4329-bt + - enum: + - apple,j81-bcm4350c2-bt ++ - apple,n66-bcm4350c5-bt + - apple,n102-bcm4345b1-bt + - brcm,bcm20702a1 + - brcm,bcm4329-bt diff --git a/kernel/patches/drivers/bluetooth/0011-Bluetooth-hci_bcm-Add-iPhone-6s-Plus-BCM4350C5.patch b/kernel/patches/drivers/bluetooth/0011-Bluetooth-hci_bcm-Add-iPhone-6s-Plus-BCM4350C5.patch new file mode 100644 index 00000000..d7d4ca37 --- /dev/null +++ b/kernel/patches/drivers/bluetooth/0011-Bluetooth-hci_bcm-Add-iPhone-6s-Plus-BCM4350C5.patch @@ -0,0 +1,28 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: ricktav <82380971+ricktav@users.noreply.github.com> +Date: Mon, 23 Nov 2026 15:43:09 +0100 +Subject: [PATCH] Bluetooth: hci_bcm: Add iPhone 6s Plus BCM4350C5 + +Match the iPhone 6s Plus BCM4350C5 with the plain hci_bcm sequence that +starts the iPad Air 2's BCM4350C2: Patchram at 115,200 baud, then the +board's max-speed. Untested on the N66 so far. + +Assisted-by: LLM +Signed-off-by: ricktav <82380971+ricktav@users.noreply.github.com> +--- + drivers/bluetooth/hci_bcm.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/drivers/bluetooth/hci_bcm.c b/drivers/bluetooth/hci_bcm.c +index 1918caf00..672ddf1da 100644 +--- a/drivers/bluetooth/hci_bcm.c ++++ b/drivers/bluetooth/hci_bcm.c +@@ -1754,6 +1754,8 @@ static const struct of_device_id bcm_bluetooth_of_match[] = { + .data = &bcm4355_j172_device_data }, + /* The iPad Air 2 BCM4350C2 runs the plain sequence at 115,200 baud. */ + { .compatible = "apple,j81-bcm4350c2-bt" }, ++ /* The iPhone 6s Plus BCM4350C5, as the iPad Air 2's C2 so far. */ ++ { .compatible = "apple,n66-bcm4350c5-bt" }, + /* The iPod touch 6 BCM4345B1 uses the plain sequence at 115,200 baud. */ + { .compatible = "apple,n102-bcm4345b1-bt" }, + { .compatible = "apple,j71b-bcm4355c1-bt", diff --git a/kernel/patches/drivers/bluetooth/0012-Bluetooth-btbcm-Treat-the-BCM4350C5-default-address-.patch b/kernel/patches/drivers/bluetooth/0012-Bluetooth-btbcm-Treat-the-BCM4350C5-default-address-.patch new file mode 100644 index 00000000..e83e122c --- /dev/null +++ b/kernel/patches/drivers/bluetooth/0012-Bluetooth-btbcm-Treat-the-BCM4350C5-default-address-.patch @@ -0,0 +1,49 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: ricktav <82380971+ricktav@users.noreply.github.com> +Date: Mon, 23 Nov 2026 16:34:37 +0100 +Subject: [PATCH] Bluetooth: btbcm: Treat the BCM4350C5 default address as + invalid + +The iPhone 6s Plus's BCM4350C5 reports 43:50:C5:00:1F:AC, before and +after its Patchram loads, unless the host sets an address. It was taken +as the controller's own, so hci_bcm never set +HCI_QUIRK_USE_BDADDR_PROPERTY and the address the boot loader puts in +local-bd-address (the unit's, from the Apple device tree) went unused. +Add it to the known default addresses. + +Assisted-by: LLM +Signed-off-by: ricktav <82380971+ricktav@users.noreply.github.com> +--- + drivers/bluetooth/btbcm.c | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/drivers/bluetooth/btbcm.c b/drivers/bluetooth/btbcm.c +index baba42563..e9af5a4f2 100644 +--- a/drivers/bluetooth/btbcm.c ++++ b/drivers/bluetooth/btbcm.c +@@ -30,6 +30,7 @@ + #define BDADDR_BCM4330B1 (&(bdaddr_t) {{0x00, 0x00, 0x00, 0xb1, 0x30, 0x43}}) + #define BDADDR_BCM4334B0 (&(bdaddr_t) {{0x00, 0x00, 0x00, 0xb0, 0x34, 0x43}}) + #define BDADDR_BCM4345C5 (&(bdaddr_t) {{0xac, 0x1f, 0x00, 0xc5, 0x45, 0x43}}) ++#define BDADDR_BCM4350C5 (&(bdaddr_t) {{0xac, 0x1f, 0x00, 0xc5, 0x50, 0x43}}) + #define BDADDR_BCM4355C0 (&(bdaddr_t) {{0xac, 0x1f, 0x00, 0xc0, 0x55, 0x43}}) + #define BDADDR_BCM4355C1 (&(bdaddr_t) {{0x93, 0x76, 0x00, 0xc1, 0x55, 0x43}}) + #define BDADDR_BCM43341B (&(bdaddr_t) {{0xac, 0x1f, 0x00, 0x1b, 0x34, 0x43}}) +@@ -123,6 +124,9 @@ int btbcm_check_bdaddr(struct hci_dev *hdev) + * The address AA:AA:AA:AA:AA:AA indicates a BCM43430A1 controller + * with no configured address. + * ++ * The address 43:50:C5:00:1F:AC indicates a BCM4350C5 controller ++ * with no configured address. ++ * + * The address 43:55:C0:00:1F:AC indicates a BCM4355C0 controller + * with no configured address. + * +@@ -136,6 +140,7 @@ int btbcm_check_bdaddr(struct hci_dev *hdev) + !bacmp(&bda->bdaddr, BDADDR_BCM4330B1) || + !bacmp(&bda->bdaddr, BDADDR_BCM4334B0) || + !bacmp(&bda->bdaddr, BDADDR_BCM4345C5) || ++ !bacmp(&bda->bdaddr, BDADDR_BCM4350C5) || + !bacmp(&bda->bdaddr, BDADDR_BCM4355C0) || + !bacmp(&bda->bdaddr, BDADDR_BCM4355C1) || + !bacmp(&bda->bdaddr, BDADDR_BCM43430A0) || diff --git a/kernel/patches/drivers/gpio/0016-dt-bindings-gpio-apple-d2365-pmic-gpio-Add-the-D2255.patch b/kernel/patches/drivers/gpio/0016-dt-bindings-gpio-apple-d2365-pmic-gpio-Add-the-D2255.patch new file mode 100644 index 00000000..47bc01b2 --- /dev/null +++ b/kernel/patches/drivers/gpio/0016-dt-bindings-gpio-apple-d2365-pmic-gpio-Add-the-D2255.patch @@ -0,0 +1,47 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: ricktav <82380971+ricktav@users.noreply.github.com> +Date: Mon, 23 Nov 2026 15:43:00 +0100 +Subject: [PATCH] dt-bindings: gpio: apple,d2365-pmic-gpio: Add the D2255 + +The D2255 (Antigua) is the PMIC of the Samsung A9 iPhone 6s and 6s +Plus. It has 21 GPIO lines with the D2333's configuration byte layout. +Its PMU events are not described yet, so like the D2186 and D2333 it is +a GPIO controller only. + +Assisted-by: LLM +Signed-off-by: ricktav <82380971+ricktav@users.noreply.github.com> +--- + .../devicetree/bindings/gpio/apple,d2365-pmic-gpio.yaml | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +diff --git a/Documentation/devicetree/bindings/gpio/apple,d2365-pmic-gpio.yaml b/Documentation/devicetree/bindings/gpio/apple,d2365-pmic-gpio.yaml +index 1a5a8c167..83b7a00c3 100644 +--- a/Documentation/devicetree/bindings/gpio/apple,d2365-pmic-gpio.yaml ++++ b/Documentation/devicetree/bindings/gpio/apple,d2365-pmic-gpio.yaml +@@ -11,8 +11,8 @@ maintainers: + + description: | + The Dialog D2186 and D2207 PMICs used with the Apple A8 and A8X and the +- D2333 and D2365 PMICs used in Apple A9 and A10 devices provide 21, 21, 21 +- and 24 GPIOs respectively. The controller is accessed through the regmap exported by the ++ D2255, D2333 and D2365 PMICs used in Apple A9 and A10 devices provide 21, ++ 21, 21, 21 and 24 GPIOs respectively. The controller is accessed through the regmap exported by the + parent Apple I2C PMIC device. + + The D2207 and D2365 also latch 112 and 240 PMU events respectively +@@ -42,6 +42,7 @@ properties: + - apple,d2089-pmic-gpio + - apple,d2186-pmic-gpio + - apple,d2207-pmic-gpio ++ - apple,d2255-pmic-gpio + - apple,d2333-pmic-gpio + - apple,d2365-pmic-gpio + +@@ -108,6 +109,7 @@ allOf: + compatible: + enum: + - apple,d2186-pmic-gpio ++ - apple,d2255-pmic-gpio + - apple,d2333-pmic-gpio + then: + properties: diff --git a/kernel/patches/drivers/gpio/0017-gpio-apple-d2365-Add-D2255-PMIC-GPIO-support.patch b/kernel/patches/drivers/gpio/0017-gpio-apple-d2365-Add-D2255-PMIC-GPIO-support.patch new file mode 100644 index 00000000..ea37c793 --- /dev/null +++ b/kernel/patches/drivers/gpio/0017-gpio-apple-d2365-Add-D2255-PMIC-GPIO-support.patch @@ -0,0 +1,89 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: ricktav <82380971+ricktav@users.noreply.github.com> +Date: Mon, 23 Nov 2026 15:43:01 +0100 +Subject: [PATCH] gpio: apple-d2365: Add D2255 PMIC GPIO support + +The iPhone 6s Plus (N66) switches its Wi-Fi REG_ON (line 10) and +Bluetooth power (line 8) on D2255 GPIOs. iOS 15.8.8 AppleD2255PMU +addresses line n's configuration byte at 0x900 + 2 * n for lines 0-16 +and 0x8c0 + 6 * n for lines 17-20, treats bits 7:6 as the mode and bit 0 +as the output level, and reads input levels from bit n % 8 of +0x186 + n / 8: the D2333 scheme with other upper-line addresses. On an +N66 that iBoot started, lines 8 and 10 read 0x80, the D2333's output +code. + +Only GPIO support for now; the PMU event block is not described. + +Assisted-by: LLM +Signed-off-by: ricktav <82380971+ricktav@users.noreply.github.com> +--- + drivers/gpio/gpio-apple-d2365.c | 35 +++++++++++++++++++++++++++++++++ + 1 file changed, 35 insertions(+) + +diff --git a/drivers/gpio/gpio-apple-d2365.c b/drivers/gpio/gpio-apple-d2365.c +index 12784db89..280183439 100644 +--- a/drivers/gpio/gpio-apple-d2365.c ++++ b/drivers/gpio/gpio-apple-d2365.c +@@ -109,6 +109,18 @@ + #define D2333_GPIO_INPUT 0 + #define D2333_GPIO_OUTPUT BIT(7) + ++/* ++ * D2255 (A9 iPhones), as iOS AppleD2255PMU accesses it: the configuration ++ * byte of line n is 0x900 + 2 * n for lines 0-16 and 0x8c0 + 6 * n for ++ * lines 17-20 (_index2GPIOAddress). Bits 7:6 are the mode as on the D2333, ++ * and bit 0 is the output level; input levels are bit n % 8 of ++ * 0x186 + n / 8 (_getGPIOValue). The lines iBoot leaves as outputs read ++ * 0x80, as on the D2333. ++ */ ++#define D2255_GPIO_SPLIT 17 ++#define D2255_GPIO_CFG_0_16 0x900 ++#define D2255_GPIO_CFG_17_20 0x8c0 ++ + /* + * D2365 PMU events, one bit each (event n: byte n / 8, bit n % 8). iOS + * fetches them by reading all 30 bytes at 0x140 (clear on read); 0x1c0 is +@@ -200,6 +212,14 @@ static unsigned int d2365_gpio_config_reg(unsigned int offset) + return D2365_GPIO_CFG_18_23 + 6 * offset; + } + ++static unsigned int d2255_gpio_config_reg(unsigned int offset) ++{ ++ if (offset < D2255_GPIO_SPLIT) ++ return D2255_GPIO_CFG_0_16 + 2 * offset; ++ ++ return D2255_GPIO_CFG_17_20 + 6 * offset; ++} ++ + static const unsigned int d2333_gpio_config_regs[] = { + 0x900, 0x902, 0x904, 0x906, 0x908, 0x90a, 0x90c, + 0x90e, 0x910, 0x912, 0x914, 0x916, 0x918, 0x91a, +@@ -1054,6 +1074,17 @@ static const struct apple_pmic_gpio_info d2207_gpio_info = { + .events = &d2207_event_info, + }; + ++static const struct apple_pmic_gpio_info d2255_gpio_info = { ++ .label = "d2255-pmic-gpio", ++ .ngpio = 21, ++ .input_base = 0x186, ++ .value_mask = D2333_GPIO_VALUE, ++ .direction_mask = D2333_GPIO_DIRECTION_MASK, ++ .input_mode = D2333_GPIO_INPUT, ++ .output_mode = D2333_GPIO_OUTPUT, ++ .config_reg = d2255_gpio_config_reg, ++}; ++ + static const struct apple_pmic_gpio_info d2333_gpio_info = { + .label = "d2333-pmic-gpio", + .ngpio = ARRAY_SIZE(d2333_gpio_config_regs), +@@ -1098,6 +1129,10 @@ static const struct of_device_id d2365_gpio_of_match[] = { + .compatible = "apple,d2207-pmic-gpio", + .data = &d2207_gpio_info, + }, ++ { ++ .compatible = "apple,d2255-pmic-gpio", ++ .data = &d2255_gpio_info, ++ }, + { + .compatible = "apple,d2333-pmic-gpio", + .data = &d2333_gpio_info, diff --git a/tools/catalog/drivers.json b/tools/catalog/drivers.json index 26e67140..ebe97c4b 100644 --- a/tools/catalog/drivers.json +++ b/tools/catalog/drivers.json @@ -566,6 +566,8 @@ "accelerometer", "backlight", "battery", + "bluetooth_audio", + "bluetooth_input", "buttons", "charging", "gyroscope", @@ -575,12 +577,15 @@ "touch", "usb_network", "usb_serial", - "video_decode_hevc" + "video_decode_hevc", + "wifi" ], "n66m": [ "accelerometer", "backlight", "battery", + "bluetooth_audio", + "bluetooth_input", "buttons", "charging", "gyroscope", @@ -590,7 +595,8 @@ "touch", "usb_network", "usb_serial", - "video_decode_hevc" + "video_decode_hevc", + "wifi" ], "n69": [ "accelerometer",