Initial device trees for A7-A11 based Apple devices
Subsystems (6)
v6 cover Initial device trees for A7-A11 based Apple devices
Hi,
This series adds device trees for all A7-A11 SoC based iPhones, iPads, iPod touches and Apple TVs.
The following devices has been excluded from this series:
- All T2 devices (A10-based): bootloader does not work (yet)
- HomePod: Not tested, and it's also a different form factor
To pass make dtbs_check, please install the latest dtschema from the main branch, for the television chassis type.
This series supports the following on all devices:
- SMP (spin-table)
- UART
- simple-framebuffer
- watchdog
- timer
- pinctrl
- AIC interrupts
The following is supported on A7-A10:
- Buttons and switches (with pinctrl)
The buttons on A11 based devices like the iPhone X is a subdevice of the not yet supported SMC.
Patch dependencies:
- A patch to increase the reset delay in the watchdog driver[1] are needed on some SoCs to avoid the "Reboot Failed" message. (The system will reset regardless of the patch)
Authorship information:
- The commits to actually add the dts files are mostly made by Konrad, and Konrad's sign-off is added by me with permission. I also updated the Konrad's email in the actual dts files. Konrad can confirm this.
- Everything else is entirely made by me.
Changes since v5:
- Changed how device trees are split. {soc}.dtsi now only contain on-SoC parts, and parts common to all devices using a soc is in {soc}-common.dtsi. For A9 devices the common .dtsi is "s800-0-3-common.dtsi". For A8 devices additonally there is "t7000-handheld.dtsi" to group iPhones, iPad and iPod touches from Apple TVs.
- For other SoCs, either all devices are handheld or there are only one type of handheld devices using it, so no handheld .dtsi is needed.
- This is closer to how the existing device trees are split, and will allow nodes likes power manager and battery to be added more easily.
- Fixed Apple TV HD serial debug console. It is serial6, not serial0.
Changes since v4:
- Removed incorrect commit message about the order of CPU cores in the commit adding Apple A7-A11 CPU cores.
- Update tags on commit added A8X device tree files, requested by Markuss.
Changes since v3:
- Properly seperate A10X dt-binding additions and dts additions.
- Apple CPU cores, including the existing ones are now ordered alphabetically.
Changes since v2:
- Removed A10 cpufreq. The loader may be missing some initialization code that just happened to be performed by some versions of the firmware as well, given the inconsistent behavior on different devices. It is also possible that the driver needs to be modified, I do not know and this needs more research first.
- Removed Ivaylo's tags on commit to add A8X device trees, seems he does not want those anymore[2].
- Added Ivaylo's tags on commit to add A8 device tree, I have missed the tag. See [3] for source of those tags.
- Added Conor's missing A-b on the commit to add A7 machine bindings.
Changes since v1:
- Added /chassis-type property
- Added opp-microvolt in A10 cpufreq for documentation purposes
- Home button is now assigned KEY_HOMEPAGE
- Fixed t8010-n112.dts and do not remove it from Makefile in later commits... (iPod touch 7)
In order to be consistent with the Apple ARM Machines bindings, the order of dt-bindings did not change from v1.
The sort order logic here is having SoC type families in release order, and SoCs within each family in release order:
- t8xxx/t700x/s5l8960x (Apple HxxP/G series, "phone"/"tablet" chips)
- s5l8960x (Apple H6/A7)
- t7000 (Apple H7P/A8)
- t7001 (Apple H7G/A8X)
- s8000/3 (Apple H8P/A9)
- s8001 (Apple H8G/A9X)
- t8010 (Apple H9P/A10)
- t8011 (Apple H9G/A10X)
- t8015 (Apple H10/A11)
- t8103 (Apple H13G/M1)
- t8112 (Apple H14G/M2)
- t6xxx (Apple HxxJ series, "desktop" chips)
- t6000 (Apple H13J(S)/M1 Pro)
- t6001 (Apple H13J(C)/M1 Max)
- t6002 (Apple H13J(D)/M1 Ultra)
At this moment, it is expected that most hardware blocks will be 100% compatible between A-series and AX-series SoCs, though to a less extent than compatibility between desktop chips of the same generation.
v1: https://lore.kernel.org/asahi/[email protected]
v2: https://lore.kernel.org/asahi/[email protected]
v3: https://lore.kernel.org/asahi/[email protected]
v4: https://lore.kernel.org/asahi/[email protected]
v5: https://lore.kernel.org/asahi/[email protected]
[1]: https://lore.kernel.org/asahi/[email protected]
[2]: https://lore.kernel.org/asahi/[email protected]
[3]: https://github.com/konradybcio/linux-apple/commits/apple/v5.19-rc1
Nick Chan
---
Konrad Dybcio (8):
arm64: dts: apple: Add A7 devices
arm64: dts: apple: Add A8 devices
arm64: dts: apple: Add A8X devices
arm64: dts: apple: Add A9 devices
arm64: dts: apple: Add A9X devices
arm64: dts: apple: Add A10 devices
arm64: dts: apple: Add A10X devices
arm64: dts: apple: Add A11 devices
Nick Chan (12):
dt-bindings: arm: cpus: Add Apple A7-A11 CPU cores
dt-bindings: watchdog: apple,wdt: Add A7-A11 compatibles
dt-bindings: pinctrl: apple,pinctrl: Add A7-A11 compatibles
dt-bindings: arm: apple: Add A7 devices
dt-bindings: arm: apple: Add A8 devices
dt-bindings: arm: apple: Add A8X devices
dt-bindings: arm: apple: Add A9 devices
dt-bindings: arm: apple: Add A9X devices
dt-bindings: arm: apple: Add A10 devices
dt-bindings: arm: apple: Add A10X devices
dt-bindings: arm: apple: Add A11 devices
arm64: Kconfig: Update help text for CONFIG_ARCH_APPLE
.../devicetree/bindings/arm/apple.yaml | 160 +++++++++++- .../devicetree/bindings/arm/cpus.yaml | 8 +- .../bindings/pinctrl/apple,pinctrl.yaml | 5 + .../bindings/watchdog/apple,wdt.yaml | 5 + arch/arm64/Kconfig.platforms | 4 +- arch/arm64/boot/dts/apple/Makefile | 53 ++++ arch/arm64/boot/dts/apple/s5l8960x-5s.dtsi | 51 ++++ arch/arm64/boot/dts/apple/s5l8960x-air1.dtsi | 51 ++++ .../arm64/boot/dts/apple/s5l8960x-common.dtsi | 48 ++++ arch/arm64/boot/dts/apple/s5l8960x-j71.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-j72.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-j73.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-j85.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-j85m.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-j86.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-j86m.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-j87.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-j87m.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-mini2.dtsi | 51 ++++ arch/arm64/boot/dts/apple/s5l8960x-mini3.dtsi | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-n51.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-n53.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x.dtsi | 113 +++++++++ .../arm64/boot/dts/apple/s800-0-3-common.dtsi | 48 ++++ arch/arm64/boot/dts/apple/s8000-j71s.dts | 15 ++ arch/arm64/boot/dts/apple/s8000-j72s.dts | 15 ++ arch/arm64/boot/dts/apple/s8000-n66.dts | 15 ++ arch/arm64/boot/dts/apple/s8000-n69u.dts | 15 ++ arch/arm64/boot/dts/apple/s8000-n71.dts | 15 ++ arch/arm64/boot/dts/apple/s8000.dtsi | 144 +++++++++++ arch/arm64/boot/dts/apple/s8001-common.dtsi | 48 ++++ arch/arm64/boot/dts/apple/s8001-j127.dts | 14 ++ arch/arm64/boot/dts/apple/s8001-j128.dts | 14 ++ arch/arm64/boot/dts/apple/s8001-j98a.dts | 14 ++ arch/arm64/boot/dts/apple/s8001-j99a.dts | 14 ++ arch/arm64/boot/dts/apple/s8001-pro.dtsi | 44 ++++ arch/arm64/boot/dts/apple/s8001.dtsi | 133 ++++++++++ arch/arm64/boot/dts/apple/s8003-j71t.dts | 15 ++ arch/arm64/boot/dts/apple/s8003-j72t.dts | 15 ++ arch/arm64/boot/dts/apple/s8003-n66m.dts | 15 ++ arch/arm64/boot/dts/apple/s8003-n69.dts | 15 ++ arch/arm64/boot/dts/apple/s8003-n71m.dts | 15 ++ arch/arm64/boot/dts/apple/s8003.dtsi | 21 ++ arch/arm64/boot/dts/apple/s800x-6s.dtsi | 49 ++++ arch/arm64/boot/dts/apple/s800x-ipad5.dtsi | 43 ++++ arch/arm64/boot/dts/apple/s800x-se.dtsi | 49 ++++ arch/arm64/boot/dts/apple/t7000-6.dtsi | 50 ++++ arch/arm64/boot/dts/apple/t7000-common.dtsi | 36 +++ arch/arm64/boot/dts/apple/t7000-handheld.dtsi | 27 ++ arch/arm64/boot/dts/apple/t7000-j42d.dts | 31 +++ arch/arm64/boot/dts/apple/t7000-j96.dts | 14 ++ arch/arm64/boot/dts/apple/t7000-j97.dts | 14 ++ arch/arm64/boot/dts/apple/t7000-mini4.dtsi | 51 ++++ arch/arm64/boot/dts/apple/t7000-n102.dts | 48 ++++ arch/arm64/boot/dts/apple/t7000-n56.dts | 14 ++ arch/arm64/boot/dts/apple/t7000-n61.dts | 14 ++ arch/arm64/boot/dts/apple/t7000.dtsi | 125 ++++++++++ arch/arm64/boot/dts/apple/t7001-air2.dtsi | 74 ++++++ arch/arm64/boot/dts/apple/t7001-j81.dts | 14 ++ arch/arm64/boot/dts/apple/t7001-j82.dts | 14 ++ arch/arm64/boot/dts/apple/t7001.dtsi | 123 +++++++++ arch/arm64/boot/dts/apple/t8010-7.dtsi | 43 ++++ arch/arm64/boot/dts/apple/t8010-common.dtsi | 48 ++++ arch/arm64/boot/dts/apple/t8010-d10.dts | 14 ++ arch/arm64/boot/dts/apple/t8010-d101.dts | 14 ++ arch/arm64/boot/dts/apple/t8010-d11.dts | 14 ++ arch/arm64/boot/dts/apple/t8010-d111.dts | 14 ++ arch/arm64/boot/dts/apple/t8010-ipad6.dtsi | 44 ++++ arch/arm64/boot/dts/apple/t8010-ipad7.dtsi | 14 ++ arch/arm64/boot/dts/apple/t8010-j171.dts | 14 ++ arch/arm64/boot/dts/apple/t8010-j172.dts | 14 ++ arch/arm64/boot/dts/apple/t8010-j71b.dts | 14 ++ arch/arm64/boot/dts/apple/t8010-j72b.dts | 14 ++ arch/arm64/boot/dts/apple/t8010-n112.dts | 47 ++++ arch/arm64/boot/dts/apple/t8010.dtsi | 133 ++++++++++ arch/arm64/boot/dts/apple/t8011-common.dtsi | 46 ++++ arch/arm64/boot/dts/apple/t8011-j105a.dts | 16 ++ arch/arm64/boot/dts/apple/t8011-j120.dts | 16 ++ arch/arm64/boot/dts/apple/t8011-j121.dts | 16 ++ arch/arm64/boot/dts/apple/t8011-j207.dts | 16 ++ arch/arm64/boot/dts/apple/t8011-j208.dts | 16 ++ arch/arm64/boot/dts/apple/t8011-pro2.dtsi | 42 ++++ arch/arm64/boot/dts/apple/t8011.dtsi | 141 +++++++++++ arch/arm64/boot/dts/apple/t8015-8.dtsi | 13 + arch/arm64/boot/dts/apple/t8015-8plus.dtsi | 9 + arch/arm64/boot/dts/apple/t8015-common.dtsi | 48 ++++ arch/arm64/boot/dts/apple/t8015-d20.dts | 14 ++ arch/arm64/boot/dts/apple/t8015-d201.dts | 14 ++ arch/arm64/boot/dts/apple/t8015-d21.dts | 14 ++ arch/arm64/boot/dts/apple/t8015-d211.dts | 14 ++ arch/arm64/boot/dts/apple/t8015-d22.dts | 14 ++ arch/arm64/boot/dts/apple/t8015-d221.dts | 14 ++ arch/arm64/boot/dts/apple/t8015-x.dtsi | 13 + arch/arm64/boot/dts/apple/t8015.dtsi | 234 ++++++++++++++++++ 94 files changed, 3298 insertions(+), 4 deletions(-) create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-5s.dtsi create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-air1.dtsi create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-common.dtsi create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j71.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j72.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j73.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j85.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j85m.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j86.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j86m.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j87.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j87m.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-mini2.dtsi create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-mini3.dtsi create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-n51.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-n53.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x.dtsi create mode 100644 arch/arm64/boot/dts/apple/s800-0-3-common.dtsi create mode 100644 arch/arm64/boot/dts/apple/s8000-j71s.dts create mode 100644 arch/arm64/boot/dts/apple/s8000-j72s.dts create mode 100644 arch/arm64/boot/dts/apple/s8000-n66.dts create mode 100644 arch/arm64/boot/dts/apple/s8000-n69u.dts create mode 100644 arch/arm64/boot/dts/apple/s8000-n71.dts create mode 100644 arch/arm64/boot/dts/apple/s8000.dtsi create mode 100644 arch/arm64/boot/dts/apple/s8001-common.dtsi create mode 100644 arch/arm64/boot/dts/apple/s8001-j127.dts create mode 100644 arch/arm64/boot/dts/apple/s8001-j128.dts create mode 100644 arch/arm64/boot/dts/apple/s8001-j98a.dts create mode 100644 arch/arm64/boot/dts/apple/s8001-j99a.dts create mode 100644 arch/arm64/boot/dts/apple/s8001-pro.dtsi create mode 100644 arch/arm64/boot/dts/apple/s8001.dtsi create mode 100644 arch/arm64/boot/dts/apple/s8003-j71t.dts create mode 100644 arch/arm64/boot/dts/apple/s8003-j72t.dts create mode 100644 arch/arm64/boot/dts/apple/s8003-n66m.dts create mode 100644 arch/arm64/boot/dts/apple/s8003-n69.dts create mode 100644 arch/arm64/boot/dts/apple/s8003-n71m.dts create mode 100644 arch/arm64/boot/dts/apple/s8003.dtsi create mode 100644 arch/arm64/boot/dts/apple/s800x-6s.dtsi create mode 100644 arch/arm64/boot/dts/apple/s800x-ipad5.dtsi create mode 100644 arch/arm64/boot/dts/apple/s800x-se.dtsi create mode 100644 arch/arm64/boot/dts/apple/t7000-6.dtsi create mode 100644 arch/arm64/boot/dts/apple/t7000-common.dtsi create mode 100644 arch/arm64/boot/dts/apple/t7000-handheld.dtsi create mode 100644 arch/arm64/boot/dts/apple/t7000-j42d.dts create mode 100644 arch/arm64/boot/dts/apple/t7000-j96.dts create mode 100644 arch/arm64/boot/dts/apple/t7000-j97.dts create mode 100644 arch/arm64/boot/dts/apple/t7000-mini4.dtsi create mode 100644 arch/arm64/boot/dts/apple/t7000-n102.dts create mode 100644 arch/arm64/boot/dts/apple/t7000-n56.dts create mode 100644 arch/arm64/boot/dts/apple/t7000-n61.dts create mode 100644 arch/arm64/boot/dts/apple/t7000.dtsi create mode 100644 arch/arm64/boot/dts/apple/t7001-air2.dtsi create mode 100644 arch/arm64/boot/dts/apple/t7001-j81.dts create mode 100644 arch/arm64/boot/dts/apple/t7001-j82.dts create mode 100644 arch/arm64/boot/dts/apple/t7001.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8010-7.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8010-common.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8010-d10.dts create mode 100644 arch/arm64/boot/dts/apple/t8010-d101.dts create mode 100644 arch/arm64/boot/dts/apple/t8010-d11.dts create mode 100644 arch/arm64/boot/dts/apple/t8010-d111.dts create mode 100644 arch/arm64/boot/dts/apple/t8010-ipad6.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8010-ipad7.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8010-j171.dts create mode 100644 arch/arm64/boot/dts/apple/t8010-j172.dts create mode 100644 arch/arm64/boot/dts/apple/t8010-j71b.dts create mode 100644 arch/arm64/boot/dts/apple/t8010-j72b.dts create mode 100644 arch/arm64/boot/dts/apple/t8010-n112.dts create mode 100644 arch/arm64/boot/dts/apple/t8010.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8011-common.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8011-j105a.dts create mode 100644 arch/arm64/boot/dts/apple/t8011-j120.dts create mode 100644 arch/arm64/boot/dts/apple/t8011-j121.dts create mode 100644 arch/arm64/boot/dts/apple/t8011-j207.dts create mode 100644 arch/arm64/boot/dts/apple/t8011-j208.dts create mode 100644 arch/arm64/boot/dts/apple/t8011-pro2.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8011.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8015-8.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8015-8plus.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8015-common.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8015-d20.dts create mode 100644 arch/arm64/boot/dts/apple/t8015-d201.dts create mode 100644 arch/arm64/boot/dts/apple/t8015-d21.dts create mode 100644 arch/arm64/boot/dts/apple/t8015-d211.dts create mode 100644 arch/arm64/boot/dts/apple/t8015-d22.dts create mode 100644 arch/arm64/boot/dts/apple/t8015-d221.dts create mode 100644 arch/arm64/boot/dts/apple/t8015-x.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8015.dtsi
base-commit: 7436324ebd147598f940dde1335b7979dbccc339
Signature · 1 line
2.47.0
PATCH RESEND v6 1/20 dt-bindings: arm: cpus: Add Apple A7-A11 CPU cores
Add the following CPU cores:
- apple,cyclone: A7 cores
- apple,typhoon: A8 cores
- apple,twister: A9 cores
- apple,hurricane-zephyr: A10 logical cores
- apple,monsoon: A11 performance cores
- apple,mistral: A11 efficiency cores
In the Apple A10, there are physical performance-efficiency cores that forms logical cores to software depending on the current p-state, and only one type of core may be active at one time.
--- Documentation/devicetree/bindings/arm/cpus.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/arm/cpus.yaml +7 -1
@@ -87,8 +87,14 @@ properties: enum: - apple,avalanche - apple,blizzard - - apple,icestorm + - apple,cyclone - apple,firestorm + - apple,hurricane-zephyr + - apple,icestorm + - apple,mistral + - apple,monsoon + - apple,twister + - apple,typhoon - arm,arm710t - arm,arm720t - arm,arm740t
Signature · 1 line
2.47.0
PATCH RESEND v6 2/20 dt-bindings: watchdog: apple,wdt: Add A7-A11 compatibles
In reply to Nick ChanThe blocks on A7-A11 SoCs are compatible with the existing driver so add their per-SoC compatibles.
--- Documentation/devicetree/bindings/watchdog/apple,wdt.yaml | 5 +++++ 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/watchdog/apple,wdt.yaml +5 -0
@@ -16,6 +16,11 @@ properties: compatible: items: - enum: + - apple,s5l8960x-wdt + - apple,t7000-wdt + - apple,s8000-wdt + - apple,t8010-wdt + - apple,t8015-wdt - apple,t8103-wdt - apple,t8112-wdt - apple,t6000-wdt
Signature · 1 line
2.47.0
PATCH RESEND v6 3/20 dt-bindings: pinctrl: apple,pinctrl: Add A7-A11 compatibles
In reply to Nick ChanThe block found on Apple's A7-A11 SoCs are compatible with the existing driver so add their per-SoC compatibles.
--- Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml | 5 +++++ 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml +5 -0
@@ -18,6 +18,11 @@ properties: compatible: items: - enum: + - apple,s5l8960x-pinctrl + - apple,t7000-pinctrl + - apple,s8000-pinctrl + - apple,t8010-pinctrl + - apple,t8015-pinctrl - apple,t8103-pinctrl - apple,t8112-pinctrl - apple,t6000-pinctrl
Signature · 1 line
2.47.0
PATCH RESEND v6 4/20 dt-bindings: arm: apple: Add A7 devices
In reply to Nick ChanThis adds the following apple,s5l8960x platforms:
- iPhone 5s
- iPad Air (1)
- iPad Mini 2
- iPad Mini 3
--- .../devicetree/bindings/arm/apple.yaml | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/arm/apple.yaml +25 -1
@@ -12,7 +12,14 @@ maintainers: description: | ARM platforms using SoCs designed by Apple Inc., branded "Apple Silicon". - This currently includes devices based on the "M1" SoC: + This currently includes devices based on the "A7" SoC: + + - iPhone 5s + - iPad Air (1) + - iPad mini 2 + - iPad mini 3 + + Devices based on the "M1" SoC: - Mac mini (M1, 2020) - MacBook Pro (13-inch, M1, 2020)
@@ -65,6 +72,23 @@ properties: const: "/" compatible: oneOf: + - description: Apple A7 SoC based platforms + items: + - enum: + - apple,j71 # iPad Air (Wi-Fi) + - apple,j72 # iPad Air (Cellular) + - apple,j73 # iPad Air (Cellular, China) + - apple,j85 # iPad mini 2 (Wi-Fi) + - apple,j85m # iPad mini 3 (Wi-Fi) + - apple,j86 # iPad mini 2 (Cellular) + - apple,j86m # iPad mini 3 (Cellular) + - apple,j87 # iPad mini 2 (Cellular, China) + - apple,j87m # iPad mini 3 (Cellular, China) + - apple,n51 # iPhone 5s (GSM) + - apple,n53 # iPhone 5s (LTE) + - const: apple,s5l8960x + - const: apple,arm-platform + - description: Apple M1 SoC based platforms items: - enum:
Signature · 1 line
2.47.0
PATCH RESEND v6 5/20 dt-bindings: arm: apple: Add A8 devices
In reply to Nick ChanThis adds the following apple,t7000 based platforms:
- iPhone 6
- iPhone 6 Plus
- iPad mini 4
- iPod touch 6
- Apple TV HD
The remaining HomePod is not supported as part of this patch.
--- .../devicetree/bindings/arm/apple.yaml | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+)
Documentation/devicetree/bindings/arm/apple.yaml +20 -0
@@ -19,6 +19,14 @@ description: | - iPad mini 2 - iPad mini 3 + Devices based on the "A8" SoC: + + - iPhone 6 + - iPhone 6 Plus + - iPad mini 4 + - iPod touch 6 + - Apple TV HD + Devices based on the "M1" SoC: - Mac mini (M1, 2020)
@@ -89,6 +97,18 @@ properties: - const: apple,s5l8960x - const: apple,arm-platform + - description: Apple A8 SoC based platforms + items: + - enum: + - apple,j42d # Apple TV HD + - apple,j96 # iPad mini 4 (Wi-Fi) + - apple,j97 # iPad mini 4 (Cellular) + - apple,n56 # iPhone 6 Plus + - apple,n61 # iPhone 6 + - apple,n102 # iPod touch 6 + - const: apple,t7000 + - const: apple,arm-platform + - description: Apple M1 SoC based platforms items: - enum:
Signature · 1 line
2.47.0
PATCH RESEND v6 6/20 dt-bindings: arm: apple: Add A8X devices
In reply to Nick ChanAdd the only platform based on apple,t7001, the iPad Air 2.
--- Documentation/devicetree/bindings/arm/apple.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+)
Documentation/devicetree/bindings/arm/apple.yaml +12 -0
@@ -27,6 +27,10 @@ description: | - iPod touch 6 - Apple TV HD + Device based on the "A8X" SoC: + + - iPad Air 2 + Devices based on the "M1" SoC: - Mac mini (M1, 2020)
@@ -109,6 +113,14 @@ properties: - const: apple,t7000 - const: apple,arm-platform + - description: Apple A8X SoC based platforms + items: + - enum: + - apple,j81 # iPad Air 2 (Wi-Fi) + - apple,j82 # iPad Air 2 (Cellular) + - const: apple,t7001 + - const: apple,arm-platform + - description: Apple M1 SoC based platforms items: - enum:
Signature · 1 line
2.47.0
PATCH RESEND v6 7/20 dt-bindings: arm: apple: Add A9 devices
In reply to Nick ChanAdds the following apple,s8000 and apple,s8003 based platforms:
- iPhone 6s
- iPhone 6s Plus
- iPhone SE (2016)
- iPad 5
apple,s8000 is the Samsung A9, while apple,s8003 is the TSMC A9.
--- .../devicetree/bindings/arm/apple.yaml | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+)
Documentation/devicetree/bindings/arm/apple.yaml +29 -0
@@ -31,6 +31,13 @@ description: | - iPad Air 2 + Devices based on the "A9" SoC: + + - iPhone 6s + - iPhone 6s Plus + - iPhone SE (2016) + - iPad 5 + Devices based on the "M1" SoC: - Mac mini (M1, 2020)
@@ -121,6 +128,28 @@ properties: - const: apple,t7001 - const: apple,arm-platform + - description: Apple Samsung A9 SoC based platforms + items: + - enum: + - apple,j71s # iPad 5 (Wi-Fi) (S8000) + - apple,j72s # iPad 5 (Cellular) (S8000) + - apple,n66 # iPhone 6s Plus (S8000) + - apple,n69u # iPhone SE (S8000) + - apple,n71 # iPhone 6S (S8000) + - const: apple,s8000 + - const: apple,arm-platform + + - description: Apple TSMC A9 SoC based platforms + items: + - enum: + - apple,j71t # iPad 5 (Wi-Fi) (S8003) + - apple,j72t # iPad 5 (Cellular) (S8003) + - apple,n66m # iPhone 6s Plus (S8003) + - apple,n69 # iPhone SE (S8003) + - apple,n71m # iPhone 6S (S8003) + - const: apple,s8003 + - const: apple,arm-platform + - description: Apple M1 SoC based platforms items: - enum:
Signature · 1 line
2.47.0
PATCH RESEND v6 8/20 dt-bindings: arm: apple: Add A9X devices
In reply to Nick ChanAdds the following apple,s8001 based platforms:
- iPad Pro (9.7 Inch)
- iPad Pro (12.9 Inch) (1st generation)
--- Documentation/devicetree/bindings/arm/apple.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+)
Documentation/devicetree/bindings/arm/apple.yaml +15 -0
@@ -38,6 +38,11 @@ description: | - iPhone SE (2016) - iPad 5 + Devices based on the "A9X" SoC: + + - iPad Pro (9.7-inch) + - iPad Pro (12.9-inch) + Devices based on the "M1" SoC: - Mac mini (M1, 2020)
@@ -150,6 +155,16 @@ properties: - const: apple,s8003 - const: apple,arm-platform + - description: Apple A9X SoC based platforms + items: + - enum: + - apple,j127 # iPad Pro (9.7-inch) (Wi-Fi) + - apple,j128 # iPad Pro (9.7-inch) (Cellular) + - apple,j98a # iPad Pro (12.9-inch) (Wi-Fi) + - apple,j99a # iPad Pro (12.9-inch) (Cellular) + - const: apple,s8001 + - const: apple,arm-platform + - description: Apple M1 SoC based platforms items: - enum:
Signature · 1 line
2.47.0
PATCH RESEND v6 9/20 dt-bindings: arm: apple: Add A10 devices
In reply to Nick ChanAdds the following apple,t8010 based platforms:
- iPhone 7
- iPhone 7 Plus
- iPod touch 7
- iPad 6
- iPad 7
--- .../devicetree/bindings/arm/apple.yaml | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+)
Documentation/devicetree/bindings/arm/apple.yaml +23 -0
@@ -43,6 +43,14 @@ description: | - iPad Pro (9.7-inch) - iPad Pro (12.9-inch) + Devices based on the "A10" SoC: + + - iPhone 7 + - iPhone 7 Plus + - iPod touch 7 + - iPad 6 + - iPad 7 + Devices based on the "M1" SoC: - Mac mini (M1, 2020)
@@ -165,6 +173,21 @@ properties: - const: apple,s8001 - const: apple,arm-platform + - description: Apple A10 SoC based platforms + items: + - enum: + - apple,d10 # iPhone 7 (Qualcomm) + - apple,d11 # iPhone 7 (Intel) + - apple,d101 # iPhone 7 Plus (Qualcomm) + - apple,d111 # iPhone 7 Plus (Intel) + - apple,j71b # iPad 6 (Wi-Fi) + - apple,j72b # iPad 6 (Cellular) + - apple,j171 # iPad 7 (Wi-Fi) + - apple,j172 # iPad 7 (Cellular) + - apple,n112 # iPod touch 7 + - const: apple,t8010 + - const: apple,arm-platform + - description: Apple M1 SoC based platforms items: - enum:
Signature · 1 line
2.47.0
PATCH RESEND v6 10/20 dt-bindings: arm: apple: Add A10X devices
In reply to Nick ChanAdd the following apple,t8011 based platforms:
- Apple TV 4K
- iPad Pro (2nd Generation) (10.5 Inch)
- iPad Pro (2nd Generation) (12.9 Inch)
--- .../devicetree/bindings/arm/apple.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+)
Documentation/devicetree/bindings/arm/apple.yaml +17 -0
@@ -51,6 +51,12 @@ description: | - iPad 6 - iPad 7 + Devices based on the "A10X" SoC: + + - Apple TV 4K (1st generation) + - iPad Pro (2nd Generation) (10.5 Inch) + - iPad Pro (2nd Generation) (12.9 Inch) + Devices based on the "M1" SoC: - Mac mini (M1, 2020)
@@ -188,6 +194,17 @@ properties: - const: apple,t8010 - const: apple,arm-platform + - description: Apple A10X SoC based platforms + items: + - enum: + - apple,j105a # Apple TV 4K (1st Generation) + - apple,j120 # iPad Pro 2 (12.9-inch) (Wi-Fi) + - apple,j121 # iPad Pro 2 (12.9-inch) (Cellular) + - apple,j207 # iPad Pro 2 (10.5-inch) (Wi-Fi) + - apple,j208 # iPad Pro 2 (10.5-inch) (Cellular) + - const: apple,t8011 + - const: apple,arm-platform + - description: Apple M1 SoC based platforms items: - enum:
Signature · 1 line
2.47.0
PATCH RESEND v6 11/20 dt-bindings: arm: apple: Add A11 devices
In reply to Nick ChanAdd the follow apple,t8015 based platforms:
- iPhone 8
- iPhone 8 Plus
- iPhone X
--- .../devicetree/bindings/arm/apple.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+)
Documentation/devicetree/bindings/arm/apple.yaml +18 -0
@@ -57,6 +57,12 @@ description: | - iPad Pro (2nd Generation) (10.5 Inch) - iPad Pro (2nd Generation) (12.9 Inch) + Devices based on the "A11" SoC: + + - iPhone 8 + - iPhone 8 Plus + - iPhone X + Devices based on the "M1" SoC: - Mac mini (M1, 2020)
@@ -205,6 +211,18 @@ properties: - const: apple,t8011 - const: apple,arm-platform + - description: Apple A11 SoC based platforms + items: + - enum: + - apple,d20 # iPhone 8 (Global) + - apple,d21 # iPhone 8 Plus (Global) + - apple,d22 # iPhone X (Global) + - apple,d201 # iPhone 8 (GSM) + - apple,d211 # iPhone 8 Plus (GSM) + - apple,d221 # iPhone X (GSM) + - const: apple,t8015 + - const: apple,arm-platform + - description: Apple M1 SoC based platforms items: - enum:
Signature · 1 line
2.47.0
PATCH RESEND v6 12/20 arm64: dts: apple: Add A7 devices
In reply to Nick ChanFrom: Konrad Dybcio <[email protected]>
Add DTS files for the A7 SoC and the following devices based on it:
- iPhone 5s
- iPad Air (1)
- iPad mini 2
- iPad mini 3
--- arch/arm64/boot/dts/apple/Makefile | 11 ++ arch/arm64/boot/dts/apple/s5l8960x-5s.dtsi | 51 ++++++++ arch/arm64/boot/dts/apple/s5l8960x-air1.dtsi | 51 ++++++++ .../arm64/boot/dts/apple/s5l8960x-common.dtsi | 48 ++++++++ arch/arm64/boot/dts/apple/s5l8960x-j71.dts | 14 +++ arch/arm64/boot/dts/apple/s5l8960x-j72.dts | 14 +++ arch/arm64/boot/dts/apple/s5l8960x-j73.dts | 14 +++ arch/arm64/boot/dts/apple/s5l8960x-j85.dts | 14 +++ arch/arm64/boot/dts/apple/s5l8960x-j85m.dts | 14 +++ arch/arm64/boot/dts/apple/s5l8960x-j86.dts | 14 +++ arch/arm64/boot/dts/apple/s5l8960x-j86m.dts | 14 +++ arch/arm64/boot/dts/apple/s5l8960x-j87.dts | 14 +++ arch/arm64/boot/dts/apple/s5l8960x-j87m.dts | 14 +++ arch/arm64/boot/dts/apple/s5l8960x-mini2.dtsi | 51 ++++++++ arch/arm64/boot/dts/apple/s5l8960x-mini3.dtsi | 14 +++ arch/arm64/boot/dts/apple/s5l8960x-n51.dts | 14 +++ arch/arm64/boot/dts/apple/s5l8960x-n53.dts | 14 +++ arch/arm64/boot/dts/apple/s5l8960x.dtsi | 113 ++++++++++++++++++ 18 files changed, 493 insertions(+) create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-5s.dtsi create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-air1.dtsi create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-common.dtsi create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j71.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j72.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j73.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j85.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j85m.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j86.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j86m.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j87.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j87m.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-mini2.dtsi create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-mini3.dtsi create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-n51.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-n53.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x.dtsi
arch/arm64/boot/dts/apple/Makefile +11 -0
@@ -1,4 +1,15 @@ # SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_APPLE) += s5l8960x-j71.dtb +dtb-$(CONFIG_ARCH_APPLE) += s5l8960x-j73.dtb +dtb-$(CONFIG_ARCH_APPLE) += s5l8960x-j85m.dtb +dtb-$(CONFIG_ARCH_APPLE) += s5l8960x-j86m.dtb +dtb-$(CONFIG_ARCH_APPLE) += s5l8960x-j87m.dtb +dtb-$(CONFIG_ARCH_APPLE) += s5l8960x-n53.dtb +dtb-$(CONFIG_ARCH_APPLE) += s5l8960x-j72.dtb +dtb-$(CONFIG_ARCH_APPLE) += s5l8960x-j85.dtb +dtb-$(CONFIG_ARCH_APPLE) += s5l8960x-j86.dtb +dtb-$(CONFIG_ARCH_APPLE) += s5l8960x-j87.dtb +dtb-$(CONFIG_ARCH_APPLE) += s5l8960x-n51.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j274.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j293.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j313.dtb
arch/arm64/boot/dts/apple/s5l8960x-5s.dtsi new file +51 -0
51 lines not on this page · raw message
arch/arm64/boot/dts/apple/s5l8960x-air1.dtsi new file +51 -0
51 lines not on this page · raw message
arch/arm64/boot/dts/apple/s5l8960x-common.dtsi new file +48 -0
48 lines not on this page · raw message
arch/arm64/boot/dts/apple/s5l8960x-j71.dts new file +14 -0
@@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Air (Wi-Fi), J71, iPad4,1 (A1474) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "s5l8960x-air1.dtsi" + +/ { + compatible = "apple,j71", "apple,s5l8960x", "apple,arm-platform"; + model = "Apple iPad Air (Wi-Fi)"; +};
arch/arm64/boot/dts/apple/s5l8960x-j72.dts new file +14 -0
@@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Air (Cellular), J72, iPad4,2 (A1475) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "s5l8960x-air1.dtsi" + +/ { + compatible = "apple,j72", "apple,s5l8960x", "apple,arm-platform"; + model = "Apple iPad Air (Cellular)"; +};
arch/arm64/boot/dts/apple/s5l8960x-j73.dts new file +14 -0
@@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Air (Cellular, China), J73, iPad4,2 (A1476) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "s5l8960x-air1.dtsi" + +/ { + compatible = "apple,j73", "apple,s5l8960x", "apple,arm-platform"; + model = "Apple iPad Air (Cellular, China)"; +};
arch/arm64/boot/dts/apple/s5l8960x-j85.dts new file +14 -0
@@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad mini 2 (Wi-Fi), J85, iPad4,4 (A1489) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "s5l8960x-mini2.dtsi" + +/ { + compatible = "apple,j85", "apple,s5l8960x", "apple,arm-platform"; + model = "Apple iPad mini 2 (Wi-Fi)"; +};
arch/arm64/boot/dts/apple/s5l8960x-j85m.dts new file +14 -0
@@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad mini 3 (Wi-Fi), J85m, iPad4,7 (A1599) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "s5l8960x-mini3.dtsi" + +/ { + compatible = "apple,j85m", "apple,s5l8960x", "apple,arm-platform"; + model = "Apple iPad mini 3 (Wi-Fi)"; +};
arch/arm64/boot/dts/apple/s5l8960x-j86.dts new file +14 -0
@@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad mini 2 (Cellular), J86, iPad4,5 (A1490) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "s5l8960x-mini2.dtsi" + +/ { + compatible = "apple,j86", "apple,s5l8960x", "apple,arm-platform"; + model = "Apple iPad mini 2 (Cellular)"; +};
arch/arm64/boot/dts/apple/s5l8960x-j86m.dts new file +14 -0
@@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad mini 3 (Cellular), J86m, iPad4,8 (A1600) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "s5l8960x-mini3.dtsi" + +/ { + compatible = "apple,j86m", "apple,s5l8960x", "apple,arm-platform"; + model = "Apple iPad mini 3 (Cellular)"; +};
arch/arm64/boot/dts/apple/s5l8960x-j87.dts new file +14 -0
@@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad mini 2 (Cellular, China), J87, iPad4,6 (A1491) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "s5l8960x-mini2.dtsi" + +/ { + compatible = "apple,j87", "apple,s5l8960x", "apple,arm-platform"; + model = "Apple iPad mini 2 (Cellular, China)"; +};
arch/arm64/boot/dts/apple/s5l8960x-j87m.dts new file +14 -0
@@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad mini 3 (Cellular, China), J87m, iPad4,9 (A1601) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "s5l8960x-mini3.dtsi" + +/ { + compatible = "apple,j87m", "apple,s5l8960x", "apple,arm-platform"; + model = "Apple iPad mini 3 (Cellular, China)"; +};
arch/arm64/boot/dts/apple/s5l8960x-mini2.dtsi new file +51 -0
51 lines not on this page · raw message
arch/arm64/boot/dts/apple/s5l8960x-mini3.dtsi new file +14 -0
@@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad mini 3 common device tree + * Based on A7 (APL0698), up to 1.3GHz + * + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/* + * The Mini 3 seems to be only an iteration over the Mini 2 with some + * small changes, like the introduction of Touch ID, hence there is little + * to no differentiation between these 2 for now. + */ +#include "s5l8960x-mini2.dtsi"
arch/arm64/boot/dts/apple/s5l8960x-n51.dts new file +14 -0
@@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone 5s (GSM), N51, iPhone6,1 (A1453/A1533) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "s5l8960x-5s.dtsi" + +/ { + compatible = "apple,n51", "apple,s5l8960x", "apple,arm-platform"; + model = "Apple iPhone 5s (GSM)"; +};
arch/arm64/boot/dts/apple/s5l8960x-n53.dts new file +14 -0
@@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone 5s (LTE), N53, iPhone6,2 (A1457/A1518/A1528/A1530) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "s5l8960x-5s.dtsi" + +/ { + compatible = "apple,n53", "apple,s5l8960x", "apple,arm-platform"; + model = "Apple iPhone 5s (LTE)"; +};
arch/arm64/boot/dts/apple/s5l8960x.dtsi new file +113 -0
113 lines not on this page · raw message
Signature · 1 line
2.47.0
PATCH RESEND v6 13/20 arm64: dts: apple: Add A8 devices
In reply to Nick ChanFrom: Konrad Dybcio <[email protected]>
Add DTS files for the A8 SoC and the following devices based on it:
- iPhone 6
- iPhone 6 Plus
- iPad mini 4
- iPod touch 6
- Apple TV HD
The remaining HomePod is not supported as part of this patch.
--- arch/arm64/boot/dts/apple/Makefile | 6 + arch/arm64/boot/dts/apple/t7000-6.dtsi | 50 +++++++ arch/arm64/boot/dts/apple/t7000-common.dtsi | 36 +++++ arch/arm64/boot/dts/apple/t7000-handheld.dtsi | 27 ++++ arch/arm64/boot/dts/apple/t7000-j42d.dts | 31 +++++ arch/arm64/boot/dts/apple/t7000-j96.dts | 14 ++ arch/arm64/boot/dts/apple/t7000-j97.dts | 14 ++ arch/arm64/boot/dts/apple/t7000-mini4.dtsi | 51 +++++++ arch/arm64/boot/dts/apple/t7000-n102.dts | 48 +++++++ arch/arm64/boot/dts/apple/t7000-n56.dts | 14 ++ arch/arm64/boot/dts/apple/t7000-n61.dts | 14 ++ arch/arm64/boot/dts/apple/t7000.dtsi | 125 ++++++++++++++++++ 12 files changed, 430 insertions(+) create mode 100644 arch/arm64/boot/dts/apple/t7000-6.dtsi create mode 100644 arch/arm64/boot/dts/apple/t7000-common.dtsi create mode 100644 arch/arm64/boot/dts/apple/t7000-handheld.dtsi create mode 100644 arch/arm64/boot/dts/apple/t7000-j42d.dts create mode 100644 arch/arm64/boot/dts/apple/t7000-j96.dts create mode 100644 arch/arm64/boot/dts/apple/t7000-j97.dts create mode 100644 arch/arm64/boot/dts/apple/t7000-mini4.dtsi create mode 100644 arch/arm64/boot/dts/apple/t7000-n102.dts create mode 100644 arch/arm64/boot/dts/apple/t7000-n56.dts create mode 100644 arch/arm64/boot/dts/apple/t7000-n61.dts create mode 100644 arch/arm64/boot/dts/apple/t7000.dtsi
arch/arm64/boot/dts/apple/Makefile +6 -0
@@ -10,6 +10,12 @@ dtb-$(CONFIG_ARCH_APPLE) += s5l8960x-j85.dtb dtb-$(CONFIG_ARCH_APPLE) += s5l8960x-j86.dtb dtb-$(CONFIG_ARCH_APPLE) += s5l8960x-j87.dtb dtb-$(CONFIG_ARCH_APPLE) += s5l8960x-n51.dtb +dtb-$(CONFIG_ARCH_APPLE) += t7000-j42d.dtb +dtb-$(CONFIG_ARCH_APPLE) += t7000-j96.dtb +dtb-$(CONFIG_ARCH_APPLE) += t7000-j97.dtb +dtb-$(CONFIG_ARCH_APPLE) += t7000-n102.dtb +dtb-$(CONFIG_ARCH_APPLE) += t7000-n56.dtb +dtb-$(CONFIG_ARCH_APPLE) += t7000-n61.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j274.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j293.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j313.dtb
arch/arm64/boot/dts/apple/t7000-6.dtsi new file +50 -0
50 lines not on this page · raw message
arch/arm64/boot/dts/apple/t7000-common.dtsi new file +36 -0
@@ -0,0 +1,36 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple TV HD, iPhone 6, iPhone 6 Plus, iPad mini 4, iPod touch 6 + * + * This file contains parts common to all Apple A8 devices. + * + * target-type: J42d, J96, J97, N56, N61, N102 + * + * Copyright (c) 2024, Nick Chan <[email protected]> + */ + +/ { + aliases { + serial0 = &serial0; + serial6 = &serial6; + }; + + chosen { + #address-cells = <2>; + #size-cells = <2>; + ranges; + }; + + memory@800000000 { + device_type = "memory"; + reg = <0x8 0 0 0>; /* To be filled by loader */ + }; + + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + /* To be filled by loader */ + }; +};
arch/arm64/boot/dts/apple/t7000-handheld.dtsi new file +27 -0
@@ -0,0 +1,27 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone 6, iPhone 6 Plus, iPad mini 4, iPod touch 6 + * + * This file contains the parts common to handheld devices with t7000 + * + * target-type: J96, J97, N56, N61, N102 + * + * Copyright (c) 2024, Nick Chan <[email protected]> + */ + +/ { + chosen { + stdout-path = "serial0"; + + framebuffer0: framebuffer@0 { + compatible = "apple,simple-framebuffer", "simple-framebuffer"; + reg = <0 0 0 0>; /* To be filled by loader */ + /* Format properties will be added by loader */ + status = "disabled"; + }; + }; +}; + +&serial0 { + status = "okay"; +};
arch/arm64/boot/dts/apple/t7000-j42d.dts new file +31 -0
@@ -0,0 +1,31 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple TV HD, J42d, AppleTV5,3 (A1625) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "t7000.dtsi" +#include "t7000-common.dtsi" + +/ { + compatible = "apple,j42d", "apple,t7000", "apple,arm-platform"; + model = "Apple TV HD"; + chassis-type = "television"; + + chosen { + stdout-path = "serial6"; + + framebuffer0: framebuffer@0 { + compatible = "apple,simple-framebuffer", "simple-framebuffer"; + reg = <0 0 0 0>; /* To be filled by loader */ + /* Format properties will be added by loader */ + status = "disabled"; + }; + }; +}; + +&serial6 { + status = "okay"; +};
arch/arm64/boot/dts/apple/t7000-j96.dts new file +14 -0
@@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad mini 4 (Wi-Fi), J96, iPad5,1 (A1538) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "t7000-mini4.dtsi" + +/ { + compatible = "apple,j96", "apple,t7000", "apple,arm-platform"; + model = "Apple iPad mini 4 (Wi-Fi)"; +};
arch/arm64/boot/dts/apple/t7000-j97.dts new file +14 -0
@@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad mini 4 (Cellular), J97, iPad5,2 (A1550) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "t7000-mini4.dtsi" + +/ { + compatible = "apple,j97", "apple,t7000", "apple,arm-platform"; + model = "Apple iPad mini 4 (Cellular)"; +};
arch/arm64/boot/dts/apple/t7000-mini4.dtsi new file +51 -0
51 lines not on this page · raw message
arch/arm64/boot/dts/apple/t7000-n102.dts new file +48 -0
48 lines not on this page · raw message
arch/arm64/boot/dts/apple/t7000-n56.dts new file +14 -0
@@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone 6 Plus, N56, iPhone7,2 (A1549/A1586/A1589) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "t7000-6.dtsi" + +/ { + compatible = "apple,n56", "apple,t7000", "apple,arm-platform"; + model = "Apple iPhone 6 Plus"; +};
arch/arm64/boot/dts/apple/t7000-n61.dts new file +14 -0
@@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone 6, N61, iPhone7,2 (A1549/A1586/A1589) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "t7000-6.dtsi" + +/ { + compatible = "apple,n61", "apple,t7000", "apple,arm-platform"; + model = "Apple iPhone 6"; +};
arch/arm64/boot/dts/apple/t7000.dtsi new file +125 -0
125 lines not on this page · raw message
Signature · 1 line
2.47.0
PATCH RESEND v6 14/20 arm64: dts: apple: Add A8X devices
In reply to Nick ChanFrom: Konrad Dybcio <[email protected]>
Add DTS files for the A8X SoC and the only device based on it, the iPad Air 2.
--- arch/arm64/boot/dts/apple/Makefile | 2 + arch/arm64/boot/dts/apple/t7001-air2.dtsi | 74 +++++++++++++ arch/arm64/boot/dts/apple/t7001-j81.dts | 14 +++ arch/arm64/boot/dts/apple/t7001-j82.dts | 14 +++ arch/arm64/boot/dts/apple/t7001.dtsi | 123 ++++++++++++++++++++++ 5 files changed, 227 insertions(+) create mode 100644 arch/arm64/boot/dts/apple/t7001-air2.dtsi create mode 100644 arch/arm64/boot/dts/apple/t7001-j81.dts create mode 100644 arch/arm64/boot/dts/apple/t7001-j82.dts create mode 100644 arch/arm64/boot/dts/apple/t7001.dtsi
arch/arm64/boot/dts/apple/Makefile +2 -0
@@ -16,6 +16,8 @@ dtb-$(CONFIG_ARCH_APPLE) += t7000-j97.dtb dtb-$(CONFIG_ARCH_APPLE) += t7000-n102.dtb dtb-$(CONFIG_ARCH_APPLE) += t7000-n56.dtb dtb-$(CONFIG_ARCH_APPLE) += t7000-n61.dtb +dtb-$(CONFIG_ARCH_APPLE) += t7001-j81.dtb +dtb-$(CONFIG_ARCH_APPLE) += t7001-j82.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j274.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j293.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j313.dtb
arch/arm64/boot/dts/apple/t7001-air2.dtsi new file +74 -0
74 lines not on this page · raw message
arch/arm64/boot/dts/apple/t7001-j81.dts new file +14 -0
@@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Air 2 (Wi-Fi), J81, iPad5,3 (A1566) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "t7001-air2.dtsi" + +/ { + compatible = "apple,j81", "apple,t7001", "apple,arm-platform"; + model = "Apple iPad Air 2 (Wi-Fi)"; +};
arch/arm64/boot/dts/apple/t7001-j82.dts new file +14 -0
@@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Air 2 (Cellular), J82, iPad5,4 (A1567) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "t7001-air2.dtsi" + +/ { + compatible = "apple,j82", "apple,t7001", "apple,arm-platform"; + model = "Apple iPad Air 2 (Cellular)"; +};
arch/arm64/boot/dts/apple/t7001.dtsi new file +123 -0
123 lines not on this page · raw message
Signature · 1 line
2.47.0
PATCH RESEND v6 15/20 arm64: dts: apple: Add A9 devices
In reply to Nick ChanFrom: Konrad Dybcio <[email protected]>
Add DTS files for the A9 SoC and the following devices based on it:
- iPhone 6s
- iPhone 6s Plus
- iPhone SE (2016)
- iPad 5
--- arch/arm64/boot/dts/apple/Makefile | 10 ++ .../arm64/boot/dts/apple/s800-0-3-common.dtsi | 48 ++++++ arch/arm64/boot/dts/apple/s8000-j71s.dts | 15 ++ arch/arm64/boot/dts/apple/s8000-j72s.dts | 15 ++ arch/arm64/boot/dts/apple/s8000-n66.dts | 15 ++ arch/arm64/boot/dts/apple/s8000-n69u.dts | 15 ++ arch/arm64/boot/dts/apple/s8000-n71.dts | 15 ++ arch/arm64/boot/dts/apple/s8000.dtsi | 144 ++++++++++++++++++ arch/arm64/boot/dts/apple/s8003-j71t.dts | 15 ++ arch/arm64/boot/dts/apple/s8003-j72t.dts | 15 ++ arch/arm64/boot/dts/apple/s8003-n66m.dts | 15 ++ arch/arm64/boot/dts/apple/s8003-n69.dts | 15 ++ arch/arm64/boot/dts/apple/s8003-n71m.dts | 15 ++ arch/arm64/boot/dts/apple/s8003.dtsi | 21 +++ arch/arm64/boot/dts/apple/s800x-6s.dtsi | 49 ++++++ arch/arm64/boot/dts/apple/s800x-ipad5.dtsi | 43 ++++++ arch/arm64/boot/dts/apple/s800x-se.dtsi | 49 ++++++ 17 files changed, 514 insertions(+) create mode 100644 arch/arm64/boot/dts/apple/s800-0-3-common.dtsi create mode 100644 arch/arm64/boot/dts/apple/s8000-j71s.dts create mode 100644 arch/arm64/boot/dts/apple/s8000-j72s.dts create mode 100644 arch/arm64/boot/dts/apple/s8000-n66.dts create mode 100644 arch/arm64/boot/dts/apple/s8000-n69u.dts create mode 100644 arch/arm64/boot/dts/apple/s8000-n71.dts create mode 100644 arch/arm64/boot/dts/apple/s8000.dtsi create mode 100644 arch/arm64/boot/dts/apple/s8003-j71t.dts create mode 100644 arch/arm64/boot/dts/apple/s8003-j72t.dts create mode 100644 arch/arm64/boot/dts/apple/s8003-n66m.dts create mode 100644 arch/arm64/boot/dts/apple/s8003-n69.dts create mode 100644 arch/arm64/boot/dts/apple/s8003-n71m.dts create mode 100644 arch/arm64/boot/dts/apple/s8003.dtsi create mode 100644 arch/arm64/boot/dts/apple/s800x-6s.dtsi create mode 100644 arch/arm64/boot/dts/apple/s800x-ipad5.dtsi create mode 100644 arch/arm64/boot/dts/apple/s800x-se.dtsi
arch/arm64/boot/dts/apple/Makefile +10 -0
@@ -18,6 +18,16 @@ dtb-$(CONFIG_ARCH_APPLE) += t7000-n56.dtb dtb-$(CONFIG_ARCH_APPLE) += t7000-n61.dtb dtb-$(CONFIG_ARCH_APPLE) += t7001-j81.dtb dtb-$(CONFIG_ARCH_APPLE) += t7001-j82.dtb +dtb-$(CONFIG_ARCH_APPLE) += s8000-j71s.dtb +dtb-$(CONFIG_ARCH_APPLE) += s8000-j72s.dtb +dtb-$(CONFIG_ARCH_APPLE) += s8000-n66.dtb +dtb-$(CONFIG_ARCH_APPLE) += s8000-n69u.dtb +dtb-$(CONFIG_ARCH_APPLE) += s8000-n71.dtb +dtb-$(CONFIG_ARCH_APPLE) += s8003-j71t.dtb +dtb-$(CONFIG_ARCH_APPLE) += s8003-j72t.dtb +dtb-$(CONFIG_ARCH_APPLE) += s8003-n66m.dtb +dtb-$(CONFIG_ARCH_APPLE) += s8003-n69.dtb +dtb-$(CONFIG_ARCH_APPLE) += s8003-n71m.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j274.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j293.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j313.dtb
arch/arm64/boot/dts/apple/s800-0-3-common.dtsi new file +48 -0
48 lines not on this page · raw message
arch/arm64/boot/dts/apple/s8000-j71s.dts new file +15 -0
@@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad 5 (Wi-Fi) (Samsung), J71s, iPad6,11 (A1822) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "s8000.dtsi" +#include "s800x-ipad5.dtsi" + +/ { + compatible = "apple,j71s", "apple,s8000", "apple,arm-platform"; + model = "Apple iPad 5 (Wi-Fi) (Samsung)"; +};
arch/arm64/boot/dts/apple/s8000-j72s.dts new file +15 -0
@@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad 5 (Cellular) (Samsung), J72s, iPad6,12 (A1823) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "s8000.dtsi" +#include "s800x-ipad5.dtsi" + +/ { + compatible = "apple,j72s", "apple,s8000", "apple,arm-platform"; + model = "Apple iPad 5 (Cellular) (Samsung)"; +};
arch/arm64/boot/dts/apple/s8000-n66.dts new file +15 -0
@@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone 6s Plus (Samsung), N66, iPhone8,2 (A1634/A1687/A1690/A1699) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "s8000.dtsi" +#include "s800x-6s.dtsi" + +/ { + compatible = "apple,n66", "apple,s8000", "apple,arm-platform"; + model = "Apple iPhone 6s Plus (Samsung)"; +};
arch/arm64/boot/dts/apple/s8000-n69u.dts new file +15 -0
@@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone SE (Samsung), N69u, iPhone8,4 (A1662/A1723/A1724) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "s8000.dtsi" +#include "s800x-se.dtsi" + +/ { + compatible = "apple,n69u", "apple,s8000", "apple,arm-platform"; + model = "Apple iPhone SE (Samsung)"; +};
arch/arm64/boot/dts/apple/s8000-n71.dts new file +15 -0
@@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone 6s (Samsung), N71, iPhone8,1 (A1633/A1688/A1691/A1700) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "s8000.dtsi" +#include "s800x-6s.dtsi" + +/ { + compatible = "apple,n71", "apple,s8000", "apple,arm-platform"; + model = "Apple iPhone 6s (Samsung)"; +};
arch/arm64/boot/dts/apple/s8000.dtsi new file +144 -0
144 lines not on this page · raw message
arch/arm64/boot/dts/apple/s8003-j71t.dts new file +15 -0
@@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad 5 (Wi-Fi) (TSMC), J71t, iPad6,11 (A1822) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "s8003.dtsi" +#include "s800x-ipad5.dtsi" + +/ { + compatible = "apple,j71t", "apple,s8003", "apple,arm-platform"; + model = "Apple iPad 5 (Wi-Fi) (TSMC)"; +};
arch/arm64/boot/dts/apple/s8003-j72t.dts new file +15 -0
@@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad 5 (Cellular) (TSMC), J72t, iPad6,12 (A1823) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "s8003.dtsi" +#include "s800x-ipad5.dtsi" + +/ { + compatible = "apple,j72t", "apple,s8003", "apple,arm-platform"; + model = "Apple iPad 5 (Cellular) (TSMC)"; +};
arch/arm64/boot/dts/apple/s8003-n66m.dts new file +15 -0
@@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone 6s Plus (TSMC), N66m, iPhone8,2 (A1634/A1687/A1690/A1699) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "s8003.dtsi" +#include "s800x-6s.dtsi" + +/ { + compatible = "apple,n66m", "apple,s8003", "apple,arm-platform"; + model = "Apple iPhone 6s Plus (TSMC)"; +};
arch/arm64/boot/dts/apple/s8003-n69.dts new file +15 -0
@@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone SE (TSMC), N69, iPhone8,4 (A1662/A1723/A1724) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "s8003.dtsi" +#include "s800x-se.dtsi" + +/ { + compatible = "apple,n69", "apple,s8003", "apple,arm-platform"; + model = "Apple iPhone SE (TSMC)"; +};
arch/arm64/boot/dts/apple/s8003-n71m.dts new file +15 -0
@@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone 6s (TSMC), N71m, iPhone8,1 (A1633/A1688/A1691/A1700) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "s8003.dtsi" +#include "s800x-6s.dtsi" + +/ { + compatible = "apple,n71m", "apple,s8003", "apple,arm-platform"; + model = "Apple iPhone 6s (TSMC)"; +};
arch/arm64/boot/dts/apple/s8003.dtsi new file +21 -0
@@ -0,0 +1,21 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple S8003 "A9" (TSMC) SoC + * + * Other names: H8P, "Malta" + * + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +#include "s8000.dtsi" + +/* + * The A9 was made by two separate fabs on two different process + * nodes: Samsung made the S8000 (APL0898) on 14nm and TSMC made + * the S8003 (APL1022) on 16nm. While they are seemingly the same, + * they do have distinct part numbers and devices using them have + * distinct model names. There are currently no known differences + * between these as far as Linux is concerned, but let's keep things + * structured properly to make it easier to alter the behaviour of + * one of the chips if need be. + */
arch/arm64/boot/dts/apple/s800x-6s.dtsi new file +49 -0
49 lines not on this page · raw message
arch/arm64/boot/dts/apple/s800x-ipad5.dtsi new file +43 -0
43 lines not on this page · raw message
arch/arm64/boot/dts/apple/s800x-se.dtsi new file +49 -0
49 lines not on this page · raw message
Signature · 1 line
2.47.0
PATCH RESEND v6 16/20 arm64: dts: apple: Add A9X devices
In reply to Nick ChanFrom: Konrad Dybcio <[email protected]>
Add the device tree for the A9X SoC and the devices based on it:
- iPad Pro (9.7 Inch)
- iPad Pro (12.9 Inch) (1st generation)
--- arch/arm64/boot/dts/apple/Makefile | 4 + arch/arm64/boot/dts/apple/s8001-common.dtsi | 48 +++++++ arch/arm64/boot/dts/apple/s8001-j127.dts | 14 +++ arch/arm64/boot/dts/apple/s8001-j128.dts | 14 +++ arch/arm64/boot/dts/apple/s8001-j98a.dts | 14 +++ arch/arm64/boot/dts/apple/s8001-j99a.dts | 14 +++ arch/arm64/boot/dts/apple/s8001-pro.dtsi | 44 +++++++ arch/arm64/boot/dts/apple/s8001.dtsi | 133 ++++++++++++++++++++ 8 files changed, 285 insertions(+) create mode 100644 arch/arm64/boot/dts/apple/s8001-common.dtsi create mode 100644 arch/arm64/boot/dts/apple/s8001-j127.dts create mode 100644 arch/arm64/boot/dts/apple/s8001-j128.dts create mode 100644 arch/arm64/boot/dts/apple/s8001-j98a.dts create mode 100644 arch/arm64/boot/dts/apple/s8001-j99a.dts create mode 100644 arch/arm64/boot/dts/apple/s8001-pro.dtsi create mode 100644 arch/arm64/boot/dts/apple/s8001.dtsi
arch/arm64/boot/dts/apple/Makefile +4 -0
@@ -28,6 +28,10 @@ dtb-$(CONFIG_ARCH_APPLE) += s8003-j72t.dtb dtb-$(CONFIG_ARCH_APPLE) += s8003-n66m.dtb dtb-$(CONFIG_ARCH_APPLE) += s8003-n69.dtb dtb-$(CONFIG_ARCH_APPLE) += s8003-n71m.dtb +dtb-$(CONFIG_ARCH_APPLE) += s8001-j127.dtb +dtb-$(CONFIG_ARCH_APPLE) += s8001-j128.dtb +dtb-$(CONFIG_ARCH_APPLE) += s8001-j98a.dtb +dtb-$(CONFIG_ARCH_APPLE) += s8001-j99a.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j274.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j293.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j313.dtb
arch/arm64/boot/dts/apple/s8001-common.dtsi new file +48 -0
48 lines not on this page · raw message
arch/arm64/boot/dts/apple/s8001-j127.dts new file +14 -0
@@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Pro (9.7-inch) (Wi-Fi), J127, iPad6,3 (A1673) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "s8001-pro.dtsi" + +/ { + compatible = "apple,j127", "apple,s8001", "apple,arm-platform"; + model = "Apple iPad Pro (9.7-inch) (Wi-Fi)"; +};
arch/arm64/boot/dts/apple/s8001-j128.dts new file +14 -0
@@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Pro (9.7-inch) (Cellular), J128, iPad6,4 (A1674/A1675) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "s8001-pro.dtsi" + +/ { + compatible = "apple,j128", "apple,s8001", "apple,arm-platform"; + model = "Apple iPad Pro (9.7-inch) (Cellular)"; +};
arch/arm64/boot/dts/apple/s8001-j98a.dts new file +14 -0
@@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Pro (12.9-inch) (Wi-Fi), J98a, iPad6,7 (A1584) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "s8001-pro.dtsi" + +/ { + compatible = "apple,j98a", "apple,s8001", "apple,arm-platform"; + model = "Apple iPad Pro (12.9-inch) (Wi-Fi)"; +};
arch/arm64/boot/dts/apple/s8001-j99a.dts new file +14 -0
@@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Pro (12.9-inch) (Cellular), J99a, iPad6,8 (A1652) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "s8001-pro.dtsi" + +/ { + compatible = "apple,j99a", "apple,s8001", "apple,arm-platform"; + model = "Apple iPad Pro (12.9-inch) (Cellular)"; +};
arch/arm64/boot/dts/apple/s8001-pro.dtsi new file +44 -0
44 lines not on this page · raw message
arch/arm64/boot/dts/apple/s8001.dtsi new file +133 -0
133 lines not on this page · raw message
Signature · 1 line
2.47.0
PATCH RESEND v6 17/20 arm64: dts: apple: Add A10 devices
In reply to Nick ChanFrom: Konrad Dybcio <[email protected]>
Add DTS files for the A10 SoC and the following devices based on it:
- iPhone 7
- iPhone 7 Plus
- iPod touch 7
- iPad 6
- iPad 7
--- arch/arm64/boot/dts/apple/Makefile | 9 ++ arch/arm64/boot/dts/apple/t8010-7.dtsi | 43 +++++++ arch/arm64/boot/dts/apple/t8010-common.dtsi | 48 +++++++ arch/arm64/boot/dts/apple/t8010-d10.dts | 14 +++ arch/arm64/boot/dts/apple/t8010-d101.dts | 14 +++ arch/arm64/boot/dts/apple/t8010-d11.dts | 14 +++ arch/arm64/boot/dts/apple/t8010-d111.dts | 14 +++ arch/arm64/boot/dts/apple/t8010-ipad6.dtsi | 44 +++++++ arch/arm64/boot/dts/apple/t8010-ipad7.dtsi | 14 +++ arch/arm64/boot/dts/apple/t8010-j171.dts | 14 +++ arch/arm64/boot/dts/apple/t8010-j172.dts | 14 +++ arch/arm64/boot/dts/apple/t8010-j71b.dts | 14 +++ arch/arm64/boot/dts/apple/t8010-j72b.dts | 14 +++ arch/arm64/boot/dts/apple/t8010-n112.dts | 47 +++++++ arch/arm64/boot/dts/apple/t8010.dtsi | 133 ++++++++++++++++++++ 15 files changed, 450 insertions(+) create mode 100644 arch/arm64/boot/dts/apple/t8010-7.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8010-common.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8010-d10.dts create mode 100644 arch/arm64/boot/dts/apple/t8010-d101.dts create mode 100644 arch/arm64/boot/dts/apple/t8010-d11.dts create mode 100644 arch/arm64/boot/dts/apple/t8010-d111.dts create mode 100644 arch/arm64/boot/dts/apple/t8010-ipad6.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8010-ipad7.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8010-j171.dts create mode 100644 arch/arm64/boot/dts/apple/t8010-j172.dts create mode 100644 arch/arm64/boot/dts/apple/t8010-j71b.dts create mode 100644 arch/arm64/boot/dts/apple/t8010-j72b.dts create mode 100644 arch/arm64/boot/dts/apple/t8010-n112.dts create mode 100644 arch/arm64/boot/dts/apple/t8010.dtsi
arch/arm64/boot/dts/apple/Makefile +9 -0
@@ -32,6 +32,15 @@ dtb-$(CONFIG_ARCH_APPLE) += s8001-j127.dtb dtb-$(CONFIG_ARCH_APPLE) += s8001-j128.dtb dtb-$(CONFIG_ARCH_APPLE) += s8001-j98a.dtb dtb-$(CONFIG_ARCH_APPLE) += s8001-j99a.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8010-d101.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8010-d10.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8010-d111.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8010-d11.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8010-j171.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8010-j172.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8010-j71b.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8010-j72b.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8010-n112.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j274.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j293.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j313.dtb
arch/arm64/boot/dts/apple/t8010-7.dtsi new file +43 -0
43 lines not on this page · raw message
arch/arm64/boot/dts/apple/t8010-common.dtsi new file +48 -0
48 lines not on this page · raw message
arch/arm64/boot/dts/apple/t8010-d10.dts new file +14 -0
@@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone 7 (Qualcomm), D10, iPhone9,1 (A1660/A1778/A1779/A1780) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "t8010-7.dtsi" + +/ { + compatible = "apple,d10", "apple,t8010", "apple,arm-platform"; + model = "Apple iPhone 7 (Qualcomm)"; +};
arch/arm64/boot/dts/apple/t8010-d101.dts new file +14 -0
@@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone 7 (Intel), D101, iPhone9,3 (A1660/A1778/A1779/A1780) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "t8010-7.dtsi" + +/ { + compatible = "apple,d101", "apple,t8010", "apple,arm-platform"; + model = "Apple iPhone 7 (Intel)"; +};
arch/arm64/boot/dts/apple/t8010-d11.dts new file +14 -0
@@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone 7 Plus (Qualcomm), D11, iPhone9,2 (A1661/A1784/A1785/A1786) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "t8010-7.dtsi" + +/ { + compatible = "apple,d11", "apple,t8010", "apple,arm-platform"; + model = "Apple iPhone 7 Plus (Qualcomm)"; +};
arch/arm64/boot/dts/apple/t8010-d111.dts new file +14 -0
@@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone 7 Plus (Intel), D111, iPhone9,4 (A1661/A1784/A1785/A1786) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "t8010-7.dtsi" + +/ { + compatible = "apple,d111", "apple,t8010", "apple,arm-platform"; + model = "Apple iPhone 7 Plus (Intel)"; +};
arch/arm64/boot/dts/apple/t8010-ipad6.dtsi new file +44 -0
44 lines not on this page · raw message
arch/arm64/boot/dts/apple/t8010-ipad7.dtsi new file +14 -0
@@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad 7 common device tree + * + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/* + * The iPad 7 seems to be only an iteration over the iPad 6 with some + * small changes, like the a bigger screen and 1 GiB of RAM more, hence + * there is little to no differentiation between these 2 generations for + * now. + */ +#include "t8010-ipad6.dtsi"
arch/arm64/boot/dts/apple/t8010-j171.dts new file +14 -0
@@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad 7 (Wi-Fi), J171, iPad7,11 (A2197) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "t8010-ipad7.dtsi" + +/ { + compatible = "apple,j171", "apple,t8010", "apple,arm-platform"; + model = "Apple iPad 7 (Wi-Fi)"; +};
arch/arm64/boot/dts/apple/t8010-j172.dts new file +14 -0
@@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad 7 (Cellular), J172, iPad7,12 (A2198/A2200) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "t8010-ipad7.dtsi" + +/ { + compatible = "apple,j172", "apple,t8010", "apple,arm-platform"; + model = "Apple iPad 7 (Cellular)"; +};
arch/arm64/boot/dts/apple/t8010-j71b.dts new file +14 -0
@@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad 6 (Wi-Fi), J71b, iPad7,5 (A1893) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "t8010-ipad6.dtsi" + +/ { + compatible = "apple,j71b", "apple,t8010", "apple,arm-platform"; + model = "Apple iPad 6 (Wi-Fi)"; +};
arch/arm64/boot/dts/apple/t8010-j72b.dts new file +14 -0
@@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad 6 (Cellular), J72b, iPad7,6 (A1954) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "t8010-ipad6.dtsi" + +/ { + compatible = "apple,j72b", "apple,t8010", "apple,arm-platform"; + model = "Apple iPad 6 (Cellular)"; +};
arch/arm64/boot/dts/apple/t8010-n112.dts new file +47 -0
47 lines not on this page · raw message
arch/arm64/boot/dts/apple/t8010.dtsi new file +133 -0
133 lines not on this page · raw message
Signature · 1 line
2.47.0
PATCH RESEND v6 18/20 arm64: dts: apple: Add A10X devices
In reply to Nick ChanFrom: Konrad Dybcio <[email protected]>
Add DTS files for the A10X SoC and the following devices based on it:
- Apple TV 4K
- iPad Pro (2nd Generation) (10.5 Inch)
- iPad Pro (2nd Generation) (12.9 Inch)
--- arch/arm64/boot/dts/apple/Makefile | 5 + arch/arm64/boot/dts/apple/t8011-common.dtsi | 46 +++++++ arch/arm64/boot/dts/apple/t8011-j105a.dts | 16 +++ arch/arm64/boot/dts/apple/t8011-j120.dts | 16 +++ arch/arm64/boot/dts/apple/t8011-j121.dts | 16 +++ arch/arm64/boot/dts/apple/t8011-j207.dts | 16 +++ arch/arm64/boot/dts/apple/t8011-j208.dts | 16 +++ arch/arm64/boot/dts/apple/t8011-pro2.dtsi | 42 ++++++ arch/arm64/boot/dts/apple/t8011.dtsi | 141 ++++++++++++++++++++ 9 files changed, 314 insertions(+) create mode 100644 arch/arm64/boot/dts/apple/t8011-common.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8011-j105a.dts create mode 100644 arch/arm64/boot/dts/apple/t8011-j120.dts create mode 100644 arch/arm64/boot/dts/apple/t8011-j121.dts create mode 100644 arch/arm64/boot/dts/apple/t8011-j207.dts create mode 100644 arch/arm64/boot/dts/apple/t8011-j208.dts create mode 100644 arch/arm64/boot/dts/apple/t8011-pro2.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8011.dtsi
arch/arm64/boot/dts/apple/Makefile +5 -0
@@ -41,6 +41,11 @@ dtb-$(CONFIG_ARCH_APPLE) += t8010-j172.dtb dtb-$(CONFIG_ARCH_APPLE) += t8010-j71b.dtb dtb-$(CONFIG_ARCH_APPLE) += t8010-j72b.dtb dtb-$(CONFIG_ARCH_APPLE) += t8010-n112.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8011-j105a.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8011-j120.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8011-j121.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8011-j207.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8011-j208.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j274.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j293.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j313.dtb
arch/arm64/boot/dts/apple/t8011-common.dtsi new file +46 -0
46 lines not on this page · raw message
arch/arm64/boot/dts/apple/t8011-j105a.dts new file +16 -0
@@ -0,0 +1,16 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple TV 4K (1st Generation), J105a, AppleTV6,2 (A1482) + * Copyright (c) 2024, Nick Chan <[email protected]> + */ + +/dts-v1/; + +#include "t8011.dtsi" +#include "t8011-common.dtsi" + +/ { + compatible = "apple,j105a", "apple,t8011", "apple,arm-platform"; + model = "Apple TV 4K (1st Generation)"; + chassis-type = "television"; +};
arch/arm64/boot/dts/apple/t8011-j120.dts new file +16 -0
@@ -0,0 +1,16 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Pro 2 (12.9-inch) (Wi-Fi), J120, iPad7,1 (A1670) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "t8011.dtsi" +#include "t8011-common.dtsi" +#include "t8011-pro2.dtsi" + +/ { + compatible = "apple,j120", "apple,t8011", "apple,arm-platform"; + model = "Apple iPad Pro 2 (12.9-inch) (Wi-Fi)"; +};
arch/arm64/boot/dts/apple/t8011-j121.dts new file +16 -0
@@ -0,0 +1,16 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Pro 2 (12.9-inch) (Cellular), J121, iPad7,2 (A1671) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "t8011.dtsi" +#include "t8011-common.dtsi" +#include "t8011-pro2.dtsi" + +/ { + compatible = "apple,j121", "apple,t8011", "apple,arm-platform"; + model = "Apple iPad Pro 2 (12.9-inch) (Cellular)"; +};
arch/arm64/boot/dts/apple/t8011-j207.dts new file +16 -0
@@ -0,0 +1,16 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Pro 2 (10.5-inch) (Wi-Fi), J207, iPad7,3 (A1701) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "t8011.dtsi" +#include "t8011-common.dtsi" +#include "t8011-pro2.dtsi" + +/ { + compatible = "apple,j207", "apple,t8011", "apple,arm-platform"; + model = "Apple iPad Pro 2 (10.5-inch) (Wi-Fi)"; +};
arch/arm64/boot/dts/apple/t8011-j208.dts new file +16 -0
@@ -0,0 +1,16 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPad Pro 2 (10.5-inch) (Cellular), J208, iPad7,4 (A1709) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "t8011.dtsi" +#include "t8011-common.dtsi" +#include "t8011-pro2.dtsi" + +/ { + compatible = "apple,j208", "apple,t8011", "apple,arm-platform"; + model = "Apple iPad Pro 2 (10.5-inch) (Cellular)"; +};
arch/arm64/boot/dts/apple/t8011-pro2.dtsi new file +42 -0
42 lines not on this page · raw message
arch/arm64/boot/dts/apple/t8011.dtsi new file +141 -0
141 lines not on this page · raw message
Signature · 1 line
2.47.0
PATCH RESEND v6 19/20 arm64: dts: apple: Add A11 devices
In reply to Nick ChanFrom: Konrad Dybcio <[email protected]>
Add DTS files for the A11 SoC and the following devices based on it:
- iPhone 8
- iPhone 8 Plus
- iPhone X
On A11, Apple has introduced independent performance and efficiency core clusters, so indicate it in the device tree as well.
--- arch/arm64/boot/dts/apple/Makefile | 6 + arch/arm64/boot/dts/apple/t8015-8.dtsi | 13 ++ arch/arm64/boot/dts/apple/t8015-8plus.dtsi | 9 + arch/arm64/boot/dts/apple/t8015-common.dtsi | 48 ++++ arch/arm64/boot/dts/apple/t8015-d20.dts | 14 ++ arch/arm64/boot/dts/apple/t8015-d201.dts | 14 ++ arch/arm64/boot/dts/apple/t8015-d21.dts | 14 ++ arch/arm64/boot/dts/apple/t8015-d211.dts | 14 ++ arch/arm64/boot/dts/apple/t8015-d22.dts | 14 ++ arch/arm64/boot/dts/apple/t8015-d221.dts | 14 ++ arch/arm64/boot/dts/apple/t8015-x.dtsi | 13 ++ arch/arm64/boot/dts/apple/t8015.dtsi | 234 ++++++++++++++++++++ 12 files changed, 407 insertions(+) create mode 100644 arch/arm64/boot/dts/apple/t8015-8.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8015-8plus.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8015-common.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8015-d20.dts create mode 100644 arch/arm64/boot/dts/apple/t8015-d201.dts create mode 100644 arch/arm64/boot/dts/apple/t8015-d21.dts create mode 100644 arch/arm64/boot/dts/apple/t8015-d211.dts create mode 100644 arch/arm64/boot/dts/apple/t8015-d22.dts create mode 100644 arch/arm64/boot/dts/apple/t8015-d221.dts create mode 100644 arch/arm64/boot/dts/apple/t8015-x.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8015.dtsi
arch/arm64/boot/dts/apple/Makefile +6 -0
@@ -46,6 +46,12 @@ dtb-$(CONFIG_ARCH_APPLE) += t8011-j120.dtb dtb-$(CONFIG_ARCH_APPLE) += t8011-j121.dtb dtb-$(CONFIG_ARCH_APPLE) += t8011-j207.dtb dtb-$(CONFIG_ARCH_APPLE) += t8011-j208.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8015-d201.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8015-d20.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8015-d211.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8015-d21.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8015-d221.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8015-d22.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j274.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j293.dtb dtb-$(CONFIG_ARCH_APPLE) += t8103-j313.dtb
arch/arm64/boot/dts/apple/t8015-8.dtsi new file +13 -0
@@ -0,0 +1,13 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone 8 common device tree + * + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +#include "t8015.dtsi" +#include "t8015-common.dtsi" + +/ { + chassis-type = "handset"; +};
arch/arm64/boot/dts/apple/t8015-8plus.dtsi new file +9 -0
@@ -0,0 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone 8 Plus common device tree + * + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/* The 8 Plus has minor differences like 1 more camera, 1 GiB of RAM more and a bigger display. */ +#include "t8015-8.dtsi"
arch/arm64/boot/dts/apple/t8015-common.dtsi new file +48 -0
48 lines not on this page · raw message
arch/arm64/boot/dts/apple/t8015-d20.dts new file +14 -0
@@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone 8 (Global), D20 iPhone10,1 (A1863/A1906/A1907) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "t8015-8.dtsi" + +/ { + compatible = "apple,d20", "apple,t8015", "apple,arm-platform"; + model = "Apple iPhone 8 (Global)"; +};
arch/arm64/boot/dts/apple/t8015-d201.dts new file +14 -0
@@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone 8 (GSM), D20 iPhone10,4 (A1905) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "t8015-8.dtsi" + +/ { + compatible = "apple,d201", "apple,t8015", "apple,arm-platform"; + model = "Apple iPhone 8 (GSM)"; +};
arch/arm64/boot/dts/apple/t8015-d21.dts new file +14 -0
@@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone 8 Plus (Global), D21 iPhone10,2 (A1864/A1897/A1898) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "t8015-8plus.dtsi" + +/ { + compatible = "apple,d21", "apple,t8015", "apple,arm-platform"; + model = "Apple iPhone 8 Plus (Global)"; +};
arch/arm64/boot/dts/apple/t8015-d211.dts new file +14 -0
@@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone 8 Plus (GSM), D211 iPhone10,5 (A1899) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "t8015-8plus.dtsi" + +/ { + compatible = "apple,d211", "apple,t8015", "apple,arm-platform"; + model = "Apple iPhone 8 Plus (GSM)"; +};
arch/arm64/boot/dts/apple/t8015-d22.dts new file +14 -0
@@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone X (Global), D22, iPhone10,3 (A1865) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "t8015-x.dtsi" + +/ { + compatible = "apple,d22", "apple,t8015", "apple,arm-platform"; + model = "Apple iPhone X (Global)"; +};
arch/arm64/boot/dts/apple/t8015-d221.dts new file +14 -0
@@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone X (GSM), D221, iPhone10,6 (A1901) + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +/dts-v1/; + +#include "t8015-x.dtsi" + +/ { + compatible = "apple,d221", "apple,t8015", "apple,arm-platform"; + model = "Apple iPhone X (GSM)"; +};
arch/arm64/boot/dts/apple/t8015-x.dtsi new file +13 -0
@@ -0,0 +1,13 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iPhone X common device tree + * + * Copyright (c) 2022, Konrad Dybcio <[email protected]> + */ + +#include "t8015.dtsi" +#include "t8015-common.dtsi" + +/ { + chassis-type = "handset"; +};
arch/arm64/boot/dts/apple/t8015.dtsi new file +234 -0
234 lines not on this page · raw message
Signature · 1 line
2.47.0
PATCH RESEND v6 20/20 arm64: Kconfig: Update help text for CONFIG_ARCH_APPLE
In reply to Nick ChanApple's A7-A11 SoC is now supported, so the original help text is no longer accurate.
--- arch/arm64/Kconfig.platforms | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/Kconfig.platforms +2 -2
@@ -37,8 +37,8 @@ config ARCH_APPLE bool "Apple Silicon SoC family" select APPLE_AIC help - This enables support for Apple's in-house ARM SoC family, starting - with the Apple M1. + This enables support for Apple's in-house ARM SoC family, such + as the Apple M1. menuconfig ARCH_BCM bool "Broadcom SoC Support"
Signature · 1 line
2.47.0
Quoted 2 lines · Nick Chan
This series adds device trees for all A7-A11 SoC based iPhones, iPads, iPod touches and Apple TVs.
This is a good and important series. FWIW:
Are patches not getting applied since you resend them?
Yours,
Linus Walleij
Quoted 9 lines · Linus Walleij
Quoted 2 lines · Nick Chan
This series adds device trees for all A7-A11 SoC based iPhones, iPads, iPod touches and Apple TVs.
This is a good and important series. FWIW:
Acked-by Linus Walleij <[email protected]>Are patches not getting applied since you resend them?
This series along with the watchdog reset delay series mentioned in the cover letter have not been applied.
Quoted 3 lines
Yours,
Linus Walleij
Nick Chan
Quoted 6 lines · Nick Chan
Quoted 5 lines · Linus Walleij
Quoted 2 lines · Nick Chan
This series adds device trees for all A7-A11 SoC based iPhones, iPads, iPod touches and Apple TVs.
Quoted 7 lines
Quoted 4 lines
This is a good and important series. FWIW:
Acked-by Linus Walleij <[email protected]>Are patches not getting applied since you resend them?
This series along with the watchdog reset delay series mentioned in the cover letter have not been applied.
It seems to me that the watchdog series is only a runtime dependency and these binding+DTS patches are well ripe for merge.
I suspect the three Asahi-affiliated maintainers are too busy with their own stuff (like M3 support...) to respond or queue patches as they haven't responded to the patch set for the two months it's been floating. (OK Sven Peter did respond to some v1 patches.)
If nothing happens in a week or so, I suggest you just send a pull request to the SoC tree ([email protected]) yourself. Perhaps you should even be added as comaintainer for the ARM/APPLE machine support so things do not stack up like this?
Yours,
Linus Walleij
Quoted 331 lines · Nick Chan
Hi,
This series adds device trees for all A7-A11 SoC based iPhones, iPads, iPod touches and Apple TVs.
The following devices has been excluded from this series:
- All T2 devices (A10-based): bootloader does not work (yet)
- HomePod: Not tested, and it's also a different form factorTo pass
make dtbs_check, please install the latest dtschema from the main branch, for thetelevisionchassis type.This series supports the following on all devices:
- SMP (spin-table)
- UART
- simple-framebuffer
- watchdog
- timer
- pinctrl
- AIC interruptsThe following is supported on A7-A10:
- Buttons and switches (with pinctrl)
The buttons on A11 based devices like the iPhone X is a subdevice of the not yet supported SMC.Patch dependencies:
- A patch to increase the reset delay in the watchdog driver[1] are needed on some SoCs to avoid the "Reboot Failed" message. (The system will reset regardless of the patch)Authorship information:
- The commits to actually add the dts files are mostly made by Konrad, and Konrad's sign-off is added by me with permission. I also updated the Konrad's email in the actual dts files. Konrad can confirm this.- Everything else is entirely made by me.
Changes since v5:
- Changed how device trees are split. {soc}.dtsi now only contain on-SoC parts, and parts common to all devices using a soc is in {soc}-common.dtsi. For A9 devices the common .dtsi is "s800-0-3-common.dtsi". For A8 devices additonally there is "t7000-handheld.dtsi" to group iPhones, iPad and iPod touches from Apple TVs.
- For other SoCs, either all devices are handheld or there are only one type of handheld devices using it, so no handheld .dtsi is needed.
- This is closer to how the existing device trees are split, and will allow nodes likes power manager and battery to be added more easily.
- Fixed Apple TV HD serial debug console. It is serial6, not serial0.Changes since v4:
- Removed incorrect commit message about the order of CPU cores in the commit adding Apple A7-A11 CPU cores.
- Update tags on commit added A8X device tree files, requested by Markuss.Changes since v3:
- Properly seperate A10X dt-binding additions and dts additions.
- Apple CPU cores, including the existing ones are now ordered alphabetically.Changes since v2:
- Removed A10 cpufreq. The loader may be missing some initialization code that just happened to be performed by some versions of the firmware as well, given the inconsistent behavior on different devices. It is also possible that the driver needs to be modified, I do not know and this needs more research first.- Removed Ivaylo's tags on commit to add A8X device trees, seems he does not want those anymore[2].
- Added Ivaylo's tags on commit to add A8 device tree, I have missed the tag. See [3] for source of those tags.
- Added Conor's missing A-b on the commit to add A7 machine bindings.Changes since v1:
- Added /chassis-type property
- Added opp-microvolt in A10 cpufreq for documentation purposes
- Home button is now assignedKEY_HOMEPAGE
- Fixedt8010-n112.dtsand do not remove it fromMakefilein later commits... (iPod touch 7)In order to be consistent with the Apple ARM Machines bindings, the order of dt-bindings did not change from v1.
The sort order logic here is having SoC type families in release order, and SoCs within each family in release order:
- t8xxx/t700x/s5l8960x (Apple HxxP/G series, "phone"/"tablet" chips)
- s5l8960x (Apple H6/A7)
- t7000 (Apple H7P/A8)
- t7001 (Apple H7G/A8X)
- s8000/3 (Apple H8P/A9)
- s8001 (Apple H8G/A9X)
- t8010 (Apple H9P/A10)
- t8011 (Apple H9G/A10X)
- t8015 (Apple H10/A11)
- t8103 (Apple H13G/M1)
- t8112 (Apple H14G/M2)
- t6xxx (Apple HxxJ series, "desktop" chips)
- t6000 (Apple H13J(S)/M1 Pro)
- t6001 (Apple H13J(C)/M1 Max)
- t6002 (Apple H13J(D)/M1 Ultra)At this moment, it is expected that most hardware blocks will be 100% compatible between A-series and AX-series SoCs, though to a less extent than compatibility between desktop chips of the same generation.
v1: https://lore.kernel.org/asahi/[email protected]
v2: https://lore.kernel.org/asahi/[email protected]
v3: https://lore.kernel.org/asahi/[email protected]
v4: https://lore.kernel.org/asahi/[email protected]
v5: https://lore.kernel.org/asahi/[email protected][1]: https://lore.kernel.org/asahi/[email protected]
[2]: https://lore.kernel.org/asahi/[email protected]
[3]: https://github.com/konradybcio/linux-apple/commits/apple/v5.19-rc1Nick Chan
---Konrad Dybcio (8):
arm64: dts: apple: Add A7 devices
arm64: dts: apple: Add A8 devices
arm64: dts: apple: Add A8X devices
arm64: dts: apple: Add A9 devices
arm64: dts: apple: Add A9X devices
arm64: dts: apple: Add A10 devices
arm64: dts: apple: Add A10X devices
arm64: dts: apple: Add A11 devicesNick Chan (12):
dt-bindings: arm: cpus: Add Apple A7-A11 CPU cores
dt-bindings: watchdog: apple,wdt: Add A7-A11 compatibles
dt-bindings: pinctrl: apple,pinctrl: Add A7-A11 compatibles
dt-bindings: arm: apple: Add A7 devices
dt-bindings: arm: apple: Add A8 devices
dt-bindings: arm: apple: Add A8X devices
dt-bindings: arm: apple: Add A9 devices
dt-bindings: arm: apple: Add A9X devices
dt-bindings: arm: apple: Add A10 devices
dt-bindings: arm: apple: Add A10X devices
dt-bindings: arm: apple: Add A11 devices
arm64:Kconfig: Update help text forCONFIG_ARCH_APPLE.../devicetree/bindings/arm/apple.yaml | 160 +++++++++++- .../devicetree/bindings/arm/cpus.yaml | 8 +- .../bindings/pinctrl/apple,pinctrl.yaml | 5 + .../bindings/watchdog/apple,wdt.yaml | 5 + arch/arm64/Kconfig.platforms | 4 +- arch/arm64/boot/dts/apple/Makefile | 53 ++++ arch/arm64/boot/dts/apple/s5l8960x-5s.dtsi | 51 ++++ arch/arm64/boot/dts/apple/s5l8960x-air1.dtsi | 51 ++++ .../arm64/boot/dts/apple/s5l8960x-common.dtsi | 48 ++++ arch/arm64/boot/dts/apple/s5l8960x-j71.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-j72.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-j73.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-j85.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-j85m.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-j86.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-j86m.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-j87.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-j87m.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-mini2.dtsi | 51 ++++ arch/arm64/boot/dts/apple/s5l8960x-mini3.dtsi | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-n51.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-n53.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x.dtsi | 113 +++++++++ .../arm64/boot/dts/apple/s800-0-3-common.dtsi | 48 ++++ arch/arm64/boot/dts/apple/s8000-j71s.dts | 15 ++ arch/arm64/boot/dts/apple/s8000-j72s.dts | 15 ++ arch/arm64/boot/dts/apple/s8000-n66.dts | 15 ++ arch/arm64/boot/dts/apple/s8000-n69u.dts | 15 ++ arch/arm64/boot/dts/apple/s8000-n71.dts | 15 ++ arch/arm64/boot/dts/apple/s8000.dtsi | 144 +++++++++++ arch/arm64/boot/dts/apple/s8001-common.dtsi | 48 ++++ arch/arm64/boot/dts/apple/s8001-j127.dts | 14 ++ arch/arm64/boot/dts/apple/s8001-j128.dts | 14 ++ arch/arm64/boot/dts/apple/s8001-j98a.dts | 14 ++ arch/arm64/boot/dts/apple/s8001-j99a.dts | 14 ++ arch/arm64/boot/dts/apple/s8001-pro.dtsi | 44 ++++ arch/arm64/boot/dts/apple/s8001.dtsi | 133 ++++++++++ arch/arm64/boot/dts/apple/s8003-j71t.dts | 15 ++ arch/arm64/boot/dts/apple/s8003-j72t.dts | 15 ++ arch/arm64/boot/dts/apple/s8003-n66m.dts | 15 ++ arch/arm64/boot/dts/apple/s8003-n69.dts | 15 ++ arch/arm64/boot/dts/apple/s8003-n71m.dts | 15 ++ arch/arm64/boot/dts/apple/s8003.dtsi | 21 ++ arch/arm64/boot/dts/apple/s800x-6s.dtsi | 49 ++++ arch/arm64/boot/dts/apple/s800x-ipad5.dtsi | 43 ++++ arch/arm64/boot/dts/apple/s800x-se.dtsi | 49 ++++ arch/arm64/boot/dts/apple/t7000-6.dtsi | 50 ++++ arch/arm64/boot/dts/apple/t7000-common.dtsi | 36 +++ arch/arm64/boot/dts/apple/t7000-handheld.dtsi | 27 ++ arch/arm64/boot/dts/apple/t7000-j42d.dts | 31 +++ arch/arm64/boot/dts/apple/t7000-j96.dts | 14 ++ arch/arm64/boot/dts/apple/t7000-j97.dts | 14 ++ arch/arm64/boot/dts/apple/t7000-mini4.dtsi | 51 ++++ arch/arm64/boot/dts/apple/t7000-n102.dts | 48 ++++ arch/arm64/boot/dts/apple/t7000-n56.dts | 14 ++ arch/arm64/boot/dts/apple/t7000-n61.dts | 14 ++ arch/arm64/boot/dts/apple/t7000.dtsi | 125 ++++++++++ arch/arm64/boot/dts/apple/t7001-air2.dtsi | 74 ++++++ arch/arm64/boot/dts/apple/t7001-j81.dts | 14 ++ arch/arm64/boot/dts/apple/t7001-j82.dts | 14 ++ arch/arm64/boot/dts/apple/t7001.dtsi | 123 +++++++++ arch/arm64/boot/dts/apple/t8010-7.dtsi | 43 ++++ arch/arm64/boot/dts/apple/t8010-common.dtsi | 48 ++++ arch/arm64/boot/dts/apple/t8010-d10.dts | 14 ++ arch/arm64/boot/dts/apple/t8010-d101.dts | 14 ++ arch/arm64/boot/dts/apple/t8010-d11.dts | 14 ++ arch/arm64/boot/dts/apple/t8010-d111.dts | 14 ++ arch/arm64/boot/dts/apple/t8010-ipad6.dtsi | 44 ++++ arch/arm64/boot/dts/apple/t8010-ipad7.dtsi | 14 ++ arch/arm64/boot/dts/apple/t8010-j171.dts | 14 ++ arch/arm64/boot/dts/apple/t8010-j172.dts | 14 ++ arch/arm64/boot/dts/apple/t8010-j71b.dts | 14 ++ arch/arm64/boot/dts/apple/t8010-j72b.dts | 14 ++ arch/arm64/boot/dts/apple/t8010-n112.dts | 47 ++++ arch/arm64/boot/dts/apple/t8010.dtsi | 133 ++++++++++ arch/arm64/boot/dts/apple/t8011-common.dtsi | 46 ++++ arch/arm64/boot/dts/apple/t8011-j105a.dts | 16 ++ arch/arm64/boot/dts/apple/t8011-j120.dts | 16 ++ arch/arm64/boot/dts/apple/t8011-j121.dts | 16 ++ arch/arm64/boot/dts/apple/t8011-j207.dts | 16 ++ arch/arm64/boot/dts/apple/t8011-j208.dts | 16 ++ arch/arm64/boot/dts/apple/t8011-pro2.dtsi | 42 ++++ arch/arm64/boot/dts/apple/t8011.dtsi | 141 +++++++++++ arch/arm64/boot/dts/apple/t8015-8.dtsi | 13 + arch/arm64/boot/dts/apple/t8015-8plus.dtsi | 9 + arch/arm64/boot/dts/apple/t8015-common.dtsi | 48 ++++ arch/arm64/boot/dts/apple/t8015-d20.dts | 14 ++ arch/arm64/boot/dts/apple/t8015-d201.dts | 14 ++ arch/arm64/boot/dts/apple/t8015-d21.dts | 14 ++ arch/arm64/boot/dts/apple/t8015-d211.dts | 14 ++ arch/arm64/boot/dts/apple/t8015-d22.dts | 14 ++ arch/arm64/boot/dts/apple/t8015-d221.dts | 14 ++ arch/arm64/boot/dts/apple/t8015-x.dtsi | 13 + arch/arm64/boot/dts/apple/t8015.dtsi | 234 ++++++++++++++++++ 94 files changed, 3298 insertions(+), 4 deletions(-) create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-5s.dtsi create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-air1.dtsi create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-common.dtsi create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j71.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j72.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j73.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j85.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j85m.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j86.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j86m.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j87.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j87m.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-mini2.dtsi create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-mini3.dtsi create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-n51.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-n53.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x.dtsi create mode 100644 arch/arm64/boot/dts/apple/s800-0-3-common.dtsi create mode 100644 arch/arm64/boot/dts/apple/s8000-j71s.dts create mode 100644 arch/arm64/boot/dts/apple/s8000-j72s.dts create mode 100644 arch/arm64/boot/dts/apple/s8000-n66.dts create mode 100644 arch/arm64/boot/dts/apple/s8000-n69u.dts create mode 100644 arch/arm64/boot/dts/apple/s8000-n71.dts create mode 100644 arch/arm64/boot/dts/apple/s8000.dtsi create mode 100644 arch/arm64/boot/dts/apple/s8001-common.dtsi create mode 100644 arch/arm64/boot/dts/apple/s8001-j127.dts create mode 100644 arch/arm64/boot/dts/apple/s8001-j128.dts create mode 100644 arch/arm64/boot/dts/apple/s8001-j98a.dts create mode 100644 arch/arm64/boot/dts/apple/s8001-j99a.dts create mode 100644 arch/arm64/boot/dts/apple/s8001-pro.dtsi create mode 100644 arch/arm64/boot/dts/apple/s8001.dtsi create mode 100644 arch/arm64/boot/dts/apple/s8003-j71t.dts create mode 100644 arch/arm64/boot/dts/apple/s8003-j72t.dts create mode 100644 arch/arm64/boot/dts/apple/s8003-n66m.dts create mode 100644 arch/arm64/boot/dts/apple/s8003-n69.dts create mode 100644 arch/arm64/boot/dts/apple/s8003-n71m.dts create mode 100644 arch/arm64/boot/dts/apple/s8003.dtsi create mode 100644 arch/arm64/boot/dts/apple/s800x-6s.dtsi create mode 100644 arch/arm64/boot/dts/apple/s800x-ipad5.dtsi create mode 100644 arch/arm64/boot/dts/apple/s800x-se.dtsi create mode 100644 arch/arm64/boot/dts/apple/t7000-6.dtsi create mode 100644 arch/arm64/boot/dts/apple/t7000-common.dtsi create mode 100644 arch/arm64/boot/dts/apple/t7000-handheld.dtsi create mode 100644 arch/arm64/boot/dts/apple/t7000-j42d.dts create mode 100644 arch/arm64/boot/dts/apple/t7000-j96.dts create mode 100644 arch/arm64/boot/dts/apple/t7000-j97.dts create mode 100644 arch/arm64/boot/dts/apple/t7000-mini4.dtsi create mode 100644 arch/arm64/boot/dts/apple/t7000-n102.dts create mode 100644 arch/arm64/boot/dts/apple/t7000-n56.dts create mode 100644 arch/arm64/boot/dts/apple/t7000-n61.dts create mode 100644 arch/arm64/boot/dts/apple/t7000.dtsi create mode 100644 arch/arm64/boot/dts/apple/t7001-air2.dtsi create mode 100644 arch/arm64/boot/dts/apple/t7001-j81.dts create mode 100644 arch/arm64/boot/dts/apple/t7001-j82.dts create mode 100644 arch/arm64/boot/dts/apple/t7001.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8010-7.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8010-common.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8010-d10.dts create mode 100644 arch/arm64/boot/dts/apple/t8010-d101.dts create mode 100644 arch/arm64/boot/dts/apple/t8010-d11.dts create mode 100644 arch/arm64/boot/dts/apple/t8010-d111.dts create mode 100644 arch/arm64/boot/dts/apple/t8010-ipad6.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8010-ipad7.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8010-j171.dts create mode 100644 arch/arm64/boot/dts/apple/t8010-j172.dts create mode 100644 arch/arm64/boot/dts/apple/t8010-j71b.dts create mode 100644 arch/arm64/boot/dts/apple/t8010-j72b.dts create mode 100644 arch/arm64/boot/dts/apple/t8010-n112.dts create mode 100644 arch/arm64/boot/dts/apple/t8010.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8011-common.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8011-j105a.dts create mode 100644 arch/arm64/boot/dts/apple/t8011-j120.dts create mode 100644 arch/arm64/boot/dts/apple/t8011-j121.dts create mode 100644 arch/arm64/boot/dts/apple/t8011-j207.dts create mode 100644 arch/arm64/boot/dts/apple/t8011-j208.dts create mode 100644 arch/arm64/boot/dts/apple/t8011-pro2.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8011.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8015-8.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8015-8plus.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8015-common.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8015-d20.dts create mode 100644 arch/arm64/boot/dts/apple/t8015-d201.dts create mode 100644 arch/arm64/boot/dts/apple/t8015-d21.dts create mode 100644 arch/arm64/boot/dts/apple/t8015-d211.dts create mode 100644 arch/arm64/boot/dts/apple/t8015-d22.dts create mode 100644 arch/arm64/boot/dts/apple/t8015-d221.dts create mode 100644 arch/arm64/boot/dts/apple/t8015-x.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8015.dtsi
Quoted 5 lines
base-commit:
7436324ebd147598f940dde1335b7979dbccc339--
2.47.0
Series LGTM.
Signature · 1 line
真実はいつも一つ!/ Always, there's only one truth!
Hector Martin
AppliedQuoted 330 lines · Nick Chan
Hi,
This series adds device trees for all A7-A11 SoC based iPhones, iPads, iPod touches and Apple TVs.
The following devices has been excluded from this series:
- All T2 devices (A10-based): bootloader does not work (yet)
- HomePod: Not tested, and it's also a different form factorTo pass
make dtbs_check, please install the latest dtschema from the main branch, for thetelevisionchassis type.This series supports the following on all devices:
- SMP (spin-table)
- UART
- simple-framebuffer
- watchdog
- timer
- pinctrl
- AIC interruptsThe following is supported on A7-A10:
- Buttons and switches (with pinctrl)
The buttons on A11 based devices like the iPhone X is a subdevice of the not yet supported SMC.Patch dependencies:
- A patch to increase the reset delay in the watchdog driver[1] are needed on some SoCs to avoid the "Reboot Failed" message. (The system will reset regardless of the patch)Authorship information:
- The commits to actually add the dts files are mostly made by Konrad, and Konrad's sign-off is added by me with permission. I also updated the Konrad's email in the actual dts files. Konrad can confirm this.- Everything else is entirely made by me.
Changes since v5:
- Changed how device trees are split. {soc}.dtsi now only contain on-SoC parts, and parts common to all devices using a soc is in {soc}-common.dtsi. For A9 devices the common .dtsi is "s800-0-3-common.dtsi". For A8 devices additonally there is "t7000-handheld.dtsi" to group iPhones, iPad and iPod touches from Apple TVs.
- For other SoCs, either all devices are handheld or there are only one type of handheld devices using it, so no handheld .dtsi is needed.
- This is closer to how the existing device trees are split, and will allow nodes likes power manager and battery to be added more easily.
- Fixed Apple TV HD serial debug console. It is serial6, not serial0.Changes since v4:
- Removed incorrect commit message about the order of CPU cores in the commit adding Apple A7-A11 CPU cores.
- Update tags on commit added A8X device tree files, requested by Markuss.Changes since v3:
- Properly seperate A10X dt-binding additions and dts additions.
- Apple CPU cores, including the existing ones are now ordered alphabetically.Changes since v2:
- Removed A10 cpufreq. The loader may be missing some initialization code that just happened to be performed by some versions of the firmware as well, given the inconsistent behavior on different devices. It is also possible that the driver needs to be modified, I do not know and this needs more research first.- Removed Ivaylo's tags on commit to add A8X device trees, seems he does not want those anymore[2].
- Added Ivaylo's tags on commit to add A8 device tree, I have missed the tag. See [3] for source of those tags.
- Added Conor's missing A-b on the commit to add A7 machine bindings.Changes since v1:
- Added /chassis-type property
- Added opp-microvolt in A10 cpufreq for documentation purposes
- Home button is now assignedKEY_HOMEPAGE
- Fixedt8010-n112.dtsand do not remove it fromMakefilein later commits... (iPod touch 7)In order to be consistent with the Apple ARM Machines bindings, the order of dt-bindings did not change from v1.
The sort order logic here is having SoC type families in release order, and SoCs within each family in release order:
- t8xxx/t700x/s5l8960x (Apple HxxP/G series, "phone"/"tablet" chips)
- s5l8960x (Apple H6/A7)
- t7000 (Apple H7P/A8)
- t7001 (Apple H7G/A8X)
- s8000/3 (Apple H8P/A9)
- s8001 (Apple H8G/A9X)
- t8010 (Apple H9P/A10)
- t8011 (Apple H9G/A10X)
- t8015 (Apple H10/A11)
- t8103 (Apple H13G/M1)
- t8112 (Apple H14G/M2)
- t6xxx (Apple HxxJ series, "desktop" chips)
- t6000 (Apple H13J(S)/M1 Pro)
- t6001 (Apple H13J(C)/M1 Max)
- t6002 (Apple H13J(D)/M1 Ultra)At this moment, it is expected that most hardware blocks will be 100% compatible between A-series and AX-series SoCs, though to a less extent than compatibility between desktop chips of the same generation.
v1: https://lore.kernel.org/asahi/[email protected]
v2: https://lore.kernel.org/asahi/[email protected]
v3: https://lore.kernel.org/asahi/[email protected]
v4: https://lore.kernel.org/asahi/[email protected]
v5: https://lore.kernel.org/asahi/[email protected][1]: https://lore.kernel.org/asahi/[email protected]
[2]: https://lore.kernel.org/asahi/[email protected]
[3]: https://github.com/konradybcio/linux-apple/commits/apple/v5.19-rc1Nick Chan
---Konrad Dybcio (8):
arm64: dts: apple: Add A7 devices
arm64: dts: apple: Add A8 devices
arm64: dts: apple: Add A8X devices
arm64: dts: apple: Add A9 devices
arm64: dts: apple: Add A9X devices
arm64: dts: apple: Add A10 devices
arm64: dts: apple: Add A10X devices
arm64: dts: apple: Add A11 devicesNick Chan (12):
dt-bindings: arm: cpus: Add Apple A7-A11 CPU cores
dt-bindings: watchdog: apple,wdt: Add A7-A11 compatibles
dt-bindings: pinctrl: apple,pinctrl: Add A7-A11 compatibles
dt-bindings: arm: apple: Add A7 devices
dt-bindings: arm: apple: Add A8 devices
dt-bindings: arm: apple: Add A8X devices
dt-bindings: arm: apple: Add A9 devices
dt-bindings: arm: apple: Add A9X devices
dt-bindings: arm: apple: Add A10 devices
dt-bindings: arm: apple: Add A10X devices
dt-bindings: arm: apple: Add A11 devices
arm64:Kconfig: Update help text forCONFIG_ARCH_APPLE.../devicetree/bindings/arm/apple.yaml | 160 +++++++++++- .../devicetree/bindings/arm/cpus.yaml | 8 +- .../bindings/pinctrl/apple,pinctrl.yaml | 5 + .../bindings/watchdog/apple,wdt.yaml | 5 + arch/arm64/Kconfig.platforms | 4 +- arch/arm64/boot/dts/apple/Makefile | 53 ++++ arch/arm64/boot/dts/apple/s5l8960x-5s.dtsi | 51 ++++ arch/arm64/boot/dts/apple/s5l8960x-air1.dtsi | 51 ++++ .../arm64/boot/dts/apple/s5l8960x-common.dtsi | 48 ++++ arch/arm64/boot/dts/apple/s5l8960x-j71.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-j72.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-j73.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-j85.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-j85m.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-j86.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-j86m.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-j87.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-j87m.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-mini2.dtsi | 51 ++++ arch/arm64/boot/dts/apple/s5l8960x-mini3.dtsi | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-n51.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x-n53.dts | 14 ++ arch/arm64/boot/dts/apple/s5l8960x.dtsi | 113 +++++++++ .../arm64/boot/dts/apple/s800-0-3-common.dtsi | 48 ++++ arch/arm64/boot/dts/apple/s8000-j71s.dts | 15 ++ arch/arm64/boot/dts/apple/s8000-j72s.dts | 15 ++ arch/arm64/boot/dts/apple/s8000-n66.dts | 15 ++ arch/arm64/boot/dts/apple/s8000-n69u.dts | 15 ++ arch/arm64/boot/dts/apple/s8000-n71.dts | 15 ++ arch/arm64/boot/dts/apple/s8000.dtsi | 144 +++++++++++ arch/arm64/boot/dts/apple/s8001-common.dtsi | 48 ++++ arch/arm64/boot/dts/apple/s8001-j127.dts | 14 ++ arch/arm64/boot/dts/apple/s8001-j128.dts | 14 ++ arch/arm64/boot/dts/apple/s8001-j98a.dts | 14 ++ arch/arm64/boot/dts/apple/s8001-j99a.dts | 14 ++ arch/arm64/boot/dts/apple/s8001-pro.dtsi | 44 ++++ arch/arm64/boot/dts/apple/s8001.dtsi | 133 ++++++++++ arch/arm64/boot/dts/apple/s8003-j71t.dts | 15 ++ arch/arm64/boot/dts/apple/s8003-j72t.dts | 15 ++ arch/arm64/boot/dts/apple/s8003-n66m.dts | 15 ++ arch/arm64/boot/dts/apple/s8003-n69.dts | 15 ++ arch/arm64/boot/dts/apple/s8003-n71m.dts | 15 ++ arch/arm64/boot/dts/apple/s8003.dtsi | 21 ++ arch/arm64/boot/dts/apple/s800x-6s.dtsi | 49 ++++ arch/arm64/boot/dts/apple/s800x-ipad5.dtsi | 43 ++++ arch/arm64/boot/dts/apple/s800x-se.dtsi | 49 ++++ arch/arm64/boot/dts/apple/t7000-6.dtsi | 50 ++++ arch/arm64/boot/dts/apple/t7000-common.dtsi | 36 +++ arch/arm64/boot/dts/apple/t7000-handheld.dtsi | 27 ++ arch/arm64/boot/dts/apple/t7000-j42d.dts | 31 +++ arch/arm64/boot/dts/apple/t7000-j96.dts | 14 ++ arch/arm64/boot/dts/apple/t7000-j97.dts | 14 ++ arch/arm64/boot/dts/apple/t7000-mini4.dtsi | 51 ++++ arch/arm64/boot/dts/apple/t7000-n102.dts | 48 ++++ arch/arm64/boot/dts/apple/t7000-n56.dts | 14 ++ arch/arm64/boot/dts/apple/t7000-n61.dts | 14 ++ arch/arm64/boot/dts/apple/t7000.dtsi | 125 ++++++++++ arch/arm64/boot/dts/apple/t7001-air2.dtsi | 74 ++++++ arch/arm64/boot/dts/apple/t7001-j81.dts | 14 ++ arch/arm64/boot/dts/apple/t7001-j82.dts | 14 ++ arch/arm64/boot/dts/apple/t7001.dtsi | 123 +++++++++ arch/arm64/boot/dts/apple/t8010-7.dtsi | 43 ++++ arch/arm64/boot/dts/apple/t8010-common.dtsi | 48 ++++ arch/arm64/boot/dts/apple/t8010-d10.dts | 14 ++ arch/arm64/boot/dts/apple/t8010-d101.dts | 14 ++ arch/arm64/boot/dts/apple/t8010-d11.dts | 14 ++ arch/arm64/boot/dts/apple/t8010-d111.dts | 14 ++ arch/arm64/boot/dts/apple/t8010-ipad6.dtsi | 44 ++++ arch/arm64/boot/dts/apple/t8010-ipad7.dtsi | 14 ++ arch/arm64/boot/dts/apple/t8010-j171.dts | 14 ++ arch/arm64/boot/dts/apple/t8010-j172.dts | 14 ++ arch/arm64/boot/dts/apple/t8010-j71b.dts | 14 ++ arch/arm64/boot/dts/apple/t8010-j72b.dts | 14 ++ arch/arm64/boot/dts/apple/t8010-n112.dts | 47 ++++ arch/arm64/boot/dts/apple/t8010.dtsi | 133 ++++++++++ arch/arm64/boot/dts/apple/t8011-common.dtsi | 46 ++++ arch/arm64/boot/dts/apple/t8011-j105a.dts | 16 ++ arch/arm64/boot/dts/apple/t8011-j120.dts | 16 ++ arch/arm64/boot/dts/apple/t8011-j121.dts | 16 ++ arch/arm64/boot/dts/apple/t8011-j207.dts | 16 ++ arch/arm64/boot/dts/apple/t8011-j208.dts | 16 ++ arch/arm64/boot/dts/apple/t8011-pro2.dtsi | 42 ++++ arch/arm64/boot/dts/apple/t8011.dtsi | 141 +++++++++++ arch/arm64/boot/dts/apple/t8015-8.dtsi | 13 + arch/arm64/boot/dts/apple/t8015-8plus.dtsi | 9 + arch/arm64/boot/dts/apple/t8015-common.dtsi | 48 ++++ arch/arm64/boot/dts/apple/t8015-d20.dts | 14 ++ arch/arm64/boot/dts/apple/t8015-d201.dts | 14 ++ arch/arm64/boot/dts/apple/t8015-d21.dts | 14 ++ arch/arm64/boot/dts/apple/t8015-d211.dts | 14 ++ arch/arm64/boot/dts/apple/t8015-d22.dts | 14 ++ arch/arm64/boot/dts/apple/t8015-d221.dts | 14 ++ arch/arm64/boot/dts/apple/t8015-x.dtsi | 13 + arch/arm64/boot/dts/apple/t8015.dtsi | 234 ++++++++++++++++++ 94 files changed, 3298 insertions(+), 4 deletions(-) create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-5s.dtsi create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-air1.dtsi create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-common.dtsi create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j71.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j72.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j73.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j85.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j85m.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j86.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j86m.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j87.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-j87m.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-mini2.dtsi create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-mini3.dtsi create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-n51.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-n53.dts create mode 100644 arch/arm64/boot/dts/apple/s5l8960x.dtsi create mode 100644 arch/arm64/boot/dts/apple/s800-0-3-common.dtsi create mode 100644 arch/arm64/boot/dts/apple/s8000-j71s.dts create mode 100644 arch/arm64/boot/dts/apple/s8000-j72s.dts create mode 100644 arch/arm64/boot/dts/apple/s8000-n66.dts create mode 100644 arch/arm64/boot/dts/apple/s8000-n69u.dts create mode 100644 arch/arm64/boot/dts/apple/s8000-n71.dts create mode 100644 arch/arm64/boot/dts/apple/s8000.dtsi create mode 100644 arch/arm64/boot/dts/apple/s8001-common.dtsi create mode 100644 arch/arm64/boot/dts/apple/s8001-j127.dts create mode 100644 arch/arm64/boot/dts/apple/s8001-j128.dts create mode 100644 arch/arm64/boot/dts/apple/s8001-j98a.dts create mode 100644 arch/arm64/boot/dts/apple/s8001-j99a.dts create mode 100644 arch/arm64/boot/dts/apple/s8001-pro.dtsi create mode 100644 arch/arm64/boot/dts/apple/s8001.dtsi create mode 100644 arch/arm64/boot/dts/apple/s8003-j71t.dts create mode 100644 arch/arm64/boot/dts/apple/s8003-j72t.dts create mode 100644 arch/arm64/boot/dts/apple/s8003-n66m.dts create mode 100644 arch/arm64/boot/dts/apple/s8003-n69.dts create mode 100644 arch/arm64/boot/dts/apple/s8003-n71m.dts create mode 100644 arch/arm64/boot/dts/apple/s8003.dtsi create mode 100644 arch/arm64/boot/dts/apple/s800x-6s.dtsi create mode 100644 arch/arm64/boot/dts/apple/s800x-ipad5.dtsi create mode 100644 arch/arm64/boot/dts/apple/s800x-se.dtsi create mode 100644 arch/arm64/boot/dts/apple/t7000-6.dtsi create mode 100644 arch/arm64/boot/dts/apple/t7000-common.dtsi create mode 100644 arch/arm64/boot/dts/apple/t7000-handheld.dtsi create mode 100644 arch/arm64/boot/dts/apple/t7000-j42d.dts create mode 100644 arch/arm64/boot/dts/apple/t7000-j96.dts create mode 100644 arch/arm64/boot/dts/apple/t7000-j97.dts create mode 100644 arch/arm64/boot/dts/apple/t7000-mini4.dtsi create mode 100644 arch/arm64/boot/dts/apple/t7000-n102.dts create mode 100644 arch/arm64/boot/dts/apple/t7000-n56.dts create mode 100644 arch/arm64/boot/dts/apple/t7000-n61.dts create mode 100644 arch/arm64/boot/dts/apple/t7000.dtsi create mode 100644 arch/arm64/boot/dts/apple/t7001-air2.dtsi create mode 100644 arch/arm64/boot/dts/apple/t7001-j81.dts create mode 100644 arch/arm64/boot/dts/apple/t7001-j82.dts create mode 100644 arch/arm64/boot/dts/apple/t7001.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8010-7.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8010-common.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8010-d10.dts create mode 100644 arch/arm64/boot/dts/apple/t8010-d101.dts create mode 100644 arch/arm64/boot/dts/apple/t8010-d11.dts create mode 100644 arch/arm64/boot/dts/apple/t8010-d111.dts create mode 100644 arch/arm64/boot/dts/apple/t8010-ipad6.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8010-ipad7.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8010-j171.dts create mode 100644 arch/arm64/boot/dts/apple/t8010-j172.dts create mode 100644 arch/arm64/boot/dts/apple/t8010-j71b.dts create mode 100644 arch/arm64/boot/dts/apple/t8010-j72b.dts create mode 100644 arch/arm64/boot/dts/apple/t8010-n112.dts create mode 100644 arch/arm64/boot/dts/apple/t8010.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8011-common.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8011-j105a.dts create mode 100644 arch/arm64/boot/dts/apple/t8011-j120.dts create mode 100644 arch/arm64/boot/dts/apple/t8011-j121.dts create mode 100644 arch/arm64/boot/dts/apple/t8011-j207.dts create mode 100644 arch/arm64/boot/dts/apple/t8011-j208.dts create mode 100644 arch/arm64/boot/dts/apple/t8011-pro2.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8011.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8015-8.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8015-8plus.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8015-common.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8015-d20.dts create mode 100644 arch/arm64/boot/dts/apple/t8015-d201.dts create mode 100644 arch/arm64/boot/dts/apple/t8015-d21.dts create mode 100644 arch/arm64/boot/dts/apple/t8015-d211.dts create mode 100644 arch/arm64/boot/dts/apple/t8015-d22.dts create mode 100644 arch/arm64/boot/dts/apple/t8015-d221.dts create mode 100644 arch/arm64/boot/dts/apple/t8015-x.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8015.dtsi
Quoted 1 line
base-commit:
7436324ebd147598f940dde1335b7979dbccc339
Applied to asahi-soc/dt, thanks! Sorry for the delay, I've been dealing with personal issues recently and haven't been caught up on emails.
@Neal and others: We should probably consider filtering out most of these from m1n1 scripts, since I assume they aren't going to be very useful in the context of actual distro installs at least for the time being, and they will bloat the m1n1 image. Installing them with the kernel is fine, we just need some smarter logic when picking DTBs to pack for m1n1 stage2 images than "everything apple/*".
- Hector