OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 2 Rev 3
Line 6... Line 6...
6   6  
7 / { 7 / {
8 compatible = "wrtnode,wrtnode", "ralink,mt7620n-soc"; 8 compatible = "wrtnode,wrtnode", "ralink,mt7620n-soc";
Line 9... Line -...
9 model = "WRTNODE"; -  
10   -  
11 aliases { -  
12 led-boot = &led_indicator; -  
13 led-failsafe = &led_indicator; -  
14 led-running = &led_indicator; -  
15 led-upgrade = &led_indicator; -  
16 }; 9 model = "WRTNODE";
17   10  
Line 18... Line 11...
18 leds { 11 gpio-leds {
19 compatible = "gpio-leds"; 12 compatible = "gpio-leds";
20   13  
21 led_indicator: indicator { 14 indicator {
22 label = "wrtnode:blue:indicator"; 15 label = "wrtnode:blue:indicator";
23 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; 16 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
Line 39... Line 32...
39   32  
40 &spi0 { 33 &spi0 {
Line 41... Line 34...
41 status = "okay"; 34 status = "okay";
-   35  
-   36 m25p80@0 {
42   37 #address-cells = <1>;
43 m25p80@0 { 38 #size-cells = <1>;
44 compatible = "jedec,spi-nor"; 39 compatible = "jedec,spi-nor";
Line 45... Line -...
45 reg = <0>; -  
46 spi-max-frequency = <10000000>; -  
47   -  
48 partitions { -  
49 compatible = "fixed-partitions"; -  
50 #address-cells = <1>; 40 reg = <0>;
51 #size-cells = <1>; 41 spi-max-frequency = <10000000>;
52   42  
53 partition@0 { 43 partition@0 {
54 label = "u-boot"; 44 label = "u-boot";
55 reg = <0x0 0x30000>; 45 reg = <0x0 0x30000>;
56 read-only; 46 read-only;
57 }; 47 };
58   48  
59 partition@30000 { 49 partition@30000 {
60 label = "u-boot-env"; 50 label = "u-boot-env";
61 reg = <0x30000 0x10000>; 51 reg = <0x30000 0x10000>;
62 read-only; 52 read-only;
63 }; 53 };
64   54  
65 factory: partition@40000 { 55 factory: partition@40000 {
66 label = "factory"; 56 label = "factory";
67 reg = <0x40000 0x10000>; 57 reg = <0x40000 0x10000>;
68 read-only; 58 read-only;
69 }; -  
70   59 };
71 partition@50000 { 60  
72 compatible = "denx,uimage"; -  
73 label = "firmware"; 61 partition@50000 {
74 reg = <0x50000 0xfb0000>; 62 label = "firmware";
75 }; 63 reg = <0x50000 0xfb0000>;
Line 76... Line 64...
76 }; 64 };