Skip to content

Commit 719dbb2

Browse files
committed
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/scottwood/linux into next
Freescale updates from Scott: "Highlights include more 8xx optimizations, device tree updates, and MVME7100 support."
2 parents fbef66f + 9f595fd commit 719dbb2

60 files changed

Lines changed: 1133 additions & 251 deletions

Some content is hidden

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

‎Documentation/devicetree/bindings/powerpc/fsl/cpm_qe/network.txt‎

Lines changed: 0 additions & 43 deletions
This file was deleted.

Documentation/devicetree/bindings/powerpc/fsl/cpm_qe/cpm.txt renamed to Documentation/devicetree/bindings/soc/fsl/cpm_qe/cpm.txt

File renamed without changes.

Documentation/devicetree/bindings/powerpc/fsl/cpm_qe/cpm/brg.txt renamed to Documentation/devicetree/bindings/soc/fsl/cpm_qe/cpm/brg.txt

File renamed without changes.

Documentation/devicetree/bindings/powerpc/fsl/cpm_qe/cpm/i2c.txt renamed to Documentation/devicetree/bindings/soc/fsl/cpm_qe/cpm/i2c.txt

File renamed without changes.

Documentation/devicetree/bindings/powerpc/fsl/cpm_qe/cpm/pic.txt renamed to Documentation/devicetree/bindings/soc/fsl/cpm_qe/cpm/pic.txt

File renamed without changes.

Documentation/devicetree/bindings/powerpc/fsl/cpm_qe/cpm/usb.txt renamed to Documentation/devicetree/bindings/soc/fsl/cpm_qe/cpm/usb.txt

File renamed without changes.

Documentation/devicetree/bindings/powerpc/fsl/cpm_qe/gpio.txt renamed to Documentation/devicetree/bindings/soc/fsl/cpm_qe/gpio.txt

File renamed without changes.
Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
* Network
2+
3+
Currently defined compatibles:
4+
- fsl,cpm1-scc-enet
5+
- fsl,cpm2-scc-enet
6+
- fsl,cpm1-fec-enet
7+
- fsl,cpm2-fcc-enet (third resource is GFEMR)
8+
- fsl,qe-enet
9+
10+
Example:
11+
12+
ethernet@11300 {
13+
compatible = "fsl,mpc8272-fcc-enet",
14+
"fsl,cpm2-fcc-enet";
15+
reg = <11300 20 8400 100 11390 1>;
16+
local-mac-address = [ 00 00 00 00 00 00 ];
17+
interrupts = <20 8>;
18+
interrupt-parent = <&PIC>;
19+
phy-handle = <&PHY0>;
20+
fsl,cpm-command = <12000300>;
21+
};
22+
23+
* MDIO
24+
25+
Currently defined compatibles:
26+
fsl,pq1-fec-mdio (reg is same as first resource of FEC device)
27+
fsl,cpm2-mdio-bitbang (reg is port C registers)
28+
29+
Properties for fsl,cpm2-mdio-bitbang:
30+
fsl,mdio-pin : pin of port C controlling mdio data
31+
fsl,mdc-pin : pin of port C controlling mdio clock
32+
33+
Example:
34+
mdio@10d40 {
35+
compatible = "fsl,mpc8272ads-mdio-bitbang",
36+
"fsl,mpc8272-mdio-bitbang",
37+
"fsl,cpm2-mdio-bitbang";
38+
reg = <10d40 14>;
39+
#address-cells = <1>;
40+
#size-cells = <0>;
41+
fsl,mdio-pin = <12>;
42+
fsl,mdc-pin = <13>;
43+
};
44+
45+
* HDLC
46+
47+
Currently defined compatibles:
48+
- fsl,ucc-hdlc
49+
50+
Properties for fsl,ucc-hdlc:
51+
- rx-clock-name
52+
- tx-clock-name
53+
Usage: required
54+
Value type: <string>
55+
Definition : Must be "brg1"-"brg16" for internal clock source,
56+
Must be "clk1"-"clk24" for external clock source.
57+
58+
- fsl,tdm-interface
59+
Usage: optional
60+
Value type: <empty>
61+
Definition : Specify that hdlc is based on tdm-interface
62+
63+
The property below is dependent on fsl,tdm-interface:
64+
- fsl,rx-sync-clock
65+
Usage: required
66+
Value type: <string>
67+
Definition : Must be "none", "rsync_pin", "brg9-11" and "brg13-15".
68+
69+
- fsl,tx-sync-clock
70+
Usage: required
71+
Value type: <string>
72+
Definition : Must be "none", "tsync_pin", "brg9-11" and "brg13-15".
73+
74+
- fsl,tdm-framer-type
75+
Usage: required for tdm interface
76+
Value type: <string>
77+
Definition : "e1" or "t1".Now e1 and t1 are used, other framer types
78+
are not supported.
79+
80+
- fsl,tdm-id
81+
Usage: required for tdm interface
82+
Value type: <u32>
83+
Definition : number of TDM ID
84+
85+
- fsl,tx-timeslot-mask
86+
- fsl,rx-timeslot-mask
87+
Usage: required for tdm interface
88+
Value type: <u32>
89+
Definition : time slot mask for TDM operation. Indicates which time
90+
slots used for transmitting and receiving.
91+
92+
- fsl,siram-entry-id
93+
Usage: required for tdm interface
94+
Value type: <u32>
95+
Definition : Must be 0,2,4...64. the number of TDM entry.
96+
97+
- fsl,tdm-internal-loopback
98+
usage: optional for tdm interface
99+
value type: <empty>
100+
Definition : Internal loopback connecting on TDM layer.
101+
102+
Example for tdm interface:
103+
104+
ucc@2000 {
105+
compatible = "fsl,ucc-hdlc";
106+
rx-clock-name = "clk8";
107+
tx-clock-name = "clk9";
108+
fsl,rx-sync-clock = "rsync_pin";
109+
fsl,tx-sync-clock = "tsync_pin";
110+
fsl,tx-timeslot-mask = <0xfffffffe>;
111+
fsl,rx-timeslot-mask = <0xfffffffe>;
112+
fsl,tdm-framer-type = "e1";
113+
fsl,tdm-id = <0>;
114+
fsl,siram-entry-id = <0>;
115+
fsl,tdm-interface;
116+
};
117+
118+
Example for hdlc without tdm interface:
119+
120+
ucc@2000 {
121+
compatible = "fsl,ucc-hdlc";
122+
rx-clock-name = "brg1";
123+
tx-clock-name = "brg1";
124+
};

