mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 05:56:38 +07:00
1e633d713b
Add DT OPP table for OMAP34xx/35xx family of devices. This data is decoded by OF with of_init_opp_table() helper function. OPP data here is based on existing opp3xxx_data.c Since the omap36xx OPP tables would be different from OMAP34xx/35xx, introduce an new omap34xx.dtsi for 34xx/35xx specific entries and use existing omap3.dtsi as the common dtsi file for all OMAP3 platforms. This is in preparation to use generic cpufreq-cpu0 driver for device tree enabled boot. Legacy non device tree enabled boot continues to use omap-cpufreq.c and opp3xxx_data.c. Signed-off-by: Nishanth Menon <nm@ti.com> Cc: Kevin Hilman <khilman@deeprootsystems.com> Cc: Jon Hunter <jon-hunter@ti.com> Cc: Santosh Shilimkar <santosh.shilimkar@ti.com> Cc: Shawn Guo <shawn.guo@linaro.org> Cc: Keerthy <j-keerthy@ti.com> Signed-off-by: Benoit Cousson <benoit.cousson@linaro.org>
170 lines
2.7 KiB
Plaintext
170 lines
2.7 KiB
Plaintext
/*
|
|
* Author: Anil Kumar <anilk4.v@gmail.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
/dts-v1/;
|
|
|
|
/include/ "omap34xx.dtsi"
|
|
/ {
|
|
model = "TimLL OMAP3 Devkit8000";
|
|
compatible = "timll,omap3-devkit8000", "ti,omap3";
|
|
|
|
memory {
|
|
device_type = "memory";
|
|
reg = <0x80000000 0x10000000>; /* 256 MB */
|
|
};
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
|
|
heartbeat {
|
|
label = "devkit8000::led1";
|
|
gpios = <&gpio6 26 0>; /* 186 -> LED1 */
|
|
default-state = "on";
|
|
linux,default-trigger = "heartbeat";
|
|
};
|
|
|
|
mmc {
|
|
label = "devkit8000::led2";
|
|
gpios = <&gpio6 3 0>; /* 163 -> LED2 */
|
|
default-state = "on";
|
|
linux,default-trigger = "none";
|
|
};
|
|
|
|
usr {
|
|
label = "devkit8000::led3";
|
|
gpios = <&gpio6 4 0>; /* 164 -> LED3 */
|
|
default-state = "on";
|
|
linux,default-trigger = "usr";
|
|
};
|
|
|
|
};
|
|
|
|
sound {
|
|
compatible = "ti,omap-twl4030";
|
|
ti,model = "devkit8000";
|
|
|
|
ti,mcbsp = <&mcbsp2>;
|
|
ti,codec = <&twl_audio>;
|
|
ti,audio-routing =
|
|
"Ext Spk", "PREDRIVEL",
|
|
"Ext Spk", "PREDRIVER",
|
|
"MAINMIC", "Main Mic",
|
|
"Main Mic", "Mic Bias 1";
|
|
};
|
|
};
|
|
|
|
&i2c1 {
|
|
clock-frequency = <2600000>;
|
|
|
|
twl: twl@48 {
|
|
reg = <0x48>;
|
|
interrupts = <7>; /* SYS_NIRQ cascaded to intc */
|
|
|
|
twl_audio: audio {
|
|
compatible = "ti,twl4030-audio";
|
|
codec {
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&i2c2 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&i2c3 {
|
|
status = "disabled";
|
|
};
|
|
|
|
/include/ "twl4030.dtsi"
|
|
|
|
&mmc1 {
|
|
vmmc-supply = <&vmmc1>;
|
|
vmmc_aux-supply = <&vsim>;
|
|
bus-width = <8>;
|
|
};
|
|
|
|
&mmc2 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&mmc3 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&wdt2 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&mcbsp1 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&mcbsp3 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&mcbsp4 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&mcbsp5 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&gpmc {
|
|
ranges = <0 0 0x30000000 0x04>; /* CS0: NAND */
|
|
|
|
nand@0,0 {
|
|
reg = <0 0 0>; /* CS0, offset 0 */
|
|
nand-bus-width = <16>;
|
|
|
|
gpmc,sync-clk = <0>;
|
|
gpmc,cs-on = <0>;
|
|
gpmc,cs-rd-off = <44>;
|
|
gpmc,cs-wr-off = <44>;
|
|
gpmc,adv-on = <6>;
|
|
gpmc,adv-rd-off = <34>;
|
|
gpmc,adv-wr-off = <44>;
|
|
gpmc,we-off = <40>;
|
|
gpmc,oe-off = <54>;
|
|
gpmc,access = <64>;
|
|
gpmc,rd-cycle = <82>;
|
|
gpmc,wr-cycle = <82>;
|
|
gpmc,wr-access = <40>;
|
|
gpmc,wr-data-mux-bus = <0>;
|
|
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
x-loader@0 {
|
|
label = "X-Loader";
|
|
reg = <0 0x80000>;
|
|
};
|
|
|
|
bootloaders@80000 {
|
|
label = "U-Boot";
|
|
reg = <0x80000 0x1e0000>;
|
|
};
|
|
|
|
bootloaders_env@260000 {
|
|
label = "U-Boot Env";
|
|
reg = <0x260000 0x20000>;
|
|
};
|
|
|
|
kernel@280000 {
|
|
label = "Kernel";
|
|
reg = <0x280000 0x400000>;
|
|
};
|
|
|
|
filesystem@680000 {
|
|
label = "File System";
|
|
reg = <0x680000 0xf980000>;
|
|
};
|
|
};
|
|
};
|