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