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,wl-330n3g", "ralink,rt3050-soc"; 9 compatible = "asus,wl-330n3g", "ralink,rt3050-soc";
Line 10... Line -...
10 model = "Asus WL-330N3G"; -  
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 WL-330N3G";
18   11  
Line 19... Line 12...
19 leds { 12 gpio-leds {
20 compatible = "gpio-leds"; 13 compatible = "gpio-leds";
21   14  
Line 27... Line 20...
27 3g2 { 20 3g2 {
28 label = "wl-330n3g:red:3g"; 21 label = "wl-330n3g:red:3g";
29 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; 22 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
30 }; 23 };
Line 31... Line 24...
31   24  
32 led_power: power { 25 power {
33 label = "wl-330n3g:blue:power"; 26 label = "wl-330n3g:blue:power";
34 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; 27 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
35 }; 28 };
Line 36... Line 29...
36 }; 29 };
37   30  
-   31 gpio-keys-polled {
-   32 compatible = "gpio-keys-polled";
38 keys { 33 #address-cells = <1>;
Line 39... Line 34...
39 compatible = "gpio-keys-polled"; 34 #size-cells = <0>;
40 poll-interval = <20>; 35 poll-interval = <20>;
41   36  
Line 55... Line 50...
55   50  
56 &spi0 { 51 &spi0 {
Line 57... Line 52...
57 status = "okay"; 52 status = "okay";
-   53  
-   54 m25p80@0 {
58   55 #address-cells = <1>;
59 m25p80@0 { 56 #size-cells = <1>;
60 compatible = "jedec,spi-nor"; 57 compatible = "jedec,spi-nor";
Line 61... Line -...
61 reg = <0>; -  
62 spi-max-frequency = <10000000>; -  
63   -  
64 partitions { -  
65 compatible = "fixed-partitions"; -  
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 }; -  
86   77 };
87 partition@50000 { 78  
88 compatible = "denx,uimage"; -  
89 label = "firmware"; 79 partition@50000 {
90 reg = <0x50000 0x3b0000>; 80 label = "firmware";
91 }; 81 reg = <0x50000 0x3b0000>;
Line 92... Line 82...
92 }; 82 };