Skip to content
Open
Show file tree
Hide file tree
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
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ is missing or empty.

## Unreleased

### Devices

- iPad Air 2 (Wi-Fi): internal storage works, so Omarchy installs with
`orchard install` and starts from the iPad with `orchard launch`, next to
iPadOS. The A8X storage controller (ANS1) has a kernel driver now.

### Install & launch

- On Linux, `orchard run` and `orchard launch` use the released Pongo again
Expand Down
4 changes: 2 additions & 2 deletions devices/j81/device.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ accelerometer = "missing"
gyroscope = "missing"
light_sensor = "missing"
touch_id = "missing"
storage_read = "missing"
storage_write = "missing"
storage_read = "working"
storage_write = "working"
wifi = "working"
bluetooth_input = "untested"
bluetooth_audio = "untested"
Expand Down
6 changes: 4 additions & 2 deletions docs/compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Generated by `tools/catalog/generate matrix` from `devices/`, `chips/` and `meth
| A8 | `j97` | iPad mini 4 (Cellular) | iPad5,2 | experimental | – | checkm8-pongo | yes | yes | 19H422 |
| A8 | `n56` | iPhone 6+ | iPhone7,1 | experimental | – | checkm8-pongo | yes | yes | 16H88 |
| A8 | `n61` | iPhone 6 | iPhone7,2 | experimental | – | checkm8-pongo | yes | yes | 16H22 |
| A8X | `j81` | iPad Air 2 (Wi-Fi) | iPad5,3 | experimental | – | checkm8-pongo | yes | yes | 19H422 |
| A8X | `j81` | iPad Air 2 (Wi-Fi) | iPad5,3 | experimental | yes | checkm8-pongo | yes | yes | 19H422 |
| A8X | `j82` | iPad Air 2 (Cellular) | iPad5,4 | experimental | – | checkm8-pongo | yes | yes | 19H422 |
| A9 | `j71s` | iPad 5 (Wi-Fi, Samsung) | iPad6,11 | experimental | – | checkm8-pongo | yes | yes | 20H350 |
| A9 | `j72s` | iPad 5 (Cellular, Samsung) | iPad6,12 | experimental | – | checkm8-pongo | yes | yes | 20H350 |
Expand Down Expand Up @@ -154,7 +154,7 @@ Boards Orchard builds for. States: working, untested, missing, none (no such har
| `j97` | untested | missing | untested | untested | untested | missing | missing | missing | missing | missing | missing | untested | missing | missing | missing | untested | missing | missing | untested | untested | untested | untested | missing | missing | missing | missing | missing |
| `n56` | untested | missing | untested | missing | untested | missing | missing | missing | missing | missing | missing | missing | missing | missing | missing | untested | missing | missing | untested | untested | untested | untested | missing | missing | missing | missing | missing |
| `n61` | working | untested | untested | working | untested | missing | missing | missing | missing | missing | missing | missing | missing | missing | missing | untested | missing | missing | untested | untested | working | untested | missing | missing | missing | missing | missing |
| `j81` | working | untested | working | working | working | missing | missing | missing | missing | missing | missing | working | untested | untested | none | working | missing | missing | untested | untested | working | working | missing | missing | missing | missing | missing |
| `j81` | working | untested | working | working | working | missing | missing | missing | missing | working | working | working | untested | untested | none | working | missing | missing | untested | untested | working | working | missing | missing | missing | missing | missing |
| `j82` | untested | untested | untested | untested | untested | missing | missing | missing | missing | missing | missing | untested | untested | untested | missing | untested | missing | missing | untested | untested | untested | untested | missing | missing | missing | missing | missing |
| `j71s` | untested | untested | untested | untested | untested | untested | untested | untested | missing | missing | missing | missing | untested | untested | none | untested | untested | untested | untested | untested | untested | untested | untested | untested | untested | missing | untested |
| `j72s` | untested | untested | untested | untested | untested | untested | untested | untested | missing | missing | missing | missing | untested | untested | missing | untested | untested | untested | untested | untested | untested | untested | untested | untested | untested | missing | untested |
Expand Down Expand Up @@ -248,6 +248,8 @@ A yes means an enabled device tree node binds a driver in `7.3.0-rc1-orchard-app

