Skip to content

Commit f6a26ae

Browse files
committed
Merge tag 'boards' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull arm-soc board specific changes from Olof Johansson: "While we generally attempt to get rid of board specific files and replace them with device tree based descriptions, a lot of platforms have not come that far: In shmobile, we add two new board files because their recently started effort to add DT support has not proceeded enough to use it for all of the important hardware. In Kirkwood, we are adding support for new boards with a combination of DT and board file contents in multiple cases. pxa/mmp and imx are extending support for existing board files but not adding new ones." Fix up trivial conflicts in arch/arm/mach-{mmp/ttc_dkb.c,shmobile/{Kconfig,Makefile}} * tag 'boards' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (94 commits) ARM: shmobile: fix smp build ARM: kirkwood: Add support for RaidSonic IB-NAS6210/6220 using devicetree kirkwood: Add iconnect support orion/kirkwood: create a generic function for gpio led blinking kirkwood/orion: fix orion_gpio_set_blink ARM: kirkwood: Define DNS-320/DNS-325 NAND in fdt kirkwood: Allow nand to be configured via. devicetree mtd: Add orion_nand devicetree bindings ARM: kirkwood: Basic support for DNS-320 and DNS-325 ARM: mach-shmobile: Use DT_MACHINE for armadillo 800 eva ARM: mach-shmobile: Use DT_MACHINE for KZM9G ARM: pxa: hx4700: Add Synaptics NavPoint touchpad ARM: pxa: Use REGULATOR_SUPPLY macro ARM: mach-shmobile: kzm9g: enable SMP boot ARM: mach-shmobile: kzm9g: defconfig update ARM: mach-shmobile: kzm9g: add PCF8757 gpio-key ARM: mach-shmobile: kzm9g: add SDHI support ARM: mach-shmobile: kzm9g: add MMCIF support ARM: mach-shmobile: kzm9g: correct screen direction ARM: mach-shmobile: sh73a0.h: add GPIO_NR ...
2 parents cdd3a35 + 48a5765 commit f6a26ae

99 files changed

