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; + }; + }; + }; +};