OpenWrt – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | /dts-v1/; |
2 | |||
3 | #include "bcm6368.dtsi" |
||
4 | |||
5 | #include <dt-bindings/input/input.h> |
||
6 | |||
7 | / { |
||
8 | model = "Actiontec R1000H"; |
||
9 | compatible = "actiontec,r1000h", "brcm,bcm6368"; |
||
10 | |||
11 | chosen { |
||
12 | bootargs = "rootfstype=squashfs noinitrd console=ttyS0,115200"; |
||
13 | stdout-path = "serial0:115200n8"; |
||
14 | }; |
||
15 | |||
16 | keys { |
||
17 | compatible = "gpio-keys-polled"; |
||
18 | #address-cells = <1>; |
||
19 | #size-cells = <0>; |
||
20 | poll-interval = <20>; |
||
21 | |||
22 | reset { |
||
23 | label = "reset"; |
||
24 | gpios = <&pinctrl 34 1>; |
||
25 | linux,code = <KEY_RESTART>; |
||
26 | debounce-interval = <60>; |
||
27 | }; |
||
28 | |||
29 | wps { |
||
30 | label = "wps"; |
||
31 | gpios = <&pinctrl 35 1>; |
||
32 | linux,code = <KEY_WPS_BUTTON>; |
||
33 | debounce-interval = <60>; |
||
34 | }; |
||
35 | }; |
||
36 | |||
37 | leds { |
||
38 | compatible = "gpio-leds"; |
||
39 | |||
40 | inet_green { |
||
41 | label = "R1000H:green:inet"; |
||
42 | gpios = <&pinctrl 5 0>; |
||
43 | }; |
||
44 | |||
45 | usb_green { |
||
46 | label = "R1000H:green:usb"; |
||
47 | gpios = <&pinctrl 21 1>; |
||
48 | }; |
||
49 | |||
50 | power_green { |
||
51 | label = "R1000H:green:power"; |
||
52 | gpios = <&pinctrl 22 0>; |
||
53 | default-state = "on"; |
||
54 | }; |
||
55 | |||
56 | wps_green { |
||
57 | label = "R1000H:green:wps"; |
||
58 | gpios = <&pinctrl 23 1>; |
||
59 | }; |
||
60 | |||
61 | power_red { |
||
62 | label = "R1000H:red:power"; |
||
63 | gpios = <&pinctrl 24 0>; |
||
64 | }; |
||
65 | |||
66 | wps_red { |
||
67 | label = "R1000H:red:wps"; |
||
68 | gpios = <&pinctrl 30 1>; |
||
69 | }; |
||
70 | |||
71 | inet_red { |
||
72 | label = "R1000H:red:inet"; |
||
73 | gpios = <&pinctrl 31 0>; |
||
74 | }; |
||
75 | }; |
||
76 | }; |
||
77 | |||
78 | &pflash { |
||
79 | status = "ok"; |
||
80 | |||
81 | partitions { |
||
82 | compatible = "fixed-partitions"; |
||
83 | #address-cells = <1>; |
||
84 | #size-cells = <1>; |
||
85 | |||
86 | CFE@0 { |
||
87 | reg = <0x000000 0x020000>; |
||
88 | read-only; |
||
89 | }; |
||
90 | |||
91 | linux@20000 { |
||
92 | reg = <0x020000 0x1fc0000>; |
||
93 | compatible = "brcm,bcm963xx-imagetag"; |
||
94 | }; |
||
95 | |||
96 | nvram@1fe0000 { |
||
97 | reg = <0x1fe0000 0x20000>; |
||
98 | }; |
||
99 | }; |
||
100 | }; |
||
101 | |||
102 | &uart0 { |
||
103 | status = "ok"; |
||
104 | }; |
||
105 | |||
106 | &uart1 { |
||
107 | status = "ok"; |
||
108 | }; |