forked from grate-driver/linux
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP: ARM: tegra: Add device-tree for EFI booting Surface RT
Signed-off-by: Anton Bambura <[email protected]> Signed-off-by: Jonas Schwöbel <[email protected]>
- Loading branch information
Showing
3 changed files
with
76 additions
and
0 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
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,63 @@ | ||
// SPDX-License-Identifier: GPL-2.0-only | ||
|
||
#include "tegra30-microsoft-surface-rt.dts" | ||
|
||
/* | ||
* Temporary Microsoft Surface RT device-tree for EFI booting. | ||
* Replacing PMIC with fixed regulators. | ||
*/ | ||
|
||
/ { | ||
compatible = "microsoft,surface-rt-efi", "microsoft,surface-rt", "nvidia,tegra30"; | ||
|
||
/* L2 cache does not work yet */ | ||
/delete-node/ cache-controller@50043000; | ||
|
||
pmc@7000e400 { | ||
/* CPU Idle does not work yet, disabling LP2 */ | ||
/delete-property/ nvidia,suspend-mode; | ||
|
||
/* Core regulator cannot work with UEFI, use fallback stub */ | ||
core-supply = <&vdd_pd_core_stub>; | ||
}; | ||
|
||
ldo5_reg: tps65911-ldo5 { | ||
compatible = "regulator-fixed"; | ||
regulator-name = "vddio_sdmmc"; | ||
regulator-min-microvolt = <3300000>; | ||
regulator-max-microvolt = <3300000>; | ||
regulator-always-on; | ||
}; | ||
|
||
/* Core regulator cannot work with UEFI, delete it */ | ||
i2c@7000d000 { | ||
/delete-node/ core-regulator@60; | ||
}; | ||
|
||
/* DVFS cannot work with UEFI, delete it */ | ||
cpus { | ||
cpu@0 { | ||
/delete-property/ cpu-supply; | ||
/delete-property/ operating-points-v2; | ||
}; | ||
|
||
cpu@1 { | ||
/delete-property/ cpu-supply; | ||
/delete-property/ operating-points-v2; | ||
}; | ||
|
||
cpu@2 { | ||
/delete-property/ cpu-supply; | ||
/delete-property/ operating-points-v2; | ||
}; | ||
|
||
cpu@3 { | ||
/delete-property/ cpu-supply; | ||
/delete-property/ operating-points-v2; | ||
}; | ||
}; | ||
}; | ||
|
||
&pmic { | ||
/delete-node/ regulators; | ||
}; |
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