| Board | Feature | |
| --- | --- | --- |
| `j81` | Internal storage read | working, but no driver binds |
| `j81` | Internal storage write | working, but no driver binds |
| `j71s` | Microphone | untested, but no driver binds |
| `j72s` | Microphone | untested, but no driver binds |
| `j71t` | Microphone | untested, but no driver binds |
Expand Down
1 change: 1 addition & 0 deletions kernel/configs/apple-16k/config
Original file line number Diff line number Diff line change
Expand Up @@ -1790,6 +1790,7 @@ CONFIG_OF_OVERLAY=y
# CONFIG_PARPORT is not set
CONFIG_BLK_DEV=y
# CONFIG_BLK_DEV_NULL_BLK is not set
CONFIG_APPLE_ASP=m
# CONFIG_BLK_DEV_PCIESSD_MTIP32XX is not set
CONFIG_ZRAM=y
# CONFIG_ZRAM_BACKEND_LZ4 is not set
Expand Down
1 change: 1 addition & 0 deletions kernel/configs/apple-4k/config
Original file line number Diff line number Diff line change
Expand Up @@ -1791,6 +1791,7 @@ CONFIG_OF_OVERLAY=y
# CONFIG_PARPORT is not set
CONFIG_BLK_DEV=y
# CONFIG_BLK_DEV_NULL_BLK is not set
CONFIG_APPLE_ASP=m
# CONFIG_BLK_DEV_PCIESSD_MTIP32XX is not set
CONFIG_ZRAM=y
# CONFIG_ZRAM_BACKEND_LZ4 is not set
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Nick Chan <towinchenmi@gmail.com>
Date: Thu, 19 Nov 2026 13:15:01 +0100
Subject: [PATCH] arm64: dts: apple: t7001: Add the ANS nodes

Describe the A8X storage coprocessor and its mailbox, disabled until a
board enables them. m1n1 fills the coprocessor's firmware region through
the asp alias.

[Orchard: from HoolockLinux/linux ans1 ed8528f 32c5dac3841f.]
Signed-off-by: Nick Chan <towinchenmi@gmail.com>
Signed-off-by: ricktav <82380971+ricktav@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---
arch/arm64/boot/dts/apple/t7001.dtsi | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

