86 lines
2.4 KiB
C++
86 lines
2.4 KiB
C++
/*
|
|
* Copyright (C) Switch-OC-Suite
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms and conditions of the GNU General Public License,
|
|
* version 2, as published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope it will be useful, but WITHOUT
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
|
* more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#include "customize.hpp"
|
|
|
|
namespace ams::ldr::oc {
|
|
|
|
volatile CustomizeTable C = {
|
|
/* DRAM Timing:
|
|
* AUTO_ADJ_MARIKO_SAFE: Auto adjust timings for LPDDR4 ≤3733 Mbps specs, 8Gb density (Default).
|
|
* AUTO_ADJ_MARIKO_4266: Auto adjust timings for LPDDR4X 4266 Mbps specs, 8Gb density.
|
|
*/
|
|
.mtcConf = AUTO_ADJ_MARIKO_SAFE,
|
|
|
|
/* Mariko CPU:
|
|
* - Max Clock in kHz:
|
|
* Default: 1785000
|
|
* >= 2397000 will enable overvolting (> 1120 mV)
|
|
* - Boost Clock in kHz:
|
|
* Default: 1785000
|
|
* Boost clock will be applied when applications request higher CPU frequency for quicker loading.
|
|
* - Max Voltage in mV:
|
|
* Default voltage: 1120
|
|
*/
|
|
.marikoCpuMaxClock = 2397000,
|
|
.marikoCpuBoostClock = 1785000,
|
|
.marikoCpuMaxVolt = 1235,
|
|
|
|
/* Mariko GPU:
|
|
* - Max Clock in kHz:
|
|
* Default: 921600
|
|
* NVIDIA Maximum: 1267200
|
|
*/
|
|
.marikoGpuMaxClock = 1305600,
|
|
|
|
/* Mariko EMC:
|
|
* - RAM Clock in kHz:
|
|
* Values should be > 1600000, and divided evenly by 9600.
|
|
* [WARNING]
|
|
* RAM overclock could be UNSTABLE if timing parameters are not suitable for your DRAM:
|
|
* - Graphical glitches
|
|
* - System instabilities
|
|
* - NAND corruption
|
|
* Timings from auto-adjustment have been tested safe for up to 1996.8 MHz for all DRAM chips.
|
|
*/
|
|
.marikoEmcMaxClock = 1996800,
|
|
|
|
/* Erista CPU:
|
|
* Not tested but enabled by default.
|
|
* - Enable Overclock
|
|
* - Max Voltage in mV
|
|
*/
|
|
.eristaCpuOCEnabled= 1,
|
|
.eristaCpuMaxVolt = 1257,
|
|
|
|
/* Erista EMC:
|
|
* - RAM Clock in kHz
|
|
* [WARNING]
|
|
* RAM overclock could be UNSTABLE if timing parameters are not suitable for your DRAM:
|
|
* - Graphical glitches
|
|
* - System instabilities
|
|
* - NAND corruption
|
|
* - RAM Voltage in uV
|
|
* Range: 600'000 to 1250'000 uV
|
|
* Value should be divided evenly by 12'500
|
|
* Default(HOS): 1125'000
|
|
* Not enabled by default.
|
|
*/
|
|
.eristaEmcMaxClock = 1862400,
|
|
.eristaEmcVolt = 0,
|
|
};
|
|
|
|
} |