OpenWrt – Blame information for rev 3
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | /dts-v1/; |
2 | |||
3 | #include "mt7628an.dtsi" |
||
4 | |||
5 | #include <dt-bindings/gpio/gpio.h> |
||
6 | #include <dt-bindings/input/input.h> |
||
7 | |||
8 | / { |
||
9 | compatible = "tama,w06", "mediatek,mt7628an-soc"; |
||
10 | model = "Tama W06"; |
||
11 | |||
12 | memory@0{ |
||
13 | device_type = "memory"; |
||
14 | reg = <0x0 0x4000000>; |
||
15 | }; |
||
16 | |||
3 | office | 17 | gpio-leds { |
1 | office | 18 | compatible = "gpio-leds"; |
19 | |||
20 | wps { |
||
21 | label = "w06:green:wps"; |
||
22 | gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; |
||
23 | }; |
||
24 | |||
25 | wan { |
||
26 | label = "w06:green:wan"; |
||
27 | gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; |
||
28 | }; |
||
29 | |||
30 | wireless { |
||
31 | label = "w06:green:wlan"; |
||
32 | gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; |
||
33 | }; |
||
34 | }; |
||
35 | |||
3 | office | 36 | gpio-keys-polled { |
1 | office | 37 | compatible = "gpio-keys-polled"; |
3 | office | 38 | #address-cells = <1>; |
39 | #size-cells = <0>; |
||
1 | office | 40 | poll-interval = <20>; |
41 | |||
42 | reset { |
||
43 | label = "reset"; |
||
44 | gpios = <&gpio1 6 GPIO_ACTIVE_LOW>; |
||
45 | linux,code = <KEY_RESTART>; |
||
46 | }; |
||
47 | }; |
||
48 | }; |
||
49 | |||
50 | &ehci { |
||
51 | status = "okay"; |
||
52 | }; |
||
53 | |||
54 | ðernet { |
||
55 | mtd-mac-address = <&factory 0x28>; |
||
56 | }; |
||
57 | |||
58 | &ohci { |
||
59 | status = "okay"; |
||
60 | }; |
||
61 | |||
62 | &pinctrl { |
||
63 | state_default: pinctrl0 { |
||
64 | gpio { |
||
65 | ralink,group = "uart1", "p0led_an", "wdt"; |
||
66 | ralink,function = "gpio"; |
||
67 | }; |
||
68 | }; |
||
69 | }; |
||
70 | |||
71 | &spi0 { |
||
72 | status = "okay"; |
||
73 | |||
74 | m25p80@0 { |
||
3 | office | 75 | #address-cells = <1>; |
76 | #size-cells = <1>; |
||
1 | office | 77 | compatible = "jedec,spi-nor"; |
78 | reg = <0>; |
||
79 | spi-max-frequency = <10000000>; |
||
3 | office | 80 | m25p,chunked-io = <32>; |
1 | office | 81 | |
3 | office | 82 | partition@0 { |
83 | label = "u-boot"; |
||
84 | reg = <0x0 0x30000>; |
||
85 | read-only; |
||
86 | }; |
||
1 | office | 87 | |
3 | office | 88 | partition@30000 { |
89 | label = "u-boot-env"; |
||
90 | reg = <0x30000 0x10000>; |
||
91 | read-only; |
||
92 | }; |
||
1 | office | 93 | |
3 | office | 94 | factory: partition@40000 { |
95 | label = "factory"; |
||
96 | reg = <0x40000 0x10000>; |
||
97 | read-only; |
||
98 | }; |
||
1 | office | 99 | |
3 | office | 100 | partition@50000 { |
101 | label = "firmware"; |
||
102 | reg = <0x50000 0xeb0000>; |
||
103 | }; |
||
1 | office | 104 | |
3 | office | 105 | partition@f00000 { |
106 | label = "user-data"; |
||
107 | reg = <0xf00000 0x100000>; |
||
108 | read-only; |
||
1 | office | 109 | }; |
110 | }; |
||
111 | }; |
||
112 | |||
113 | &wmac { |
||
114 | status = "okay"; |
||
115 | }; |