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 = "asus,rt-ac51u", "ralink,mt7620a-soc"; 9 compatible = "asus,rt-ac51u", "ralink,mt7620a-soc";
Line 10... Line -...
10 model = "Asus RT-AC51U"; -  
11   -  
12 aliases { -  
13 led-boot = &led_power; -  
14 led-failsafe = &led_power; -  
15 led-running = &led_power; -  
16 led-upgrade = &led_power; -  
17 }; 10 model = "Asus RT-AC51U";
18   11  
Line 19... Line 12...
19 leds { 12 gpio-leds {
20 compatible = "gpio-leds"; 13 compatible = "gpio-leds";
21   14  
22 led_power: power { 15 power {
Line 23... Line 16...
23 label = "rt-ac51u:blue:power"; 16 label = "rt-ac51u:blue:power";
24 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; 17 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
25 }; 18 };
26   -  
27 usb { -  
28 label = "rt-ac51u:blue:usb"; 19  
Line 29... Line 20...
29 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; 20 usb {
30 trigger-sources = <&ohci_port1>, <&ehci_port1>; 21 label = "rt-ac51u:blue:usb";
31 linux,default-trigger = "usbport"; 22 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
32 }; 23 };
33   24  
Line 34... Line 25...
34 wifi { 25 wifi {
35 label = "rt-ac51u:blue:wifi"; 26 label = "rt-ac51u:blue:wifi";
-   27 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
-   28 };
36 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; 29 };
Line 37... Line 30...
37 }; 30  
38 }; 31 gpio-keys-polled {
39   32 compatible = "gpio-keys-polled";
Line 68... Line 61...
68   61  
69 &spi0 { 62 &spi0 {
Line 70... Line 63...
70 status = "okay"; 63 status = "okay";
-   64  
-   65 m25p80@0 {
71   66 #address-cells = <1>;
72 m25p80@0 { 67 #size-cells = <1>;
73 compatible = "jedec,spi-nor"; 68 compatible = "jedec,spi-nor";
Line 74... Line -...
74 reg = <0>; -  
75 spi-max-frequency = <10000000>; -  
76   -  
77 partitions { -  
78 compatible = "fixed-partitions"; -  
79 #address-cells = <1>; 69 reg = <0>;
80 #size-cells = <1>; 70 spi-max-frequency = <10000000>;
81   71  
82 partition@0 { 72 partition@0 {
83 label = "u-boot"; 73 label = "u-boot";
84 reg = <0x0 0x30000>; 74 reg = <0x0 0x30000>;
85 read-only; 75 read-only;
86 }; 76 };
87   77  
88 partition@30000 { 78 partition@30000 {
89 label = "u-boot-env"; 79 label = "u-boot-env";
90 reg = <0x30000 0x10000>; 80 reg = <0x30000 0x10000>;
91 read-only; 81 read-only;
92 }; 82 };
93   83  
94 factory: partition@40000 { 84 factory: partition@40000 {
95 label = "factory"; 85 label = "factory";
96 reg = <0x40000 0x10000>; 86 reg = <0x40000 0x10000>;
97 read-only; 87 read-only;
98 }; -  
99   88 };
100 partition@50000 { 89  
101 compatible = "denx,uimage"; -  
102 label = "firmware"; 90 partition@50000 {
103 reg = <0x50000 0xfb0000>; 91 label = "firmware";
104 }; 92 reg = <0x50000 0xfb0000>;
Line 105... Line 93...
105 }; 93 };
Line 134... Line 122...
134 ralink,group = "i2c", "wled", "uartf"; 122 ralink,group = "i2c", "wled", "uartf";
135 ralink,function = "gpio"; 123 ralink,function = "gpio";
136 }; 124 };
137 }; 125 };
138 }; 126 };
139   -  
140 &pcie { -  
141 status = "okay"; -  
142 }; -  
143   -  
144 &pcie0 { -  
145 wifi@0,0 { -  
146 reg = <0x0000 0 0 0 0>; -  
147 mediatek,mtd-eeprom = <&factory 0x8000>; -  
148 }; -  
149 }; -