Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
1bccc807
Commit
1bccc807
authored
Dec 15, 2011
by
Olof Johansson
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'imx6/boards' of
git://git.linaro.org/people/shawnguo/linux-2.6
into imx6/boards
parents
dc47ce90
12e1b19e
Changes
13
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
174 additions
and
99 deletions
+174
-99
Documentation/devicetree/bindings/arm/fsl.txt
Documentation/devicetree/bindings/arm/fsl.txt
+6
-2
arch/arm/boot/dts/imx51-babbage.dts
arch/arm/boot/dts/imx51-babbage.dts
+8
-9
arch/arm/boot/dts/imx51.dtsi
arch/arm/boot/dts/imx51.dtsi
+10
-10
arch/arm/boot/dts/imx53-ard.dts
arch/arm/boot/dts/imx53-ard.dts
+9
-9
arch/arm/boot/dts/imx53-evk.dts
arch/arm/boot/dts/imx53-evk.dts
+8
-9
arch/arm/boot/dts/imx53-qsb.dts
arch/arm/boot/dts/imx53-qsb.dts
+9
-9
arch/arm/boot/dts/imx53-smd.dts
arch/arm/boot/dts/imx53-smd.dts
+9
-10
arch/arm/boot/dts/imx53.dtsi
arch/arm/boot/dts/imx53.dtsi
+17
-17
arch/arm/boot/dts/imx6q-arm2.dts
arch/arm/boot/dts/imx6q-arm2.dts
+6
-6
arch/arm/boot/dts/imx6q-sabrelite.dts
arch/arm/boot/dts/imx6q-sabrelite.dts
+49
-0
arch/arm/boot/dts/imx6q.dtsi
arch/arm/boot/dts/imx6q.dtsi
+17
-17
arch/arm/mach-imx/Makefile.boot
arch/arm/mach-imx/Makefile.boot
+3
-0
arch/arm/mach-imx/mach-imx6q.c
arch/arm/mach-imx/mach-imx6q.c
+23
-1
No files found.
Documentation/devicetree/bindings/arm/fsl.txt
View file @
1bccc807
...
...
@@ -21,6 +21,10 @@ i.MX53 Smart Mobile Reference Design Board
Required root node properties:
- compatible = "fsl,imx53-smd", "fsl,imx53";
i.MX6 Quad
SABRE Automotive
Board
i.MX6 Quad
Armadillo2
Board
Required root node properties:
- compatible = "fsl,imx6q-sabreauto", "fsl,imx6q";
- compatible = "fsl,imx6q-arm2", "fsl,imx6q";
i.MX6 Quad SABRE Lite Board
Required root node properties:
- compatible = "fsl,imx6q-sabrelite", "fsl,imx6q";
arch/arm/boot/dts/imx51-babbage.dts
View file @
1bccc807
...
...
@@ -35,20 +35,19 @@ esdhc@70004000 { /* ESDHC1 */
};
esdhc
@
70008000
{
/*
ESDHC2
*/
cd
-
gpios
=
<&
gpio
0
6
0
>;
/*
GPIO1_6
*/
wp
-
gpios
=
<&
gpio
0
5
0
>;
/*
GPIO1_5
*/
cd
-
gpios
=
<&
gpio
1
6
0
>;
wp
-
gpios
=
<&
gpio
1
5
0
>;
status
=
"okay"
;
};
uart
2
:
uart
@
7000
c000
{
/*
UART3
*/
uart
3
:
uart
@
7000
c000
{
fsl
,
uart
-
has
-
rtscts
;
status
=
"okay"
;
};
ecspi
@
70010000
{
/*
ECSPI1
*/
fsl
,
spi
-
num
-
chipselects
=
<
2
>;
cs
-
gpios
=
<&
gpio3
24
0
>,
/*
GPIO4_24
*/
<&
gpio3
25
0
>;
/*
GPIO4_25
*/
cs
-
gpios
=
<&
gpio4
24
0
>,
<&
gpio4
25
0
>;
status
=
"okay"
;
pmic
:
mc13892
@
0
{
...
...
@@ -57,7 +56,7 @@ pmic: mc13892@0 {
compatible
=
"fsl,mc13892"
;
spi
-
max
-
frequency
=
<
6000000
>;
reg
=
<
0
>;
mc13xxx
-
irq
-
gpios
=
<&
gpio
0
8
0
>;
/*
GPIO1_8
*/
mc13xxx
-
irq
-
gpios
=
<&
gpio
1
8
0
>;
fsl
,
mc13xxx
-
uses
-
regulator
;
};
...
...
@@ -91,12 +90,12 @@ iomuxc@73fa8000 {
reg
=
<
0x73fa8000
0x4000
>;
};
uart
0
:
uart
@
73f
bc000
{
uart
1
:
uart
@
73f
bc000
{
fsl
,
uart
-
has
-
rtscts
;
status
=
"okay"
;
};
uart
1
:
uart
@
73f
c0000
{
uart
2
:
uart
@
73f
c0000
{
status
=
"okay"
;
};
};
...
...
@@ -127,7 +126,7 @@ gpio-keys {
power
{
label
=
"Power Button"
;
gpios
=
<&
gpio
1
21
0
>;
gpios
=
<&
gpio
2
21
0
>;
linux
,
code
=
<
116
>;
/*
KEY_POWER
*/
gpio
-
key
,
wakeup
;
};
...
...
arch/arm/boot/dts/imx51.dtsi
View file @
1bccc807
...
...
@@ -14,9 +14,9 @@
/ {
aliases {
serial0 = &uart
0
;
serial1 = &uart
1
;
serial2 = &uart
2
;
serial0 = &uart
1
;
serial1 = &uart
2
;
serial2 = &uart
3
;
};
tzic: tz-interrupt-controller@e0000000 {
...
...
@@ -86,7 +86,7 @@ esdhc@70008000 { /* ESDHC2 */
status = "disabled";
};
uart
2: uart@7000c000 { /* UART3 */
uart
3: uart@7000c000 {
compatible = "fsl,imx51-uart", "fsl,imx21-uart";
reg = <0x7000c000 0x4000>;
interrupts = <33>;
...
...
@@ -117,7 +117,7 @@ esdhc@70024000 { /* ESDHC4 */
};
};
gpio
0: gpio@73f84000 { /* GPIO1 */
gpio
1: gpio@73f84000 {
compatible = "fsl,imx51-gpio", "fsl,imx31-gpio";
reg = <0x73f84000 0x4000>;
interrupts = <50 51>;
...
...
@@ -127,7 +127,7 @@ gpio0: gpio@73f84000 { /* GPIO1 */
#interrupt-cells = <1>;
};
gpio
1: gpio@73f88000 { /* GPIO2 */
gpio
2: gpio@73f88000 {
compatible = "fsl,imx51-gpio", "fsl,imx31-gpio";
reg = <0x73f88000 0x4000>;
interrupts = <52 53>;
...
...
@@ -137,7 +137,7 @@ gpio1: gpio@73f88000 { /* GPIO2 */
#interrupt-cells = <1>;
};
gpio
2: gpio@73f8c000 { /* GPIO3 */
gpio
3: gpio@73f8c000 {
compatible = "fsl,imx51-gpio", "fsl,imx31-gpio";
reg = <0x73f8c000 0x4000>;
interrupts = <54 55>;
...
...
@@ -147,7 +147,7 @@ gpio2: gpio@73f8c000 { /* GPIO3 */
#interrupt-cells = <1>;
};
gpio
3: gpio@73f90000 { /* GPIO4 */
gpio
4: gpio@73f90000 {
compatible = "fsl,imx51-gpio", "fsl,imx31-gpio";
reg = <0x73f90000 0x4000>;
interrupts = <56 57>;
...
...
@@ -171,14 +171,14 @@ wdog@73f9c000 { /* WDOG2 */
status = "disabled";
};
uart
0
: uart@73fbc000 {
uart
1
: uart@73fbc000 {
compatible = "fsl,imx51-uart", "fsl,imx21-uart";
reg = <0x73fbc000 0x4000>;
interrupts = <31>;
status = "disabled";
};
uart
1
: uart@73fc0000 {
uart
2
: uart@73fc0000 {
compatible = "fsl,imx51-uart", "fsl,imx21-uart";
reg = <0x73fc0000 0x4000>;
interrupts = <32>;
...
...
arch/arm/boot/dts/imx53-ard.dts
View file @
1bccc807
...
...
@@ -29,8 +29,8 @@ soc {
aips
@
50000000
{
/*
AIPS1
*/
spba
@
50000000
{
esdhc
@
50004000
{
/*
ESDHC1
*/
cd
-
gpios
=
<&
gpio
0
1
0
>;
/*
GPIO1_1
*/
wp
-
gpios
=
<&
gpio
0
9
0
>;
/*
GPIO1_9
*/
cd
-
gpios
=
<&
gpio
1
1
0
>;
wp
-
gpios
=
<&
gpio
1
9
0
>;
status
=
"okay"
;
};
};
...
...
@@ -44,7 +44,7 @@ iomuxc@53fa8000 {
reg
=
<
0x53fa8000
0x4000
>;
};
uart
0
:
uart
@
53f
bc000
{
/*
UART1
*/
uart
1
:
uart
@
53f
bc000
{
status
=
"okay"
;
};
};
...
...
@@ -67,7 +67,7 @@ lan9220@f4000000 {
compatible
=
"smsc,lan9220"
,
"smsc,lan9115"
;
reg
=
<
0xf4000000
0x2000000
>;
phy
-
mode
=
"mii"
;
interrupt
-
parent
=
<&
gpio
1
>;
interrupt
-
parent
=
<&
gpio
2
>;
interrupts
=
<
31
>;
reg
-
io
-
width
=
<
4
>;
smsc
,
irq
-
push
-
pull
;
...
...
@@ -79,34 +79,34 @@ gpio-keys {
home
{
label
=
"Home"
;
gpios
=
<&
gpio
4
10
0
>;
/*
GPIO5_10
*/
gpios
=
<&
gpio
5
10
0
>;
linux
,
code
=
<
102
>;
/*
KEY_HOME
*/
gpio
-
key
,
wakeup
;
};
back
{
label
=
"Back"
;
gpios
=
<&
gpio
4
11
0
>;
/*
GPIO5_11
*/
gpios
=
<&
gpio
5
11
0
>;
linux
,
code
=
<
158
>;
/*
KEY_BACK
*/
gpio
-
key
,
wakeup
;
};
program
{
label
=
"Program"
;
gpios
=
<&
gpio
4
12
0
>;
/*
GPIO5_12
*/
gpios
=
<&
gpio
5
12
0
>;
linux
,
code
=
<
362
>;
/*
KEY_PROGRAM
*/
gpio
-
key
,
wakeup
;
};
volume
-
up
{
label
=
"Volume Up"
;
gpios
=
<&
gpio
4
13
0
>;
/*
GPIO5_13
*/
gpios
=
<&
gpio
5
13
0
>;
linux
,
code
=
<
115
>;
/*
KEY_VOLUMEUP
*/
};
volume
-
down
{
label
=
"Volume Down"
;
gpios
=
<&
gpio
3
0
0
>;
/*
GPIO4_0
*/
gpios
=
<&
gpio
4
0
0
>;
linux
,
code
=
<
114
>;
/*
KEY_VOLUMEDOWN
*/
};
};
...
...
arch/arm/boot/dts/imx53-evk.dts
View file @
1bccc807
...
...
@@ -29,15 +29,14 @@ soc {
aips
@
50000000
{
/*
AIPS1
*/
spba
@
50000000
{
esdhc
@
50004000
{
/*
ESDHC1
*/
cd
-
gpios
=
<&
gpio
2
13
0
>;
/*
GPIO3_13
*/
wp
-
gpios
=
<&
gpio
2
14
0
>;
/*
GPIO3_14
*/
cd
-
gpios
=
<&
gpio
3
13
0
>;
wp
-
gpios
=
<&
gpio
3
14
0
>;
status
=
"okay"
;
};
ecspi
@
50010000
{
/*
ECSPI1
*/
fsl
,
spi
-
num
-
chipselects
=
<
2
>;
cs
-
gpios
=
<&
gpio1
30
0
>,
/*
GPIO2_30
*/
<&
gpio2
19
0
>;
/*
GPIO3_19
*/
cs
-
gpios
=
<&
gpio2
30
0
>,
<&
gpio3
19
0
>;
status
=
"okay"
;
flash
:
at45db321d
@
1
{
...
...
@@ -61,8 +60,8 @@ partition@40000 {
};
esdhc
@
50020000
{
/*
ESDHC3
*/
cd
-
gpios
=
<&
gpio
2
11
0
>;
/*
GPIO3_11
*/
wp
-
gpios
=
<&
gpio
2
12
0
>;
/*
GPIO3_12
*/
cd
-
gpios
=
<&
gpio
3
11
0
>;
wp
-
gpios
=
<&
gpio
3
12
0
>;
status
=
"okay"
;
};
};
...
...
@@ -76,7 +75,7 @@ iomuxc@53fa8000 {
reg
=
<
0x53fa8000
0x4000
>;
};
uart
0
:
uart
@
53f
bc000
{
/*
UART1
*/
uart
1
:
uart
@
53f
bc000
{
status
=
"okay"
;
};
};
...
...
@@ -102,7 +101,7 @@ codec: sgtl5000@0a {
fec
@
63f
ec000
{
phy
-
mode
=
"rmii"
;
phy
-
reset
-
gpios
=
<&
gpio
6
6
0
>;
/*
GPIO7_6
*/
phy
-
reset
-
gpios
=
<&
gpio
7
6
0
>;
status
=
"okay"
;
};
};
...
...
@@ -113,7 +112,7 @@ leds {
green
{
label
=
"Heartbeat"
;
gpios
=
<&
gpio
6
7
0
>;
/*
GPIO7_7
*/
gpios
=
<&
gpio
7
7
0
>;
linux
,
default
-
trigger
=
"heartbeat"
;
};
};
...
...
arch/arm/boot/dts/imx53-qsb.dts
View file @
1bccc807
...
...
@@ -29,13 +29,13 @@ soc {
aips
@
50000000
{
/*
AIPS1
*/
spba
@
50000000
{
esdhc
@
50004000
{
/*
ESDHC1
*/
cd
-
gpios
=
<&
gpio
2
13
0
>;
/*
GPIO3_13
*/
cd
-
gpios
=
<&
gpio
3
13
0
>;
status
=
"okay"
;
};
esdhc
@
50020000
{
/*
ESDHC3
*/
cd
-
gpios
=
<&
gpio
2
11
0
>;
/*
GPIO3_11
*/
wp
-
gpios
=
<&
gpio
2
12
0
>;
/*
GPIO3_12
*/
cd
-
gpios
=
<&
gpio
3
11
0
>;
wp
-
gpios
=
<&
gpio
3
12
0
>;
status
=
"okay"
;
};
};
...
...
@@ -49,7 +49,7 @@ iomuxc@53fa8000 {
reg
=
<
0x53fa8000
0x4000
>;
};
uart
0
:
uart
@
53f
bc000
{
/*
UART1
*/
uart
1
:
uart
@
53f
bc000
{
status
=
"okay"
;
};
};
...
...
@@ -84,7 +84,7 @@ pmic: dialog@48 {
fec
@
63f
ec000
{
phy
-
mode
=
"rmii"
;
phy
-
reset
-
gpios
=
<&
gpio
6
6
0
>;
/*
GPIO7_6
*/
phy
-
reset
-
gpios
=
<&
gpio
7
6
0
>;
status
=
"okay"
;
};
};
...
...
@@ -95,20 +95,20 @@ gpio-keys {
power
{
label
=
"Power Button"
;
gpios
=
<&
gpio
0
8
0
>;
/*
GPIO1_8
*/
gpios
=
<&
gpio
1
8
0
>;
linux
,
code
=
<
116
>;
/*
KEY_POWER
*/
gpio
-
key
,
wakeup
;
};
volume
-
up
{
label
=
"Volume Up"
;
gpios
=
<&
gpio
1
14
0
>;
/*
GPIO2_14
*/
gpios
=
<&
gpio
2
14
0
>;
linux
,
code
=
<
115
>;
/*
KEY_VOLUMEUP
*/
};
volume
-
down
{
label
=
"Volume Down"
;
gpios
=
<&
gpio
1
15
0
>;
/*
GPIO2_15
*/
gpios
=
<&
gpio
2
15
0
>;
linux
,
code
=
<
114
>;
/*
KEY_VOLUMEDOWN
*/
};
};
...
...
@@ -118,7 +118,7 @@ leds {
user
{
label
=
"Heartbeat"
;
gpios
=
<&
gpio
6
7
0
>;
/*
GPIO7_7
*/
gpios
=
<&
gpio
7
7
0
>;
linux
,
default
-
trigger
=
"heartbeat"
;
};
};
...
...
arch/arm/boot/dts/imx53-smd.dts
View file @
1bccc807
...
...
@@ -29,8 +29,8 @@ soc {
aips
@
50000000
{
/*
AIPS1
*/
spba
@
50000000
{
esdhc
@
50004000
{
/*
ESDHC1
*/
cd
-
gpios
=
<&
gpio
2
13
0
>;
/*
GPIO3_13
*/
wp
-
gpios
=
<&
gpio
3
11
0
>;
/*
GPIO4_11
*/
cd
-
gpios
=
<&
gpio
3
13
0
>;
wp
-
gpios
=
<&
gpio
4
11
0
>;
status
=
"okay"
;
};
...
...
@@ -39,15 +39,14 @@ esdhc@50008000 { /* ESDHC2 */
status
=
"okay"
;
};
uart
2
:
uart
@
5000
c000
{
/*
UART3
*/
uart
3
:
uart
@
5000
c000
{
fsl
,
uart
-
has
-
rtscts
;
status
=
"okay"
;
};
ecspi
@
50010000
{
/*
ECSPI1
*/
fsl
,
spi
-
num
-
chipselects
=
<
2
>;
cs
-
gpios
=
<&
gpio1
30
0
>,
/*
GPIO2_30
*/
<&
gpio2
19
0
>;
/*
GPIO3_19
*/
cs
-
gpios
=
<&
gpio2
30
0
>,
<&
gpio3
19
0
>;
status
=
"okay"
;
zigbee
:
mc1323
@
0
{
...
...
@@ -91,11 +90,11 @@ iomuxc@53fa8000 {
reg
=
<
0x53fa8000
0x4000
>;
};
uart
0
:
uart
@
53f
bc000
{
/*
UART1
*/
uart
1
:
uart
@
53f
bc000
{
status
=
"okay"
;
};
uart
1
:
uart
@
53f
c0000
{
/*
UART2
*/
uart
2
:
uart
@
53f
c0000
{
status
=
"okay"
;
};
};
...
...
@@ -145,7 +144,7 @@ pmic: dialog@48 {
fec
@
63f
ec000
{
phy
-
mode
=
"rmii"
;
phy
-
reset
-
gpios
=
<&
gpio
6
6
0
>;
/*
GPIO7_6
*/
phy
-
reset
-
gpios
=
<&
gpio
7
6
0
>;
status
=
"okay"
;
};
};
...
...
@@ -156,13 +155,13 @@ gpio-keys {
volume
-
up
{
label
=
"Volume Up"
;
gpios
=
<&
gpio
1
14
0
>;
/*
GPIO2_14
*/
gpios
=
<&
gpio
2
14
0
>;
linux
,
code
=
<
115
>;
/*
KEY_VOLUMEUP
*/
};
volume
-
down
{
label
=
"Volume Down"
;
gpios
=
<&
gpio
1
15
0
>;
/*
GPIO2_15
*/
gpios
=
<&
gpio
2
15
0
>;
linux
,
code
=
<
114
>;
/*
KEY_VOLUMEDOWN
*/
};
};
...
...
arch/arm/boot/dts/imx53.dtsi
View file @
1bccc807
...
...
@@ -14,11 +14,11 @@
/ {
aliases {
serial0 = &uart
0
;
serial1 = &uart
1
;
serial2 = &uart
2
;
serial3 = &uart
3
;
serial4 = &uart
4
;
serial0 = &uart
1
;
serial1 = &uart
2
;
serial2 = &uart
3
;
serial3 = &uart
4
;
serial4 = &uart
5
;
};
tzic: tz-interrupt-controller@0fffc000 {
...
...
@@ -88,7 +88,7 @@ esdhc@50008000 { /* ESDHC2 */
status = "disabled";
};
uart
2: uart@5000c000 { /* UART3 */
uart
3: uart@5000c000 {
compatible = "fsl,imx53-uart", "fsl,imx21-uart";
reg = <0x5000c000 0x4000>;
interrupts = <33>;
...
...
@@ -119,7 +119,7 @@ esdhc@50024000 { /* ESDHC4 */
};
};
gpio
0: gpio@53f84000 { /* GPIO1 */
gpio
1: gpio@53f84000 {
compatible = "fsl,imx53-gpio", "fsl,imx31-gpio";
reg = <0x53f84000 0x4000>;
interrupts = <50 51>;
...
...
@@ -129,7 +129,7 @@ gpio0: gpio@53f84000 { /* GPIO1 */
#interrupt-cells = <1>;
};
gpio
1: gpio@53f88000 { /* GPIO2 */
gpio
2: gpio@53f88000 {
compatible = "fsl,imx53-gpio", "fsl,imx31-gpio";
reg = <0x53f88000 0x4000>;
interrupts = <52 53>;
...
...
@@ -139,7 +139,7 @@ gpio1: gpio@53f88000 { /* GPIO2 */
#interrupt-cells = <1>;
};
gpio
2: gpio@53f8c000 { /* GPIO3 */
gpio
3: gpio@53f8c000 {
compatible = "fsl,imx53-gpio", "fsl,imx31-gpio";
reg = <0x53f8c000 0x4000>;
interrupts = <54 55>;
...
...
@@ -149,7 +149,7 @@ gpio2: gpio@53f8c000 { /* GPIO3 */
#interrupt-cells = <1>;
};
gpio
3: gpio@53f90000 { /* GPIO4 */
gpio
4: gpio@53f90000 {
compatible = "fsl,imx53-gpio", "fsl,imx31-gpio";
reg = <0x53f90000 0x4000>;
interrupts = <56 57>;
...
...
@@ -173,21 +173,21 @@ wdog@53f9c000 { /* WDOG2 */
status = "disabled";
};
uart
0: uart@53fbc000 { /* UART1 */
uart
1: uart@53fbc000 {
compatible = "fsl,imx53-uart", "fsl,imx21-uart";
reg = <0x53fbc000 0x4000>;
interrupts = <31>;
status = "disabled";
};
uart
1: uart@53fc0000 { /* UART2 */
uart
2: uart@53fc0000 {
compatible = "fsl,imx53-uart", "fsl,imx21-uart";
reg = <0x53fc0000 0x4000>;
interrupts = <32>;
status = "disabled";
};
gpio
4: gpio@53fdc000 { /* GPIO5 */
gpio
5: gpio@53fdc000 {
compatible = "fsl,imx53-gpio", "fsl,imx31-gpio";
reg = <0x53fdc000 0x4000>;
interrupts = <103 104>;
...
...
@@ -197,7 +197,7 @@ gpio4: gpio@53fdc000 { /* GPIO5 */
#interrupt-cells = <1>;
};
gpio
5: gpio@53fe0000 { /* GPIO6 */
gpio
6: gpio@53fe0000 {
compatible = "fsl,imx53-gpio", "fsl,imx31-gpio";
reg = <0x53fe0000 0x4000>;
interrupts = <105 106>;
...
...
@@ -207,7 +207,7 @@ gpio5: gpio@53fe0000 { /* GPIO6 */
#interrupt-cells = <1>;
};
gpio
6: gpio@53fe4000 { /* GPIO7 */
gpio
7: gpio@53fe4000 {
compatible = "fsl,imx53-gpio", "fsl,imx31-gpio";
reg = <0x53fe4000 0x4000>;
interrupts = <107 108>;
...
...
@@ -226,7 +226,7 @@ i2c@53fec000 { /* I2C3 */
status = "disabled";
};
uart
3: uart@53ff0000 { /* UART4 */
uart
4: uart@53ff0000 {
compatible = "fsl,imx53-uart", "fsl,imx21-uart";
reg = <0x53ff0000 0x4000>;
interrupts = <13>;
...
...
@@ -241,7 +241,7 @@ aips@60000000 { /* AIPS2 */
reg = <0x60000000 0x10000000>;
ranges;
uart
4: uart@63f90000 { /* UART5 */
uart
5: uart@63f90000 {
compatible = "fsl,imx53-uart", "fsl,imx21-uart";
reg = <0x63f90000 0x4000>;
interrupts = <86>;
...
...
arch/arm/boot/dts/imx6q-
sabreauto
.dts
→
arch/arm/boot/dts/imx6q-
arm2
.dts
View file @
1bccc807
...
...
@@ -14,8 +14,8 @@
/
include
/
"imx6q.dtsi"
/
{
model
=
"Freescale i.MX6 Quad
SABRE Automotive
Board"
;
compatible
=
"fsl,imx6q-
sabreauto
"
,
"fsl,imx6q"
;
model
=
"Freescale i.MX6 Quad
Armadillo2
Board"
;
compatible
=
"fsl,imx6q-
arm2
"
,
"fsl,imx6q"
;
chosen
{
bootargs
=
"console=ttymxc0,115200 root=/dev/mmcblk3p3 rootwait"
;
...
...
@@ -34,8 +34,8 @@ enet@02188000 {
};
usdhc
@
02198000
{
/*
uSDHC3
*/
cd
-
gpios
=
<&
gpio
5
11
0
>;
/*
GPIO6_11
*/
wp
-
gpios
=
<&
gpio
5
14
0
>;
/*
GPIO6_14
*/
cd
-
gpios
=
<&
gpio
6
11
0
>;
wp
-
gpios
=
<&
gpio
6
14
0
>;
status
=
"okay"
;
};
...
...
@@ -44,7 +44,7 @@ usdhc@0219c000 { /* uSDHC4 */
status
=
"okay"
;
};
uart
3
:
uart
@
021f0000
{
/*
UART4
*/
uart
4
:
uart
@
021f0000
{
status
=
"okay"
;
};
};
...
...
@@ -55,7 +55,7 @@ leds {
debug
-
led
{
label
=
"Heartbeat"
;
gpios
=
<&
gpio
2
25
0
>;
/*
GPIO3_25
*/
gpios
=
<&
gpio
3
25
0
>;
linux
,
default
-
trigger
=
"heartbeat"
;
};
};
...
...
arch/arm/boot/dts/imx6q-sabrelite.dts
0 → 100644
View file @
1bccc807
/*
*
Copyright
2011
Freescale
Semiconductor
,
Inc
.
*
Copyright
2011
Linaro
Ltd
.
*
*
The
code
contained
herein
is
licensed
under
the
GNU
General
Public
*
License
.
You
may
obtain
a
copy
of
the
GNU
General
Public
License
*
Version
2
or
later
at
the
following
locations
:
*
*
http
://
www
.
opensource
.
org
/
licenses
/
gpl
-
license
.
html
*
http
://
www
.
gnu
.
org
/
copyleft
/
gpl
.
html
*/
/
dts
-
v1
/;
/
include
/
"imx6q.dtsi"
/
{
model
=
"Freescale i.MX6 Quad SABRE Lite Board"
;
compatible
=
"fsl,imx6q-sabrelite"
,
"fsl,imx6q"
;
memory
{
reg
=
<
0x10000000
0x40000000
>;
};
soc
{
aips
-
bus
@
02100000
{
/*
AIPS2
*/
enet
@
02188000
{
phy
-
mode
=
"rgmii"
;
phy
-
reset
-
gpios
=
<&
gpio3
23
0
>;
status
=
"okay"
;
};
usdhc
@
02198000
{
/*
uSDHC3
*/
cd
-
gpios
=
<&
gpio7
0
0
>;
wp
-
gpios
=
<&
gpio7
1
0
>;
status
=
"okay"
;
};
usdhc
@
0219
c000
{
/*
uSDHC4
*/
cd
-
gpios
=
<&
gpio2
6
0
>;
wp
-
gpios
=
<&
gpio2
7
0
>;
status
=
"okay"
;
};
uart2
:
uart
@
021e8000
{
status
=
"okay"
;
};
};
};
};
arch/arm/boot/dts/imx6q.dtsi
View file @
1bccc807
...
...
@@ -14,11 +14,11 @@
/ {
aliases {
serial0 = &uart
0
;
serial1 = &uart
1
;
serial2 = &uart
2
;
serial3 = &uart
3
;
serial4 = &uart
4
;
serial0 = &uart
1
;
serial1 = &uart
2
;
serial2 = &uart
3
;
serial3 = &uart
4
;
serial4 = &uart
5
;
};
cpus {
...
...
@@ -165,7 +165,7 @@ ecspi@02018000 { /* eCSPI5 */
status = "disabled";
};
uart
0: uart@02020000 { /* UART1 */
uart
1: uart@02020000 {
compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
reg = <0x02020000 0x4000>;
interrupts = <0 26 0x04>;
...
...
@@ -247,7 +247,7 @@ gpt@02098000 {
interrupts = <0 55 0x04>;
};
gpio
0: gpio@0209c000 { /* GPIO1 */
gpio
1: gpio@0209c000 {
compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio";
reg = <0x0209c000 0x4000>;
interrupts = <0 66 0x04 0 67 0x04>;
...
...
@@ -257,7 +257,7 @@ gpio0: gpio@0209c000 { /* GPIO1 */
#interrupt-cells = <1>;
};
gpio
1: gpio@020a0000 { /* GPIO2 */
gpio
2: gpio@020a0000 {
compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio";
reg = <0x020a0000 0x4000>;
interrupts = <0 68 0x04 0 69 0x04>;
...
...
@@ -267,7 +267,7 @@ gpio1: gpio@020a0000 { /* GPIO2 */
#interrupt-cells = <1>;
};
gpio
2: gpio@020a4000 { /* GPIO3 */
gpio
3: gpio@020a4000 {
compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio";
reg = <0x020a4000 0x4000>;
interrupts = <0 70 0x04 0 71 0x04>;
...
...
@@ -277,7 +277,7 @@ gpio2: gpio@020a4000 { /* GPIO3 */
#interrupt-cells = <1>;
};
gpio
3: gpio@020a8000 { /* GPIO4 */
gpio
4: gpio@020a8000 {
compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio";
reg = <0x020a8000 0x4000>;
interrupts = <0 72 0x04 0 73 0x04>;
...
...
@@ -287,7 +287,7 @@ gpio3: gpio@020a8000 { /* GPIO4 */
#interrupt-cells = <1>;
};
gpio
4: gpio@020ac000 { /* GPIO5 */
gpio
5: gpio@020ac000 {
compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio";
reg = <0x020ac000 0x4000>;
interrupts = <0 74 0x04 0 75 0x04>;
...
...
@@ -297,7 +297,7 @@ gpio4: gpio@020ac000 { /* GPIO5 */
#interrupt-cells = <1>;
};
gpio
5: gpio@020b0000 { /* GPIO6 */
gpio
6: gpio@020b0000 {
compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio";
reg = <0x020b0000 0x4000>;
interrupts = <0 76 0x04 0 77 0x04>;
...
...
@@ -307,7 +307,7 @@ gpio5: gpio@020b0000 { /* GPIO6 */
#interrupt-cells = <1>;
};
gpio
6: gpio@020b4000 { /* GPIO7 */
gpio
7: gpio@020b4000 {
compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio";
reg = <0x020b4000 0x4000>;
interrupts = <0 78 0x04 0 79 0x04>;
...
...
@@ -543,28 +543,28 @@ vdoa@021e4000 {
interrupts = <0 18 0x04>;
};
uart
1: uart@021e8000 { /* UART2 */
uart
2: uart@021e8000 {
compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
reg = <0x021e8000 0x4000>;
interrupts = <0 27 0x04>;
status = "disabled";
};
uart
2: uart@021ec000 { /* UART3 */
uart
3: uart@021ec000 {
compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
reg = <0x021ec000 0x4000>;
interrupts = <0 28 0x04>;
status = "disabled";
};
uart
3: uart@021f0000 { /* UART4 */
uart
4: uart@021f0000 {
compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
reg = <0x021f0000 0x4000>;
interrupts = <0 29 0x04>;
status = "disabled";
};
uart
4: uart@021f4000 { /* UART5 */
uart
5: uart@021f4000 {
compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
reg = <0x021f4000 0x4000>;
interrupts = <0 30 0x04>;
...
...
arch/arm/mach-imx/Makefile.boot
View file @
1bccc807
...
...
@@ -25,3 +25,6 @@ initrd_phys-$(CONFIG_SOC_IMX35) := 0x80800000
zreladdr-$(CONFIG_SOC_IMX6Q)
+=
0x10008000
params_phys-$(CONFIG_SOC_IMX6Q)
:=
0x10000100
initrd_phys-$(CONFIG_SOC_IMX6Q)
:=
0x10800000
dtb-$(CONFIG_SOC_IMX6Q)
+=
imx6q-arm2.dtb
\
imx6q-sabrelite.dtb
arch/arm/mach-imx/mach-imx6q.c
View file @
1bccc807
...
...
@@ -16,6 +16,8 @@
#include <linux/of.h>
#include <linux/of_irq.h>
#include <linux/of_platform.h>
#include <linux/phy.h>
#include <linux/micrel_phy.h>
#include <asm/hardware/cache-l2x0.h>
#include <asm/hardware/gic.h>
#include <asm/mach/arch.h>
...
...
@@ -23,8 +25,27 @@
#include <mach/common.h>
#include <mach/hardware.h>
/* For imx6q sabrelite board: set KSZ9021RN RGMII pad skew */
static
int
ksz9021rn_phy_fixup
(
struct
phy_device
*
phydev
)
{
/* min rx data delay */
phy_write
(
phydev
,
0x0b
,
0x8105
);
phy_write
(
phydev
,
0x0c
,
0x0000
);
/* max rx/tx clock delay, min rx/tx control delay */
phy_write
(
phydev
,
0x0b
,
0x8104
);
phy_write
(
phydev
,
0x0c
,
0xf0f0
);
phy_write
(
phydev
,
0x0b
,
0x104
);
return
0
;
}
static
void
__init
imx6q_init_machine
(
void
)
{
if
(
of_machine_is_compatible
(
"fsl,imx6q-sabrelite"
))
phy_register_fixup_for_uid
(
PHY_ID_KSZ9021
,
MICREL_PHY_ID_MASK
,
ksz9021rn_phy_fixup
);
of_platform_populate
(
NULL
,
of_default_bus_match_table
,
NULL
,
NULL
);
imx6q_pm_init
();
...
...
@@ -72,7 +93,8 @@ static struct sys_timer imx6q_timer = {
};
static
const
char
*
imx6q_dt_compat
[]
__initdata
=
{
"fsl,imx6q-sabreauto"
,
"fsl,imx6q-arm2"
,
"fsl,imx6q-sabrelite"
,
NULL
,
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment