diff options
author | Andrew Lunn <andrew@lunn.ch> | 2014-05-11 15:30:39 -0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2014-05-16 01:20:38 -0400 |
commit | f81a8637a05dd22e3c7600eba75037be8b0af1ec (patch) | |
tree | 879c8dd67d209e7e81050510b062833e632cb1a7 /arch/arm/boot/dts/kirkwood-openrd.dtsi | |
parent | 191825c38eafeda033a73338f5a710fa6fd5b3d6 (diff) |
ARM: Kirkwood: DT versions of OpenRD boards
Create DTS files to describe the Marvell OpenRD boards.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lkml.kernel.org/r/1399836639-1918-1-git-send-email-andrew@lunn.ch
Tested-by: Francois Lorrain <francois.lorrain@gmail.com>
Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/boot/dts/kirkwood-openrd.dtsi')
-rw-r--r-- | arch/arm/boot/dts/kirkwood-openrd.dtsi | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/kirkwood-openrd.dtsi b/arch/arm/boot/dts/kirkwood-openrd.dtsi new file mode 100644 index 000000000000..d3330dadf7ed --- /dev/null +++ b/arch/arm/boot/dts/kirkwood-openrd.dtsi | |||
@@ -0,0 +1,90 @@ | |||
1 | /* | ||
2 | * Marvell OpenRD (Base|Client|Ultimate) Board Description | ||
3 | * | ||
4 | * Andrew Lunn <andrew@lunn.ch> | ||
5 | * | ||
6 | * This file is licensed under the terms of the GNU General Public | ||
7 | * License version 2. This program is licensed "as is" without any | ||
8 | * warranty of any kind, whether express or implied. | ||
9 | * | ||
10 | * This file contains the definitions that are common between the three | ||
11 | * variants of the Marvell Kirkwood Development Board. | ||
12 | */ | ||
13 | |||
14 | #include "kirkwood.dtsi" | ||
15 | #include "kirkwood-6281.dtsi" | ||
16 | |||
17 | / { | ||
18 | memory { | ||
19 | device_type = "memory"; | ||
20 | reg = <0x00000000 0x20000000>; | ||
21 | }; | ||
22 | |||
23 | chosen { | ||
24 | bootargs = "console=ttyS0,115200n8"; | ||
25 | stdout-path = &uart0; | ||
26 | }; | ||
27 | |||
28 | mbus { | ||
29 | pcie-controller { | ||
30 | status = "okay"; | ||
31 | |||
32 | pcie@1,0 { | ||
33 | status = "okay"; | ||
34 | }; | ||
35 | }; | ||
36 | }; | ||
37 | |||
38 | ocp@f1000000 { | ||
39 | pinctrl: pin-controller@10000 { | ||
40 | pinctrl-0 = <&pmx_select28 &pmx_sdio_cd &pmx_select34>; | ||
41 | pinctrl-names = "default"; | ||
42 | |||
43 | pmx_select28: pmx-select-uart-sd { | ||
44 | marvell,pins = "mpp28"; | ||
45 | marvell,function = "gpio"; | ||
46 | }; | ||
47 | pmx_sdio_cd: pmx-sdio-cd { | ||
48 | marvell,pins = "mpp29"; | ||
49 | marvell,function = "gpio"; | ||
50 | }; | ||
51 | pmx_select34: pmx-select-rs232-rs484 { | ||
52 | marvell,pins = "mpp34"; | ||
53 | marvell,function = "gpio"; | ||
54 | }; | ||
55 | }; | ||
56 | serial@12000 { | ||
57 | status = "okay"; | ||
58 | |||
59 | }; | ||
60 | sata@80000 { | ||
61 | status = "okay"; | ||
62 | nr-ports = <2>; | ||
63 | }; | ||
64 | mvsdio@90000 { | ||
65 | status = "okay"; | ||
66 | cd-gpios = <&gpio0 29 9>; | ||
67 | }; | ||
68 | }; | ||
69 | }; | ||
70 | |||
71 | &nand { | ||
72 | status = "okay"; | ||
73 | pinctrl-0 = <&pmx_nand>; | ||
74 | pinctrl-names = "default"; | ||
75 | |||
76 | partition@0 { | ||
77 | label = "u-boot"; | ||
78 | reg = <0x0000000 0x100000>; | ||
79 | }; | ||
80 | |||
81 | partition@100000 { | ||
82 | label = "uImage"; | ||
83 | reg = <0x0100000 0x400000>; | ||
84 | }; | ||
85 | |||
86 | partition@600000 { | ||
87 | label = "root"; | ||
88 | reg = <0x0600000 0x1FA00000>; | ||
89 | }; | ||
90 | }; | ||