OpenWrt – Blame information for rev 3
?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 = "Observa VH4032N"; |
||
9 | compatible = "observa,vh4032n", "brcm,bcm6368"; |
||
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 34 1>; |
||
26 | linux,code = <KEY_RESTART>; |
||
27 | }; |
||
3 | office | 28 | wps { |
29 | label = "wps"; |
||
1 | office | 30 | gpios = <&pinctrl 35 1>; |
3 | office | 31 | linux,code = <KEY_WPS_BUTTON>; |
1 | office | 32 | }; |
33 | }; |
||
34 | |||
3 | office | 35 | gpio-leds { |
1 | office | 36 | compatible = "gpio-leds"; |
37 | |||
38 | dsl_blue { |
||
39 | label = "VH4032N:blue:dsl"; |
||
40 | gpios = <&pinctrl 2 1>; |
||
41 | }; |
||
42 | dsl_red { |
||
43 | label = "VH4032N:red:dsl"; |
||
44 | gpios = <&pinctrl 5 1>; |
||
45 | }; |
||
46 | hspa_blue { |
||
47 | label = "VH4032N:blue:hspa"; |
||
48 | gpios = <&pinctrl 11 1>; |
||
49 | }; |
||
50 | hspa_red { |
||
51 | label = "VH4032N:red:hspa"; |
||
52 | gpios = <&pinctrl 12 1>; |
||
53 | }; |
||
54 | power_blue { |
||
55 | label = "VH4032N:blue:power"; |
||
56 | gpios = <&pinctrl 22 0>; |
||
57 | }; |
||
58 | power_red { |
||
59 | label = "VH4032N:red:power"; |
||
60 | gpios = <&pinctrl 24 0>; |
||
3 | office | 61 | default-state = "on"; |
1 | office | 62 | }; |
63 | voice_blue { |
||
64 | label = "VH4032N:blue:voice"; |
||
65 | gpios = <&pinctrl 25 1>; |
||
66 | }; |
||
67 | voice_red { |
||
68 | label = "VH4032N:red:voice"; |
||
69 | gpios = <&pinctrl 26 1>; |
||
70 | }; |
||
71 | }; |
||
72 | }; |
||
73 | |||
74 | &pinctrl { |
||
75 | usb_hub_reset { |
||
76 | gpio-hog; |
||
77 | gpios = <27 0>; |
||
78 | output-high; |
||
79 | line-name = "usb-hub-reset-gpio"; |
||
80 | }; |
||
81 | }; |
||
82 | |||
83 | &pflash { |
||
84 | status = "ok"; |
||
85 | |||
3 | office | 86 | linux,part-probe = "bcm63xxpart"; |
87 | |||
1 | office | 88 | partitions { |
89 | compatible = "fixed-partitions"; |
||
90 | #address-cells = <1>; |
||
91 | #size-cells = <1>; |
||
92 | |||
93 | cfe@0 { |
||
94 | label = "CFE"; |
||
95 | reg = <0x0000000 0x0020000>; |
||
96 | read-only; |
||
97 | }; |
||
98 | |||
99 | linux@20000 { |
||
100 | label = "linux"; |
||
101 | reg = <0x0020000 0x1fc0000>; |
||
102 | compatible = "brcm,bcm963xx-imagetag"; |
||
103 | }; |
||
104 | |||
105 | nvram@1fe0000 { |
||
106 | label = "nvram"; |
||
107 | reg = <0x1fe0000 0x020000>; |
||
108 | }; |
||
109 | }; |
||
110 | }; |
||
111 | |||
112 | &uart0 { |
||
113 | status = "ok"; |
||
114 | }; |