kernel: bump 4.14 to 4.14.50 for 18.06
[openwrt/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 ethernet@40400000 {
32 status = "okay";
33 };
34
35 ehci@40200100 {
36 status = "okay";
37 };
38
39 pinctrl {
40 leds {
41 pinctrl_leds: leds-0 {
42 plxtech,pins =
43 <0 2 0 0 /* MF_A2 */
44 1 16 0 0 /* MF_B16 */
45 1 17 0 0>; /* MF_B17 */
46 };
47 };
48 };
49
50 leds {
51 compatible = "gpio-leds";
52 pinctrl-names = "default";
53 pinctrl-0 = <&pinctrl_leds>;
54
55 blue {
56 label = "pogoplug:blue:internal";
57 gpios = <&GPIOA 2 0>;
58
59 };
60
61 orange {
62 label = "pogoplug:orange:usr";
63 gpios = <&GPIOB 16 1>;
64 };
65
66 green {
67 label = "pogoplug:green:usr";
68 gpios = <&GPIOB 17 1>;
69 };
70 };
71 };
72
73 &nandc {
74 status = "okay";
75
76 nand@0 {
77 reg = <0>;
78 #address-cells = <1>;
79 #size-cells = <1>;
80 nand-ecc-mode = "soft";
81 nand-ecc-algo = "hamming";
82
83 partition@0 {
84 label = "boot";
85 reg = <0x00000000 0x00e00000>;
86 /*read-only;*/
87 };
88
89 partition@e00000 {
90 label = "ubi";
91 reg = <0x00e00000 0x07200000>;
92 };
93 };
94 };