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-5381u"; |
||
9 | compatible = "comtrend,ar-5381u", "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 | alarm_red { |
||
34 | label = "AR-5381u:red:alarm"; |
||
35 | gpios = <&pinctrl 2 1>; |
||
36 | }; |
||
37 | inet_green { |
||
38 | label = "AR-5381u:green:inet"; |
||
39 | gpios = <&pinctrl 3 1>; |
||
40 | }; |
||
41 | power_green { |
||
42 | label = "AR-5381u:green:power"; |
||
43 | gpios = <&pinctrl 4 1>; |
||
44 | default-state = "on"; |
||
45 | }; |
||
46 | }; |
||
47 | }; |
||
48 | |||
49 | &hsspi { |
||
50 | status = "ok"; |
||
51 | |||
52 | flash@0 { |
||
53 | compatible = "jedec,spi-nor"; |
||
54 | spi-max-frequency = <16666667>; |
||
55 | spi-tx-bus-width = <2>; |
||
56 | spi-rx-bus-width = <2>; |
||
57 | reg = <0>; |
||
58 | |||
59 | #address-cells = <1>; |
||
60 | #size-cells = <1>; |
||
61 | |||
3 | office | 62 | linux,part-probe = "bcm63xxpart"; |
63 | |||
1 | office | 64 | partitions { |
65 | compatible = "fixed-partitions"; |
||
66 | #address-cells = <1>; |
||
67 | #size-cells = <1>; |
||
68 | |||
69 | cfe@0 { |
||
70 | reg = <0x000000 0x010000>; |
||
71 | label = "cfe"; |
||
72 | read-only; |
||
73 | }; |
||
74 | |||
75 | linux@10000 { |
||
76 | reg = <0x010000 0xfe0000>; |
||
77 | label = "linux"; |
||
78 | compatible = "brcm,bcm963xx-imagetag"; |
||
79 | }; |
||
80 | |||
81 | nvram@ff0000 { |
||
82 | reg = <0xff0000 0x010000>; |
||
83 | label = "nvram"; |
||
84 | }; |
||
85 | }; |
||
86 | }; |
||
87 | }; |
||
88 | |||
89 | &uart0 { |
||
90 | status = "ok"; |
||
91 | }; |