-
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.
Merge branch 'sti/soc' into next/late
From Srinivas Kandagatla <srinivas.kandagatla@st.com>: This patch-set adds basic support for STMicroelectronics STi series SOCs which includes STiH415 and STiH416 with B2000 and B2020 board support. STiH415 and STiH416 are dual-core ARM Cortex-A9 CPU, designed for use in Set-top-boxes. The SOC support is available in mach-sti which contains support code for STiH415, STiH416 SOCs including the generic board support. The reason for adding two SOCs at this patch set is to show that no new C code is required for second SOC(STiH416) support. * sti/soc: ARM: stih41x: Add B2020 board support ARM: stih41x: Add B2000 board support ARM: sti: Add DEBUG_LL console support ARM: sti: Add STiH416 SOC support ARM: sti: Add STiH415 SOC support Signed-off-by: Olof Johansson <olof@lixom.net>
- Loading branch information
Showing
29 changed files
with
1,521 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
STi ARM Linux Overview | ||
========================== | ||
|
||
Introduction | ||
------------ | ||
|
||
The ST Microelectronics Multimedia and Application Processors range of | ||
CortexA9 System-on-Chip are supported by the 'STi' platform of | ||
ARM Linux. Currently STiH415, STiH416 SOCs are supported with both | ||
B2000 and B2020 Reference boards. | ||
|
||
|
||
configuration | ||
------------- | ||
|
||
A generic configuration is provided for both STiH415/416, and can be used as the | ||
default by | ||
make stih41x_defconfig | ||
|
||
Layout | ||
------ | ||
All the files for multiple machine families (STiH415, STiH416, and STiG125) | ||
are located in the platform code contained in arch/arm/mach-sti | ||
|
||
There is a generic board board-dt.c in the mach folder which support | ||
Flattened Device Tree, which means, It works with any compatible board with | ||
Device Trees. | ||
|
||
|
||
Document Author | ||
--------------- | ||
|
||
Srinivas Kandagatla <srinivas.kandagatla@st.com>, (c) 2013 ST Microelectronics |
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,12 @@ | ||
STiH415 Overview | ||
================ | ||
|
||
Introduction | ||
------------ | ||
|
||
The STiH415 is the next generation of HD, AVC set-top box processors | ||
for satellite, cable, terrestrial and IP-STB markets. | ||
|
||
Features | ||
- ARM Cortex-A9 1.0 GHz, dual-core CPU | ||
- SATA2x2,USB 2.0x3, PCIe, Gbit Ethernet MACx2 |
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,12 @@ | ||
STiH416 Overview | ||
================ | ||
|
||
Introduction | ||
------------ | ||
|
||
The STiH416 is the next generation of HD, AVC set-top box processors | ||
for satellite, cable, terrestrial and IP-STB markets. | ||
|
||
Features | ||
- ARM Cortex-A9 1.2 GHz dual core CPU | ||
- SATA2x2,USB 2.0x3, PCIe, Gbit Ethernet MACx2 |
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
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
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,71 @@ | ||
#ifndef _ST_PINCFG_H_ | ||
#define _ST_PINCFG_H_ | ||
|
||
/* Alternate functions */ | ||
#define ALT1 1 | ||
#define ALT2 2 | ||
#define ALT3 3 | ||
#define ALT4 4 | ||
#define ALT5 5 | ||
#define ALT6 6 | ||
#define ALT7 7 | ||
|
||
/* Output enable */ | ||
#define OE (1 << 27) | ||
/* Pull Up */ | ||
#define PU (1 << 26) | ||
/* Open Drain */ | ||
#define OD (1 << 26) | ||
#define RT (1 << 23) | ||
#define INVERTCLK (1 << 22) | ||
#define CLKNOTDATA (1 << 21) | ||
#define DOUBLE_EDGE (1 << 20) | ||
#define CLK_A (0 << 18) | ||
#define CLK_B (1 << 18) | ||
#define CLK_C (2 << 18) | ||
#define CLK_D (3 << 18) | ||
|
||
/* User-frendly defines for Pin Direction */ | ||
/* oe = 0, pu = 0, od = 0 */ | ||
#define IN (0) | ||
/* oe = 0, pu = 1, od = 0 */ | ||
#define IN_PU (PU) | ||
/* oe = 1, pu = 0, od = 0 */ | ||
#define OUT (OE) | ||
/* oe = 1, pu = 0, od = 1 */ | ||
#define BIDIR (OE | OD) | ||
/* oe = 1, pu = 1, od = 1 */ | ||
#define BIDIR_PU (OE | PU | OD) | ||
|
||
/* RETIME_TYPE */ | ||
/* | ||
* B Mode | ||
* Bypass retime with optional delay parameter | ||
*/ | ||
#define BYPASS (0) | ||
/* | ||
* R0, R1, R0D, R1D modes | ||
* single-edge data non inverted clock, retime data with clk | ||
*/ | ||
#define SE_NICLK_IO (RT) | ||
/* | ||
* RIV0, RIV1, RIV0D, RIV1D modes | ||
* single-edge data inverted clock, retime data with clk | ||
*/ | ||
#define SE_ICLK_IO (RT | INVERTCLK) | ||
/* | ||
* R0E, R1E, R0ED, R1ED modes | ||
* double-edge data, retime data with clk | ||
*/ | ||
#define DE_IO (RT | DOUBLE_EDGE) | ||
/* | ||
* CIV0, CIV1 modes with inverted clock | ||
* Retiming the clk pins will park clock & reduce the noise within the core. | ||
*/ | ||
#define ICLK (RT | CLKNOTDATA | INVERTCLK) | ||
/* | ||
* CLK0, CLK1 modes with non-inverted clock | ||
* Retiming the clk pins will park clock & reduce the noise within the core. | ||
*/ | ||
#define NICLK (RT | CLKNOTDATA) | ||
#endif /* _ST_PINCFG_H_ */ |
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,15 @@ | ||
/* | ||
* Copyright (C) 2013 STMicroelectronics (R&D) Limited. | ||
* Author: Srinivas Kandagatla <srinivas.kandagatla@st.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 | ||
* publishhed by the Free Software Foundation. | ||
*/ | ||
/dts-v1/; | ||
#include "stih415.dtsi" | ||
#include "stih41x-b2000.dtsi" | ||
/ { | ||
model = "STiH415 B2000 Board"; | ||
compatible = "st,stih415", "st,stih415-b2000"; | ||
}; |
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,15 @@ | ||
/* | ||
* Copyright (C) 2013 STMicroelectronics (R&D) Limited. | ||
* Author: Srinivas Kandagatla <srinivas.kandagatla@st.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 | ||
* publishhed by the Free Software Foundation. | ||
*/ | ||
/dts-v1/; | ||
#include "stih415.dtsi" | ||
#include "stih41x-b2020.dtsi" | ||
/ { | ||
model = "STiH415 B2020 Board"; | ||
compatible = "st,stih415", "st,stih415-b2020"; | ||
}; |
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,38 @@ | ||
/* | ||
* Copyright (C) 2013 STMicroelectronics (R&D) Limited | ||
* | ||
* 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. | ||
*/ | ||
/ { | ||
clocks { | ||
/* | ||
* Fixed 30MHz oscillator input to SoC | ||
*/ | ||
CLK_SYSIN: CLK_SYSIN { | ||
#clock-cells = <0>; | ||
compatible = "fixed-clock"; | ||
clock-frequency = <30000000>; | ||
}; | ||
|
||
/* | ||
* ARM Peripheral clock for timers | ||
*/ | ||
arm_periph_clk: arm_periph_clk { | ||
#clock-cells = <0>; | ||
compatible = "fixed-clock"; | ||
clock-frequency = <500000000>; | ||
}; | ||
|
||
/* | ||
* Bootloader initialized system infrastructure clock for | ||
* serial devices. | ||
*/ | ||
CLKS_ICN_REG_0: CLKS_ICN_REG_0 { | ||
#clock-cells = <0>; | ||
compatible = "fixed-clock"; | ||
clock-frequency = <100000000>; | ||
}; | ||
}; | ||
}; |
Oops, something went wrong.