OpenWrt – Blame information for rev 3
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | /dts-v1/; |
2 | |||
3 | #include "rt3883.dtsi" |
||
4 | |||
5 | #include <dt-bindings/gpio/gpio.h> |
||
6 | #include <dt-bindings/input/input.h> |
||
7 | |||
8 | / { |
||
9 | compatible = "samsung,cy-swr1100", "ralink,rt3883-soc"; |
||
10 | model = "Samsung CY-SWR1100"; |
||
11 | |||
12 | nor-flash@1c000000 { |
||
13 | compatible = "cfi-flash"; |
||
14 | reg = <0x1c000000 0x800000>; |
||
15 | bank-width = <2>; |
||
3 | office | 16 | #address-cells = <1>; |
17 | #size-cells = <1>; |
||
1 | office | 18 | |
3 | office | 19 | partition@0 { |
20 | label = "uboot"; |
||
21 | reg = <0x0 0x30000>; |
||
22 | read-only; |
||
23 | }; |
||
1 | office | 24 | |
3 | office | 25 | partition@30000 { |
26 | label = "uboot-env"; |
||
27 | reg = <0x30000 0x4000>; |
||
28 | read-only; |
||
29 | }; |
||
1 | office | 30 | |
3 | office | 31 | factory: partition@34000 { |
32 | label = "factory"; |
||
33 | reg = <0x34000 0x4000>; |
||
34 | read-only; |
||
35 | }; |
||
1 | office | 36 | |
3 | office | 37 | partition@38000 { |
38 | label = "nvram"; |
||
39 | reg = <0x38000 0x8000>; |
||
40 | read-only; |
||
41 | }; |
||
1 | office | 42 | |
3 | office | 43 | partition@40000 { |
44 | label = "devdata"; |
||
45 | reg = <0x40000 0x10000>; |
||
46 | }; |
||
1 | office | 47 | |
3 | office | 48 | partition@50000 { |
49 | label = "firmware"; |
||
50 | reg = <0x50000 0x7b0000>; |
||
1 | office | 51 | }; |
52 | }; |
||
53 | |||
54 | rtl8367 { |
||
55 | compatible = "realtek,rtl8367"; |
||
56 | gpio-sda = <&gpio0 1 GPIO_ACTIVE_HIGH>; |
||
57 | gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>; |
||
58 | realtek,extif0 = <1 0 1 1 1 1 1 1 2>; |
||
59 | }; |
||
60 | |||
3 | office | 61 | gpio-keys-polled { |
1 | office | 62 | compatible = "gpio-keys-polled"; |
3 | office | 63 | #address-cells = <1>; |
64 | #size-cells = <0>; |
||
1 | office | 65 | poll-interval = <100>; |
66 | |||
67 | reset { |
||
68 | label = "reset"; |
||
69 | gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; |
||
70 | linux,code = <KEY_RESTART>; |
||
71 | }; |
||
72 | |||
73 | wps { |
||
74 | label = "wps"; |
||
75 | gpios = <&gpio0 3 GPIO_ACTIVE_LOW>; |
||
76 | linux,code = <KEY_WPS_BUTTON>; |
||
77 | }; |
||
78 | }; |
||
79 | |||
3 | office | 80 | gpio-leds { |
1 | office | 81 | compatible = "gpio-leds"; |
82 | |||
3 | office | 83 | wps { |
1 | office | 84 | label = "cy-swr1100:blue:wps"; |
85 | gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; |
||
86 | }; |
||
87 | |||
88 | usb { |
||
89 | label = "cy-swr1100:blue:usb"; |
||
90 | gpios = <&gpio1 1 GPIO_ACTIVE_LOW>; |
||
91 | }; |
||
92 | }; |
||
93 | }; |
||
94 | |||
95 | &gpio1 { |
||
96 | status = "okay"; |
||
97 | }; |
||
98 | |||
99 | &pinctrl { |
||
100 | state_default: pinctrl0 { |
||
101 | gpio { |
||
102 | ralink,group = "i2c", "spi"; |
||
103 | ralink,function = "gpio"; |
||
104 | }; |
||
105 | }; |
||
106 | }; |
||
107 | |||
108 | ðernet { |
||
109 | port@0 { |
||
110 | mediatek,fixed-link = <1000 1 1 1>; |
||
111 | phy-mode = "rgmii"; |
||
112 | }; |
||
113 | }; |
||
114 | |||
115 | &pci { |
||
116 | status = "okay"; |
||
3 | office | 117 | pinctrl-names = "default"; |
118 | pinctrl-0 = <&pci_pins>; |
||
1 | office | 119 | |
3 | office | 120 | pci_pins: pci { |
121 | pci { |
||
122 | ralink,group = "pci"; |
||
123 | ralink,function = "pci-fnc"; |
||
124 | }; |
||
125 | }; |
||
1 | office | 126 | |
3 | office | 127 | host-bridge { |
128 | pci-bridge@1 { |
||
129 | status = "okay"; |
||
130 | |||
131 | wifi@0,0 { |
||
132 | compatible = "pci0,0"; |
||
133 | reg = <0x10000 0 0 0 0>; |
||
134 | ralink,5ghz = <0>; |
||
135 | ralink,mtd-eeprom = <&factory 0x2000>; |
||
136 | }; |
||
137 | }; |
||
1 | office | 138 | }; |
139 | }; |
||
140 | |||
141 | &wmac { |
||
142 | status = "okay"; |
||
143 | ralink,2ghz = <0>; |
||
144 | ralink,mtd-eeprom = <&factory 0>; |
||
145 | }; |
||
146 | |||
147 | &ehci { |
||
148 | status = "okay"; |
||
149 | }; |
||
150 | |||
151 | &ohci { |
||
152 | status = "okay"; |
||
153 | }; |