Documentation/devicetree/bindings/powerpc/fsl/cpm_qe/qe.txt renamed to Documentation/devicetree/bindings/soc/fsl/cpm_qe/qe.txt

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,58 @@ Example:
6969
};
7070
};
7171

72+
* Interrupt Controller (IC)
73+
74+
Required properties:
75+
- compatible : should be "fsl,qe-ic".
76+
- reg : Address range of IC register set.
77+
- interrupts : interrupts generated by the device.
78+
- interrupt-controller : this device is a interrupt controller.
79+
80+
Example:
81+
82+
qeic: interrupt-controller@80 {
83+
interrupt-controller;
84+
compatible = "fsl,qe-ic";
85+
#address-cells = <0>;
86+
#interrupt-cells = <1>;
87+
reg = <0x80 0x80>;
88+
interrupts = <95 2 0 0 94 2 0 0>;
89+
};
90+
91+
* Serial Interface Block (SI)
92+
93+
The SI manages the routing of eight TDM lines to the QE block serial drivers
94+
, the MCC and the UCCs, for receive and transmit.
95+
96+
Required properties:
97+
- compatible : must be "fsl,<chip>-qe-si". For t1040, must contain
98+
"fsl,t1040-qe-si".
99+
- reg : Address range of SI register set.
100+
101+
Example:
102+
103+
si1: si@700 {
104+
compatible = "fsl,t1040-qe-si";
105+
reg = <0x700 0x80>;
106+
};
107+
108+
* Serial Interface Block RAM(SIRAM)
109+
110+
store the routing entries of SI
111+
112+
Required properties:
113+
- compatible : should be "fsl,<chip>-qe-siram". For t1040, must contain
114+
"fsl,t1040-qe-siram".
115+
- reg : Address range of SI RAM.
116+
117+
Example:
118+
119+
siram1: siram@1000 {
120+
compatible = "fsl,t1040-qe-siram";
121+
reg = <0x1000 0x800>;
122+
};
123+
72124
* QE Firmware Node
73125

74126
This node defines a firmware binary that is embedded in the device tree, for

Documentation/devicetree/bindings/powerpc/fsl/cpm_qe/qe/firmware.txt renamed to Documentation/devicetree/bindings/soc/fsl/cpm_qe/qe/firmware.txt

File renamed without changes.

0 commit comments

Comments
 (0)