Skip to content

Commit 3883cbb

Browse files
committed
Merge tag 'soc-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM SoC specific changes from Arnd Bergmann: "These changes are all to SoC-specific code, a total of 33 branches on 17 platforms were pulled into this. Like last time, Renesas sh-mobile is now the platform with the most changes, followed by OMAP and EXYNOS. Two new platforms, TI Keystone and Rockchips RK3xxx are added in this branch, both containing almost no platform specific code at all, since they are using generic subsystem interfaces for clocks, pinctrl, interrupts etc. The device drivers are getting merged through the respective subsystem maintainer trees. One more SoC (u300) is now multiplatform capable and several others (shmobile, exynos, msm, integrator, kirkwood, clps711x) are moving towards that goal with this series but need more work. Also noteworthy is the work on PCI here, which is traditionally part of the SoC specific code. With the changes done by Thomas Petazzoni, we can now more easily have PCI host controller drivers as loadable modules and keep them separate from the platform code in drivers/pci/host. This has already led to the discovery that three platforms (exynos, spear and imx) are actually using an identical PCIe host controller and will be able to share a driver once support for spear and imx is added." * tag 'soc-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (480 commits) ARM: integrator: let pciv3 use mem/premem from device tree ARM: integrator: set local side PCI addresses right ARM: dts: Add pcie controller node for exynos5440-ssdk5440 ARM: dts: Add pcie controller node for Samsung EXYNOS5440 SoC ARM: EXYNOS: Enable PCIe support for Exynos5440 pci: Add PCIe driver for Samsung Exynos ARM: OMAP5: voltagedomain data: remove temporary OMAP4 voltage data ARM: keystone: Move CPU bringup code to dedicated asm file ARM: multiplatform: always pick one CPU type ARM: imx: select syscon for IMX6SL ARM: keystone: select ARM_ERRATA_798181 only for SMP ARM: imx: Synertronixx scb9328 needs to select SOC_IMX1 ARM: OMAP2+: AM43x: resolve SMP related build error dmaengine: edma: enable build for AM33XX ARM: edma: Add EDMA crossbar event mux support ARM: edma: Add DT and runtime PM support to the private EDMA API dmaengine: edma: Add TI EDMA device tree binding arm: add basic support for Rockchip RK3066a boards arm: add debug uarts for rockchip rk29xx and rk3xxx series arm: Add basic clocks for Rockchip rk3066a SoCs ...
2 parents d2033f2 + 1eb92b2 commit 3883cbb

482 files changed

Lines changed: 34844 additions & 19523 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎Documentation/arm/sunxi/README‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ SunXi family
1717
+ User Manual
1818
http://dl.linux-sunxi.org/A10/A10%20User%20Manual%20-%20v1.20%20%282012-04-09%2c%20DECRYPTED%29.pdf
1919

