OpenWrt – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | /dts-v1/; |
2 | |||
3 | #include "bcm6318.dtsi" |
||
4 | |||
5 | #include <dt-bindings/input/input.h> |
||
6 | |||
7 | / { |
||
8 | model = "Comtrend AR-5315u"; |
||
9 | compatible = "comtrend,ar-5315u", "brcm,bcm6318"; |
||
10 | |||
11 | chosen { |
||
12 | bootargs = "rootfstype=squashfs,jffs2 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 | wps { |
||
23 | label = "wps"; |
||
24 | gpios = <&pinctrl 3 1>; |
||
25 | linux,code = <KEY_WPS_BUTTON>; |
||
26 | debounce-interval = <60>; |
||
27 | }; |
||
28 | |||
29 | reset { |
||
30 | label = "reset"; |
||
31 | gpios = <&pinctrl 33 1>; |
||
32 | linux,code = <KEY_RESTART>; |
||
33 | debounce-interval = <60>; |
||
34 | }; |
||
35 | }; |
||
36 | |||
37 | leds { |
||
38 | compatible = "gpio-leds"; |
||
39 | |||
40 | wps_green { |
||
41 | label = "AR-5315u:green:wps"; |
||
42 | gpios = <&pinctrl 0 1>; |
||
43 | }; |
||
44 | power_green { |
||
45 | label = "AR-5315u:green:power"; |
||
46 | gpios = <&pinctrl 1 1>; |
||
47 | default-state = "on"; |
||
48 | }; |
||
49 | usb_green { |
||
50 | label = "AR-5315u:green:usb"; |
||
51 | gpios = <&pinctrl 2 1>; |
||
52 | }; |
||
53 | inet_green { |
||
54 | label = "AR-5315u:green:inet"; |
||
55 | gpios = <&pinctrl 8 1>; |
||
56 | }; |
||
57 | inet_red { |
||
58 | label = "AR-5315u:red:inet"; |
||
59 | gpios = <&pinctrl 9 1>; |
||
60 | }; |
||
61 | dsl_green { |
||
62 | label = "AR-5315u:green:dsl"; |
||
63 | gpios = <&pinctrl 10 1>; |
||
64 | }; |
||
65 | power_red { |
||
66 | label = "AR-5315u:red:power"; |
||
67 | gpios = <&pinctrl 11 1>; |
||
68 | }; |
||
69 | }; |
||
70 | }; |
||
71 | |||
72 | &hsspi { |
||
73 | status = "ok"; |
||
74 | |||
75 | flash@0 { |
||
76 | compatible = "jedec,spi-nor"; |
||
77 | spi-max-frequency = <62500000>; |
||
78 | spi-tx-bus-width = <2>; |
||
79 | spi-rx-bus-width = <2>; |
||
80 | reg = <0>; |
||
81 | |||
82 | #address-cells = <1>; |
||
83 | #size-cells = <1>; |
||
84 | |||
85 | partitions { |
||
86 | compatible = "fixed-partitions"; |
||
87 | #address-cells = <1>; |
||
88 | #size-cells = <1>; |
||
89 | |||
90 | cfe@0 { |
||
91 | reg = <0x000000 0x010000>; |
||
92 | label = "cfe"; |
||
93 | read-only; |
||
94 | }; |
||
95 | |||
96 | linux@10000 { |
||
97 | reg = <0x010000 0xfe0000>; |
||
98 | label = "linux"; |
||
99 | compatible = "brcm,bcm963xx-imagetag"; |
||
100 | }; |
||
101 | |||
102 | nvram@ff0000 { |
||
103 | reg = <0xff0000 0x010000>; |
||
104 | label = "nvram"; |
||
105 | }; |
||
106 | }; |
||
107 | }; |
||
108 | }; |
||
109 | |||
110 | &pinctrl { |
||
111 | pinctrl-names = "default"; |
||
112 | pinctrl-0 = <&pinctrl_ephy0_act_led &pinctrl_ephy1_act_led |
||
113 | &pinctrl_ephy2_act_led &pinctrl_ephy3_act_led>; |
||
114 | }; |
||
115 | |||
116 | &uart0 { |
||
117 | status = "ok"; |
||
118 | }; |