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 = "phicomm,psg1208", "ralink,mt7620a-soc"; 9 compatible = "phicomm,psg1208", "ralink,mt7620a-soc";
Line 10... Line -...
10 model = "Phicomm PSG1208"; -  
11   -  
12 aliases { -  
13 led-boot = &led_wps; -  
14 led-failsafe = &led_wps; -  
15 led-running = &led_wps; -  
16 led-upgrade = &led_wps; -  
17 }; 10 model = "Phicomm PSG1208";
18   11  
Line 19... Line 12...
19 leds { 12 gpio-leds {
20 compatible = "gpio-leds"; 13 compatible = "gpio-leds";
21   14  
22 led_wps: wps { 15 wan {
Line 23... Line 16...
23 label = "psg1208:white:wps"; 16 label = "psg1208:white:wps";
24 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; 17 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
25 }; 18 };
26   19  
27 wlan { 20 wlan {
Line 28... Line 21...
28 label = "psg1208:white:wlan2g"; 21 label = "psg1208:white:wlan2g";
29 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; 22 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
-   23 };
-   24 };
30 }; 25  
Line 31... Line 26...
31 }; 26 gpio-keys-polled {
32   27 compatible = "gpio-keys-polled";
33 keys { 28 #address-cells = <1>;
Line 52... Line 47...
52   47  
53 &spi0 { 48 &spi0 {
Line 54... Line 49...
54 status = "okay"; 49 status = "okay";
-   50  
-   51 m25p80@0 {
55   52 #address-cells = <1>;
56 m25p80@0 { 53 #size-cells = <1>;
57 compatible = "jedec,spi-nor"; 54 compatible = "jedec,spi-nor";
Line 58... Line -...
58 reg = <0>; -  
59 spi-max-frequency = <10000000>; -  
60   -  
61 partitions { -  
62 compatible = "fixed-partitions"; -  
63 #address-cells = <1>; 55 reg = <0>;
64 #size-cells = <1>; 56 spi-max-frequency = <10000000>;
65   57  
66 partition@0 { 58 partition@0 {
67 label = "u-boot"; 59 label = "u-boot";
68 reg = <0x0 0x30000>; 60 reg = <0x0 0x30000>;
69 read-only; 61 read-only;
70 }; 62 };
71   63  
72 partition@20000 { 64 partition@20000 {
73 label = "u-boot-env"; 65 label = "u-boot-env";
74 reg = <0x30000 0x10000>; 66 reg = <0x30000 0x10000>;
75 read-only; 67 read-only;
76 }; 68 };
77   69  
78 factory: partition@30000 { 70 factory: partition@30000 {
79 label = "factory"; 71 label = "factory";
80 reg = <0x40000 0x10000>; 72 reg = <0x40000 0x10000>;
81 read-only; 73 read-only;
82 }; -  
83   74 };
84 partition@40000 { 75  
85 compatible = "denx,uimage"; -  
86 label = "firmware"; 76 partition@40000 {
87 reg = <0x50000 0x7b0000>; 77 label = "firmware";
88 }; 78 reg = <0x50000 0x7b0000>;
Line 89... Line 79...
89 }; 79 };
Line 106... Line 96...
106 mediatek,portmap = "llllw"; 96 mediatek,portmap = "llllw";
107 }; 97 };
Line 108... Line 98...
108   98  
109 &pcie { 99 &pcie {
110 status = "okay"; -  
Line 111... Line 100...
111 }; 100 status = "okay";
112   101  
113 &pcie0 { 102 pcie-bridge {
-   103 mt76@0,0 {
114 mt76@0,0 { 104 reg = <0x0000 0 0 0 0>;
115 reg = <0x0000 0 0 0 0>; 105 device_type = "pci";
-   106 mediatek,mtd-eeprom = <&factory 0x8000>;
116 mediatek,mtd-eeprom = <&factory 0x8000>; 107 ieee80211-freq-limit = <5000000 6000000>;
117 ieee80211-freq-limit = <5000000 6000000>; 108 };
Line 118... Line 109...
118 }; 109 };
119 }; 110 };