OpenWrt – Blame information for rev 3
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | #include "mt7621.dtsi" |
2 | |||
3 | #include <dt-bindings/gpio/gpio.h> |
||
4 | #include <dt-bindings/input/input.h> |
||
5 | |||
6 | / { |
||
7 | compatible = "zbtlink,zbt-wg3526", "mediatek,mt7621-soc"; |
||
8 | |||
9 | memory@0 { |
||
10 | device_type = "memory"; |
||
11 | reg = <0x0 0x1c000000>, <0x20000000 0x4000000>; |
||
12 | }; |
||
13 | |||
14 | chosen { |
||
15 | bootargs = "console=ttyS0,115200"; |
||
16 | }; |
||
17 | |||
18 | palmbus: palmbus@1E000000 { |
||
19 | i2c@900 { |
||
20 | status = "okay"; |
||
21 | }; |
||
22 | }; |
||
23 | |||
3 | office | 24 | gpio-keys-polled { |
1 | office | 25 | compatible = "gpio-keys-polled"; |
3 | office | 26 | #address-cells = <1>; |
27 | #size-cells = <0>; |
||
1 | office | 28 | poll-interval = <20>; |
29 | |||
30 | reset { |
||
31 | label = "reset"; |
||
32 | gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; |
||
33 | linux,code = <KEY_RESTART>; |
||
34 | }; |
||
35 | }; |
||
36 | |||
3 | office | 37 | gpio-leds { |
1 | office | 38 | compatible = "gpio-leds"; |
39 | |||
3 | office | 40 | status { |
1 | office | 41 | label = "zbt-wg3526:green:status"; |
42 | gpios = <&gpio0 24 GPIO_ACTIVE_LOW>; |
||
43 | }; |
||
44 | }; |
||
45 | }; |
||
46 | |||
47 | &sdhci { |
||
48 | status = "okay"; |
||
49 | }; |
||
50 | |||
51 | &spi0 { |
||
52 | status = "okay"; |
||
53 | |||
54 | m25p80@0 { |
||
3 | office | 55 | #address-cells = <1>; |
56 | #size-cells = <1>; |
||
1 | office | 57 | compatible = "jedec,spi-nor"; |
58 | reg = <0>; |
||
59 | spi-max-frequency = <10000000>; |
||
3 | office | 60 | m25p,chunked-io = <32>; |
1 | office | 61 | |
3 | office | 62 | partition@0 { |
63 | label = "u-boot"; |
||
64 | reg = <0x0 0x30000>; |
||
65 | read-only; |
||
66 | }; |
||
1 | office | 67 | |
3 | office | 68 | partition@30000 { |
69 | label = "u-boot-env"; |
||
70 | reg = <0x30000 0x10000>; |
||
71 | read-only; |
||
72 | }; |
||
1 | office | 73 | |
3 | office | 74 | factory: partition@40000 { |
75 | label = "factory"; |
||
76 | reg = <0x40000 0x10000>; |
||
77 | read-only; |
||
78 | }; |
||
1 | office | 79 | |
3 | office | 80 | firmware: partition@50000 { |
81 | label = "firmware"; |
||
1 | office | 82 | }; |
83 | }; |
||
84 | }; |
||
85 | |||
86 | &pcie { |
||
87 | status = "okay"; |
||
88 | |||
3 | office | 89 | pcie0 { |
90 | wifi@14c3,7603 { |
||
91 | compatible = "pci14c3,7603"; |
||
92 | reg = <0x0000 0 0 0 0>; |
||
93 | mediatek,mtd-eeprom = <&factory 0x0000>; |
||
94 | }; |
||
1 | office | 95 | }; |
96 | |||
3 | office | 97 | pcie1 { |
98 | wifi@14c3,7662 { |
||
99 | compatible = "pci14c3,7662"; |
||
100 | reg = <0x0000 0 0 0 0>; |
||
101 | mediatek,mtd-eeprom = <&factory 0x8000>; |
||
102 | ieee80211-freq-limit = <5000000 6000000>; |
||
1 | office | 103 | }; |
104 | }; |
||
105 | }; |
||
106 | |||
107 | ðernet { |
||
108 | mtd-mac-address = <&factory 0xe000>; |
||
109 | }; |
||
110 | |||
111 | &pinctrl { |
||
112 | state_default: pinctrl0 { |
||
113 | gpio { |
||
114 | ralink,group = "wdt", "rgmii2", "jtag", "mdio"; |
||
115 | ralink,function = "gpio"; |
||
116 | }; |
||
117 | }; |
||
118 | }; |