OpenWrt – Blame information for rev 3
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | /dts-v1/; |
2 | |||
3 | #include "rt5350.dtsi" |
||
4 | |||
5 | #include <dt-bindings/gpio/gpio.h> |
||
6 | #include <dt-bindings/input/input.h> |
||
7 | |||
8 | / { |
||
9 | compatible = "airlive,air3gii", "ralink,rt5350-soc"; |
||
10 | model = "AirLive Air3GII"; |
||
11 | |||
3 | office | 12 | gpio-leds { |
1 | office | 13 | compatible = "gpio-leds"; |
14 | |||
15 | wlan { |
||
16 | label = "air3gii:green:wlan"; |
||
17 | gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>; |
||
18 | }; |
||
19 | |||
20 | mobile { |
||
21 | label = "air3gii:green:mobile"; |
||
22 | gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; |
||
23 | }; |
||
24 | }; |
||
25 | |||
3 | office | 26 | gpio-keys-polled { |
1 | office | 27 | compatible = "gpio-keys-polled"; |
3 | office | 28 | #address-cells = <1>; |
29 | #size-cells = <0>; |
||
1 | office | 30 | poll-interval = <20>; |
31 | |||
32 | wps { |
||
33 | label = "wps"; |
||
34 | gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; |
||
35 | linux,code = <KEY_WPS_BUTTON>; |
||
36 | }; |
||
37 | }; |
||
38 | }; |
||
39 | |||
40 | &gpio0 { |
||
41 | status = "okay"; |
||
42 | }; |
||
43 | |||
44 | &spi0 { |
||
45 | status = "okay"; |
||
46 | |||
47 | m25p80@0 { |
||
3 | office | 48 | #address-cells = <1>; |
49 | #size-cells = <1>; |
||
1 | office | 50 | compatible = "jedec,spi-nor"; |
51 | reg = <0>; |
||
52 | spi-max-frequency = <10000000>; |
||
53 | |||
3 | office | 54 | partition@0 { |
55 | label = "u-boot"; |
||
56 | reg = <0x0 0x30000>; |
||
57 | read-only; |
||
58 | }; |
||
1 | office | 59 | |
3 | office | 60 | partition@30000 { |
61 | label = "u-boot-env"; |
||
62 | reg = <0x30000 0x10000>; |
||
63 | read-only; |
||
64 | }; |
||
1 | office | 65 | |
3 | office | 66 | factory: partition@40000 { |
67 | label = "factory"; |
||
68 | reg = <0x40000 0x10000>; |
||
69 | read-only; |
||
70 | }; |
||
1 | office | 71 | |
3 | office | 72 | partition@50000 { |
73 | label = "firmware"; |
||
74 | reg = <0x50000 0x3b0000>; |
||
1 | office | 75 | }; |
76 | }; |
||
77 | }; |
||
78 | |||
79 | &pinctrl { |
||
80 | state_default: pinctrl0 { |
||
81 | gpio { |
||
82 | ralink,group = "i2c", "jtag", "uartf"; |
||
83 | ralink,function = "gpio"; |
||
84 | }; |
||
85 | }; |
||
86 | }; |
||
87 | |||
88 | ðernet { |
||
89 | mtd-mac-address = <&factory 0x4>; |
||
90 | }; |
||
91 | |||
92 | &esw { |
||
93 | mediatek,portmap = <0x2f>; |
||
94 | }; |
||
95 | |||
96 | &wmac { |
||
97 | ralink,mtd-eeprom = <&factory 0>; |
||
98 | }; |