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
50 changes: 50 additions & 0 deletions arch/arm64/boot/dts/apple/t6041-j614c-j616c.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -1524,3 +1524,53 @@

#include "t6041-j616c-hdmi.dtsi"
#include "t6041-j616c-usbc.dtsi"

/ {
aliases {
nvram = &nvram;
};

/*
* The boot NOR runs from a PMU rail that is on whenever the SoC is
* and that no OS switches. The ADT gives the flash no supply.
*/
nor_flash_vcc: regulator-nor-flash-vcc {
compatible = "regulator-fixed";
regulator-name = "nor-flash-vcc";
regulator-always-on;
};
};

/*
* Boot NOR, as on the M4 Pro boards. The partition is the J614c ADT
* /arm-io/qspi/spinor/anvram (0x700000, 0x100000), flash-relative;
* asahi-bless and asahi-nvram find it by its label.
*/
&qspi {
status = "okay";

flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
spi-rx-bus-width = <1>;
spi-tx-bus-width = <1>;
vcc-supply = <&nor_flash_vcc>;

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

nvram: partition@700000 {
label = "nvram";
reg = <0x700000 0x100000>;
};
};
};
};

/* The QSPI controller cannot probe while its power state is disabled. */
&ps_qspi {
status = "okay";
};
Loading