]>
Commit | Line | Data |
---|---|---|
dd943170 AL |
1 | /* |
2 | * Marvell RD88F6192 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 three | |
11 | * variants of the Marvell Kirkwood Development Board. | |
12 | */ | |
13 | /dts-v1/; | |
14 | ||
15 | #include "kirkwood.dtsi" | |
16 | #include "kirkwood-6192.dtsi" | |
17 | ||
18 | / { | |
19 | model = "Marvell RD88F6192 reference design"; | |
20 | compatible = "marvell,rd88f6192", "marvell,kirkwood-88f6192", "marvell,kirkwood"; | |
21 | ||
22 | memory { | |
23 | device_type = "memory"; | |
24 | reg = <0x00000000 0x20000000>; | |
25 | }; | |
26 | ||
27 | chosen { | |
28 | bootargs = "console=ttyS0,115200n8"; | |
ab833614 | 29 | stdout-path = &uart0; |
dd943170 AL |
30 | }; |
31 | ||
32 | mbus { | |
33 | pcie-controller { | |
34 | status = "okay"; | |
35 | ||
36 | pcie@1,0 { | |
37 | status = "okay"; | |
38 | }; | |
39 | }; | |
40 | }; | |
41 | ||
42 | ocp@f1000000 { | |
a9483969 | 43 | pinctrl: pin-controller@10000 { |
dd943170 AL |
44 | pinctrl-0 = <&pmx_usb_power>; |
45 | pinctrl-names = "default"; | |
46 | ||
47 | pmx_usb_power: pmx-usb-power { | |
48 | marvell,pins = "mpp10"; | |
49 | marvell,function = "gpo"; | |
50 | }; | |
51 | }; | |
52 | ||
53 | serial@12000 { | |
54 | status = "okay"; | |
55 | ||
56 | }; | |
57 | ||
58 | spi@10600 { | |
59 | status = "okay"; | |
dd943170 AL |
60 | |
61 | m25p128@0 { | |
62 | #address-cells = <1>; | |
63 | #size-cells = <1>; | |
943d45aa | 64 | compatible = "st,m25p128", "jedec,spi-nor"; |
dd943170 AL |
65 | reg = <0>; |
66 | spi-max-frequency = <20000000>; | |
67 | mode = <0>; | |
68 | }; | |
69 | }; | |
70 | ||
71 | sata@80000 { | |
72 | status = "okay"; | |
73 | nr-ports = <2>; | |
74 | }; | |
75 | }; | |
76 | ||
77 | regulators { | |
78 | compatible = "simple-bus"; | |
79 | #address-cells = <1>; | |
80 | #size-cells = <0>; | |
81 | pinctrl-0 = <&pmx_usb_power>; | |
82 | pinctrl-names = "default"; | |
83 | ||
84 | usb_power: regulator@0 { | |
85 | compatible = "regulator-fixed"; | |
86 | reg = <0>; | |
87 | regulator-name = "USB VBUS"; | |
88 | regulator-min-microvolt = <5000000>; | |
89 | regulator-max-microvolt = <5000000>; | |
90 | enable-active-high; | |
91 | regulator-always-on; | |
92 | regulator-boot-on; | |
93 | gpio = <&gpio0 10 GPIO_ACTIVE_HIGH>; | |
94 | }; | |
95 | }; | |
96 | }; | |
97 | ||
98 | &mdio { | |
99 | status = "okay"; | |
100 | ||
101 | ethphy0: ethernet-phy@8 { | |
102 | reg = <8>; | |
103 | }; | |
104 | }; | |
105 | ||
106 | ð0 { | |
107 | status = "okay"; | |
108 | ethernet0-port@0 { | |
109 | phy-handle = <ðphy0>; | |
110 | }; | |
111 | }; |