Merge branch 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelv...
[deliverable/linux.git] / arch / arm / boot / dts / kirkwood-mplcec4.dts
CommitLineData
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 20 pinctrl: pinctrl@10000 {
de64ee5e
SP
21 pmx_led_health: pmx-led-health {
22 marvell,pins = "mpp7";
23 marvell,function = "gpo";
24 };
25
26 pmx_sata1: pmx-sata1 {
27 marvell,pins = "mpp34";
28 marvell,function = "sata1";
29 };
30
31 pmx_sata0: pmx-sata0 {
32 marvell,pins = "mpp35";
33 marvell,function = "sata0";
34 };
35
36 pmx_led_user1o: pmx-led-user1o {
37 marvell,pins = "mpp40";
38 marvell,function = "gpio";
39 };
40
41 pmx_led_user1g: pmx-led-user1g {
42 marvell,pins = "mpp41";
43 marvell,function = "gpio";
44 };
45
46 pmx_led_user0o: pmx-led-user0o {
47 marvell,pins = "mpp44";
48 marvell,function = "gpio";
49 };
50
51 pmx_led_user0g: pmx-led-user0g {
52 marvell,pins = "mpp45";
53 marvell,function = "gpio";
54 };
55
56 pmx_led_misc: pmx-led-misc {
57 marvell,pins = "mpp46";
58 marvell,function = "gpio";
59 };
60
61 pmx_sdio_cd: pmx-sdio-cd {
62 marvell,pins = "mpp47";
63 marvell,function = "gpio";
64 };
65 };
66
5492a110
SP
67 i2c@11000 {
68 status = "okay";
69
70 rtc@51 {
71 compatible = "nxp,pcf8563";
72 reg = <0x51>;
73 };
74
75 eeprom@57 {
76 compatible = "atmel,24c02";
77 reg = <0x57>;
78 };
79
80 };
81
82 serial@12000 {
5492a110 83 status = "ok";
3740e681
TP
84 pinctrl-0 = <&pmx_uart0>;
85 pinctrl-names = "default";
5492a110
SP
86 };
87
88 nand@3000000 {
3740e681
TP
89 pinctrl-0 = <&pmx_nand>;
90 pinctrl-names = "default";
5492a110
SP
91 status = "okay";
92
93 partition@0 {
94 label = "uboot";
95 reg = <0x0000000 0x100000>;
96 };
97
98 partition@100000 {
99 label = "env";
100 reg = <0x100000 0x80000>;
101 };
102
103 partition@180000 {
104 label = "fdt";
105 reg = <0x180000 0x80000>;
106 };
107
108 partition@200000 {
109 label = "kernel";
110 reg = <0x200000 0x400000>;
111 };
112
113 partition@600000 {
114 label = "rootfs";
115 reg = <0x600000 0x1fa00000>;
116 };
117 };
118
119 rtc@10300 {
120 status = "disabled";
121 };
122
123 sata@80000 {
3740e681
TP
124 pinctrl-0 = <&pmx_sata0 &pmx_sata1>;
125 pinctrl-names = "default";
5492a110
SP
126 nr-ports = <2>;
127 status = "okay";
5492a110 128 };
5dd8a010
TP
129
130 mvsdio@90000 {
131 pinctrl-0 = <&pmx_sdio &pmx_sdio_cd>;
132 pinctrl-names = "default";
133 status = "okay";
d87b5fbb 134 cd-gpios = <&gpio1 15 1>;
5dd8a010
TP
135 /* No WP GPIO */
136 };
9470fbfb
TP
137
138 pcie-controller {
139 status = "okay";
140
141 pcie@1,0 {
142 status = "okay";
143 };
144 };
5492a110
SP
145 };
146
147 gpio-leds {
148 compatible = "gpio-leds";
3740e681
TP
149 pinctrl-0 = < &pmx_led_health
150 &pmx_led_user1o
151 &pmx_led_user1g &pmx_led_user0o
152 &pmx_led_user0g &pmx_led_misc
153 >;
154 pinctrl-names = "default";
5492a110
SP
155
156 health {
157 label = "status:green:health";
158 gpios = <&gpio0 7 1>;
159 };
160
161 user1o {
162 label = "user1:orange";
163 gpios = <&gpio1 8 1>;
164 default-state = "on";
165 };
166
167 user1g {
168 label = "user1:green";
169 gpios = <&gpio1 9 1>;
170 default-state = "on";
171 };
172
173 user0o {
174 label = "user0:orange";
175 gpios = <&gpio1 12 1>;
176 default-state = "on";
177 };
178
179 user0g {
180 label = "user0:green";
181 gpios = <&gpio1 13 1>;
182 default-state = "on";
183 };
184
185 misc {
186 label = "status:orange:misc";
187 gpios = <&gpio1 14 1>;
188 default-state = "on";
189 };
190
191 };
192};
193
This page took 0.098369 seconds and 5 git commands to generate.