xref: /linux/arch/arm64/boot/dts/apple/spi1-nvram.dtsi (revision b1bf2ef6259e6aedc3f952ebd9bc056605563b74)
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
24		partitions {
25			compatible = "fixed-partitions";
26			#address-cells = <1>;
27			#size-cells = <1>;
28
29			nvram: partition@700000 {
30				label = "nvram";
31				/* To be filled by the loader */
32				reg = <0x0 0x0>;
33				status = "disabled";
34			};
35		};
36	};
37};
38