OpenWrt – Blame information for rev 4
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
4 | office | 1 | /dts-v1/; |
2 | |||
3 | #include "bcm6318.dtsi" |
||
4 | |||
5 | #include <dt-bindings/input/input.h> |
||
6 | |||
7 | / { |
||
8 | model = "D-Link DSL-2750B/DSL-2751 rev D1"; |
||
9 | compatible = "d-link,dsl-275xb-d", "brcm,bcm6318"; |
||
10 | |||
11 | chosen { |
||
12 | bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200"; |
||
13 | stdout-path = "serial0:115200n8"; |
||
14 | }; |
||
15 | |||
16 | gpio-keys-polled { |
||
17 | compatible = "gpio-keys-polled"; |
||
18 | #address-cells = <1>; |
||
19 | #size-cells = <0>; |
||
20 | poll-interval = <20>; |
||
21 | debounce-interval = <60>; |
||
22 | |||
23 | wifi { |
||
24 | label = "wifi"; |
||
25 | gpios = <&pinctrl 2 1>; |
||
26 | linux,code = <KEY_WLAN>; |
||
27 | }; |
||
28 | |||
29 | wps { |
||
30 | label = "wps"; |
||
31 | gpios = <&pinctrl 33 1>; |
||
32 | linux,code = <KEY_WPS_BUTTON>; |
||
33 | }; |
||
34 | |||
35 | reset { |
||
36 | label = "reset"; |
||
37 | gpios = <&pinctrl 34 1>; |
||
38 | linux,code = <KEY_RESTART>; |
||
39 | }; |
||
40 | }; |
||
41 | |||
42 | gpio-leds { |
||
43 | compatible = "gpio-leds"; |
||
44 | |||
45 | power_green { |
||
46 | label = "dsl-275xb:green:power"; |
||
47 | gpios = <&pinctrl 3 1>; |
||
48 | default-state = "on"; |
||
49 | }; |
||
50 | |||
51 | inet_green { |
||
52 | label = "dsl-275xb:green:inet"; |
||
53 | gpios = <&pinctrl 8 1>; |
||
54 | }; |
||
55 | |||
56 | inet_red { |
||
57 | label = "dsl-275xb:red:inet-fail"; |
||
58 | gpios = <&pinctrl 9 1>; |
||
59 | }; |
||
60 | |||
61 | power_red { |
||
62 | label = "dsl-275xb:red:post-failed"; |
||
63 | gpios = <&pinctrl 11 1>; |
||
64 | }; |
||
65 | |||
66 | wps_blue { |
||
67 | label = "dsl-275xb:blue:wps"; |
||
68 | gpios = <&pinctrl 16 1>; |
||
69 | }; |
||
70 | |||
71 | dsl_green { |
||
72 | label = "dsl-275xb:green:dsl"; |
||
73 | gpios = <&pinctrl 17 1>; |
||
74 | }; |
||
75 | |||
76 | usb_green { |
||
77 | /* not user controllable? */ |
||
78 | label = "dsl-275xb:green:usb"; |
||
79 | gpios = <&pinctrl 49 1>; |
||
80 | }; |
||
81 | }; |
||
82 | }; |
||
83 | |||
84 | &hsspi { |
||
85 | status = "ok"; |
||
86 | |||
87 | flash@0 { |
||
88 | compatible = "jedec,spi-nor"; |
||
89 | spi-max-frequency = <62500000>; |
||
90 | spi-tx-bus-width = <2>; |
||
91 | spi-rx-bus-width = <2>; |
||
92 | reg = <0>; |
||
93 | |||
94 | #address-cells = <1>; |
||
95 | #size-cells = <1>; |
||
96 | |||
97 | linux,part-probe = "bcm63xxpart"; |
||
98 | |||
99 | partitions { |
||
100 | compatible = "fixed-partitions"; |
||
101 | #address-cells = <1>; |
||
102 | #size-cells = <1>; |
||
103 | |||
104 | cfe@0 { |
||
105 | reg = <0x000000 0x010000>; |
||
106 | label = "cfe"; |
||
107 | read-only; |
||
108 | }; |
||
109 | |||
110 | linux@10000 { |
||
111 | reg = <0x010000 0x7e0000>; |
||
112 | label = "linux"; |
||
113 | compatible = "brcm,bcm963xx-imagetag"; |
||
114 | }; |
||
115 | |||
116 | nvram@7f0000 { |
||
117 | reg = <0x7f0000 0x010000>; |
||
118 | label = "nvram"; |
||
119 | }; |
||
120 | }; |
||
121 | }; |
||
122 | }; |
||
123 | |||
124 | &pinctrl { |
||
125 | pinctrl-names = "default"; |
||
126 | |||
127 | pinctrl-0 = <&pinctrl_ephy0_act_led &pinctrl_ephy1_act_led |
||
128 | &pinctrl_ephy2_act_led &pinctrl_ephy3_act_led>; |
||
129 | }; |
||
130 | |||
131 | &uart0 { |
||
132 | status = "ok"; |
||
133 | }; |