blob: e8e7ecef1650e3bb9ad6b73d43382a0946a4abff [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 {
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 };
Andrew Lunn102c9542012-12-28 15:14:10 +010079
80 gpio_poweroff {
81 compatible = "gpio-poweroff";
82 gpios = <&gpio0 31 0>;
83 };
84
Simon Guinotecee1e42012-10-17 12:09:04 +020085};