OpenWrt – Blame information for rev 3

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 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 compatible = "planex,vr500", "mediatek,mt7621-soc";
10 model = "Planex VR500";
11  
12 memory@0 {
13 device_type = "memory";
14 reg = <0x0 0x10000000>;
15 };
16  
17 chosen {
18 bootargs = "console=ttyS0,57600";
19 };
20  
3 office 21 gpio-leds {
1 office 22 compatible = "gpio-leds";
23  
3 office 24 power {
1 office 25 label = "vr500:green:power";
26 gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
27 };
28 };
29  
3 office 30 gpio-keys-polled {
1 office 31 compatible = "gpio-keys-polled";
3 office 32 #address-cells = <1>;
33 #size-cells = <0>;
1 office 34 poll-interval = <20>;
35  
36 reset {
37 label = "reset";
38 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_RESTART>;
40 };
41 };
42 };
43  
44 &spi0 {
45 status = "okay";
46  
47 m25p80@0 {
3 office 48 #address-cells = <1>;
49 #size-cells = <1>;
1 office 50 compatible = "jedec,spi-nor";
51 reg = <0>;
52 spi-max-frequency = <10000000>;
3 office 53 m25p,chunked-io = <32>;
1 office 54  
3 office 55 partition@0 {
56 label = "u-boot";
57 reg = <0x0 0x30000>;
58 read-only;
59 };
1 office 60  
3 office 61 partition@30000 {
62 label = "u-boot-env";
63 reg = <0x30000 0x10000>;
64 read-only;
65 };
1 office 66  
3 office 67 factory: partition@40000 {
68 label = "factory";
69 reg = <0x40000 0x10000>;
70 read-only;
71 };
1 office 72  
3 office 73 partition@50000 {
74 label = "firmware";
75 reg = <0x50000 0x3fb0000>;
1 office 76 };
77 };
78 };
79  
80 &pinctrl {
81 state_default: pinctrl0 {
82 gpio {
83 ralink,group = "i2c", "uart2", "uart3", "rgmii2", "sdhci";
84 ralink,function = "gpio";
85 };
86 };
87 };