blob: 6affd924fe11c48df75653970cb92cbac7954591 [file] [log] [blame]
Simon Guinotecee1e42012-10-17 12:09:04 +02001/include/ "kirkwood.dtsi"
Simon Guinot4ea931e2013-01-08 15:36:18 +01002/include/ "kirkwood-6281.dtsi"
Simon Guinotecee1e42012-10-17 12:09:04 +02003
4/ {
5 chosen {
6 bootargs = "console=ttyS0,115200n8";
7 };
8
9 ocp@f1000000 {
Simon Guinot4ea931e2013-01-08 15:36:18 +010010 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
Simon Guinotecee1e42012-10-17 12:09:04 +020025 serial@12000 {
Simon Guinotecee1e42012-10-17 12:09:04 +020026 status = "okay";
27 };
28
29 spi@10600 {
30 status = "okay";
31
32 flash@0 {
33 #address-cells = <1>;
34 #size-cells = <1>;
35 compatible = "mx25l4005a";
36 reg = <0>;
37 spi-max-frequency = <20000000>;
38 mode = <0>;
39
40 partition@0 {
41 reg = <0x0 0x80000>;
42 label = "u-boot";
43 };
44 };
45 };
46
47 i2c@11000 {
48 status = "okay";
49
50 eeprom@50 {
51 compatible = "at,24c04";
52 pagesize = <16>;
53 reg = <0x50>;
54 };
55 };
56 };
57
58 gpio_keys {
59 compatible = "gpio-keys";
60 #address-cells = <1>;
61 #size-cells = <0>;
62
63 button@1 {
64 label = "Power push button";
65 linux,code = <116>;
66 gpios = <&gpio1 0 0>;
67 };
68 };
69
70 gpio-leds {
71 compatible = "gpio-leds";
72
73 red-fail {
74 label = "ns2:red:fail";
75 gpios = <&gpio0 12 0>;
76 };
77 };
Andrew Lunn102c9542012-12-28 15:14:10 +010078
79 gpio_poweroff {
80 compatible = "gpio-poweroff";
81 gpios = <&gpio0 31 0>;
82 };
83
Simon Guinotecee1e42012-10-17 12:09:04 +020084};