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 = "gnubee,gb-pc2", "mediatek,mt7621-soc"; 9 compatible = "gnubee,gb-pc2", "mediatek,mt7621-soc";
Line 10... Line -...
10 model = "GB-PC2"; -  
11   -  
12 aliases { -  
13 led-boot = &led_status; -  
14 led-failsafe = &led_status; -  
15 led-running = &led_status; -  
16 led-upgrade = &led_status; -  
17 }; 10 model = "GB-PC2";
18   11  
19 memory@0 { 12 memory@0 {
20 device_type = "memory"; 13 device_type = "memory";
Line 21... Line 14...
21 reg = <0x0 0x1c000000>, <0x20000000 0x4000000>; 14 reg = <0x0 0x1c000000>, <0x20000000 0x4000000>;
22 }; 15 };
23   16  
Line 24... Line 17...
24 chosen { 17 chosen {
25 bootargs = "console=ttyS0,57600"; 18 bootargs = "console=ttyS0,57600";
-   19 };
-   20  
26 }; 21 gpio-keys-polled {
Line 27... Line 22...
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 {
Line 33... Line 28...
33 label = "reset"; 28 label = "reset";
34 gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>; 29 gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;
Line 35... Line 30...
35 linux,code = <KEY_RESTART>; 30 linux,code = <KEY_RESTART>;
36 }; 31 };
37 }; 32 };
38   33  
Line 39... Line 34...
39 leds { 34 gpio-leds {
40 compatible = "gpio-leds"; 35 compatible = "gpio-leds";
41   36  
42 system { 37 system {
Line 43... Line 38...
43 label = "gb-pc2:green:system"; 38 label = "gb-pc2:green:system";
Line 66... Line 61...
66   61  
67 lan3-green { 62 lan3-green {
68 label = "gb-pc2:green:lan3"; 63 label = "gb-pc2:green:lan3";
69 gpios = <&gpio0 15 GPIO_ACTIVE_LOW>; 64 gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
-   65 };
70 }; 66  
71 }; 67 };
Line 72... Line 68...
72 }; 68 };
73   69  
-   70 &sdhci {
-   71 status = "okay";
-   72  
74 &sdhci { 73 pinctrl-names = "default";
Line 75... Line 74...
75 status = "okay"; 74 pinctrl-0 = <&sdhci_pins>;
76 }; 75 };
Line 77... Line 76...
77   76  
-   77 &spi0 {
-   78 status = "okay";
78 &spi0 { 79  
79 status = "okay"; 80 m25p80@0 {
80   81 #address-cells = <1>;
-   82 #size-cells = <1>;
-   83 compatible = "jedec,spi-nor";
-   84 reg = <0>;
-   85 spi-max-frequency = <10000000>;
-   86 m25p,chunked-io = <32>;
-   87  
-   88 partition@0 {
Line 81... Line -...
81 m25p80@0 { -  
82 compatible = "jedec,spi-nor"; -  
83 reg = <0>; -  
84 spi-max-frequency = <10000000>; -  
85   -  
86 partitions { -  
87 compatible = "fixed-partitions"; -  
88 #address-cells = <1>; -  
89 #size-cells = <1>; -  
90   -  
91 partition@0 { -  
92 label = "u-boot"; 89 label = "u-boot";
93 reg = <0x0 0x30000>; 90 reg = <0x0 0x30000>;
94 read-only; 91 read-only;
95 }; 92 };
96   93  
97 partition@30000 { 94 partition@30000 {
98 label = "u-boot-env"; 95 label = "u-boot-env";
99 reg = <0x30000 0x10000>; 96 reg = <0x30000 0x10000>;
100 read-only; 97 read-only;
101 }; 98 };
102   99  
103 factory: partition@40000 { 100 factory: partition@40000 {
104 label = "factory"; 101 label = "factory";
105 reg = <0x40000 0x10000>; -  
106 read-only; 102 reg = <0x40000 0x10000>;
107 }; 103 read-only;
108   -  
109 partition@50000 { 104 };
110 compatible = "denx,uimage"; 105  
111 label = "firmware"; 106 partition@50000 {
Line -... Line 107...
-   107 label = "firmware";
-   108 reg = <0x50000 0x1fb0000>;
-   109 };
-   110 };
-   111 };
112 reg = <0x50000 0x1fb0000>; 112  
113 }; 113 &cpuclock {
114 }; 114 compatible = "fixed-clock";
Line 115... Line 115...
115 }; 115 clock-frequency = <900000000>;
Line 124... Line 124...
124 }; 124 };
Line 125... Line 125...
125   125  
126 &pinctrl { 126 &pinctrl {
127 state_default: pinctrl0 { 127 state_default: pinctrl0 {
128 gpio { 128 gpio {
129 ralink,group = "jtag", "rgmii2", "uart3", "wdt"; 129 ralink,group = "jtag", "rgmii3", "uart3", "wdt";
130 ralink,function = "gpio"; 130 ralink,function = "gpio";
131 }; 131 };
132 }; 132 };