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 "bcm6368.dtsi" 3 #include "bcm6368.dtsi"
4   4  
5 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/input/input.h>
6   6  
7 / { 7 / {
8 model = "Netgear EVG2000"; 8 model = "Netgear EVG2000";
9 compatible = "netgear,evg2000", "brcm,bcm6368"; 9 compatible = "netgear,evg2000", "brcm,bcm6368";
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 reset { 23 reset {
23 label = "reset"; 24 label = "reset";
24 gpios = <&pinctrl 25 1>; 25 gpios = <&pinctrl 25 1>;
25 linux,code = <KEY_RESTART>; 26 linux,code = <KEY_RESTART>;
26 debounce-interval = <60>; -  
27 }; 27 };
28   -  
29 wps { 28 wps {
30 label = "wps"; 29 label = "wps";
31 gpios = <&pinctrl 26 1>; 30 gpios = <&pinctrl 26 1>;
32 linux,code = <KEY_WPS_BUTTON>; 31 linux,code = <KEY_WPS_BUTTON>;
33 debounce-interval = <60>; -  
34 }; 32 };
35 }; 33 };
36   34  
37 leds { 35 gpio-leds {
38 compatible = "gpio-leds"; 36 compatible = "gpio-leds";
39   37  
40 voip1_green { 38 voip1_green {
41 label = "EVG2000:green:voip1"; 39 label = "EVG2000:green:voip1";
42 gpios = <&pinctrl 14 1>; 40 gpios = <&pinctrl 14 1>;
43 }; 41 };
44 voip2_green { 42 voip2_green {
45 label = "EVG2000:green:voip2"; 43 label = "EVG2000:green:voip2";
46 gpios = <&pinctrl 2 1>; 44 gpios = <&pinctrl 2 1>;
47 }; 45 };
48 inet_red { 46 inet_red {
49 label = "EVG2000:red:inet"; 47 label = "EVG2000:red:inet";
50 gpios = <&pinctrl 4 1>; 48 gpios = <&pinctrl 4 1>;
51 }; 49 };
52 inet_green { 50 inet_green {
53 label = "EVG2000:green:inet"; 51 label = "EVG2000:green:inet";
54 gpios = <&pinctrl 5 1>; 52 gpios = <&pinctrl 5 1>;
55 }; 53 };
56 usb_green { 54 usb_green {
57 label = "EVG2000:green:usb"; 55 label = "EVG2000:green:usb";
58 gpios = <&pinctrl 15 1>; 56 gpios = <&pinctrl 15 1>;
59 }; 57 };
60 power_green { 58 power_green {
61 label = "EVG2000:green:power"; 59 label = "EVG2000:green:power";
62 gpios = <&pinctrl 22 1>; 60 gpios = <&pinctrl 22 1>;
63 default-state = "on"; 61 default-state = "on";
64 }; 62 };
65 power_red { 63 power_red {
66 label = "EVG2000:red:power"; 64 label = "EVG2000:red:power";
67 gpios = <&pinctrl 23 1>; 65 gpios = <&pinctrl 23 1>;
68 }; 66 };
69 lan_green { 67 lan_green {
70 label = "EVG2000:green:lan"; 68 label = "EVG2000:green:lan";
71 gpios = <&pinctrl 24 1>; 69 gpios = <&pinctrl 24 1>;
72 }; 70 };
73 wireless_green { 71 wireless_green {
74 label = "EVG2000:green:wireless"; 72 label = "EVG2000:green:wireless";
75 gpios = <&pinctrl 26 1>; 73 gpios = <&pinctrl 26 1>;
76 }; 74 };
77 wan_green { 75 wan_green {
78 label = "EVG2000:green:wan"; 76 label = "EVG2000:green:wan";
79 gpios = <&pinctrl 27 1>; 77 gpios = <&pinctrl 27 1>;
80 }; 78 };
81 }; 79 };
82 }; 80 };
83   81  
84 &pflash { 82 &pflash {
85 status = "ok"; 83 status = "ok";
-   84  
-   85 linux,part-probe = "bcm63xxpart";
86   86  
87 partitions { 87 partitions {
88 compatible = "fixed-partitions"; 88 compatible = "fixed-partitions";
89 #address-cells = <1>; 89 #address-cells = <1>;
90 #size-cells = <1>; 90 #size-cells = <1>;
91   91  
92 cfe@0 { 92 cfe@0 {
93 label = "CFE"; 93 label = "CFE";
94 reg = <0x00000000 0x00020000>; 94 reg = <0x00000000 0x00020000>;
95 read-only; 95 read-only;
96 }; 96 };
97   97  
98 linux@20000 { 98 linux@20000 {
99 label = "linux"; 99 label = "linux";
100 reg = <0x00020000 0x00f40000>; 100 reg = <0x00020000 0x00f40000>;
101 compatible = "brcm,bcm963xx-imagetag"; 101 compatible = "brcm,bcm963xx-imagetag";
102 }; 102 };
103   103  
104 board_data@f60000 { 104 board_data@f60000 {
105 label = "board_data"; 105 label = "board_data";
106 reg = <0x00f60000 0x00080000>; 106 reg = <0x00f60000 0x00080000>;
107 read-only; 107 read-only;
108 }; 108 };
109   109  
110 nvram@fe0000 { 110 nvram@fe0000 {
111 label = "nvram"; 111 label = "nvram";
112 reg = <0x00fe0000 0x00020000>; 112 reg = <0x00fe0000 0x00020000>;
113 }; 113 };
114 }; 114 };
115 }; 115 };
116   116  
117 &pinctrl { 117 &pinctrl {
118 pinctrl-names = "default"; 118 pinctrl-names = "default";
119 pinctrl-0 = <&pinctrl_pci>; 119 pinctrl-0 = <&pinctrl_pci>;
120 }; 120 };
121   121  
122 &uart0 { 122 &uart0 {
123 status = "ok"; 123 status = "ok";
124 }; 124 };
125   125