diff options
-rw-r--r-- | arch/arm/boot/dts/Makefile | 3 | ||||
-rw-r--r-- | arch/arm/boot/dts/kirkwood-openrd-base.dts | 42 | ||||
-rw-r--r-- | arch/arm/boot/dts/kirkwood-openrd-client.dts | 73 | ||||
-rw-r--r-- | arch/arm/boot/dts/kirkwood-openrd-ultimate.dts | 58 | ||||
-rw-r--r-- | arch/arm/boot/dts/kirkwood-openrd.dtsi | 90 |
5 files changed, 266 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 35c146f31e46..4dfd5bd570e6 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile | |||
@@ -128,6 +128,9 @@ kirkwood := \ | |||
128 | kirkwood-nsa310a.dtb \ | 128 | kirkwood-nsa310a.dtb \ |
129 | kirkwood-openblocks_a6.dtb \ | 129 | kirkwood-openblocks_a6.dtb \ |
130 | kirkwood-openblocks_a7.dtb \ | 130 | kirkwood-openblocks_a7.dtb \ |
131 | kirkwood-openrd-base.dtb \ | ||
132 | kirkwood-openrd-client.dtb \ | ||
133 | kirkwood-openrd-ultimate.dtb \ | ||
131 | kirkwood-rd88f6192.dtb \ | 134 | kirkwood-rd88f6192.dtb \ |
132 | kirkwood-rd88f6281-a0.dtb \ | 135 | kirkwood-rd88f6281-a0.dtb \ |
133 | kirkwood-rd88f6281-a1.dtb \ | 136 | kirkwood-rd88f6281-a1.dtb \ |
diff --git a/arch/arm/boot/dts/kirkwood-openrd-base.dts b/arch/arm/boot/dts/kirkwood-openrd-base.dts new file mode 100644 index 000000000000..8af58999606d --- /dev/null +++ b/arch/arm/boot/dts/kirkwood-openrd-base.dts | |||
@@ -0,0 +1,42 @@ | |||
1 | /* | ||
2 | * Marvell OpenRD Base 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 specific to OpenRD | ||
11 | * base variant of the Marvell Kirkwood Development Board. | ||
12 | */ | ||
13 | |||
14 | /dts-v1/; | ||
15 | |||
16 | #include "kirkwood-openrd.dtsi" | ||
17 | |||
18 | / { | ||
19 | model = "OpenRD Base"; | ||
20 | compatible = "marvell,openrd-base", "marvell,openrd", "marvell,kirkwood-88f6281", "marvell,kirkwood"; | ||
21 | |||
22 | ocp@f1000000 { | ||
23 | serial@12100 { | ||
24 | status = "okay"; | ||
25 | }; | ||
26 | }; | ||
27 | }; | ||
28 | |||
29 | &mdio { | ||
30 | status = "okay"; | ||
31 | |||
32 | ethphy0: ethernet-phy@8 { | ||
33 | reg = <8>; | ||
34 | }; | ||
35 | }; | ||
36 | |||
37 | ð0 { | ||
38 | status = "okay"; | ||
39 | ethernet0-port@0 { | ||
40 | phy-handle = <ðphy0>; | ||
41 | }; | ||
42 | }; | ||
diff --git a/arch/arm/boot/dts/kirkwood-openrd-client.dts b/arch/arm/boot/dts/kirkwood-openrd-client.dts new file mode 100644 index 000000000000..887b9c1fee43 --- /dev/null +++ b/arch/arm/boot/dts/kirkwood-openrd-client.dts | |||
@@ -0,0 +1,73 @@ | |||
1 | /* | ||
2 | * Marvell OpenRD Client 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 specific to OpenRD | ||
11 | * client variant of the Marvell Kirkwood Development Board. | ||
12 | */ | ||
13 | |||
14 | /dts-v1/; | ||
15 | |||
16 | #include "kirkwood-openrd.dtsi" | ||
17 | |||
18 | / { | ||
19 | model = "OpenRD Client"; | ||
20 | compatible = "marvell,openrd-client", "marvell,openrd", "marvell,kirkwood-88f6281", "marvell,kirkwood"; | ||
21 | |||
22 | ocp@f1000000 { | ||
23 | i2c@11000 { | ||
24 | status = "okay"; | ||
25 | clock-frequency = <400000>; | ||
26 | |||
27 | cs42l51: cs42l51@4a { | ||
28 | compatible = "cirrus,cs42l51"; | ||
29 | reg = <0x4a>; | ||
30 | }; | ||
31 | }; | ||
32 | }; | ||
33 | |||
34 | sound { | ||
35 | compatible = "simple-audio-card"; | ||
36 | simple-audio-card,format = "i2s"; | ||
37 | simple-audio-card,mclk-fs = <256>; | ||
38 | |||
39 | simple-audio-card,cpu { | ||
40 | sound-dai = <&audio0>; | ||
41 | }; | ||
42 | |||
43 | simple-audio-card,codec { | ||
44 | sound-dai = <&cs42l51>; | ||
45 | }; | ||
46 | }; | ||
47 | }; | ||
48 | |||
49 | &mdio { | ||
50 | status = "okay"; | ||
51 | |||
52 | ethphy0: ethernet-phy@8 { | ||
53 | reg = <8>; | ||
54 | }; | ||
55 | ethphy1: ethernet-phy@24 { | ||
56 | reg = <24>; | ||
57 | }; | ||
58 | }; | ||
59 | |||
60 | ð0 { | ||
61 | status = "okay"; | ||
62 | ethernet0-port@0 { | ||
63 | phy-handle = <ðphy0>; | ||
64 | }; | ||
65 | }; | ||
66 | |||
67 | ð1 { | ||
68 | status = "okay"; | ||
69 | ethernet1-port@0 { | ||
70 | phy-handle = <ðphy1>; | ||
71 | }; | ||
72 | }; | ||
73 | |||
diff --git a/arch/arm/boot/dts/kirkwood-openrd-ultimate.dts b/arch/arm/boot/dts/kirkwood-openrd-ultimate.dts new file mode 100644 index 000000000000..9f12f8b53e24 --- /dev/null +++ b/arch/arm/boot/dts/kirkwood-openrd-ultimate.dts | |||
@@ -0,0 +1,58 @@ | |||
1 | /* | ||
2 | * Marvell OpenRD 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 specific to OpenRD | ||
11 | * ultimate variant of the Marvell Kirkwood Development Board. | ||
12 | */ | ||
13 | |||
14 | /dts-v1/; | ||
15 | |||
16 | #include "kirkwood-openrd.dtsi" | ||
17 | |||
18 | / { | ||
19 | model = "OpenRD Ultimate"; | ||
20 | compatible = "marvell,openrd-ultimate", "marvell,openrd", "marvell,kirkwood-88f6281", "marvell,kirkwood"; | ||
21 | |||
22 | ocp@f1000000 { | ||
23 | i2c@11000 { | ||
24 | status = "okay"; | ||
25 | clock-frequency = <400000>; | ||
26 | |||
27 | cs42l51: cs42l51@4a { | ||
28 | compatible = "cirrus,cs42l51"; | ||
29 | reg = <0x4a>; | ||
30 | }; | ||
31 | }; | ||
32 | }; | ||
33 | }; | ||
34 | |||
35 | &mdio { | ||
36 | status = "okay"; | ||
37 | |||
38 | ethphy0: ethernet-phy@0 { | ||
39 | reg = <0>; | ||
40 | }; | ||
41 | ethphy1: ethernet-phy@1 { | ||
42 | reg = <1>; | ||
43 | }; | ||
44 | }; | ||
45 | |||
46 | ð0 { | ||
47 | status = "okay"; | ||
48 | ethernet0-port@0 { | ||
49 | phy-handle = <ðphy0>; | ||
50 | }; | ||
51 | }; | ||
52 | |||
53 | ð1 { | ||
54 | status = "okay"; | ||
55 | ethernet1-port@0 { | ||
56 | phy-handle = <ðphy1>; | ||
57 | }; | ||
58 | }; | ||
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 | }; | ||