OpenWrt – Blame information for rev 3
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | /dts-v1/; |
2 | |||
3 | #include "rt3050.dtsi" |
||
4 | |||
5 | #include <dt-bindings/gpio/gpio.h> |
||
6 | #include <dt-bindings/input/input.h> |
||
7 | |||
8 | / { |
||
9 | compatible = "argus,atp-52b", "ralink,rt3052-soc"; |
||
10 | model = "Argus ATP-52B"; |
||
11 | |||
12 | cfi@1f000000 { |
||
13 | compatible = "cfi-flash"; |
||
14 | reg = <0x1f000000 0x800000>; |
||
15 | bank-width = <2>; |
||
16 | device-width = <2>; |
||
3 | office | 17 | #address-cells = <1>; |
18 | #size-cells = <1>; |
||
1 | office | 19 | |
3 | office | 20 | partition@0 { |
21 | label = "bootloader"; |
||
22 | reg = <0x0 0x30000>; |
||
23 | read-only; |
||
24 | }; |
||
1 | office | 25 | |
3 | office | 26 | partition@30000 { |
27 | label = "config"; |
||
28 | reg = <0x30000 0x10000>; |
||
29 | }; |
||
1 | office | 30 | |
3 | office | 31 | factory: partition@40000 { |
32 | label = "factory"; |
||
33 | reg = <0x40000 0x10000>; |
||
34 | }; |
||
1 | office | 35 | |
3 | office | 36 | partition@50000 { |
37 | label = "firmware"; |
||
38 | reg = <0x50000 0x7a0000>; |
||
1 | office | 39 | }; |
40 | }; |
||
41 | |||
3 | office | 42 | gpio-leds { |
1 | office | 43 | compatible = "gpio-leds"; |
44 | |||
3 | office | 45 | run { |
1 | office | 46 | label = "atp-52b:green:run"; |
47 | gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; |
||
48 | }; |
||
49 | |||
50 | net { |
||
51 | label = "atp-52b:amber:net"; |
||
52 | gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; |
||
53 | }; |
||
54 | }; |
||
55 | |||
3 | office | 56 | gpio-keys-polled { |
1 | office | 57 | compatible = "gpio-keys-polled"; |
3 | office | 58 | #address-cells = <1>; |
59 | #size-cells = <0>; |
||
1 | office | 60 | poll-interval = <20>; |
61 | |||
62 | wps { |
||
63 | label = "wps"; |
||
64 | gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; |
||
65 | linux,code = <KEY_WPS_BUTTON>; |
||
66 | }; |
||
67 | |||
68 | reset { |
||
69 | label = "reset"; |
||
70 | gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; |
||
71 | linux,code = <KEY_RESTART>; |
||
72 | }; |
||
73 | }; |
||
74 | }; |
||
75 | |||
76 | &pinctrl { |
||
77 | state_default: pinctrl0 { |
||
78 | gpio { |
||
79 | ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf"; |
||
80 | ralink,function = "gpio"; |
||
81 | }; |
||
82 | }; |
||
83 | }; |
||
84 | |||
85 | |||
86 | ðernet { |
||
87 | mtd-mac-address = <&factory 0x4>; |
||
88 | }; |
||
89 | |||
90 | &esw { |
||
91 | mediatek,portmap = <0x3e>; |
||
92 | }; |
||
93 | |||
94 | &wmac { |
||
95 | ralink,mtd-eeprom = <&factory 0>; |
||
96 | }; |
||
97 | |||
98 | &otg { |
||
99 | status = "okay"; |
||
100 | }; |