iproute2: add ip-tiny, ip-full as alternatives of /sbin/ip
[openwrt/staging/yousong.git] / target / linux / ramips / dts / HC5962.dts
1 /dts-v1/;
2
3 #include "mt7621.dtsi"
4
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7
8 / {
9 model = "HiWiFi HC5962";
10
11 memory@0 {
12 device_type = "memory";
13 reg = <0x0 0x10000000>;
14 };
15
16 chosen {
17 bootargs = "console=ttyS0,115200";
18 };
19
20 gpio-leds {
21 compatible = "gpio-leds";
22
23 status {
24 label = "hc5962:white:status";
25 gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
26 };
27
28 system {
29 label = "hc5962:red:system";
30 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
31 };
32 };
33
34 gpio-keys-polled {
35 compatible = "gpio-keys-polled";
36 #address-cells = <1>;
37 #size-cells = <0>;
38 poll-interval = <20>;
39
40 reset {
41 label = "reset";
42 gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;
43 linux,code = <KEY_RESTART>;
44 };
45 };
46 };
47
48 &nand {
49 status = "okay";
50
51 partition@0 {
52 label = "u-boot";
53 reg = <0x0 0x80000>;
54 read-only;
55 };
56
57 partition@80000 {
58 label = "debug";
59 reg = <0x80000 0x80000>;
60 read-only;
61 };
62
63 factory: partition@100000 {
64 label = "factory";
65 reg = <0x100000 0x40000>;
66 read-only;
67 };
68
69 partition@140000 {
70 label = "kernel";
71 reg = <0x140000 0x200000>;
72 };
73
74 partition@340000 {
75 label = "ubi";
76 reg = <0x340000 0x1E00000>;
77 };
78
79 partition@2140000 {
80 label = "hw_panic";
81 reg = <0x2140000 0x80000>;
82 read-only;
83 };
84
85 partition@21c0000 {
86 label = "bdinfo";
87 reg = <0x21c0000 0x80000>;
88 read-only;
89 };
90
91 partition@2240000 {
92 label = "backup";
93 reg = <0x2240000 0x80000>;
94 read-only;
95 };
96
97 partition@22c0000 {
98 label = "overly";
99 reg = <0x22c0000 0x1000000>;
100 };
101
102 partition@32c0000 {
103 label = "firmware_backup";
104 reg = <0x32c0000 0x2000000>;
105 };
106
107 partition@52c0000 {
108 label = "oem";
109 reg = <0x52c0000 0x200000>;
110 };
111
112 partition@54c0000 {
113 label = "opt";
114 reg = <0x54c0000 0x2ac0000>;
115 };
116 };
117
118 &pcie {
119 status = "okay";
120
121 pcie0 {
122 mt76@0,0 {
123 reg = <0x0000 0 0 0 0>;
124 device_type = "pci";
125 mediatek,mtd-eeprom = <&factory 0x0000>;
126 ieee80211-freq-limit = <2400000 2500000>;
127 };
128 };
129
130 pcie1 {
131 mt76@1,0 {
132 reg = <0x0000 0 0 0 0>;
133 device_type = "pci";
134 mediatek,mtd-eeprom = <&factory 0x8000>;
135 ieee80211-freq-limit = <5000000 6000000>;
136 };
137 };
138 };
139
140 &pinctrl {
141 state_default: pinctrl0 {
142 gpio {
143 ralink,group = "uart3", "jtag";
144 ralink,function = "gpio";
145 };
146 };
147 };