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 = "firefly,firewrt", "mediatek,mt7621-soc"; |
||
10 | model = "Firefly FireWRT"; |
||
11 | |||
12 | memory@0 { |
||
13 | device_type = "memory"; |
||
14 | reg = <0x0 0x1c000000>, <0x20000000 0x4000000>; |
||
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 = "firewrt:green:power"; |
26 | gpios = <&gpio0 22 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 | wps { |
||
37 | label = "wps"; |
||
38 | gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; |
||
39 | linux,code = <KEY_WPS_BUTTON>; |
||
40 | }; |
||
41 | |||
42 | power { |
||
43 | label = "power"; |
||
44 | gpios = <&gpio0 23 GPIO_ACTIVE_LOW>; |
||
45 | linux,code = <KEY_POWER>; |
||
46 | }; |
||
47 | }; |
||
48 | }; |
||
49 | |||
50 | &sdhci { |
||
51 | status = "okay"; |
||
52 | }; |
||
53 | |||
54 | &spi0 { |
||
55 | status = "okay"; |
||
56 | |||
57 | m25p80@0 { |
||
3 | office | 58 | #address-cells = <1>; |
59 | #size-cells = <1>; |
||
1 | office | 60 | compatible = "jedec,spi-nor"; |
61 | reg = <0>; |
||
62 | spi-max-frequency = <10000000>; |
||
3 | office | 63 | m25p,chunked-io = <32>; |
1 | office | 64 | |
3 | office | 65 | partition@0 { |
66 | label = "u-boot"; |
||
67 | reg = <0x0 0x30000>; |
||
68 | read-only; |
||
69 | }; |
||
1 | office | 70 | |
3 | office | 71 | partition@30000 { |
72 | label = "u-boot-env"; |
||
73 | reg = <0x30000 0x10000>; |
||
74 | read-only; |
||
75 | }; |
||
1 | office | 76 | |
3 | office | 77 | factory: partition@40000 { |
78 | label = "factory"; |
||
79 | reg = <0x40000 0x10000>; |
||
80 | read-only; |
||
81 | }; |
||
1 | office | 82 | |
3 | office | 83 | partition@50000 { |
84 | label = "firmware"; |
||
85 | reg = <0x50000 0xfb0000>; |
||
1 | office | 86 | }; |
87 | }; |
||
88 | }; |
||
89 | |||
90 | &pcie { |
||
91 | status = "okay"; |
||
92 | |||
3 | office | 93 | pcie0 { |
94 | mt76@0,0 { |
||
95 | reg = <0x0000 0 0 0 0>; |
||
96 | device_type = "pci"; |
||
97 | mediatek,mtd-eeprom = <&factory 0x8000>; |
||
98 | ieee80211-freq-limit = <5000000 6000000>; |
||
99 | }; |
||
1 | office | 100 | }; |
101 | |||
3 | office | 102 | pcie1 { |
103 | mt76@1,0 { |
||
104 | reg = <0x0000 0 0 0 0>; |
||
105 | device_type = "pci"; |
||
106 | mediatek,mtd-eeprom = <&factory 0x0000>; |
||
107 | ieee80211-freq-limit = <2400000 2500000>; |
||
108 | }; |
||
1 | office | 109 | }; |
110 | }; |
||
111 | |||
112 | ðernet { |
||
113 | mtd-mac-address = <&factory 0xe000>; |
||
114 | }; |
||
115 | |||
116 | &pinctrl { |
||
117 | state_default: pinctrl0 { |
||
118 | gpio { |
||
119 | ralink,group = "wdt", "rgmii2"; |
||
120 | ralink,function = "gpio"; |
||
121 | }; |
||
122 | }; |
||
123 | }; |