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
46 changes: 46 additions & 0 deletions arch/arm64/boot/dts/apple/t6041-j575c.dts
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,23 @@
dcp = &dcp;
disp0 = &display;
disp0-piodma = &disp0_piodma;
nvram = &nvram;
};

chosen {
stdout-path = "serial0:115200n8";
};

/*
* 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;
};

reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
Expand Down Expand Up @@ -2015,3 +2026,38 @@
&gpu {
power-domains = <&pmp_gfx>;
};

/*
* Boot NOR, as on the J614c/J616c. ADT /arm-io/qspi ("qspi,qspimc",
* 0x229118000, IRQ 1573) is the t604x.dtsi qspi node, and the partition is
* /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