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 = "jcg,jhr-n805r", "ralink,rt3050-soc"; 9 compatible = "jcg,jhr-n805r", "ralink,rt3050-soc";
Line 10... Line -...
10 model = "JCG JHR-N805R"; -  
11   -  
12 aliases { -  
13 led-boot = &led_system; -  
14 led-failsafe = &led_system; -  
15 led-running = &led_system; -  
16 led-upgrade = &led_system; -  
17 }; 10 model = "JCG JHR-N805R";
18   11  
Line 19... Line 12...
19 leds { 12 gpio-leds {
20 compatible = "gpio-leds"; 13 compatible = "gpio-leds";
21   14  
22 led_system: system { 15 system {
23 label = "jhr-n805r:blue:system"; 16 label = "jhr-n805r:blue:system";
Line 24... Line 17...
24 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; 17 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
25 }; 18 };
-   19 };
-   20  
26 }; 21 gpio-keys-polled {
27   22 compatible = "gpio-keys-polled";
28 keys { 23 #address-cells = <1>;
29 compatible = "gpio-keys-polled"; 24 #size-cells = <0>;
30 poll-interval = <20>; 25 poll-interval = <20>;
31   26  
32 reset { 27 reset {
33 label = "reset"; 28 label = "reset";
34 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; 29 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
Line 35... Line 30...
35 linux,code = <KEY_RESTART>; 30 linux,code = <KEY_RESTART>;
36 }; 31 };
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";
Line 54... Line -...
54 reg = <0>; -  
55 spi-max-frequency = <10000000>; -  
56   -  
57 partitions { -  
58 compatible = "fixed-partitions"; -  
59 #address-cells = <1>; 51 reg = <0>;
60 #size-cells = <1>; 52 spi-max-frequency = <10000000>;
61   53  
62 partition@0 { 54 partition@0 {
63 label = "u-boot"; 55 label = "u-boot";
64 reg = <0x0 0x30000>; 56 reg = <0x0 0x30000>;
65 read-only; 57 read-only;
66 }; 58 };
67   59  
68 partition@30000 { 60 partition@30000 {
69 label = "u-boot-env"; 61 label = "u-boot-env";
70 reg = <0x30000 0x10000>; 62 reg = <0x30000 0x10000>;
71 read-only; 63 read-only;
72 }; 64 };
73   65  
74 factory: partition@40000 { 66 factory: partition@40000 {
75 label = "factory"; 67 label = "factory";
76 reg = <0x40000 0x10000>; 68 reg = <0x40000 0x10000>;
77 read-only; 69 read-only;
78 }; -  
79   70 };
80 partition@50000 { 71  
81 compatible = "denx,uimage"; -  
82 label = "firmware"; 72 partition@50000 {
83 reg = <0x50000 0x3b0000>; 73 label = "firmware";
84 }; 74 reg = <0x50000 0x3b0000>;
Line 85... Line 75...
85 }; 75 };