]>
Commit | Line | Data |
---|---|---|
e2eaa339 AL |
1 | /* |
2 | * Marvell RD88F6181 Common Board descrition | |
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 two | |
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"; | |
ab833614 | 25 | stdout-path = &uart0; |
e2eaa339 AL |
26 | }; |
27 | ||
e2eaa339 | 28 | ocp@f1000000 { |
a9483969 | 29 | pinctrl: pin-controller@10000 { |
e2eaa339 AL |
30 | pinctrl-names = "default"; |
31 | ||
32 | pmx_sdio_cd: pmx-sdio-cd { | |
33 | marvell,pins = "mpp28"; | |
34 | marvell,function = "gpio"; | |
35 | }; | |
36 | }; | |
37 | ||
38 | serial@12000 { | |
39 | status = "okay"; | |
40 | ||
41 | }; | |
42 | ||
43 | sata@80000 { | |
44 | status = "okay"; | |
45 | nr-ports = <2>; | |
46 | }; | |
47 | mvsdio@90000 { | |
48 | pinctrl-0 = <&pmx_sdio &pmx_sdio_cd>; | |
49 | pinctrl-names = "default"; | |
50 | status = "okay"; | |
51 | cd-gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>; | |
52 | /* No WP GPIO */ | |
53 | }; | |
54 | }; | |
55 | ||
689168aa | 56 | dsa { |
e2eaa339 AL |
57 | compatible = "marvell,dsa"; |
58 | #address-cells = <2>; | |
59 | #size-cells = <0>; | |
60 | ||
4f5e01e9 AL |
61 | dsa,ethernet = <ð0port>; |
62 | dsa,mii-bus = <&mdio>; | |
e2eaa339 AL |
63 | |
64 | switch@0 { | |
65 | #address-cells = <1>; | |
66 | #size-cells = <0>; | |
67 | ||
68 | port@0 { | |
69 | reg = <0>; | |
70 | label = "lan1"; | |
71 | }; | |
72 | ||
73 | port@1 { | |
74 | reg = <1>; | |
75 | label = "lan2"; | |
76 | }; | |
77 | ||
78 | port@2 { | |
79 | reg = <2>; | |
80 | label = "lan3"; | |
81 | }; | |
82 | ||
83 | port@3 { | |
84 | reg = <3>; | |
85 | label = "lan4"; | |
86 | }; | |
87 | ||
88 | port@5 { | |
89 | reg = <5>; | |
90 | label = "cpu"; | |
91 | }; | |
92 | }; | |
93 | }; | |
94 | }; | |
95 | ||
96 | &nand { | |
97 | status = "okay"; | |
98 | ||
99 | partition@0 { | |
100 | label = "u-boot"; | |
101 | reg = <0x0000000 0x100000>; | |
102 | read-only; | |
103 | }; | |
104 | ||
105 | partition@100000 { | |
106 | label = "uImage"; | |
107 | reg = <0x0100000 0x200000>; | |
108 | }; | |
109 | ||
110 | partition@300000 { | |
4f5e01e9 | 111 | label = "rootfs"; |
e2eaa339 AL |
112 | reg = <0x0300000 0x500000>; |
113 | }; | |
114 | }; | |
115 | ||
116 | &mdio { | |
117 | status = "okay"; | |
e2eaa339 AL |
118 | }; |
119 | ||
120 | ð0 { | |
121 | status = "okay"; | |
122 | ethernet0-port@0 { | |
4f5e01e9 AL |
123 | speed = <1000>; |
124 | duplex = <1>; | |
e2eaa339 AL |
125 | }; |
126 | }; | |
eb13cf83 AL |
127 | |
128 | &pciec { | |
129 | status = "okay"; | |
130 | }; | |
131 | ||
132 | &pcie0 { | |
133 | status = "okay"; | |
134 | }; |