OpenWrt – Blame information for rev 4

Subversion Repositories:
Rev:
Rev Author Line No. Line
4 office 1 /dts-v1/;
2  
3 #include "rt5350.dtsi"
4  
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7  
8 / {
9 compatible = "belkin,f7c027", "ralink,rt5350-soc";
10 model = "Belkin F7C027";
11  
12 gpio-leds {
13 compatible = "gpio-leds";
14  
15 status {
16 label = "f7c027:blue:status";
17 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
18 };
19  
20 power {
21 label = "f7c027:blue:power";
22 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
23 };
24  
25 orange {
26 label = "f7c027:orange:status";
27 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
28 };
29  
30 relay {
31 label = "f7c027:device:relay";
32 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
33 };
34 };
35  
36 gpio-keys-polled {
37 compatible = "gpio-keys-polled";
38 #address-cells = <1>;
39 #size-cells = <0>;
40 poll-interval = <20>;
41  
42 top {
43 label = "restore";
44 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
45 linux,code = <KEY_RESTART>;
46 };
47  
48 power {
49 label = "power";
50 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_RFKILL>;
52 };
53  
54 sensor {
55 label = "sensor";
56 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
57 linux,code = <BTN_0>;
58 };
59 };
60 };
61  
62 &spi0 {
63 status = "okay";
64  
65 m25p80@0 {
66 #address-cells = <1>;
67 #size-cells = <1>;
68 compatible = "jedec,spi-nor";
69 reg = <0>;
70 spi-max-frequency = <10000000>;
71  
72 partition@0 {
73 label = "u-boot";
74 reg = <0x0 0x30000>;
75 read-only;
76 };
77  
78 partition@30000 {
79 label = "u-boot-env";
80 reg = <0x30000 0x10000>;
81 read-only;
82 };
83  
84 factory: partition@40000 {
85 label = "factory";
86 reg = <0x40000 0x10000>;
87 read-only;
88 };
89  
90 partition@50000 {
91 label = "firmware";
92 reg = <0x50000 0x770000>;
93 };
94  
95 partition@7c0000 {
96 label = "firmware2";
97 reg = <0x7c0000 0x770000>;
98 };
99  
100 partition@f30000 {
101 label = "belkin_settings";
102 reg = <0xf30000 0xa0000>;
103 };
104  
105 partition@fd0000 {
106 label = "unknown";
107 reg = <0xfd0000 0x10000>;
108 };
109  
110 partition@fe0000 {
111 label = "nvram";
112 reg = <0xfe0000 0x10000>;
113 };
114  
115 partition@ff0000 {
116 label = "user_factory";
117 reg = <0xff0000 0x10000>;
118 };
119 };
120 };
121  
122 &wmac {
123 ralink,mtd-eeprom = <&factory 0>;
124 };
125  
126 &pinctrl {
127 state_default: pinctrl0 {
128 gpio {
129 ralink,group = "i2c", "jtag", "uartf";
130 ralink,function = "gpio";
131 };
132 };
133 };