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