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 = "zbtlink,zbt-wr8305rt", "ralink,mt7620n-soc"; 9 compatible = "zbtlink,zbt-wr8305rt", "ralink,mt7620n-soc";
Line 10... Line -...
10 model = "Zbtlink ZBT-WR8305RT"; -  
11   -  
12 aliases { -  
13 led-boot = &led_sys; -  
14 led-failsafe = &led_sys; -  
15 led-running = &led_sys; -  
16 led-upgrade = &led_sys; -  
17 }; 10 model = "Zbtlink ZBT-WR8305RT";
18   11  
Line 19... Line 12...
19 leds { 12 gpio-leds {
20 compatible = "gpio-leds"; 13 compatible = "gpio-leds";
21   14  
22 led_sys: sys { 15 sys {
Line 23... Line 16...
23 label = "zbt-wr8305rt:green:sys"; 16 label = "zbt-wr8305rt:green:sys";
24 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; 17 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
25 }; 18 };
26   -  
27 lan { -  
28 label = "zbt-wr8305rt:green:usb"; 19  
Line 29... Line 20...
29 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; 20 lan {
30 trigger-sources = <&ohci_port1>, <&ehci_port1>; 21 label = "zbt-wr8305rt:green:usb";
31 linux,default-trigger = "usbport"; 22 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
32 }; 23 };
33   24  
Line 34... Line 25...
34 wifi { 25 wifi {
35 label = "zbt-wr8305rt:green:wifi"; 26 label = "zbt-wr8305rt:green: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 59... Line 52...
59   52  
60 &spi0 { 53 &spi0 {
Line 61... Line 54...
61 status = "okay"; 54 status = "okay";
-   55  
-   56 m25p80@0 {
62   57 #address-cells = <1>;
63 m25p80@0 { 58 #size-cells = <1>;
64 compatible = "jedec,spi-nor"; 59 compatible = "jedec,spi-nor";
Line 65... Line -...
65 reg = <0>; -  
66 spi-max-frequency = <10000000>; -  
67   -  
68 partitions { -  
69 compatible = "fixed-partitions"; -  
70 #address-cells = <1>; 60 reg = <0>;
71 #size-cells = <1>; 61 spi-max-frequency = <10000000>;
72   62  
73 partition@0 { 63 partition@0 {
74 label = "u-boot"; 64 label = "u-boot";
75 reg = <0x0 0x30000>; 65 reg = <0x0 0x30000>;
76 read-only; 66 read-only;
77 }; 67 };
78   68  
79 partition@30000 { 69 partition@30000 {
80 label = "u-boot-env"; 70 label = "u-boot-env";
81 reg = <0x30000 0x10000>; 71 reg = <0x30000 0x10000>;
82 read-only; 72 read-only;
83 }; 73 };
84   74  
85 factory: partition@40000 { 75 factory: partition@40000 {
86 label = "factory"; 76 label = "factory";
87 reg = <0x40000 0x10000>; 77 reg = <0x40000 0x10000>;
88 read-only; 78 read-only;
89 }; -  
90   79 };
91 partition@50000 { 80  
92 compatible = "denx,uimage"; -  
93 label = "firmware"; 81 partition@50000 {
94 reg = <0x50000 0x7b0000>; 82 label = "firmware";
95 }; 83 reg = <0x50000 0x7b0000>;
Line 96... Line 84...
96 }; 84 };