oxnas: unify MTD partition names
[openwrt/staging/wigyori.git] / target / linux / oxnas / files / arch / arm / boot / dts / ox820-cloudengines-pogoplug-pro.dts
1 /*
2 * cloudengines-pogoplug-series-3.dtsi - Device tree file for Cloud Engines PogoPlug Series 3
3 *
4 * Copyright (C) 2016 Neil Armstrong <narmstrong@baylibre.com>
5 *
6 * Licensed under GPLv2 or later
7 */
8
9 /dts-v1/;
10 #include "ox820.dtsi"
11
12 / {
13 model = "Cloud Engines PogoPlug Pro";
14
15 compatible = "cloudengines,pogoplugpro", "oxsemi,ox820";
16
17 chosen {
18 bootargs = "earlyprintk console=ttyS0,115200";
19 stdout-path = "serial0:115200n8";
20 };
21
22 memory {
23 /* 128Mbytes DDR */
24 reg = <0x60000000 0x8000000>;
25 };
26
27 aliases {
28 serial0 = &uart0;
29 gpio0 = &gpio0;
30 gpio1 = &gpio1;
31 };
32
33 leds {
34 compatible = "gpio-leds";
35
36 blue {
37 label = "pogoplug:blue";
38 gpios = <&gpio0 2 0>;
39 default-state = "keep";
40 };
41
42 orange {
43 label = "pogoplug:orange";
44 gpios = <&gpio1 16 1>;
45 default-state = "keep";
46 };
47
48 green {
49 label = "pogoplug:green";
50 gpios = <&gpio1 17 1>;
51 default-state = "keep";
52 };
53 };
54 };
55
56 &uart0 {
57 status = "okay";
58
59 pinctrl-names = "default";
60 pinctrl-0 = <&pinctrl_uart0>;
61 };
62
63 &nandc {
64 status = "okay";
65
66 pinctrl-names = "default";
67 pinctrl-0 = <&pinctrl_nand>;
68
69 nand@0 {
70 reg = <0>;
71 #address-cells = <1>;
72 #size-cells = <1>;
73 nand-ecc-mode = "soft";
74 nand-ecc-algo = "hamming";
75
76 partition@0 {
77 label = "stage1";
78 reg = <0x00000000 0x00040000>;
79 read-only;
80 };
81
82 partition@40000 {
83 label = "u-boot";
84 reg = <0x00040000 0x00380000>;
85 read-only;
86 };
87
88 partition@3c0000 {
89 label = "u-boot-env";
90 reg = <0x003c0000 0x00080000>;
91 };
92
93 partition@440000 {
94 label = "kernel";
95 reg = <0x00440000 0x009c0000>;
96 };
97
98 partition@e00000 {
99 label = "ubi";
100 reg = <0x00e00000 0x07200000>;
101 };
102 };
103 };
104
105 &etha {
106 status = "okay";
107
108 pinctrl-names = "default";
109 pinctrl-0 = <&pinctrl_etha_mdio>;
110 };
111
112 &pcie0 {
113 status = "okay";
114 };