-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARM: dts: DRA7: Add the dts files for dra7 SoC and dra7-evm board
Add minimal device tree source needed for DRA7 based SoCs. Also add a board dts file for the dra7-evm (based on dra752) which contains 1.5G of memory with 1G interleaved and 512MB non-interleaved. Also added in the board file are pin configuration details for i2c, mcspi and uart devices on board. Signed-off-by: R Sricharan <r.sricharan@ti.com> Signed-off-by: Rajendra Nayak <rnayak@ti.com> Signed-off-by: Sourav Poddar <sourav.poddar@ti.com> Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
- Loading branch information
R Sricharan
authored and
Benoit Cousson
committed
Oct 8, 2013
1 parent
06a9ea5
commit 6e58b8f
Showing
4 changed files
with
767 additions
and
1 deletion.
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,140 @@ | ||
/* | ||
* 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 "dra7.dtsi" | ||
|
||
/ { | ||
model = "TI DRA7"; | ||
compatible = "ti,dra7-evm", "ti,dra752", "ti,dra7"; | ||
|
||
memory { | ||
device_type = "memory"; | ||
reg = <0x80000000 0x60000000>; /* 1536 MB */ | ||
}; | ||
}; | ||
|
||
&dra7_pmx_core { | ||
i2c1_pins: pinmux_i2c1_pins { | ||
pinctrl-single,pins = < | ||
0x400 (PIN_INPUT | MUX_MODE0) /* i2c1_sda */ | ||
0x404 (PIN_INPUT | MUX_MODE0) /* i2c1_scl */ | ||
>; | ||
}; | ||
|
||
i2c2_pins: pinmux_i2c2_pins { | ||
pinctrl-single,pins = < | ||
0x408 (PIN_INPUT | MUX_MODE0) /* i2c2_sda */ | ||
0x40c (PIN_INPUT | MUX_MODE0) /* i2c2_scl */ | ||
>; | ||
}; | ||
|
||
i2c3_pins: pinmux_i2c3_pins { | ||
pinctrl-single,pins = < | ||
0x410 (PIN_INPUT | MUX_MODE0) /* i2c3_sda */ | ||
0x414 (PIN_INPUT | MUX_MODE0) /* i2c3_scl */ | ||
>; | ||
}; | ||
|
||
mcspi1_pins: pinmux_mcspi1_pins { | ||
pinctrl-single,pins = < | ||
0x3a4 (PIN_INPUT | MUX_MODE0) /* spi2_clk */ | ||
0x3a8 (PIN_INPUT | MUX_MODE0) /* spi2_d1 */ | ||
0x3ac (PIN_INPUT | MUX_MODE0) /* spi2_d0 */ | ||
0x3b0 (PIN_INPUT_SLEW | MUX_MODE0) /* spi2_cs0 */ | ||
0x3b4 (PIN_INPUT_SLEW | MUX_MODE0) /* spi2_cs1 */ | ||
0x3b8 (PIN_INPUT_SLEW | MUX_MODE6) /* spi2_cs2 */ | ||
0x3bc (PIN_INPUT_SLEW | MUX_MODE6) /* spi2_cs3 */ | ||
>; | ||
}; | ||
|
||
mcspi2_pins: pinmux_mcspi2_pins { | ||
pinctrl-single,pins = < | ||
0x3c0 (PIN_INPUT | MUX_MODE0) /* spi2_sclk */ | ||
0x3c4 (PIN_INPUT_SLEW | MUX_MODE0) /* spi2_d1 */ | ||
0x3c8 (PIN_INPUT_SLEW | MUX_MODE0) /* spi2_d1 */ | ||
0x3cc (PIN_INPUT_SLEW | MUX_MODE0) /* spi2_cs0 */ | ||
>; | ||
}; | ||
|
||
uart1_pins: pinmux_uart1_pins { | ||
pinctrl-single,pins = < | ||
0x3e0 (PIN_INPUT_SLEW | MUX_MODE0) /* uart1_rxd */ | ||
0x3e4 (PIN_INPUT_SLEW | MUX_MODE0) /* uart1_txd */ | ||
0x3e8 (PIN_INPUT | MUX_MODE3) /* uart1_ctsn */ | ||
0x3ec (PIN_INPUT | MUX_MODE3) /* uart1_rtsn */ | ||
>; | ||
}; | ||
|
||
uart2_pins: pinmux_uart2_pins { | ||
pinctrl-single,pins = < | ||
0x3f0 (PIN_INPUT | MUX_MODE0) /* uart2_rxd */ | ||
0x3f4 (PIN_INPUT | MUX_MODE0) /* uart2_txd */ | ||
0x3f8 (PIN_INPUT | MUX_MODE0) /* uart2_ctsn */ | ||
0x3fc (PIN_INPUT | MUX_MODE0) /* uart2_rtsn */ | ||
>; | ||
}; | ||
|
||
uart3_pins: pinmux_uart3_pins { | ||
pinctrl-single,pins = < | ||
0x248 (PIN_INPUT_SLEW | MUX_MODE0) /* uart3_rxd */ | ||
0x24c (PIN_INPUT_SLEW | MUX_MODE0) /* uart3_txd */ | ||
>; | ||
}; | ||
}; | ||
|
||
&i2c1 { | ||
status = "okay"; | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&i2c1_pins>; | ||
clock-frequency = <400000>; | ||
}; | ||
|
||
&i2c2 { | ||
status = "okay"; | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&i2c2_pins>; | ||
clock-frequency = <400000>; | ||
}; | ||
|
||
&i2c3 { | ||
status = "okay"; | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&i2c3_pins>; | ||
clock-frequency = <3400000>; | ||
}; | ||
|
||
&mcspi1 { | ||
status = "okay"; | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&mcspi1_pins>; | ||
}; | ||
|
||
&mcspi2 { | ||
status = "okay"; | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&mcspi2_pins>; | ||
}; | ||
|
||
&uart1 { | ||
status = "okay"; | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&uart1_pins>; | ||
}; | ||
|
||
&uart2 { | ||
status = "okay"; | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&uart2_pins>; | ||
}; | ||
|
||
&uart3 { | ||
status = "okay"; | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&uart3_pins>; | ||
}; |
Oops, something went wrong.