OpenWrt – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | #include "mt7628an.dtsi" |
2 | |||
3 | / { |
||
4 | chosen { |
||
5 | bootargs = "console=ttyS0,115200"; |
||
6 | }; |
||
7 | |||
8 | memory@0 { |
||
9 | device_type = "memory"; |
||
10 | reg = <0x0 0x4000000>; |
||
11 | }; |
||
12 | }; |
||
13 | |||
14 | &spi0 { |
||
15 | status = "okay"; |
||
16 | |||
17 | m25p80@0 { |
||
18 | compatible = "jedec,spi-nor"; |
||
19 | reg = <0>; |
||
20 | spi-max-frequency = <10000000>; |
||
21 | |||
22 | partitions { |
||
23 | compatible = "fixed-partitions"; |
||
24 | #address-cells = <1>; |
||
25 | #size-cells = <1>; |
||
26 | |||
27 | partition@0 { |
||
28 | label = "boot"; |
||
29 | reg = <0x0 0x20000>; |
||
30 | read-only; |
||
31 | }; |
||
32 | |||
33 | partition@20000 { |
||
34 | compatible = "tplink,firmware"; |
||
35 | label = "firmware"; |
||
36 | reg = <0x20000 0x7a0000>; |
||
37 | }; |
||
38 | |||
39 | partition@7c0000 { |
||
40 | label = "config"; |
||
41 | reg = <0x7c0000 0x10000>; |
||
42 | read-only; |
||
43 | }; |
||
44 | |||
45 | factory: partition@7d0000 { |
||
46 | label = "factory"; |
||
47 | reg = <0x7d0000 0x30000>; |
||
48 | read-only; |
||
49 | }; |
||
50 | }; |
||
51 | }; |
||
52 | }; |
||
53 | |||
54 | &ehci { |
||
55 | status = "disabled"; |
||
56 | }; |
||
57 | |||
58 | &ohci { |
||
59 | status = "disabled"; |
||
60 | }; |
||
61 | |||
62 | &wmac { |
||
63 | status = "okay"; |
||
64 | mtd-mac-address = <&factory 0xf100>; |
||
65 | mediatek,mtd-eeprom = <&factory 0x20000>; |
||
66 | }; |
||
67 | |||
68 | ðernet { |
||
69 | mtd-mac-address = <&factory 0xf100>; |
||
70 | mediatek,portmap = "llllw"; |
||
71 | }; |