20+
- Allwinner A10s (sun5i)
21+
+ Datasheet
22+
http://dl.linux-sunxi.org/A10s/A10s%20Datasheet%20-%20v1.20%20%282012-03-27%29.pdf
23+
2024
- Allwinner A13 (sun5i)
2125
+ Datasheet
2226
http://dl.linux-sunxi.org/A13/A13%20Datasheet%20-%20v1.12%20%282012-03-29%29.pdf
Lines changed: 172 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,172 @@
1+
=======================================================
2+
ARM CCI cache coherent interconnect binding description
3+
=======================================================
4+
5+
ARM multi-cluster systems maintain intra-cluster coherency through a
6+
cache coherent interconnect (CCI) that is capable of monitoring bus
7+
transactions and manage coherency, TLB invalidations and memory barriers.
8+
9+
It allows snooping and distributed virtual memory message broadcast across
10+
clusters, through memory mapped interface, with a global control register
11+
space and multiple sets of interface control registers, one per slave
12+
interface.
13+
14+
Bindings for the CCI node follow the ePAPR standard, available from:
15+
16+
www.power.org/documentation/epapr-version-1-1/
17+
18+
with the addition of the bindings described in this document which are
19+
specific to ARM.
20+
21+
* CCI interconnect node
22+
23+
Description: Describes a CCI cache coherent Interconnect component
24+
25+
Node name must be "cci".
26+
Node's parent must be the root node /, and the address space visible
27+
through the CCI interconnect is the same as the one seen from the
28+
root node (ie from CPUs perspective as per DT standard).
29+
Every CCI node has to define the following properties:
30+
31+
- compatible
32+
Usage: required
33+
Value type: <string>
34+
Definition: must be set to
35+
"arm,cci-400"
36+
37+
- reg
38+
Usage: required
39+
Value type: <prop-encoded-array>
40+
Definition: A standard property. Specifies base physical
41+
address of CCI control registers common to all
42+
interfaces.
43+
44+
- ranges:
45+
Usage: required
46+
Value type: <prop-encoded-array>
47+
Definition: A standard property. Follow rules in the ePAPR for
48+
hierarchical bus addressing. CCI interfaces
49+
addresses refer to the parent node addressing
50+
scheme to declare their register bases.
51+
52+
CCI interconnect node can define the following child nodes:
53+
54+
- CCI control interface nodes
55+
56+
Node name must be "slave-if".
57+
Parent node must be CCI interconnect node.
58+
59+
A CCI control interface node must contain the following
60+
properties:
61+
62+
- compatible
63+
Usage: required
64+
Value type: <string>
65+
Definition: must be set to
66+
"arm,cci-400-ctrl-if"
67+
68+
- interface-type:
69+
Usage: required
70+
Value type: <string>
71+
Definition: must be set to one of {"ace", "ace-lite"}
72+
depending on the interface type the node
73+
represents.
74+
75+
- reg:
76+
Usage: required
77+
Value type: <prop-encoded-array>
78+
Definition: the base address and size of the
79+
corresponding interface programming
80+
registers.
81+
82+
* CCI interconnect bus masters
83+
84+
Description: masters in the device tree connected to a CCI port
85+
(inclusive of CPUs and their cpu nodes).
86+
87+
A CCI interconnect bus master node must contain the following
88+
properties:
89+
90+
- cci-control-port:
91+
Usage: required
92+
Value type: <phandle>
93+
Definition: a phandle containing the CCI control interface node
94+
the master is connected to.
95+
96+
Example:
97+
98+
cpus {
99+
#size-cells = <0>;
100+
#address-cells = <1>;
101+
102+
CPU0: cpu@0 {
103+
device_type = "cpu";
104+
compatible = "arm,cortex-a15";
105+
cci-control-port = <&cci_control1>;
106+
reg = <0x0>;
107+
};
108+
109+
CPU1: cpu@1 {
110+
device_type = "cpu";
111+
compatible = "arm,cortex-a15";
112+
cci-control-port = <&cci_control1>;
113+
reg = <0x1>;
114+
};
115+
116+
CPU2: cpu@100 {
117+
device_type = "cpu";
118+
compatible = "arm,cortex-a7";
119+
cci-control-port = <&cci_control2>;
120+
reg = <0x100>;
121+
};
122+
123+
CPU3: cpu@101 {
124+
device_type = "cpu";
125+
compatible = "arm,cortex-a7";
126+
cci-control-port = <&cci_control2>;
127+
reg = <0x101>;
128+
};
129+
130+
};
131+
132+
dma0: dma@3000000 {
133+
compatible = "arm,pl330", "arm,primecell";
134+
cci-control-port = <&cci_control0>;
135+
reg = <0x0 0x3000000 0x0 0x1000>;
136+
interrupts = <10>;
137+
#dma-cells = <1>;
138+
#dma-channels = <8>;
139+
#dma-requests = <32>;
140+
};
141+
142+
cci@2c090000 {
143+
compatible = "arm,cci-400";
144+
#address-cells = <1>;
145+
#size-cells = <1>;
146+
reg = <0x0 0x2c090000 0 0x1000>;
147+
ranges = <0x0 0x0 0x2c090000 0x6000>;
148+
149+
cci_control0: slave-if@1000 {
150+
compatible = "arm,cci-400-ctrl-if";
151+
interface-type = "ace-lite";
152+
reg = <0x1000 0x1000>;
153+
};
154+
155+
cci_control1: slave-if@4000 {
156+
compatible = "arm,cci-400-ctrl-if";
157+
interface-type = "ace";
158+
reg = <0x4000 0x1000>;
159+
};
160+
161+
cci_control2: slave-if@5000 {
162+
compatible = "arm,cci-400-ctrl-if";
163+
interface-type = "ace";
164+
reg = <0x5000 0x1000>;
165+
};
166+
};
167+
168+
This CCI node corresponds to a CCI component whose control registers sits
169+
at address 0x000000002c090000.
170+
CCI slave interface @0x000000002c091000 is connected to dma controller dma0.
171+
CCI slave interface @0x000000002c094000 is connected to CPUs {CPU0, CPU1};
172+
CCI slave interface @0x000000002c095000 is connected to CPUs {CPU2, CPU3};
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
TI Keystone Platforms Device Tree Bindings
2+
-----------------------------------------------
3+
4+
Boards with Keystone2 based devices (TCI66xxK2H) SOC shall have the
5+
following properties.
6+
7+
Required properties:
8+
- compatible: All TI specific devices present in Keystone SOC should be in
9+
the form "ti,keystone-*". Generic devices like gic, arch_timers, ns16550
10+
type UART should use the specified compatible for those devices.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
ARM Dual Cluster System Configuration Block
2+
-------------------------------------------
3+
4+
The Dual Cluster System Configuration Block (DCSCB) provides basic
5+
functionality for controlling clocks, resets and configuration pins in
6+
the Dual Cluster System implemented by the Real-Time System Model (RTSM).
7+
8+
Required properties:
9+
10+
- compatible : should be "arm,rtsm,dcscb"
11+
12+
- reg : physical base address and the size of the registers window
13+
14+
Example:
15+
16+
dcscb@60000000 {
17+
compatible = "arm,rtsm,dcscb";
18+
reg = <0x60000000 0x1000>;
19+
};
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
ST-Ericsson U300 Device Tree Bindings
2+
3+
For various board the "board" node may contain specific properties
4+
that pertain to this particular board, such as board-specific GPIOs
5+
or board power regulator supplies.
6+
7+
Required root node property:
8+
9+
compatible="stericsson,u300";
10+
11+
Required node: syscon
12+
This contains the system controller.
13+
- compatible: must be "stericsson,u300-syscon".
14+
- reg: the base address and size of the system controller.
15+
16+
Boards with the U300 SoC include:
17+
18+
S365 "Small Board U365":
19+
20+
Required node: s365
21+
This contains the board-specific information.
22+
- compatible: must be "stericsson,s365".
23+
- vana15-supply: the regulator supplying the 1.5V to drive the
24+
board.
25+
- syscon: a pointer to the syscon node so we can acccess the
26+
syscon registers to set the board as self-powered.
27+
28+
Example:
29+
30+
/ {
31+
model = "ST-Ericsson U300";
32+
compatible = "stericsson,u300";
33+
#address-cells = <1>;
34+
#size-cells = <1>;
35+
36+
s365 {
37+
compatible = "stericsson,s365";
38+
vana15-supply = <&ab3100_ldo_d_reg>;
39+
syscon = <&syscon>;
40+
};
41+
42+
syscon: syscon@c0011000 {
43+
compatible = "stericsson,u300-syscon";
44+
reg = <0xc0011000 0x1000>;
45+
};
46+
};

