ramips: add support for Netgear EX6130
[oweals/openwrt.git] / target / linux / ramips / dts / mt7621_netgear_sercomm_chj.dtsi
1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
3
4 #include "mt7621_netgear_sercomm.dtsi"
5
6 / {
7         keys {
8                 compatible = "gpio-keys";
9
10                 wps {
11                         label = "wps";
12                         gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
13                         linux,code = <KEY_WPS_BUTTON>;
14                 };
15
16                 reset {
17                         label = "reset";
18                         gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
19                         linux,code = <KEY_RESTART>;
20                 };
21         };
22 };
23
24 &nand {
25         status = "okay";
26
27         partitions {
28                 compatible = "fixed-partitions";
29                 #address-cells = <1>;
30                 #size-cells = <1>;
31
32                 partition@0 {
33                         label = "u-boot";
34                         reg = <0x0 0x100000>;
35                         read-only;
36                 };
37
38                 partition@100000 {
39                         label = "SC PART_MAP";
40                         reg = <0x100000 0x100000>;
41                         read-only;
42                 };
43
44                 partition@200000 {
45                         label = "kernel";
46                         reg = <0x200000 0x400000>;
47                 };
48
49                 partition@600000 {
50                         label = "ubi";
51                         reg = <0x600000 0x2800000>;
52                 };
53
54                 partition@2e00000 {
55                         label = "reserved0";
56                         reg = <0x2e00000 0x1800000>;
57                         read-only;
58                 };
59
60                 factory: partition@4600000 {
61                         label = "factory";
62                         reg = <0x4600000 0x200000>;
63                         read-only;
64                 };
65
66                 partition@4800000 {
67                         label = "reserved1";
68                         reg = <0x4800000 0x3800000>;
69                         read-only;
70                 };
71         };
72 };