Lines changed: 4393 additions & 823 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.
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
NAND support for Marvell Orion SoC platforms
2+
3+
Required properties:
4+
- compatible : "mrvl,orion-nand".
5+
- reg : Base physical address of the NAND and length of memory mapped
6+
region
7+
8+
Optional properties:
9+
- cle : Address line number connected to CLE. Default is 0
10+
- ale : Address line number connected to ALE. Default is 1
11+
- bank-width : Width in bytes of the device. Default is 1
12+
- chip-delay : Chip dependent delay for transferring data from array to read
13+
registers in usecs
14+
15+
The device tree may optionally contain sub-nodes describing partitions of the
16+
address space. See partition.txt for more detail.
17+
18+
Example:
19+
20+
nand@f4000000 {
21+
#address-cells = <1>;
22+
#size-cells = <1>;
23+
cle = <0>;
24+
ale = <1>;
25+
bank-width = <1>;
26+
chip-delay = <25>;
27+
compatible = "mrvl,orion-nand";
28+
reg = <0xf4000000 0x400>;
29+
30+
partition@0 {
31+
label = "u-boot";
32+
reg = <0x0000000 0x100000>;
33+
read-only;
34+
};
35+
36+
partition@100000 {
37+
label = "uImage";
38+
reg = <0x0100000 0x200000>;
39+
};
40+
41+
partition@300000 {
42+
label = "dtb";
43+
reg = <0x0300000 0x100000>;
44+
};
45+
46+
partition@400000 {
47+
label = "root";
48+
reg = <0x0400000 0x7d00000>;
49+
};
50+
};
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
/dts-v1/;
2+
3+
/include/ "kirkwood.dtsi"
4+
5+
/ {
6+
model = "D-Link DNS-320 NAS (Rev A1)";
7+
compatible = "dlink,dns-320-a1", "dlink,dns-320", "dlink,dns-kirkwood", "mrvl,kirkwood-88f6281", "mrvl,kirkwood";
8+
9+
memory {
10+
device_type = "memory";
11+
reg = <0x00000000 0x8000000>;
12+
};
13+
14+
chosen {
15+
bootargs = "console=ttyS0,115200n8 earlyprintk";
16+
};
17+
18+
ocp@f1000000 {
19+
serial@12000 {
20+
clock-frequency = <166666667>;
21+
status = "okay";
22+
};
23+
24+
serial@12100 {
25+
clock-frequency = <166666667>;
26+
status = "okay";
27+
};
28+
29+
nand@3000000 {
30+
status = "okay";
31+
32+
partition@0 {
33+
label = "u-boot";
34+
reg = <0x0000000 0x100000>;
35+
read-only;
36+
};
37+
38+
partition@100000 {
39+
label = "uImage";
40+
reg = <0x0100000 0x500000>;
41+
};
42+
43+
partition@600000 {
44+
label = "ramdisk";
45+
reg = <0x0600000 0x500000>;
46+
};
47+
48+
partition@b00000 {
49+
label = "image";
50+
reg = <0x0b00000 0x6600000>;
51+
};
52+
53+
partition@7100000 {
54+
label = "mini firmware";
55+
reg = <0x7100000 0xa00000>;
56+
};
57+
58+
partition@7b00000 {
59+
label = "config";
60+
reg = <0x7b00000 0x500000>;
61+
};
62+
};
63+
};
64+
};
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
/dts-v1/;
2+
3+
/include/ "kirkwood.dtsi"
4+
5+
/ {
6+
model = "D-Link DNS-325 NAS (Rev A1)";
7+
compatible = "dlink,dns-325-a1", "dlink,dns-325", "dlink,dns-kirkwood", "mrvl,kirkwood-88f6281", "mrvl,kirkwood";
8+
9+
memory {
10+
device_type = "memory";
11+
reg = <0x00000000 0x10000000>;
12+
};
13+
14+
chosen {
15+
bootargs = "console=ttyS0,115200n8 earlyprintk";
16+
};
17+
18+
ocp@f1000000 {
19+
serial@12000 {
20+
clock-frequency = <200000000>;
21+
status = "okay";
22+
};
23+
24+
nand@3000000 {
25+
status = "okay";
26+
27+
partition@0 {
28+
label = "u-boot";
29+
reg = <0x0000000 0x100000>;
30+
read-only;
31+
};
32+
33+
partition@100000 {
34+
label = "uImage";
35+
reg = <0x0100000 0x500000>;
36+
};
37+
38+
partition@600000 {
39+
label = "ramdisk";
40+
reg = <0x0600000 0x500000>;
41+
};
42+
43+
partition@b00000 {
44+
label = "image";
45+
reg = <0x0b00000 0x6600000>;
46+
};
47+
48+
partition@7100000 {
49+
label = "mini firmware";
50+
reg = <0x7100000 0xa00000>;
51+
};
52+
53+
partition@7b00000 {
54+
label = "config";
55+
reg = <0x7b00000 0x500000>;
56+
};
57+
};
58+
};
59+
};
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
/dts-v1/;
2+
3+
/include/ "kirkwood.dtsi"
4+
5+
/ {
6+
model = "RaidSonic ICY BOX IB-NAS62x0 (Rev B)";
7+
compatible = "raidsonic,ib-nas6210-b", "raidsonic,ib-nas6220-b", "raidsonic,ib-nas6210", "raidsonic,ib-nas6220", "raidsonic,ib-nas62x0", "mrvl,kirkwood-88f6281", "mrvl,kirkwood";
8+
9+
memory {
10+
device_type = "memory";
11+
reg = <0x00000000 0x10000000>;
12+
};
13+
14+
chosen {
15+
bootargs = "console=ttyS0,115200n8 earlyprintk";
16+
};
17+
18+
ocp@f1000000 {
19+
serial@12000 {
20+
clock-frequency = <200000000>;
21+
status = "okay";
22+
};
23+
24+
nand@3000000 {
25+
status = "okay";
26+
27+
partition@0 {
28+
label = "u-boot";
29+
reg = <0x0000000 0x100000>;
30+
};
31+
32+
partition@100000 {
33+
label = "uImage";
34+
reg = <0x0100000 0x600000>;
35+
};
36+
37+
partition@700000 {
38+
label = "root";
39+
reg = <0x0700000 0xf900000>;
40+
};
41+
42+
};
43+
};
44+
};
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/dts-v1/;
2+
3+
/include/ "kirkwood.dtsi"
4+
5+
/ {
6+
model = "Iomega Iconnect";
7+
compatible = "iom,iconnect-1.1", "iom,iconnect", "mrvl,kirkwood-88f6281", "mrvl,kirkwood";
8+
9+
memory {
10+
device_type = "memory";
11+
reg = <0x00000000 0x10000000>;
12+
};
13+
14+
chosen {
15+
bootargs = "console=ttyS0,115200n8 earlyprintk mtdparts=orion_nand:0xc0000@0x0(uboot),0x20000@0xa0000(env),0x300000@0x100000(zImage),0x300000@0x540000(initrd),0x1f400000@0x980000(boot)";
16+
linux,initrd-start = <0x4500040>;
17+
linux,initrd-end = <0x4800000>;
18+
};
19+
20+
ocp@f1000000 {
21+
serial@12000 {
22+
clock-frequency = <200000000>;
23+
status = "ok";
24+
};
25+
};
26+
};

