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 = "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 | |||
3 | office | 17 | gpio-keys-polled { |
1 | office | 18 | compatible = "gpio-keys-polled"; |
19 | #address-cells = <1>; |
||
20 | #size-cells = <0>; |
||
21 | poll-interval = <20>; |
||
3 | office | 22 | debounce-interval = <60>; |
1 | office | 23 | |
24 | reset { |
||
25 | label = "reset"; |
||
26 | gpios = <&pinctrl 34 1>; |
||
27 | linux,code = <KEY_RESTART>; |
||
28 | }; |
||
29 | }; |
||
30 | |||
3 | office | 31 | gpio-leds { |
1 | office | 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 | |||
3 | office | 57 | linux,part-probe = "bcm63xxpart"; |
58 | |||
1 | office | 59 | partitions { |
60 | compatible = "fixed-partitions"; |
||
61 | #address-cells = <1>; |
||
62 | #size-cells = <1>; |
||
63 | |||
64 | cfe@0 { |
||
65 | label = "CFE"; |
||
66 | reg = <0x000000 0x020000>; |
||
67 | read-only; |
||
68 | }; |
||
69 | |||
70 | linux@20000 { |
||
71 | label = "linux"; |
||
72 | reg = <0x020000 0xf80000>; |
||
73 | compatible = "brcm,bcm963xx-imagetag"; |
||
74 | }; |
||
75 | |||
76 | cal_data@fa0000 { |
||
77 | label = "cal_data"; |
||
78 | reg = <0xfa0000 0x020000>; |
||
79 | read-only; |
||
80 | }; |
||
81 | |||
82 | nvram@fe0000 { |
||
83 | label = "nvram"; |
||
84 | reg = <0xfe0000 0x020000>; |
||
85 | }; |
||
86 | }; |
||
87 | }; |
||
88 | |||
89 | &pinctrl { |
||
90 | pinctrl-names = "default"; |
||
91 | pinctrl-0 = <&pinctrl_pci_gnt0 &pinctrl_pci_req0 |
||
92 | &pinctrl_pci_intb &pinctrl_pci_gnt1 |
||
93 | &pinctrl_pci_req1>; |
||
94 | }; |
||
95 | |||
96 | &uart0 { |
||
97 | status = "ok"; |
||
98 | }; |