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 = "planex,vr500", "mediatek,mt7621-soc"; 9 compatible = "planex,vr500", "mediatek,mt7621-soc";
Line 10... Line -...
10 model = "Planex VR500"; -  
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 = "Planex VR500";
18   11  
19 memory@0 { 12 memory@0 {
20 device_type = "memory"; 13 device_type = "memory";
Line 21... Line 14...
21 reg = <0x0 0x10000000>; 14 reg = <0x0 0x10000000>;
22 }; 15 };
23   16  
Line 24... Line 17...
24 chosen { 17 chosen {
25 bootargs = "console=ttyS0,57600"; 18 bootargs = "console=ttyS0,57600";
Line 26... Line 19...
26 }; 19 };
27   20  
28 leds { 21 gpio-leds {
29 compatible = "gpio-leds"; 22 compatible = "gpio-leds";
30   23  
Line 31... Line 24...
31 led_power: power { 24 power {
32 label = "vr500:green:power"; 25 label = "vr500:green:power";
-   26 gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
-   27 };
33 gpios = <&gpio1 13 GPIO_ACTIVE_LOW>; 28 };
Line 34... Line 29...
34 }; 29  
35 }; 30 gpio-keys-polled {
36   31 compatible = "gpio-keys-polled";
Line 48... Line 43...
48   43  
49 &spi0 { 44 &spi0 {
Line 50... Line 45...
50 status = "okay"; 45 status = "okay";
-   46  
-   47 m25p80@0 {
51   48 #address-cells = <1>;
52 m25p80@0 { 49 #size-cells = <1>;
53 compatible = "jedec,spi-nor"; 50 compatible = "jedec,spi-nor";
-   51 reg = <0>;
-   52 spi-max-frequency = <10000000>;
-   53 m25p,chunked-io = <32>;
-   54  
-   55 partition@0 {
-   56 label = "u-boot";
-   57 reg = <0x0 0x30000>;
-   58 read-only;
-   59 };
-   60  
-   61 partition@30000 {
-   62 label = "u-boot-env";
-   63 reg = <0x30000 0x10000>;
-   64 read-only;
-   65 };
-   66  
-   67 factory: partition@40000 {
-   68 label = "factory";
-   69 reg = <0x40000 0x10000>;
Line 54... Line -...
54 reg = <0>; -  
55 spi-max-frequency = <10000000>; -  
56   -  
57 partitions { -  
58 compatible = "fixed-partitions"; -  
59 #address-cells = <1>; -  
60 #size-cells = <1>; -  
61   -  
62 partition@0 { -  
63 label = "u-boot"; -  
64 reg = <0x0 0x30000>; -  
65 read-only; -  
66 }; -  
67   -  
68 partition@30000 { -  
69 label = "u-boot-env"; -  
70 reg = <0x30000 0x10000>; -  
71 read-only; -  
72 }; -  
73   -  
74 factory: partition@40000 { -  
75 label = "factory"; -  
76 reg = <0x40000 0x10000>; -  
77 read-only; 70 read-only;
78 }; -  
79   71 };
80 partition@50000 { 72  
81 compatible = "denx,uimage"; -  
82 label = "firmware"; 73 partition@50000 {
83 reg = <0x50000 0x3fb0000>; 74 label = "firmware";
84 }; 75 reg = <0x50000 0x3fb0000>;
Line 85... Line 76...
85 }; 76 };