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 = "Huawei HG622"; |
||
9 | compatible = "huawei,hg622", "brcm,bcm6368"; |
||
10 | |||
11 | chosen { |
||
12 | bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200"; |
||
13 | stdout-path = "serial0:115200n8"; |
||
14 | }; |
||
15 | |||
16 | |||
17 | keys { |
||
18 | compatible = "gpio-keys-polled"; |
||
19 | #address-cells = <1>; |
||
20 | #size-cells = <0>; |
||
21 | poll-interval = <20>; |
||
22 | |||
23 | reset { |
||
24 | label = "reset"; |
||
25 | gpios = <&pinctrl 34 1>; |
||
26 | linux,code = <KEY_RESTART>; |
||
27 | debounce-interval = <60>; |
||
28 | }; |
||
29 | }; |
||
30 | |||
31 | leds { |
||
32 | compatible = "gpio-leds"; |
||
33 | |||
34 | dsl_green { |
||
35 | label = "HG622:green:dsl"; |
||
36 | gpios = <&pinctrl 2 1>; |
||
37 | }; |
||
38 | inet_green { |
||
39 | label = "HG622:green:inet"; |
||
40 | gpios = <&pinctrl 5 1>; |
||
41 | }; |
||
42 | usb_green { |
||
43 | label = "HG622:green:usb"; |
||
44 | gpios = <&pinctrl 11 1>; |
||
45 | }; |
||
46 | power_green { |
||
47 | label = "HG622:green:power"; |
||
48 | gpios = <&pinctrl 22 1>; |
||
49 | default-state = "on"; |
||
50 | }; |
||
51 | }; |
||
52 | }; |
||
53 | |||
54 | &pflash { |
||
55 | status = "ok"; |
||
56 | |||
57 | partitions { |
||
58 | compatible = "fixed-partitions"; |
||
59 | #address-cells = <1>; |
||
60 | #size-cells = <1>; |
||
61 | |||
62 | cfe@0 { |
||
63 | label = "CFE"; |
||
64 | reg = <0x000000 0x020000>; |
||
65 | read-only; |
||
66 | }; |
||
67 | |||
68 | linux@20000 { |
||
69 | label = "linux"; |
||
70 | reg = <0x020000 0xf80000>; |
||
71 | compatible = "brcm,bcm963xx-imagetag"; |
||
72 | }; |
||
73 | |||
74 | cal_data@fa0000 { |
||
75 | label = "cal_data"; |
||
76 | reg = <0xfa0000 0x020000>; |
||
77 | read-only; |
||
78 | }; |
||
79 | |||
80 | nvram@fe0000 { |
||
81 | label = "nvram"; |
||
82 | reg = <0xfe0000 0x020000>; |
||
83 | }; |
||
84 | }; |
||
85 | }; |
||
86 | |||
87 | &pinctrl { |
||
88 | pinctrl-names = "default"; |
||
89 | pinctrl-0 = <&pinctrl_pci_gnt0 &pinctrl_pci_req0 |
||
90 | &pinctrl_pci_intb &pinctrl_pci_gnt1 |
||
91 | &pinctrl_pci_req1>; |
||
92 | }; |
||
93 | |||
94 | &uart0 { |
||
95 | status = "ok"; |
||
96 | }; |