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 | |||
7 | / { |
||
8 | compatible = "wrtnode,wrtnode", "ralink,mt7620n-soc"; |
||
9 | model = "WRTNODE"; |
||
10 | |||
3 | office | 11 | gpio-leds { |
1 | office | 12 | compatible = "gpio-leds"; |
13 | |||
3 | office | 14 | indicator { |
1 | office | 15 | label = "wrtnode:blue:indicator"; |
16 | gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; |
||
17 | }; |
||
18 | }; |
||
19 | }; |
||
20 | |||
21 | &gpio1 { |
||
22 | status = "okay"; |
||
23 | }; |
||
24 | |||
25 | &gpio2 { |
||
26 | status = "okay"; |
||
27 | }; |
||
28 | |||
29 | &gpio3 { |
||
30 | status = "okay"; |
||
31 | }; |
||
32 | |||
33 | &spi0 { |
||
34 | status = "okay"; |
||
35 | |||
36 | m25p80@0 { |
||
3 | office | 37 | #address-cells = <1>; |
38 | #size-cells = <1>; |
||
1 | office | 39 | compatible = "jedec,spi-nor"; |
40 | reg = <0>; |
||
41 | spi-max-frequency = <10000000>; |
||
42 | |||
3 | office | 43 | partition@0 { |
44 | label = "u-boot"; |
||
45 | reg = <0x0 0x30000>; |
||
46 | read-only; |
||
47 | }; |
||
1 | office | 48 | |
3 | office | 49 | partition@30000 { |
50 | label = "u-boot-env"; |
||
51 | reg = <0x30000 0x10000>; |
||
52 | read-only; |
||
53 | }; |
||
1 | office | 54 | |
3 | office | 55 | factory: partition@40000 { |
56 | label = "factory"; |
||
57 | reg = <0x40000 0x10000>; |
||
58 | read-only; |
||
59 | }; |
||
1 | office | 60 | |
3 | office | 61 | partition@50000 { |
62 | label = "firmware"; |
||
63 | reg = <0x50000 0xfb0000>; |
||
1 | office | 64 | }; |
65 | }; |
||
66 | }; |
||
67 | |||
68 | &ehci { |
||
69 | status = "okay"; |
||
70 | }; |
||
71 | |||
72 | &ohci { |
||
73 | status = "okay"; |
||
74 | }; |
||
75 | |||
76 | ðernet { |
||
77 | mtd-mac-address = <&factory 0x4>; |
||
78 | mediatek,portmap = "wllll"; |
||
79 | }; |
||
80 | |||
81 | &wmac { |
||
82 | ralink,mtd-eeprom = <&factory 0>; |
||
83 | }; |
||
84 | |||
85 | &pinctrl { |
||
86 | state_default: pinctrl0 { |
||
87 | default { |
||
88 | ralink,group = "ephy", "wled", "pa", "i2c", "wdt", "uartf", "spi refclk"; |
||
89 | ralink,function = "gpio"; |
||
90 | }; |
||
91 | }; |
||
92 | }; |