OpenWrt – Blame information for rev 3
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | /dts-v1/; |
2 | |||
3 | #include "mt7620a.dtsi" |
||
4 | |||
5 | #include <dt-bindings/gpio/gpio.h> |
||
6 | #include <dt-bindings/input/input.h> |
||
7 | |||
8 | / { |
||
9 | compatible = "planex,mzk-ex300np", "ralink,mt7620a-soc"; |
||
10 | model = "Planex MZK-EX300NP"; |
||
11 | |||
3 | office | 12 | gpio-leds { |
1 | office | 13 | compatible = "gpio-leds"; |
14 | |||
15 | wifi { |
||
16 | label = "mzk-ex300np:green:wifi"; |
||
17 | gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; |
||
18 | }; |
||
19 | |||
3 | office | 20 | wps { |
1 | office | 21 | label = "mzk-ex300np:green:wps"; |
22 | gpios = <&gpio1 5 GPIO_ACTIVE_LOW>; |
||
23 | }; |
||
24 | |||
25 | rep { |
||
26 | label = "mzk-ex300np:blue:rep"; |
||
27 | gpios = <&gpio1 4 GPIO_ACTIVE_LOW>; |
||
28 | }; |
||
29 | |||
30 | wifi1 { |
||
31 | label = "mzk-ex300np:blue:wifi1"; |
||
32 | gpios = <&gpio1 1 GPIO_ACTIVE_LOW>; |
||
33 | }; |
||
34 | |||
35 | wifi2 { |
||
36 | label = "mzk-ex300np:blue:wifi2"; |
||
37 | gpios = <&gpio1 2 GPIO_ACTIVE_LOW>; |
||
38 | }; |
||
39 | |||
40 | wifi3 { |
||
41 | label = "mzk-ex300np:blue:wifi3"; |
||
42 | gpios = <&gpio1 0 GPIO_ACTIVE_LOW>; |
||
43 | }; |
||
44 | }; |
||
45 | |||
3 | office | 46 | gpio-keys-polled { |
1 | office | 47 | compatible = "gpio-keys-polled"; |
3 | office | 48 | #address-cells = <1>; |
49 | #size-cells = <0>; |
||
1 | office | 50 | poll-interval = <20>; |
51 | |||
52 | reset { |
||
53 | label = "reset"; |
||
54 | gpios = <&gpio0 1 GPIO_ACTIVE_LOW>; |
||
55 | linux,code = <KEY_RESTART>; |
||
56 | }; |
||
57 | |||
58 | wps { |
||
59 | label = "wps"; |
||
60 | gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>; |
||
61 | linux,code = <KEY_RFKILL>; |
||
62 | }; |
||
63 | }; |
||
64 | }; |
||
65 | |||
66 | &gpio1 { |
||
67 | status = "okay"; |
||
68 | }; |
||
69 | |||
70 | &gpio3 { |
||
71 | status = "okay"; |
||
72 | }; |
||
73 | |||
74 | &spi0 { |
||
75 | status = "okay"; |
||
76 | |||
77 | m25p80@0 { |
||
3 | office | 78 | #address-cells = <1>; |
79 | #size-cells = <1>; |
||
1 | office | 80 | compatible = "jedec,spi-nor"; |
81 | reg = <0>; |
||
82 | spi-max-frequency = <10000000>; |
||
83 | |||
3 | office | 84 | partition@0 { |
85 | label = "u-boot"; |
||
86 | reg = <0x0 0x30000>; |
||
87 | read-only; |
||
88 | }; |
||
1 | office | 89 | |
3 | office | 90 | partition@30000 { |
91 | label = "u-boot-env"; |
||
92 | reg = <0x30000 0x10000>; |
||
93 | read-only; |
||
94 | }; |
||
1 | office | 95 | |
3 | office | 96 | factory: partition@40000 { |
97 | label = "factory"; |
||
98 | reg = <0x40000 0x10000>; |
||
99 | read-only; |
||
100 | }; |
||
1 | office | 101 | |
3 | office | 102 | partition@50000 { |
103 | label = "firmware"; |
||
104 | reg = <0x50000 0x730000>; |
||
105 | }; |
||
1 | office | 106 | |
3 | office | 107 | partition@780000 { |
108 | label = "Udata"; |
||
109 | reg = <0x780000 0x80000>; |
||
1 | office | 110 | }; |
111 | }; |
||
112 | }; |
||
113 | |||
114 | &pinctrl { |
||
115 | state_default: pinctrl0 { |
||
116 | gpio { |
||
117 | ralink,group = "i2c", "spi refclk", "rgmii1", "wled"; |
||
118 | ralink,function = "gpio"; |
||
119 | }; |
||
120 | }; |
||
121 | }; |
||
122 | |||
123 | ðernet { |
||
124 | pinctrl-names = "default"; |
||
125 | pinctrl-0 = <&ephy_pins>; |
||
126 | mtd-mac-address = <&factory 0x4>; |
||
127 | mediatek,portmap = "llllw"; |
||
128 | }; |
||
129 | |||
130 | &wmac { |
||
131 | ralink,mtd-eeprom = <&factory 0>; |
||
132 | }; |