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 = "asus,rt-g32-b1", "ralink,rt3050-soc"; |
||
10 | model = "Asus RT-G32 B1"; |
||
11 | |||
3 | office | 12 | gpio-keys-polled { |
1 | office | 13 | compatible = "gpio-keys-polled"; |
3 | office | 14 | #address-cells = <1>; |
15 | #size-cells = <0>; |
||
1 | office | 16 | poll-interval = <20>; |
17 | |||
18 | reset { |
||
19 | label = "reset"; |
||
20 | gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; |
||
21 | linux,code = <KEY_RESTART>; |
||
22 | }; |
||
23 | |||
24 | wps { |
||
25 | label = "wps"; |
||
26 | gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; |
||
27 | linux,code = <KEY_WPS_BUTTON>; |
||
28 | }; |
||
29 | }; |
||
30 | }; |
||
31 | |||
32 | &spi0 { |
||
33 | status = "okay"; |
||
34 | |||
35 | m25p80@0 { |
||
3 | office | 36 | #address-cells = <1>; |
37 | #size-cells = <1>; |
||
1 | office | 38 | compatible = "jedec,spi-nor"; |
39 | reg = <0>; |
||
40 | spi-max-frequency = <10000000>; |
||
41 | |||
3 | office | 42 | partition@0 { |
43 | label = "u-boot"; |
||
44 | reg = <0x0 0x30000>; |
||
45 | read-only; |
||
46 | }; |
||
1 | office | 47 | |
3 | office | 48 | partition@30000 { |
49 | label = "devdata"; |
||
50 | reg = <0x30000 0x10000>; |
||
51 | read-only; |
||
52 | }; |
||
1 | office | 53 | |
3 | office | 54 | devconf: partition@40000 { |
55 | label = "devconf"; |
||
56 | reg = <0x40000 0x10000>; |
||
57 | read-only; |
||
58 | }; |
||
1 | office | 59 | |
3 | office | 60 | partition@50000 { |
61 | label = "firmware"; |
||
62 | reg = <0x50000 0x3b0000>; |
||
1 | office | 63 | }; |
64 | }; |
||
65 | }; |
||
66 | |||
67 | &pinctrl { |
||
68 | state_default: pinctrl0 { |
||
69 | gpio { |
||
70 | ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf"; |
||
71 | ralink,function = "gpio"; |
||
72 | }; |
||
73 | }; |
||
74 | }; |
||
75 | |||
76 | ðernet { |
||
77 | mtd-mac-address = <&devconf 0x4>; |
||
78 | }; |
||
79 | |||
80 | &esw { |
||
81 | mediatek,portmap = <0x2f>; |
||
82 | }; |
||
83 | |||
84 | &wmac { |
||
85 | ralink,mtd-eeprom = <&devconf 0>; |
||
86 | }; |