Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 39 additions & 1 deletion arch/arm64/boot/dts/apple/t6050-k114s.dts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
*
* target-type: K114s (Mac17,13)
*
* Preliminary: described from the ADT only, not yet booted on the hardware.
* Preliminary: described from the ADT. Only the NVRAM partition below has been run on a K114s,
* from the boot loader's tree; this file as a whole has not been booted.
*
* Copyright The Asahi Linux Contributors
*/
Expand All @@ -22,3 +23,40 @@

#define T6050_K114S
#include "t6050-peripherals.dtsi"

/ {
aliases {
/* asahi-bless and the boot loader find the NVRAM partition by this alias */
nvram = &nvram;
};
};

/*
* The boot NOR's NVRAM partition (ADT /arm-io/qspi/spinor/anvram: reg 0x700000, 0xc0000, 12
* banks of 64 KiB). Only this partition is described, so the rest of the NOR has no device
* node. Single-wire, as on the J775D: spi-nor then sends no quad-enable status write at probe.
* The partition is read-only, as on the K114c.
*/
&qspi {
status = "okay";

flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
spi-rx-bus-width = <1>;
spi-tx-bus-width = <1>;

partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;

nvram: partition@700000 {
label = "nvram";
reg = <0x700000 0xc0000>;
read-only;
};
};
};
};