Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wirel...
[pandora-kernel.git] / arch / arm / boot / dts / kirkwood-ns2-common.dtsi
1 /include/ "kirkwood.dtsi"
2 /include/ "kirkwood-6281.dtsi"
3
4 / {
5         chosen {
6                 bootargs = "console=ttyS0,115200n8";
7         };
8
9         ocp@f1000000 {
10                 pinctrl: pinctrl@10000 {
11                         pinctrl-0 = < &pmx_spi &pmx_twsi0 &pmx_uart0
12                                         &pmx_ns2_sata0 &pmx_ns2_sata1>;
13                         pinctrl-names = "default";
14
15                         pmx_ns2_sata0: pmx-ns2-sata0 {
16                                 marvell,pins = "mpp21";
17                                 marvell,function = "sata0";
18                         };
19                         pmx_ns2_sata1: pmx-ns2-sata1 {
20                                 marvell,pins = "mpp20";
21                                 marvell,function = "sata1";
22                         };
23                 };
24
25                 serial@12000 {
26                         clock-frequency = <166666667>;
27                         status = "okay";
28                 };
29
30                 spi@10600 {
31                         status = "okay";
32
33                         flash@0 {
34                                 #address-cells = <1>;
35                                 #size-cells = <1>;
36                                 compatible = "mx25l4005a";
37                                 reg = <0>;
38                                 spi-max-frequency = <20000000>;
39                                 mode = <0>;
40
41                                 partition@0 {
42                                         reg = <0x0 0x80000>;
43                                         label = "u-boot";
44                                 };
45                         };
46                 };
47
48                 i2c@11000 {
49                         status = "okay";
50
51                         eeprom@50 {
52                                 compatible = "at,24c04";
53                                 pagesize = <16>;
54                                 reg = <0x50>;
55                         };
56                 };
57         };
58
59         gpio_keys {
60                 compatible = "gpio-keys";
61                 #address-cells = <1>;
62                 #size-cells = <0>;
63
64                 button@1 {
65                         label = "Power push button";
66                         linux,code = <116>;
67                         gpios = <&gpio1 0 0>;
68                 };
69         };
70
71         gpio-leds {
72                 compatible = "gpio-leds";
73
74                 red-fail {
75                         label = "ns2:red:fail";
76                         gpios = <&gpio0 12 0>;
77                 };
78         };
79 };