‎Documentation/devicetree/bindings/clock/imx5-clock.txt‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,19 @@ clocks and IDs.
184184
cko2 170
185185
srtc_gate 171
186186
pata_gate 172
187+
sata_gate 173
188+
spdif_xtal_sel 174
189+
spdif0_sel 175
190+
spdif1_sel 176
191+
spdif0_pred 177
192+
spdif0_podf 178
193+
spdif1_pred 179
194+
spdif1_podf 180
195+
spdif0_com_sel 181
196+
spdif1_com_sel 182
197+
spdif0_gate 183
198+
spdif1_gate 184
199+
spdif_ipg_gate 185
187200

188201
Examples (for mx53):
189202

‎Documentation/devicetree/bindings/clock/imx6q-clock.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ clocks and IDs.
208208
pll4_post_div 193
209209
pll5_post_div 194
210210
pll5_video_div 195
211+
eim_slow 196
211212

212213
Examples:
213214

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
* Clock bindings for Freescale i.MX6 SoloLite
2+
3+
Required properties:
4+
- compatible: Should be "fsl,imx6sl-ccm"
5+
- reg: Address and length of the register set
6+
- #clock-cells: Should be <1>
7+
8+
The clock consumer should specify the desired clock by having the clock
9+
ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx6sl-clock.h
10+
for the full list of i.MX6 SoloLite clock IDs.
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
Clock bindings for ST-Ericsson U300 System Controller Clocks
2+
3+
Bindings for the gated system controller clocks:
4+
5+
Required properties:
6+
- compatible: must be "stericsson,u300-syscon-clk"
7+
- #clock-cells: must be <0>
8+
- clock-type: specifies the type of clock:
9+
0 = slow clock
10+
1 = fast clock
11+
2 = rest/remaining clock
12+
- clock-id: specifies the clock in the type range
13+
14+
Optional properties:
15+
- clocks: parent clock(s)
16+
17+
The available clocks per type are as follows:
18+
19+
Type: ID: Clock:
20+
-------------------
21+
0 0 Slow peripheral bridge clock
22+
0 1 UART0 clock
23+
0 4 GPIO clock
24+
0 6 RTC clock
25+
0 7 Application timer clock
26+
0 8 Access timer clock
27+
28+
1 0 Fast peripheral bridge clock
29+
1 1 I2C bus 0 clock
30+
1 2 I2C bus 1 clock
31+
1 5 MMC interface peripheral (silicon) clock
32+
1 6 SPI clock
33+
34+
2 3 CPU clock
35+
2 4 DMA controller clock
36+
2 5 External Memory Interface (EMIF) clock
37+
2 6 NAND flask interface clock
38+
2 8 XGAM graphics engine clock
39+
2 9 Shared External Memory Interface (SEMI) clock
40+
2 10 AHB Subsystem Bridge clock
41+
2 12 Interrupt controller clock
42+
43+
Example:
44+
45+
gpio_clk: gpio_clk@13M {
46+
#clock-cells = <0>;
47+
compatible = "stericsson,u300-syscon-clk";
48+
clock-type = <0>; /* Slow */
49+
clock-id = <4>;
50+
clocks = <&slow_clk>;
51+
};
52+
53+
gpio: gpio@c0016000 {
54+
compatible = "stericsson,gpio-coh901";
55+
(...)
56+
clocks = <&gpio_clk>;
57+
};
58+
59+
60+
Bindings for the MMC/SD card clock:
61+
62+
Required properties:
63+
- compatible: must be "stericsson,u300-syscon-mclk"
64+
- #clock-cells: must be <0>
65+
66+
Optional properties:
67+
- clocks: parent clock(s)
68+
69+
mmc_mclk: mmc_mclk {
70+
#clock-cells = <0>;
71+
compatible = "stericsson,u300-syscon-mclk";
72+
clocks = <&mmc_pclk>;
73+
};
74+
75+
mmcsd: mmcsd@c0001000 {
76+
compatible = "arm,pl18x", "arm,primecell";
77+
clocks = <&mmc_pclk>, <&mmc_mclk>;
78+
clock-names = "apb_pclk", "mclk";
79+
(...)
80+
};

0 commit comments

Comments
 (0)