OpenWrt – Blame information for rev 3
?pathlinks?
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 = "linksys,re6500", "mediatek,mt7621-soc"; |
||
10 | model = "Linksys RE6500"; |
||
11 | |||
12 | memory@0 { |
||
13 | device_type = "memory"; |
||
14 | reg = <0x0 0x4000000>; |
||
15 | }; |
||
16 | |||
17 | chosen { |
||
18 | bootargs = "console=ttyS0,57600"; |
||
19 | }; |
||
20 | |||
3 | office | 21 | gpio-leds { |
1 | office | 22 | compatible = "gpio-leds"; |
23 | |||
24 | wifi { |
||
25 | label = "re6500:orange:wifi"; |
||
26 | gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>; |
||
27 | }; |
||
28 | |||
3 | office | 29 | power { |
1 | office | 30 | label = "re6500:white:power"; |
31 | gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>; |
||
32 | }; |
||
33 | }; |
||
34 | |||
3 | office | 35 | gpio-keys-polled { |
1 | office | 36 | compatible = "gpio-keys-polled"; |
3 | office | 37 | #address-cells = <1>; |
38 | #size-cells = <0>; |
||
1 | office | 39 | poll-interval = <20>; |
40 | |||
41 | wps { |
||
42 | label = "wps"; |
||
43 | gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; |
||
44 | linux,code = <KEY_WPS_BUTTON>; |
||
45 | }; |
||
46 | |||
47 | reset { |
||
48 | label = "reset"; |
||
49 | gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>; |
||
50 | linux,code = <KEY_RESTART>; |
||
51 | }; |
||
52 | }; |
||
53 | }; |
||
54 | |||
55 | &spi0 { |
||
56 | status = "okay"; |
||
57 | |||
58 | m25p80@0 { |
||
3 | office | 59 | #address-cells = <1>; |
60 | #size-cells = <1>; |
||
1 | office | 61 | compatible = "jedec,spi-nor"; |
62 | reg = <0>; |
||
63 | spi-max-frequency = <10000000>; |
||
3 | office | 64 | m25p,chunked-io = <32>; |
1 | office | 65 | |
3 | office | 66 | partition@0 { |
67 | label = "u-boot"; |
||
68 | reg = <0x0 0x30000>; |
||
69 | read-only; |
||
70 | }; |
||
1 | office | 71 | |
3 | office | 72 | partition@30000 { |
73 | label = "u-boot-env"; |
||
74 | reg = <0x30000 0x10000>; |
||
75 | read-only; |
||
76 | }; |
||
1 | office | 77 | |
3 | office | 78 | factory: partition@40000 { |
79 | label = "factory"; |
||
80 | reg = <0x40000 0x10000>; |
||
81 | read-only; |
||
82 | }; |
||
1 | office | 83 | |
3 | office | 84 | partition@50000 { |
85 | label = "firmware"; |
||
86 | reg = <0x50000 0x7b0000>; |
||
1 | office | 87 | }; |
88 | }; |
||
89 | }; |
||
90 | |||
91 | &pinctrl { |
||
92 | state_default: pinctrl0 { |
||
93 | gpio { |
||
94 | ralink,group = "i2c", "uart2", "uart3", "rgmii2"; |
||
95 | ralink,function = "gpio"; |
||
96 | }; |
||
97 | }; |
||
98 | }; |
||
99 | |||
100 | &pcie { |
||
101 | status = "okay"; |
||
102 | |||
3 | office | 103 | pcie0 { |
104 | mt76@0,0 { |
||
105 | reg = <0x0000 0 0 0 0>; |
||
106 | device_type = "pci"; |
||
107 | mediatek,mtd-eeprom = <&factory 0x0000>; |
||
108 | ieee80211-freq-limit = <5000000 6000000>; |
||
109 | }; |
||
1 | office | 110 | }; |
111 | |||
3 | office | 112 | pcie1 { |
113 | mt76@1,0 { |
||
114 | reg = <0x0000 0 0 0 0>; |
||
115 | device_type = "pci"; |
||
116 | mediatek,mtd-eeprom = <&factory 0x8000>; |
||
117 | ieee80211-freq-limit = <2400000 2500000>; |
||
118 | }; |
||
1 | office | 119 | }; |
120 | }; |
||
121 | |||
122 | ðernet { |
||
123 | mtd-mac-address = <&factory 0x2e>; |
||
124 | }; |
||
125 | |||
126 | &xhci { |
||
127 | status = "disabled"; |
||
128 | }; |