1// SPDX-License-Identifier: GPL-2.0+ OR MIT 2// 3// Devicetree include for common spi-nor nvram flash. 4// 5// Apple uses a consistent configiguration for the nvram on all known M1* and 6// M2* devices. 7// 8// Copyright The Asahi Linux Contributors 9 10/ { 11 aliases { 12 nvram = &nvram; 13 }; 14}; 15 16&spi1 { 17 status = "okay"; 18 19 flash@0 { 20 compatible = "jedec,spi-nor"; 21 reg = <0x0>; 22 spi-max-frequency = <25000000>; 23 #address-cells = <1>; 24 #size-cells = <1>; 25 26 partitions { 27 compatible = "fixed-partitions"; 28 #address-cells = <1>; 29 #size-cells = <1>; 30 31 nvram: partition@700000 { 32 label = "nvram"; 33 /* To be filled by the loader */ 34 reg = <0x0 0x0>; 35 status = "disabled"; 36 }; 37 }; 38 }; 39}; 40