OpenWrt – Blame information for rev 4
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
4 | office | 1 | /dts-v1/; |
2 | |||
3 | #include "bcm6368.dtsi" |
||
4 | |||
5 | #include <dt-bindings/gpio/gpio.h> |
||
6 | #include <dt-bindings/input/input.h> |
||
7 | |||
8 | / { |
||
9 | model = "ADB P.DG AV4202N"; |
||
10 | compatible = "adb,av4202n", "brcm,bcm6368"; |
||
11 | |||
12 | chosen { |
||
13 | bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200"; |
||
14 | stdout-path = "serial0:115200n8"; |
||
15 | }; |
||
16 | |||
17 | gpio-keys-polled { |
||
18 | compatible = "gpio-keys-polled"; |
||
19 | #address-cells = <1>; |
||
20 | #size-cells = <0>; |
||
21 | poll-interval = <20>; |
||
22 | debounce-interval = <60>; |
||
23 | |||
24 | reset { |
||
25 | label = "reset"; |
||
26 | gpios = <&pinctrl 34 GPIO_ACTIVE_LOW>; |
||
27 | linux,code = <KEY_RESTART>; |
||
28 | }; |
||
29 | wlan { |
||
30 | label = "wlan"; |
||
31 | gpios = <&pinctrl 37 GPIO_ACTIVE_LOW>; |
||
32 | linux,code = <KEY_WLAN>; |
||
33 | }; |
||
34 | }; |
||
35 | |||
36 | gpio-leds { |
||
37 | compatible = "gpio-leds"; |
||
38 | |||
39 | power_white { |
||
40 | label = "AV4202N:white:power"; |
||
41 | gpios = <&pinctrl 10 GPIO_ACTIVE_LOW>; |
||
42 | default-state = "on"; |
||
43 | }; |
||
44 | power_red { |
||
45 | label = "AV4202N:red:power"; |
||
46 | gpios = <&pinctrl 11 GPIO_ACTIVE_LOW>; |
||
47 | }; |
||
48 | wan_white { |
||
49 | label = "AV4202N:white:wan"; |
||
50 | gpios = <&pinctrl 26 GPIO_ACTIVE_LOW>; |
||
51 | }; |
||
52 | wan_red { |
||
53 | label = "AV4202N:red:wan"; |
||
54 | gpios = <&pinctrl 27 GPIO_ACTIVE_LOW>; |
||
55 | }; |
||
56 | phone_white { |
||
57 | label = "AV4202N:white:phone"; |
||
58 | gpios = <&pinctrl 24 GPIO_ACTIVE_LOW>; |
||
59 | }; |
||
60 | phone_red { |
||
61 | label = "AV4202N:red:phone"; |
||
62 | gpios = <&pinctrl 25 GPIO_ACTIVE_LOW>; |
||
63 | }; |
||
64 | wifi { |
||
65 | label = "AV4202N:blue:wifi"; |
||
66 | gpios = <&pinctrl 22 GPIO_ACTIVE_LOW>; |
||
67 | }; |
||
68 | }; |
||
69 | }; |
||
70 | |||
71 | &pflash { |
||
72 | status = "ok"; |
||
73 | |||
74 | linux,part-probe = "bcm63xxpart"; |
||
75 | |||
76 | partitions { |
||
77 | compatible = "fixed-partitions"; |
||
78 | #address-cells = <1>; |
||
79 | #size-cells = <1>; |
||
80 | |||
81 | cfe@0 { |
||
82 | label = "CFE"; |
||
83 | reg = <0x000000 0x020000>; |
||
84 | read-only; |
||
85 | }; |
||
86 | |||
87 | linux@20000 { |
||
88 | label = "linux"; |
||
89 | reg = <0x020000 0xfc0000>; |
||
90 | compatible = "brcm,bcm963xx-imagetag"; |
||
91 | }; |
||
92 | |||
93 | nvram@fe0000 { |
||
94 | label = "nvram"; |
||
95 | reg = <0xfe0000 0x020000>; |
||
96 | }; |
||
97 | }; |
||
98 | }; |
||
99 | |||
100 | &uart0 { |
||
101 | status = "ok"; |
||
102 | }; |