diff --git a/arch/arm64/boot/dts/apple/t7001.dtsi b/arch/arm64/boot/dts/apple/t7001.dtsi
index 1a666e7be..892ff78bd 100644
--- a/arch/arm64/boot/dts/apple/t7001.dtsi
+++ b/arch/arm64/boot/dts/apple/t7001.dtsi
@@ -20,6 +20,7 @@ / {
aliases {
ausbphy0 = &ausbphy0; /* Used by loader */
serial0 = &serial0;
+ asp = &ans;
};

clkref: clock-ref {
@@ -141,6 +142,29 @@ cpufreq: performance-controller@202220000 {
#performance-domain-cells = <0>;
};

+ ans: block@208040000 {
+ compatible = "apple,t7001-ans", "apple,s5l8960x-ans";
+ reg = <0x2 0x08040000 0x0 0x1000>;
+ mboxes = <&ans_mbox>;
+ power-domains = <&ps_ans>;
+ resets = <&ps_ans>;
+ status = "disabled";
+ };
+
+ ans_mbox: mbox@208041000 {
+ compatible = "apple,t7000-akf-mailbox-v1", "apple,akf-mailbox-v1";
+ reg = <0x2 0x08041000 0x0 0x1000>;
+ interrupt-parent = <&aic>;
+ interrupts = <AIC_IRQ 36 IRQ_TYPE_LEVEL_HIGH>,
+ <AIC_IRQ 37 IRQ_TYPE_LEVEL_HIGH>,
+ <AIC_IRQ 38 IRQ_TYPE_LEVEL_HIGH>,
+ <AIC_IRQ 39 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "send-empty", "send-not-empty",
+ "recv-empty", "recv-not-empty";
+ #mbox-cells = <0>;
+ power-domains = <&ps_ans>;
+ };
+
serial0: serial@20a0c0000 {
compatible = "apple,s5l-uart";
reg = <0x2 0x0a0c0000 0x0 0x4000>;
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: ricktav <82380971+ricktav@users.noreply.github.com>
Date: Thu, 19 Nov 2026 13:15:02 +0100
Subject: [PATCH] arm64: dts: apple: t7001-air2: Enable internal storage

Enable ANS with the firmware region m1n1 fills in.

Signed-off-by: ricktav <82380971+ricktav@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---
arch/arm64/boot/dts/apple/t7001-air2.dtsi | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/apple/t7001-air2.dtsi b/arch/arm64/boot/dts/apple/t7001-air2.dtsi
index d4b114f73..246790a7f 100644
--- a/arch/arm64/boot/dts/apple/t7001-air2.dtsi
+++ b/arch/arm64/boot/dts/apple/t7001-air2.dtsi
@@ -95,7 +95,11 @@ reserved-memory {
#size-cells = <2>;
ranges;

- /* To be filled by loader */
+ ans_firmware: ans-firmware {
+ /* Filled in by the loader. */
+ reg = <0 0 0 0>;
+ no-map;
+ };
};

battery_info: battery {
@@ -113,6 +117,12 @@ wlan_vdd: regulator-wlan-vdd {
};
};

+&ans {
+ memory-region = <&ans_firmware>;
+ memory-region-names = "firmware";
+ status = "okay";
+};
+
&serial0 {
status = "okay";
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Nick Chan <towinchenmi@gmail.com>
Date: Thu, 19 Nov 2026 13:15:01 +0100
Subject: [PATCH] dt-bindings: block: Add the Apple ANS1 storage controller

[Orchard: from HoolockLinux/linux ans1 ed8528f f9eb00ee2a47.]
Signed-off-by: Nick Chan <towinchenmi@gmail.com>
Signed-off-by: ricktav <82380971+ricktav@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---
.../bindings/block/apple,s5l8960x-ans.yaml | 64 +++++++++++++++++++
1 file changed, 64 insertions(+)
create mode 100644 Documentation/devicetree/bindings/block/apple,s5l8960x-ans.yaml

diff --git a/Documentation/devicetree/bindings/block/apple,s5l8960x-ans.yaml b/Documentation/devicetree/bindings/block/apple,s5l8960x-ans.yaml
new file mode 100644
index 000000000..4fb0acf40
--- /dev/null
+++ b/Documentation/devicetree/bindings/block/apple,s5l8960x-ans.yaml
@@ -0,0 +1,64 @@
+# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/block/apple,s5l8960x-ans.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Apple ANS1 storage controller
+
+maintainers:
+ - Nick Chan <towinchenmi@gmail.com>
+
+properties:
+ compatible:
+ oneOf:
+ - const: apple,s5l8960x-ans
+ - items:
+ - enum:
+ - apple,t7000-ans
+ - apple,t7001-ans
+ - const: apple,s5l8960x-ans
+
+ reg:
+ maxItems: 1
+ description: AKF co-processor control registers
+
+ power-domains:
+ maxItems: 1
+ description: ANS1 CPU and mailbox power domain
+
+ mboxes:
+ maxItems: 1
+ description: Mailbox of the ANS1 co-processor
+
+ resets:
+ maxItems: 1
+
+ memory-region:
+ maxItems: 1
+ description: Region containing ANS1 firmware
+
+ memory-region-names:
+ const: firmware
+
+required:
+ - compatible
+ - reg
+ - power-domains
+ - mboxes
+ - resets
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/interrupt-controller/apple-aic.h>
+ #include <dt-bindings/interrupt-controller/irq.h>
+
+ block@8040000 {
+ compatible = "apple,t7000-ans", "apple,s5l8960x-ans";
+ reg = <0x8040000 0x40000>;
+ mboxes = <&ans_mbox>;
+ power-domains = <&ps_ans>;
+ resets = <&ps_ans>;
+ };
Loading
Loading