add new target 'oxnas'
[openwrt.git] / target / linux / oxnas / files / arch / arm / boot / dts / ox820-pogoplug-pro.dts
1 /*
2  * Copyright (C) 2013 Ma Haijun <mahaijuns@gmail.com>
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  */
8
9 /dts-v1/;
10 #include "ox820.dtsi"
11
12 / {
13         model = "Pogoplug Pro";
14
15         chosen {
16                 bootargs = "console=ttyS0,115200n8 earlyprintk=serial";
17         };
18
19         pcie-controller@47C00000 {
20                 status = "okay";
21         };
22
23         uart@44200000 {
24                 status = "okay";
25         };
26
27         sata@45900000 {
28                 status = "okay";
29         };
30
31         nand@41000000 {
32                 status = "okay";
33
34                 partition@0 {
35                         label = "boot";
36                         reg = <0x00000000 0x00e00000>;
37                         /*read-only;*/
38                 };
39
40                 partition@e00000 {
41                         label = "ubi";
42                         reg = <0x00e00000 0x07200000>;
43                 };
44         };
45
46         ethernet@40400000 {
47                 status = "okay";
48         };
49
50         ehci@40200100 {
51                 status = "okay";
52         };
53
54         pinctrl {
55                 leds {
56                         pinctrl_leds: leds-0 {
57                                 plxtech,pins =
58                                         <0 2 0 0        /* MF_A2 */
59                                          1 16 0 0       /* MF_B16 */
60                                          1 17 0 0>;     /* MF_B17 */
61                         };
62                 };
63         };
64
65         leds {
66                 compatible = "gpio-leds";
67                 pinctrl-names = "default";
68                 pinctrl-0 = <&pinctrl_leds>;
69
70                 blue {
71                         label = "pogoplug:blue:internal";
72                         gpios = <&GPIOA 2 0>;
73
74                 };
75
76                 orange {
77                         label = "pogoplug:orange:usr";
78                         gpios = <&GPIOB 16 1>;
79                 };
80
81                 green {
82                         label = "pogoplug:green:usr";
83                         gpios = <&GPIOB 17 1>;
84                 };
85         };
86 };