From 18cfec48ada9ff07af242ce207e3cb08ae032b7c Mon Sep 17 00:00:00 2001 From: Joshua Warren <816217+joshuaswarren@users.noreply.github.com> Date: Thu, 12 Nov 2026 22:59:44 +0000 Subject: [PATCH] arm64: dts: apple: t6050-k114c: the boot NOR and its read-only nvram partition Enable the QSPI controller with a jedec,spi-nor flash on chip select 0 and the 0xc0000-byte nvram partition at 0x700000, read-only, so asahi-bless can read the boot state. The flash ID is probed by spi-nor. Signed-off-by: Joshua Warren <816217+joshuaswarren@users.noreply.github.com> --- arch/arm64/boot/dts/apple/t6050-k114c.dts | 27 +++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/arch/arm64/boot/dts/apple/t6050-k114c.dts b/arch/arm64/boot/dts/apple/t6050-k114c.dts index 13ea865ba58e1..6100f9d1cf80c 100644 --- a/arch/arm64/boot/dts/apple/t6050-k114c.dts +++ b/arch/arm64/boot/dts/apple/t6050-k114c.dts @@ -29,6 +29,7 @@ /* kboot fills the N1's factory addresses from /chosen through these */ wifi0 = &n1_alpha; bluetooth0 = &n1_beta; + nvram = &nvram; }; }; @@ -581,3 +582,29 @@ <&ps_atc2_cio_usb>, <&ps_atc2_cio_auss>, <&ps_atc2_pcie>; apple,pcie-tunnel = <&acio2_pcie_tunnel>; }; + +/* + * The boot NOR. spi-nor reads the part's JEDEC ID itself. The partition is + * read-only: no program or erase reaches the flash until a later change lifts it. + */ +&qspi { + status = "okay"; + + flash@0 { + compatible = "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <25000000>; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + nvram: partition@700000 { + label = "nvram"; + reg = <0x700000 0xc0000>; + read-only; + }; + }; + }; +};