[PATCH 3/3] arm: dts: Switch Apple silicon devices to dts/upstream
Janne Grunau
j at jannau.net
Sat May 2 11:00:05 CEST 2026
On Thu, Apr 30, 2026 at 11:25:48PM +0200, Janne Grunau wrote:
> The device tree on Apple silicon devices is passed from a previous
> bootloader stage. The bootloader fills in dynamic information so
> u-boot can not use its own device tree.
> As documented in doc/board/apple/m1.rst it is possible to build boot
> bundles (bootloader + device tree + gzipped u-boot binary). These are
> useful for testing.
> Instead of using u-boot's own device trees for M1 (t8103) devices use
> upstream device trees from dts/upstream/src/arm64/apple. The u-boot
> device trees have not seen updates since 2022. The upstream linux device
> trees have feature parity for the M1 devices. In addition linux has
> device trees for M1 Pro/Max/Ultra, M2 and M2 Pro/Max/Ultra devices.
> Keep t8103-j274 as default device tree to avoid further updates.
>
> Signed-off-by: Janne Grunau <j at jannau.net>
> ---
> arch/arm/Kconfig | 1 +
> arch/arm/dts/Makefile | 7 -
> arch/arm/dts/t8103-j274-u-boot.dtsi | 1 -
> arch/arm/dts/t8103-j274.dts | 129 ----
> arch/arm/dts/t8103-j293-u-boot.dtsi | 1 -
> arch/arm/dts/t8103-j293.dts | 116 ----
> arch/arm/dts/t8103-j313-u-boot.dtsi | 1 -
> arch/arm/dts/t8103-j313.dts | 111 ----
> arch/arm/dts/t8103-j456-u-boot.dtsi | 1 -
> arch/arm/dts/t8103-j456.dts | 117 ----
> arch/arm/dts/t8103-j457-u-boot.dtsi | 1 -
> arch/arm/dts/t8103-j457.dts | 105 ----
> arch/arm/dts/t8103-jxxx.dtsi | 143 -----
> arch/arm/dts/t8103-pmgr.dtsi | 1138 -----------------------------------
> arch/arm/dts/t8103-u-boot.dtsi | 25 -
> arch/arm/dts/t8103.dtsi | 696 ---------------------
> configs/apple_m1_defconfig | 2 +-
> doc/board/apple/m1.rst | 5 +-
> 18 files changed, 4 insertions(+), 2596 deletions(-)
snip
> diff --git a/configs/apple_m1_defconfig b/configs/apple_m1_defconfig
> index 1ce69f2882a..d0cfd5f5591 100644
> --- a/configs/apple_m1_defconfig
> +++ b/configs/apple_m1_defconfig
> @@ -1,6 +1,6 @@
> CONFIG_ARM=y
> CONFIG_ARCH_APPLE=y
> -CONFIG_DEFAULT_DEVICE_TREE="t8103-j274"
> +CONFIG_DEFAULT_DEVICE_TREE="apple/t8103-j274"
in addition we want
CONFIG_OF_UPSTREAM_BUILD_VENDOR=y
CONFIG_OF_UPSTREAM_VENDOR="apple"
which keeps the current behavior and builds all dtbs
I'll send a v2 in the next few days.
Janne
More information about the U-Boot
mailing list