OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Only display areas with differencesIgnore whitespace
Rev 2 Rev 3
1 /dts-v1/; 1 /dts-v1/;
2   2  
3 #include "bcm6358.dtsi" 3 #include "bcm6358.dtsi"
4   4  
5 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/input/input.h>
6   6  
7 / { 7 / {
8 model = "Huawei EchoLife HG556a (version C)"; 8 model = "Huawei EchoLife HG556a (version C)";
9 compatible = "huawei,hg556a-c", "brcm,bcm6358"; 9 compatible = "huawei,hg556a-c", "brcm,bcm6358";
10   10  
11 chosen { 11 chosen {
12 bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200"; 12 bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
13 stdout-path = "serial0:115200n8"; 13 stdout-path = "serial0:115200n8";
14 }; 14 };
15   15  
16 keys { 16 gpio-keys-polled {
17 compatible = "gpio-keys-polled"; 17 compatible = "gpio-keys-polled";
18 #address-cells = <1>; 18 #address-cells = <1>;
19 #size-cells = <0>; 19 #size-cells = <0>;
20 poll-interval = <20>; 20 poll-interval = <20>;
-   21 debounce-interval = <60>;
21   22  
22 help { 23 help {
23 label = "help"; 24 label = "help";
24 gpios = <&pinctrl 36 1>; 25 gpios = <&pinctrl 36 1>;
25 linux,code = <KEY_HELP>; 26 linux,code = <KEY_HELP>;
26 debounce-interval = <60>; -  
27 }; 27 };
28   -  
29 wlan { 28 wlan {
30 label = "wlan"; 29 label = "wlan";
31 gpios = <&pinctrl 9 1>; 30 gpios = <&pinctrl 9 1>;
32 linux,code = <KEY_WLAN>; 31 linux,code = <KEY_WLAN>;
33 debounce-interval = <60>; -  
34 }; 32 };
35   -  
36 restart { 33 restart {
37 label = "restart"; 34 label = "restart";
38 gpios = <&pinctrl 10 1>; 35 gpios = <&pinctrl 10 1>;
39 linux,code = <KEY_RESTART>; 36 linux,code = <KEY_RESTART>;
40 debounce-interval = <60>; -  
41 }; 37 };
42   -  
43 reset { 38 reset {
44 label = "reset"; 39 label = "reset";
45 gpios = <&pinctrl 11 1>; 40 gpios = <&pinctrl 11 1>;
46 linux,code = <KEY_CONFIG>; 41 linux,code = <KEY_CONFIG>;
47 debounce-interval = <60>; -  
48 }; 42 };
49 }; 43 };
50   44  
51 leds { 45 gpio-leds {
52 compatible = "gpio-leds"; 46 compatible = "gpio-leds";
53   47  
54 lan1_green { 48 lan1_green {
55 label = "HW556:green:lan1"; 49 label = "HW556:green:lan1";
56 gpios = <&pinctrl 0 1>; 50 gpios = <&pinctrl 0 1>;
57 }; 51 };
58 lan2_green { 52 lan2_green {
59 label = "HW556:green:lan2"; 53 label = "HW556:green:lan2";
60 gpios = <&pinctrl 1 1>; 54 gpios = <&pinctrl 1 1>;
61 }; 55 };
62 dsl_red { 56 dsl_red {
63 label = "HW556:red:dsl"; 57 label = "HW556:red:dsl";
64 gpios = <&pinctrl 2 1>; 58 gpios = <&pinctrl 2 1>;
65 }; 59 };
66 power_red { 60 power_red {
67 label = "HW556:red:power"; 61 label = "HW556:red:power";
68 gpios = <&pinctrl 3 1>; 62 gpios = <&pinctrl 3 1>;
69 default-state = "on"; 63 default-state = "on";
70 }; 64 };
71 message_red { 65 message_red {
72 label = "HW556:red:message"; 66 label = "HW556:red:message";
73 gpios = <&pinctrl 12 1>; 67 gpios = <&pinctrl 12 1>;
74 }; 68 };
75 lan1_red { 69 lan1_red {
76 label = "HW556:red:lan1"; 70 label = "HW556:red:lan1";
77 gpios = <&pinctrl 13 1>; 71 gpios = <&pinctrl 13 1>;
78 }; 72 };
79 hspa_red { 73 hspa_red {
80 label = "HW556:red:hspa"; 74 label = "HW556:red:hspa";
81 gpios = <&pinctrl 15 1>; 75 gpios = <&pinctrl 15 1>;
82 }; 76 };
83 lan2_red { 77 lan2_red {
84 label = "HW556:red:lan2"; 78 label = "HW556:red:lan2";
85 gpios = <&pinctrl 22 1>; 79 gpios = <&pinctrl 22 1>;
86 }; 80 };
87 lan3_green { 81 lan3_green {
88 label = "HW556:green:lan3"; 82 label = "HW556:green:lan3";
89 gpios = <&pinctrl 23 1>; 83 gpios = <&pinctrl 23 1>;
90 }; 84 };
91 lan3_red { 85 lan3_red {
92 label = "HW556:red:lan3"; 86 label = "HW556:red:lan3";
93 gpios = <&pinctrl 26 1>; 87 gpios = <&pinctrl 26 1>;
94 }; 88 };
95 lan4_green { 89 lan4_green {
96 label = "HW556:green:lan4"; 90 label = "HW556:green:lan4";
97 gpios = <&pinctrl 27 1>; 91 gpios = <&pinctrl 27 1>;
98 }; 92 };
99 lan4_red { 93 lan4_red {
100 label = "HW556:red:lan4"; 94 label = "HW556:red:lan4";
101 gpios = <&pinctrl 28 1>; 95 gpios = <&pinctrl 28 1>;
102 }; 96 };
103 }; 97 };
104 }; 98 };
105   99  
106 &pflash { 100 &pflash {
107 status = "ok"; 101 status = "ok";
-   102  
-   103 linux,part-probe = "bcm63xxpart";
108   104  
109 partitions { 105 partitions {
110 compatible = "fixed-partitions"; 106 compatible = "fixed-partitions";
111 #address-cells = <1>; 107 #address-cells = <1>;
112 #size-cells = <1>; 108 #size-cells = <1>;
113   109  
114 cfe@0 { 110 cfe@0 {
115 label = "CFE"; 111 label = "CFE";
116 reg = <0x000000 0x020000>; 112 reg = <0x000000 0x020000>;
117 read-only; 113 read-only;
118 }; 114 };
119   115  
120 linux@20000 { 116 linux@20000 {
121 label = "linux"; 117 label = "linux";
122 reg = <0x020000 0xec0000>; 118 reg = <0x020000 0xec0000>;
123 compatible = "brcm,bcm963xx-imagetag"; 119 compatible = "brcm,bcm963xx-imagetag";
124 }; 120 };
125   121  
126 cal_data@ee0000 { 122 cal_data@ee0000 {
127 label = "cal_data"; 123 label = "cal_data";
128 reg = <0xee0000 0x100000>; 124 reg = <0xee0000 0x100000>;
129 read-only; 125 read-only;
130 }; 126 };
131   127  
132 nvram@fe0000 { 128 nvram@fe0000 {
133 label = "nvram"; 129 label = "nvram";
134 reg = <0xfe0000 0x020000>; 130 reg = <0xfe0000 0x020000>;
135 }; 131 };
136 }; 132 };
137 }; 133 };
138   134  
139 &uart0 { 135 &uart0 {
140 status = "ok"; 136 status = "ok";
141 }; 137 };
142   138