ramips: remove DT pcie nodes for GL-MT300A/N
[openwrt/staging/chunkeey.git] / target / linux / ramips / dts / VR500.dts
1 /dts-v1/;
2
3 #include "mt7621.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 model = "Planex VR500";
9
10 memory@0 {
11 device_type = "memory";
12 reg = <0x0 0x10000000>;
13 };
14
15 chosen {
16 bootargs = "console=ttyS0,57600";
17 };
18
19 gpio-leds {
20 compatible = "gpio-leds";
21
22 power {
23 label = "vr500:green:power";
24 gpios = <&gpio1 13 1>;
25 };
26 };
27
28 gpio-keys-polled {
29 compatible = "gpio-keys-polled";
30 #address-cells = <1>;
31 #size-cells = <0>;
32 poll-interval = <20>;
33
34 reset {
35 label = "reset";
36 gpios = <&gpio1 15 1>;
37 linux,code = <KEY_RESTART>;
38 };
39 };
40 };
41
42 &spi0 {
43 status = "okay";
44
45 m25p80@0 {
46 #address-cells = <1>;
47 #size-cells = <1>;
48 compatible = "jedec,spi-nor";
49 reg = <0>;
50 spi-max-frequency = <10000000>;
51 m25p,chunked-io = <32>;
52
53 partition@0 {
54 label = "u-boot";
55 reg = <0x0 0x30000>;
56 read-only;
57 };
58
59 partition@30000 {
60 label = "u-boot-env";
61 reg = <0x30000 0x10000>;
62 read-only;
63 };
64
65 factory: partition@40000 {
66 label = "factory";
67 reg = <0x40000 0x10000>;
68 read-only;
69 };
70
71 partition@50000 {
72 label = "firmware";
73 reg = <0x50000 0x3fb0000>;
74 };
75 };
76 };
77
78 &pinctrl {
79 state_default: pinctrl0 {
80 gpio {
81 ralink,group = "i2c", "uart2", "uart3", "rgmii2", "sdhci";
82 ralink,function = "gpio";
83 };
84 };
85 };