OpenWrt – Blame information for rev 3
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | /dts-v1/; |
2 | |||
3 | #include "bcm6328.dtsi" |
||
4 | |||
5 | #include <dt-bindings/input/input.h> |
||
6 | |||
7 | / { |
||
8 | model = "Comtrend AR-5387un"; |
||
9 | compatible = "comtrend,ar-5387un", "brcm,bcm6328"; |
||
10 | |||
11 | chosen { |
||
12 | bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200"; |
||
13 | stdout-path = "serial0:115200n8"; |
||
14 | }; |
||
15 | |||
3 | office | 16 | gpio-keys-polled { |
1 | office | 17 | compatible = "gpio-keys-polled"; |
18 | #address-cells = <1>; |
||
19 | #size-cells = <0>; |
||
20 | poll-interval = <20>; |
||
3 | office | 21 | debounce-interval = <60>; |
1 | office | 22 | |
23 | reset { |
||
24 | label = "reset"; |
||
25 | gpios = <&pinctrl 23 1>; |
||
26 | linux,code = <KEY_RESTART>; |
||
27 | }; |
||
28 | }; |
||
29 | |||
3 | office | 30 | gpio-leds { |
1 | office | 31 | compatible = "gpio-leds"; |
32 | |||
33 | inet_red { |
||
34 | label = "AR-5387un:red:inet"; |
||
35 | gpios = <&pinctrl 1 0>; |
||
36 | }; |
||
37 | power_red { |
||
38 | label = "AR-5387un:red:power"; |
||
39 | gpios = <&pinctrl 4 0>; |
||
40 | }; |
||
41 | inet_green { |
||
42 | label = "AR-5387un:green:inet"; |
||
43 | gpios = <&pinctrl 7 0>; |
||
44 | }; |
||
45 | power_green { |
||
46 | label = "AR-5387un:green:power"; |
||
47 | gpios = <&pinctrl 8 0>; |
||
48 | default-state = "on"; |
||
49 | }; |
||
50 | dsl_green { |
||
51 | label = "AR-5387un:green:dsl"; |
||
52 | gpios = <&pinctrl 11 1>; |
||
53 | }; |
||
54 | }; |
||
55 | }; |
||
56 | |||
57 | &hsspi { |
||
58 | status = "ok"; |
||
59 | |||
60 | flash@0 { |
||
61 | compatible = "jedec,spi-nor"; |
||
62 | spi-max-frequency = <16666667>; |
||
63 | spi-tx-bus-width = <2>; |
||
64 | spi-rx-bus-width = <2>; |
||
65 | reg = <0>; |
||
66 | |||
67 | #address-cells = <1>; |
||
68 | #size-cells = <1>; |
||
69 | |||
3 | office | 70 | linux,part-probe = "bcm63xxpart"; |
71 | |||
1 | office | 72 | partitions { |
73 | compatible = "fixed-partitions"; |
||
74 | #address-cells = <1>; |
||
75 | #size-cells = <1>; |
||
76 | |||
77 | cfe@0 { |
||
78 | reg = <0x000000 0x010000>; |
||
79 | label = "cfe"; |
||
80 | read-only; |
||
81 | }; |
||
82 | |||
83 | linux@10000 { |
||
84 | reg = <0x010000 0xfe0000>; |
||
85 | label = "linux"; |
||
86 | compatible = "brcm,bcm963xx-imagetag"; |
||
87 | }; |
||
88 | |||
89 | nvram@ff0000 { |
||
90 | reg = <0xff0000 0x010000>; |
||
91 | label = "nvram"; |
||
92 | }; |
||
93 | }; |
||
94 | }; |
||
95 | }; |
||
96 | |||
97 | &uart0 { |
||
98 | status = "ok"; |
||
99 | }; |