OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 2 Rev 3
Line 7... Line 7...
7   7  
8 / { 8 / {
9 compatible = "dlink,dir-810l", "ralink,mt7620a-soc"; 9 compatible = "dlink,dir-810l", "ralink,mt7620a-soc";
Line 10... Line 10...
10 model = "D-Link DIR-810L"; 10 model = "D-Link DIR-810L";
11   -  
12 aliases { -  
13 led-boot = &led_power_green; -  
14 led-failsafe = &led_power_green; -  
15 led-running = &led_power_green; -  
16 led-upgrade = &led_power_green; -  
17 }; -  
18   11  
-   12 gpio-keys-polled {
-   13 compatible = "gpio-keys-polled";
19 keys { 14 #address-cells = <1>;
Line 20... Line 15...
20 compatible = "gpio-keys-polled"; 15 #size-cells = <0>;
21 poll-interval = <20>; 16 poll-interval = <20>;
22   17  
Line 31... Line 26...
31 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>; 26 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
32 linux,code = <BTN_0>; 27 linux,code = <BTN_0>;
33 }; 28 };
34 }; 29 };
Line 35... Line 30...
35   30  
36 leds { 31 gpio-leds {
Line 37... Line 32...
37 compatible = "gpio-leds"; 32 compatible = "gpio-leds";
38   33  
39 led_power_green: power { 34 power {
40 label = "dir-810l:green:power"; 35 label = "dir-810l:green:power";
Line 41... Line 36...
41 gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>; 36 gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
42 }; 37 };
43   38  
44 wan { 39 wan {
Line 45... Line 40...
45 label = "dir-810l:orange:wan"; 40 label = "dir-810l:orange:wan";
46 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; 41 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
47 }; 42 };
48   43  
49 power2 { 44 status {
50 label = "dir-810l:orange:power"; 45 label = "dir-810l:orange:power";
Line 51... Line 46...
51 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>; 46 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
52 }; 47 };
Line 53... Line 48...
53 }; 48 };
-   49 };
-   50  
54 }; 51 &spi0 {
55   52 status = "okay";
56 &spi0 { 53  
Line 57... Line -...
57 status = "okay"; -  
58   -  
59 m25p80@0 { -  
60 compatible = "jedec,spi-nor"; -  
61 reg = <0>; -  
62 spi-max-frequency = <10000000>; 54 m25p80@0 {
63   55 #address-cells = <1>;
64 partitions { 56 #size-cells = <1>;
65 compatible = "fixed-partitions"; 57 compatible = "jedec,spi-nor";
66 #address-cells = <1>; 58 reg = <0>;
67 #size-cells = <1>; 59 spi-max-frequency = <10000000>;
68   60  
69 partition@0 { 61 partition@0 {
70 label = "u-boot"; 62 label = "u-boot";
71 reg = <0x0 0x30000>; 63 reg = <0x0 0x30000>;
72 read-only; 64 read-only;
73 }; 65 };
74   66  
75 partition@30000 { 67 partition@30000 {
76 label = "u-boot-env"; 68 label = "u-boot-env";
77 reg = <0x30000 0x10000>; 69 reg = <0x30000 0x10000>;
78 read-only; 70 read-only;
79 }; 71 };
80   72  
81 factory: partition@40000 { 73 factory: partition@40000 {
82 label = "factory"; 74 label = "factory";
83 reg = <0x40000 0x10000>; 75 reg = <0x40000 0x10000>;
84 read-only; 76 read-only;
85 }; 77 };
86   78  
87 factory5g: partition@50000 { 79 factory5g: partition@50000 {
88 label = "factory5g"; 80 label = "factory5g";
89 reg = <0x50000 0x10000>; 81 reg = <0x50000 0x10000>;
90 read-only; 82 read-only;
91 }; 83 };
92   84  
93 partition@60000 { 85 partition@60000 {
94 label = "Wolf_Config"; 86 label = "Wolf_Config";
95 reg = <0x60000 0x10000>; 87 reg = <0x60000 0x10000>;
96 read-only; 88 read-only;
97 }; 89 };
98   90  
99 partition@70000 { 91 partition@70000 {
100 label = "MyDlink"; 92 label = "MyDlink";
101 reg = <0x70000 0x80000>; 93 reg = <0x70000 0x80000>;
102 read-only; 94 read-only;
103 }; 95 };
104   96  
105 partition@e0000 { -  
106 label = "Jffs2"; 97 partition@e0000 {
107 reg = <0xe0000 0x80000>; 98 label = "Jffs2";
108 read-only; -  
109 }; 99 reg = <0xe0000 0x80000>;
110   100 read-only;
111 partition@170000 { 101 };
Line 112... Line 102...
112 compatible = "denx,uimage"; 102  
Line 142... Line 132...
142 }; 132 };
Line 143... Line 133...
143   133  
144 &wmac { 134 &wmac {
145 ralink,mtd-eeprom = <&factory 0>; 135 ralink,mtd-eeprom = <&factory 0>;
146 }; -  
147   -  
148 &pcie0 { -  
149 wifi@0,0 { -  
150 reg = <0x0000 0 0 0 0>; -  
151 mediatek,mtd-eeprom = <&factory 0x8000>; -  
152 ieee80211-freq-limit = <5000000 6000000>; -  
153 }; -