mirror of
https://github.com/torvalds/linux.git
synced 2026-06-03 12:03:54 +02:00
arm64: dts: apple: Add J414 and J416 Macbook Pro device trees
Add device trees for the T6020 and T6021 based Macbook Pros (M2 Pro/Max, 14/16-inch). The devices are very similar to the T6000/T6001 based ones so reuse the device templates, include the new SoCs and correct for the minimal differences. Signed-off-by: Hector Martin <marcan@marcan.st> Reviewed-by: Neal Gompa <neal@gompa.dev> Co-developed-by: Janne Grunau <j@jannau.net> Signed-off-by: Janne Grunau <j@jannau.net> Reviewed-by: Sven Peter <sven@kernel.org> Signed-off-by: Sven Peter <sven@kernel.org>
This commit is contained in:
parent
a8f20eb607
commit
44a952585b
|
|
@ -79,6 +79,10 @@ dtb-$(CONFIG_ARCH_APPLE) += t6000-j316s.dtb
|
|||
dtb-$(CONFIG_ARCH_APPLE) += t6001-j316c.dtb
|
||||
dtb-$(CONFIG_ARCH_APPLE) += t6001-j375c.dtb
|
||||
dtb-$(CONFIG_ARCH_APPLE) += t6002-j375d.dtb
|
||||
dtb-$(CONFIG_ARCH_APPLE) += t6020-j414s.dtb
|
||||
dtb-$(CONFIG_ARCH_APPLE) += t6021-j414c.dtb
|
||||
dtb-$(CONFIG_ARCH_APPLE) += t6020-j416s.dtb
|
||||
dtb-$(CONFIG_ARCH_APPLE) += t6021-j416c.dtb
|
||||
dtb-$(CONFIG_ARCH_APPLE) += t8112-j413.dtb
|
||||
dtb-$(CONFIG_ARCH_APPLE) += t8112-j415.dtb
|
||||
dtb-$(CONFIG_ARCH_APPLE) += t8112-j473.dtb
|
||||
|
|
|
|||
26
arch/arm64/boot/dts/apple/t6020-j414s.dts
Normal file
26
arch/arm64/boot/dts/apple/t6020-j414s.dts
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
// SPDX-License-Identifier: GPL-2.0+ OR MIT
|
||||
/*
|
||||
* MacBook Pro (14-inch, M2 Pro, 2023)
|
||||
*
|
||||
* target-type: J414s
|
||||
*
|
||||
* Copyright The Asahi Linux Contributors
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include "t6020.dtsi"
|
||||
#include "t602x-j414-j416.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "apple,j414s", "apple,t6020", "apple,arm-platform";
|
||||
model = "Apple MacBook Pro (14-inch, M2 Pro, 2023)";
|
||||
};
|
||||
|
||||
&wifi0 {
|
||||
brcm,board-type = "apple,tokara";
|
||||
};
|
||||
|
||||
&bluetooth0 {
|
||||
brcm,board-type = "apple,tokara";
|
||||
};
|
||||
26
arch/arm64/boot/dts/apple/t6020-j416s.dts
Normal file
26
arch/arm64/boot/dts/apple/t6020-j416s.dts
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
// SPDX-License-Identifier: GPL-2.0+ OR MIT
|
||||
/*
|
||||
* MacBook Pro (16-inch, M2 Pro, 2023)
|
||||
*
|
||||
* target-type: J416s
|
||||
*
|
||||
* Copyright The Asahi Linux Contributors
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include "t6020.dtsi"
|
||||
#include "t602x-j414-j416.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "apple,j416s", "apple,t6020", "apple,arm-platform";
|
||||
model = "Apple MacBook Pro (16-inch, M2 Pro, 2023)";
|
||||
};
|
||||
|
||||
&wifi0 {
|
||||
brcm,board-type = "apple,amami";
|
||||
};
|
||||
|
||||
&bluetooth0 {
|
||||
brcm,board-type = "apple,amami";
|
||||
};
|
||||
26
arch/arm64/boot/dts/apple/t6021-j414c.dts
Normal file
26
arch/arm64/boot/dts/apple/t6021-j414c.dts
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
// SPDX-License-Identifier: GPL-2.0+ OR MIT
|
||||
/*
|
||||
* MacBook Pro (14-inch, M2 Max, 2023)
|
||||
*
|
||||
* target-type: J414c
|
||||
*
|
||||
* Copyright The Asahi Linux Contributors
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include "t6021.dtsi"
|
||||
#include "t602x-j414-j416.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "apple,j414c", "apple,t6021", "apple,arm-platform";
|
||||
model = "Apple MacBook Pro (14-inch, M2 Max, 2023)";
|
||||
};
|
||||
|
||||
&wifi0 {
|
||||
brcm,board-type = "apple,tokara";
|
||||
};
|
||||
|
||||
&bluetooth0 {
|
||||
brcm,board-type = "apple,tokara";
|
||||
};
|
||||
26
arch/arm64/boot/dts/apple/t6021-j416c.dts
Normal file
26
arch/arm64/boot/dts/apple/t6021-j416c.dts
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
// SPDX-License-Identifier: GPL-2.0+ OR MIT
|
||||
/*
|
||||
* MacBook Pro (16-inch, M2 Max, 2022)
|
||||
*
|
||||
* target-type: J416c
|
||||
*
|
||||
* Copyright The Asahi Linux Contributors
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include "t6021.dtsi"
|
||||
#include "t602x-j414-j416.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "apple,j416c", "apple,t6021", "apple,arm-platform";
|
||||
model = "Apple MacBook Pro (16-inch, M2 Max, 2023)";
|
||||
};
|
||||
|
||||
&wifi0 {
|
||||
brcm,board-type = "apple,amami";
|
||||
};
|
||||
|
||||
&bluetooth0 {
|
||||
brcm,board-type = "apple,amami";
|
||||
};
|
||||
45
arch/arm64/boot/dts/apple/t602x-j414-j416.dtsi
Normal file
45
arch/arm64/boot/dts/apple/t602x-j414-j416.dtsi
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
// SPDX-License-Identifier: GPL-2.0+ OR MIT
|
||||
/*
|
||||
* MacBook Pro (14/16-inch, 2022)
|
||||
*
|
||||
* This file contains the parts common to J414 and J416 devices with both t6020 and t6021.
|
||||
*
|
||||
* target-type: J414s / J414c / J416s / J416c
|
||||
*
|
||||
* Copyright The Asahi Linux Contributors
|
||||
*/
|
||||
|
||||
/*
|
||||
* These models are essentially identical to the previous generation, other than
|
||||
* the GPIO indices.
|
||||
*/
|
||||
|
||||
#include "t600x-j314-j316.dtsi"
|
||||
|
||||
&framebuffer0 {
|
||||
power-domains = <&ps_disp0_cpu0>, <&ps_dptx_phy_ps>;
|
||||
};
|
||||
|
||||
&hpm0 {
|
||||
interrupts = <44 IRQ_TYPE_LEVEL_LOW>;
|
||||
};
|
||||
|
||||
&hpm1 {
|
||||
interrupts = <44 IRQ_TYPE_LEVEL_LOW>;
|
||||
};
|
||||
|
||||
&hpm2 {
|
||||
interrupts = <44 IRQ_TYPE_LEVEL_LOW>;
|
||||
};
|
||||
|
||||
&hpm5 {
|
||||
interrupts = <44 IRQ_TYPE_LEVEL_LOW>;
|
||||
};
|
||||
|
||||
&wifi0 {
|
||||
compatible = "pci14e4,4434";
|
||||
};
|
||||
|
||||
&bluetooth0 {
|
||||
compatible = "pci14e4,5f72";
|
||||
};
|
||||
Loading…
Reference in New Issue
Block a user