OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 2 Rev 3
Line 8... Line 8...
8   8  
9 chosen { 9 chosen {
10 bootargs = "console=ttyS0,115200"; 10 bootargs = "console=ttyS0,115200";
Line 11... Line 11...
11 }; 11 };
12   12  
-   13 gpio-keys-polled {
-   14 compatible = "gpio-keys-polled";
13 keys { 15 #address-cells = <1>;
Line 14... Line 16...
14 compatible = "gpio-keys-polled"; 16 #size-cells = <0>;
15 poll-interval = <20>; 17 poll-interval = <20>;
16   18  
17 reset { 19 reset {
18 label = "reset"; 20 label = "reset";
19 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; 21 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
20 linux,code = <KEY_RESTART>; 22 linux,code = <KEY_RESTART>;
21 }; 23 };
22 }; 24 };
23 }; 25 };
24   26
Line 25... Line 27...
25 &gpio0 { 27 &gpio0 {
Line 36... Line 38...
36   38  
37 &spi0 { 39 &spi0 {
Line 38... Line 40...
38 status = "okay"; 40 status = "okay";
-   41  
-   42 m25p80@0 {
39   43 #address-cells = <1>;
40 m25p80@0 { 44 #size-cells = <1>;
41 compatible = "jedec,spi-nor"; 45 compatible = "jedec,spi-nor";
Line 42... Line -...
42 reg = <0>; -  
43 spi-max-frequency = <10000000>; -  
44   -  
45 partitions { -  
46 compatible = "fixed-partitions"; -  
47 #address-cells = <1>; 46 reg = <0>;
48 #size-cells = <1>; 47 spi-max-frequency = <10000000>;
49   48  
50 partition@0 { 49 partition@0 {
51 label = "u-boot"; 50 label = "u-boot";
52 reg = <0x0 0x30000>; 51 reg = <0x0 0x30000>;
53 read-only; 52 read-only;
54 }; 53 };
55   54  
56 partition@30000 { 55 partition@30000 {
57 label = "u-boot-env"; 56 label = "u-boot-env";
58 reg = <0x30000 0x10000>; 57 reg = <0x30000 0x10000>;
59 read-only; 58 read-only;
60 }; 59 };
61   60  
62 factory: partition@40000 { 61 factory: partition@40000 {
63 label = "factory"; 62 label = "factory";
64 reg = <0x40000 0x10000>; 63 reg = <0x40000 0x10000>;
65 read-only; 64 read-only;
66 }; -  
67   65 };
68 partition@50000 { 66  
69 compatible = "denx,uimage"; -  
70 label = "firmware"; 67 partition@50000 {
71 reg = <0x50000 0xfb0000>; 68 label = "firmware";
72 }; 69 reg = <0x50000 0xfb0000>;
Line 73... Line 70...
73 }; 70 };
Line 82... Line 79...
82 status = "okay"; 79 status = "okay";
83 }; 80 };
Line 84... Line 81...
84   81  
85 &pcie { 82 &pcie {
86 status = "okay"; -  
Line 87... Line 83...
87 }; 83 status = "okay";
88   84  
89 &pcie0 { 85 pcie-bridge {
-   86 mt76@0,0 {
90 mt76@0,0 { 87 reg = <0x0000 0 0 0 0>;
91 reg = <0x0000 0 0 0 0>; 88 device_type = "pci";
-   89 mediatek,mtd-eeprom = <&factory 0x8000>;
92 mediatek,mtd-eeprom = <&factory 0x8000>; 90 ieee80211-freq-limit = <5000000 6000000>;
93 ieee80211-freq-limit = <5000000 6000000>; 91 };
94 }; 92 };
95 }; 93 };
96   94
97 &wmac { 95 &wmac {
98 ralink,mtd-eeprom = <&factory 0>; 96 ralink,mtd-eeprom = <&factory 0>;
99 pinctrl-names = "default"; 97 pinctrl-names = "default";