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