• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisióne53237aa53448fc1baed408cdad3ad5aef9bbe65 (tree)
Tiempo2022-07-25 22:38:47
AutorJanne Grunau <j@jann...>
CommiterTom Rini

Log Message

arm: apple: Add initial Apple M2 support

Apple's M2 SoC very similar to the M1 and can use the same memory map.
The keyboard/trackpad on the MacBook Pro (13-inch, M2, 2022) uses
"dockchannel" as transport instead of SPI and needs a new driver.
USB, NVMe, uart, framebuffer and watchdog are working with the existing
drivers.

Signed-off-by: Janne Grunau <j@jannau.net>
Reviewed-by: Mark Kettenis <kettenis@openbsd.org>

Cambiar Resumen

Diferencia incremental

--- a/arch/arm/mach-apple/board.c
+++ b/arch/arm/mach-apple/board.c
@@ -16,7 +16,7 @@
1616
1717 DECLARE_GLOBAL_DATA_PTR;
1818
19-/* Apple M1 */
19+/* Apple M1/M2 */
2020
2121 static struct mm_region t8103_mem_map[] = {
2222 {
@@ -376,7 +376,8 @@ void build_mem_map(void)
376376 fdt_size_t size;
377377 int i;
378378
379- if (of_machine_is_compatible("apple,t8103"))
379+ if (of_machine_is_compatible("apple,t8103") ||
380+ of_machine_is_compatible("apple,t8112"))
380381 mem_map = t8103_mem_map;
381382 else if (of_machine_is_compatible("apple,t6000"))
382383 mem_map = t6000_mem_map;