OpenWrt – Blame information for rev 3
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | /dts-v1/; |
2 | |||
3 | #include "mt7620n.dtsi" |
||
4 | |||
5 | #include <dt-bindings/gpio/gpio.h> |
||
6 | #include <dt-bindings/input/input.h> |
||
7 | |||
8 | / { |
||
9 | compatible = "vonets,var11n-300", "ralink,mt7620n-soc"; |
||
10 | model = "Vonets VAR11N-300"; |
||
11 | |||
3 | office | 12 | gpio-leds { |
1 | office | 13 | compatible = "gpio-leds"; |
14 | |||
3 | office | 15 | system { |
1 | office | 16 | label = "var11n-300:blue:system"; |
17 | gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>; |
||
18 | }; |
||
19 | }; |
||
20 | |||
3 | office | 21 | gpio-keys-polled { |
1 | office | 22 | compatible = "gpio-keys-polled"; |
3 | office | 23 | #address-cells = <1>; |
24 | #size-cells = <0>; |
||
1 | office | 25 | poll-interval = <20>; |
26 | |||
27 | reset { |
||
28 | label = "reset"; |
||
29 | gpios = <&gpio0 1 GPIO_ACTIVE_LOW>; |
||
30 | linux,code = <KEY_RESTART>; |
||
31 | }; |
||
32 | }; |
||
33 | }; |
||
34 | |||
35 | &gpio0 { |
||
36 | status = "okay"; |
||
37 | }; |
||
38 | |||
39 | &spi0 { |
||
40 | status = "okay"; |
||
41 | |||
42 | m25p80@0 { |
||
3 | office | 43 | #address-cells = <1>; |
44 | #size-cells = <1>; |
||
1 | office | 45 | compatible = "jedec,spi-nor"; |
46 | reg = <0>; |
||
47 | spi-max-frequency = <10000000>; |
||
48 | |||
3 | office | 49 | partition@0 { |
50 | label = "u-boot"; |
||
51 | reg = <0x0 0x30000>; |
||
52 | read-only; |
||
53 | }; |
||
1 | office | 54 | |
3 | office | 55 | partition@30000 { |
56 | label = "u-boot-env"; |
||
57 | reg = <0x30000 0x10000>; |
||
58 | read-only; |
||
59 | }; |
||
1 | office | 60 | |
3 | office | 61 | factory: partition@40000 { |
62 | label = "factory"; |
||
63 | reg = <0x40000 0x10000>; |
||
64 | read-only; |
||
65 | }; |
||
1 | office | 66 | |
3 | office | 67 | partition@50000 { |
68 | label = "firmware"; |
||
69 | reg = <0x50000 0x3b0000>; |
||
1 | office | 70 | }; |
71 | }; |
||
72 | }; |
||
73 | |||
74 | ðernet { |
||
75 | mtd-mac-address = <&factory 0x4>; |
||
76 | mediatek,portmap = "llllw"; |
||
77 | }; |
||
78 | |||
79 | &wmac { |
||
80 | ralink,mtd-eeprom = <&factory 0>; |
||
81 | }; |
||
82 | |||
83 | &pinctrl { |
||
84 | state_default: pinctrl0 { |
||
85 | default { |
||
86 | ralink,group = "i2c"; |
||
87 | ralink,function = "gpio"; |
||
88 | }; |
||
89 | }; |
||
90 | }; |