forked from konradybcio/linux-apple
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arm64: dts: apple: Add cpufreq nodes for the A10(X) SoCs
The cpufreq hardware on the A10(X) is compatible with the M1 and only DT additions are needed. Signed-off-by: Nick Chan <[email protected]>
- Loading branch information
Showing
6 changed files
with
89 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
* Copyright (c) 2022, Konrad Dybcio <[email protected]> | ||
*/ | ||
|
||
#include "t8010.dtsi" | ||
#include "t8010-fast.dtsi" | ||
#include <dt-bindings/input/input.h> | ||
|
||
/ { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// SPDX-License-Identifier: GPL-2.0 OR MIT | ||
/* | ||
* Apple T8010 "A10" common device tree for non-iPod touch 7 devices | ||
* | ||
* Copyright (c) 2024, Nick Chan <[email protected]> | ||
*/ | ||
|
||
#include "t8010.dtsi" | ||
|
||
/ { | ||
opp: opp-table-0 { | ||
opp08 { | ||
opp-hz = /bits/ 64 <1944000000>; | ||
opp-level = <8>; | ||
}; | ||
|
||
opp09 { | ||
opp-hz = /bits/ 64 <2244000000>; | ||
opp-level = <9>; | ||
}; | ||
|
||
opp10 { | ||
opp-hz = /bits/ 64 <2340000000>; | ||
opp-level = <10>; | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
* Copyright (c) 2022, Konrad Dybcio <[email protected]> | ||
*/ | ||
|
||
#include "t8010.dtsi" | ||
#include "t8010-fast.dtsi" | ||
#include <dt-bindings/input/input.h> | ||
|
||
/ { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
* Copyright (c) 2022, Konrad Dybcio <[email protected]> | ||
*/ | ||
|
||
#include "t8010.dtsi" | ||
#include "t8010-fast.dtsi" | ||
|
||
/* | ||
* The iPad 7 seems to be only an iteration over the iPad 6 with some small changes, like the | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,14 +5,16 @@ | |
* Copyright (c) 2022, Konrad Dybcio <[email protected]> | ||
*/ | ||
|
||
#include "t8010.dtsi" | ||
#include "t8010-fast.dtsi" | ||
|
||
/ { | ||
cpus { | ||
cpu2: cpu@2 { | ||
compatible = "apple,hurricane-zephyr"; | ||
reg = <0x0 0x2>; | ||
cpu-release-addr = <0 0>; /* To be filled by loader */ | ||
operating-points-v2 = <&opp>; | ||
performance-domains = <&cpufreq>; | ||
enable-method = "spin-table"; | ||
device-type = "cpu"; | ||
}; | ||
|