Commit | Line | Data |
---|---|---|
5492a110 SP |
1 | /dts-v1/; |
2 | ||
3 | /include/ "kirkwood.dtsi" | |
de64ee5e | 4 | /include/ "kirkwood-6281.dtsi" |
5492a110 SP |
5 | |
6 | / { | |
7 | model = "MPL CEC4"; | |
8 | compatible = "mpl,cec4-10", "mpl,cec4", "marvell,kirkwood-88f6281", "marvell,kirkwood"; | |
9 | ||
10 | memory { | |
11 | device_type = "memory"; | |
12 | reg = <0x00000000 0x20000000>; | |
13 | }; | |
14 | ||
15 | chosen { | |
16 | bootargs = "console=ttyS0,115200n8 earlyprintk"; | |
17 | }; | |
18 | ||
19 | ocp@f1000000 { | |
de64ee5e SP |
20 | pinctrl: pinctrl@10000 { |
21 | ||
22 | pinctrl-0 = < &pmx_nand &pmx_uart0 | |
5dd8a010 | 23 | &pmx_led_health |
de64ee5e SP |
24 | &pmx_sata0 &pmx_sata1 |
25 | &pmx_led_user1o | |
26 | &pmx_led_user1g &pmx_led_user0o | |
27 | &pmx_led_user0g &pmx_led_misc | |
de64ee5e SP |
28 | >; |
29 | pinctrl-names = "default"; | |
30 | ||
31 | pmx_led_health: pmx-led-health { | |
32 | marvell,pins = "mpp7"; | |
33 | marvell,function = "gpo"; | |
34 | }; | |
35 | ||
36 | pmx_sata1: pmx-sata1 { | |
37 | marvell,pins = "mpp34"; | |
38 | marvell,function = "sata1"; | |
39 | }; | |
40 | ||
41 | pmx_sata0: pmx-sata0 { | |
42 | marvell,pins = "mpp35"; | |
43 | marvell,function = "sata0"; | |
44 | }; | |
45 | ||
46 | pmx_led_user1o: pmx-led-user1o { | |
47 | marvell,pins = "mpp40"; | |
48 | marvell,function = "gpio"; | |
49 | }; | |
50 | ||
51 | pmx_led_user1g: pmx-led-user1g { | |
52 | marvell,pins = "mpp41"; | |
53 | marvell,function = "gpio"; | |
54 | }; | |
55 | ||
56 | pmx_led_user0o: pmx-led-user0o { | |
57 | marvell,pins = "mpp44"; | |
58 | marvell,function = "gpio"; | |
59 | }; | |
60 | ||
61 | pmx_led_user0g: pmx-led-user0g { | |
62 | marvell,pins = "mpp45"; | |
63 | marvell,function = "gpio"; | |
64 | }; | |
65 | ||
66 | pmx_led_misc: pmx-led-misc { | |
67 | marvell,pins = "mpp46"; | |
68 | marvell,function = "gpio"; | |
69 | }; | |
70 | ||
71 | pmx_sdio_cd: pmx-sdio-cd { | |
72 | marvell,pins = "mpp47"; | |
73 | marvell,function = "gpio"; | |
74 | }; | |
75 | }; | |
76 | ||
5492a110 SP |
77 | i2c@11000 { |
78 | status = "okay"; | |
79 | ||
80 | rtc@51 { | |
81 | compatible = "nxp,pcf8563"; | |
82 | reg = <0x51>; | |
83 | }; | |
84 | ||
85 | eeprom@57 { | |
86 | compatible = "atmel,24c02"; | |
87 | reg = <0x57>; | |
88 | }; | |
89 | ||
90 | }; | |
91 | ||
92 | serial@12000 { | |
93 | clock-frequency = <200000000>; | |
94 | status = "ok"; | |
95 | }; | |
96 | ||
97 | nand@3000000 { | |
98 | status = "okay"; | |
99 | ||
100 | partition@0 { | |
101 | label = "uboot"; | |
102 | reg = <0x0000000 0x100000>; | |
103 | }; | |
104 | ||
105 | partition@100000 { | |
106 | label = "env"; | |
107 | reg = <0x100000 0x80000>; | |
108 | }; | |
109 | ||
110 | partition@180000 { | |
111 | label = "fdt"; | |
112 | reg = <0x180000 0x80000>; | |
113 | }; | |
114 | ||
115 | partition@200000 { | |
116 | label = "kernel"; | |
117 | reg = <0x200000 0x400000>; | |
118 | }; | |
119 | ||
120 | partition@600000 { | |
121 | label = "rootfs"; | |
122 | reg = <0x600000 0x1fa00000>; | |
123 | }; | |
124 | }; | |
125 | ||
126 | rtc@10300 { | |
127 | status = "disabled"; | |
128 | }; | |
129 | ||
130 | sata@80000 { | |
131 | nr-ports = <2>; | |
132 | status = "okay"; | |
133 | ||
134 | }; | |
5dd8a010 TP |
135 | |
136 | mvsdio@90000 { | |
137 | pinctrl-0 = <&pmx_sdio &pmx_sdio_cd>; | |
138 | pinctrl-names = "default"; | |
139 | status = "okay"; | |
140 | cd-gpios = <&gpio1 15 0>; | |
141 | /* No WP GPIO */ | |
142 | }; | |
5492a110 SP |
143 | }; |
144 | ||
145 | gpio-leds { | |
146 | compatible = "gpio-leds"; | |
147 | ||
148 | health { | |
149 | label = "status:green:health"; | |
150 | gpios = <&gpio0 7 1>; | |
151 | }; | |
152 | ||
153 | user1o { | |
154 | label = "user1:orange"; | |
155 | gpios = <&gpio1 8 1>; | |
156 | default-state = "on"; | |
157 | }; | |
158 | ||
159 | user1g { | |
160 | label = "user1:green"; | |
161 | gpios = <&gpio1 9 1>; | |
162 | default-state = "on"; | |
163 | }; | |
164 | ||
165 | user0o { | |
166 | label = "user0:orange"; | |
167 | gpios = <&gpio1 12 1>; | |
168 | default-state = "on"; | |
169 | }; | |
170 | ||
171 | user0g { | |
172 | label = "user0:green"; | |
173 | gpios = <&gpio1 13 1>; | |
174 | default-state = "on"; | |
175 | }; | |
176 | ||
177 | misc { | |
178 | label = "status:orange:misc"; | |
179 | gpios = <&gpio1 14 1>; | |
180 | default-state = "on"; | |
181 | }; | |
182 | ||
183 | }; | |
184 | }; | |
185 |