forked from Minki/linux
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>
142 lines
2.7 KiB
Plaintext
142 lines
2.7 KiB
Plaintext
/*
|
|
* Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.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 = "TI OMAP3430 SDP";
|
|
compatible = "ti,omap3430-sdp", "ti,omap3";
|
|
|
|
memory {
|
|
device_type = "memory";
|
|
reg = <0x80000000 0x10000000>; /* 256 MB */
|
|
};
|
|
};
|
|
|
|
&i2c1 {
|
|
clock-frequency = <2600000>;
|
|
|
|
twl: twl@48 {
|
|
reg = <0x48>;
|
|
interrupts = <7>; /* SYS_NIRQ cascaded to intc */
|
|
};
|
|
};
|
|
|
|
/include/ "twl4030.dtsi"
|
|
|
|
&mmc1 {
|
|
vmmc-supply = <&vmmc1>;
|
|
vmmc_aux-supply = <&vsim>;
|
|
bus-width = <8>;
|
|
};
|
|
|
|
&mmc2 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&mmc3 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&gpmc {
|
|
ranges = <1 0 0x28000000 0x08000000>,
|
|
<2 0 0x20000000 0x10000000>;
|
|
|
|
nand@1,0 {
|
|
linux,mtd-name= "micron,mt29f1g08abb";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
reg = <1 0 0x08000000>;
|
|
nand-bus-width = <8>;
|
|
|
|
ti,nand-ecc-opt = "sw";
|
|
gpmc,device-nand;
|
|
gpmc,cs-on = <0>;
|
|
gpmc,cs-rd-off = <36>;
|
|
gpmc,cs-wr-off = <36>;
|
|
gpmc,adv-on = <6>;
|
|
gpmc,adv-rd-off = <24>;
|
|
gpmc,adv-wr-off = <36>;
|
|
gpmc,oe-on = <6>;
|
|
gpmc,oe-off = <48>;
|
|
gpmc,we-on = <6>;
|
|
gpmc,we-off = <30>;
|
|
gpmc,rd-cycle = <72>;
|
|
gpmc,wr-cycle = <72>;
|
|
gpmc,access = <54>;
|
|
gpmc,wr-access = <30>;
|
|
|
|
partition@0 {
|
|
label = "xloader-nand";
|
|
reg = <0 0x80000>;
|
|
};
|
|
partition@0x80000 {
|
|
label = "bootloader-nand";
|
|
reg = <0x80000 0x140000>;
|
|
};
|
|
partition@0x1c0000 {
|
|
label = "params-nand";
|
|
reg = <0x1c0000 0xc0000>;
|
|
};
|
|
partition@0x280000 {
|
|
label = "kernel-nand";
|
|
reg = <0x280000 0x500000>;
|
|
};
|
|
partition@0x780000 {
|
|
label = "filesystem-nand";
|
|
reg = <0x780000 0x7880000>;
|
|
};
|
|
};
|
|
|
|
onenand@2,0 {
|
|
linux,mtd-name= "samsung,kfm2g16q2m-deb8";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
reg = <2 0 0x10000000>;
|
|
|
|
gpmc,device-width = <2>;
|
|
gpmc,mux-add-data = <2>;
|
|
gpmc,cs-on = <0>;
|
|
gpmc,cs-rd-off = <84>;
|
|
gpmc,cs-wr-off = <72>;
|
|
gpmc,adv-on = <0>;
|
|
gpmc,adv-rd-off = <18>;
|
|
gpmc,adv-wr-off = <18>;
|
|
gpmc,oe-on = <30>;
|
|
gpmc,oe-off = <84>;
|
|
gpmc,we-on = <0>;
|
|
gpmc,we-off = <42>;
|
|
gpmc,rd-cycle = <108>;
|
|
gpmc,wr-cycle = <96>;
|
|
gpmc,access = <78>;
|
|
gpmc,wr-data-mux-bus = <30>;
|
|
|
|
partition@0 {
|
|
label = "xloader-onenand";
|
|
reg = <0 0x80000>;
|
|
};
|
|
partition@0x80000 {
|
|
label = "bootloader-onenand";
|
|
reg = <0x80000 0x40000>;
|
|
};
|
|
partition@0xc0000 {
|
|
label = "params-onenand";
|
|
reg = <0xc0000 0x20000>;
|
|
};
|
|
partition@0xe0000 {
|
|
label = "kernel-onenand";
|
|
reg = <0xe0000 0x200000>;
|
|
};
|
|
partition@0x2e0000 {
|
|
label = "filesystem-onenand";
|
|
reg = <0x2e0000 0xfd20000>;
|
|
};
|
|
};
|
|
};
|