‎arch/arm/boot/dts/kirkwood.dtsi‎

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
ocp@f1000000 {
77
compatible = "simple-bus";
8-
ranges = <0 0xf1000000 0x1000000>;
8+
ranges = <0 0xf1000000 0x4000000>;
99
#address-cells = <1>;
1010
#size-cells = <1>;
1111

@@ -32,5 +32,18 @@
3232
reg = <0x10300 0x20>;
3333
interrupts = <53>;
3434
};
35+
36+
nand@3000000 {
37+
#address-cells = <1>;
38+
#size-cells = <1>;
39+
cle = <0>;
40+
ale = <1>;
41+
bank-width = <1>;
42+
compatible = "mrvl,orion-nand";
43+
reg = <0x3000000 0x400>;
44+
chip-delay = <25>;
45+
/* set partition map and/or chip-delay in board dts */
46+
status = "disabled";
47+
};
3548
};
3649
};
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/*
2+
* Device Tree Source for the armadillo 800 eva board
3+
*
4+
* Copyright (C) 2012 Renesas Solutions Corp.
5+
*
6+
* This file is licensed under the terms of the GNU General Public License
7+
* version 2. This program is licensed "as is" without any warranty of any
8+
* kind, whether express or implied.
9+
*/
10+
11+
/dts-v1/;
12+
/include/ "skeleton.dtsi"
13+
14+
/ {
15+
model = "armadillo 800 eva";
16+
compatible = "renesas,armadillo800eva";
17+
18+
memory {
19+
device_type = "memory";
20+
reg = <0x40000000 0x20000000>;
21+
};
22+
};

‎arch/arm/boot/dts/sh73a0-kzm9g.dts‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/*
2+
* Device Tree Source for the KZM-A9-GT board
3+
*
4+
* Copyright (C) 2012 Renesas Solutions Corp.
5+
*
6+
* This file is licensed under the terms of the GNU General Public License
7+
* version 2. This program is licensed "as is" without any warranty of any
8+
* kind, whether express or implied.
9+
*/
10+
11+
/dts-v1/;
12+
/include/ "skeleton.dtsi"
13+
14+
/ {
15+
model = "KZM-A9-GT";
16+
compatible = "renesas,kzm9g", "renesas,sh73a0";
17+
18+
memory {
19+
device_type = "memory";
20+
reg = <0x41000000 0x1e800000>;
21+
};
22+
};

0 commit comments

Comments
 (0)