OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Show entire fileRegard whitespace
Rev 2 Rev 3
Line 7... Line 7...
7   7  
8 / { 8 / {
9 compatible = "elecom,wrc-1167ghbk2-s", "mediatek,mt7621-soc"; 9 compatible = "elecom,wrc-1167ghbk2-s", "mediatek,mt7621-soc";
Line 10... Line -...
10 model = "ELECOM WRC-1167GHBK2-S"; -  
11   -  
12 aliases { -  
13 led-boot = &led_power_green; -  
14 led-failsafe = &led_power_green; -  
15 led-running = &led_power_green; -  
16 led-upgrade = &led_power_green; -  
17 }; 10 model = "ELECOM WRC-1167GHBK2-S";
18   11  
19 memory@0 { 12 memory@0 {
20 device_type = "memory"; 13 device_type = "memory";
Line 21... Line 14...
21 reg = <0x0 0x8000000>; 14 reg = <0x0 0x8000000>;
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 {
Line 36... Line 29...
36 wlan5g { 29 wlan5g {
37 label = "wrc-1167ghbk2-s:white:wlan5g"; 30 label = "wrc-1167ghbk2-s:white:wlan5g";
38 gpios = <&gpio0 4 GPIO_ACTIVE_LOW>; 31 gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
39 }; 32 };
Line 40... Line 33...
40   33  
41 led_power_green: power_green { 34 power_green {
42 label = "wrc-1167ghbk2-s:green:power"; 35 label = "wrc-1167ghbk2-s:green:power";
43 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>; 36 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
Line 44... Line 37...
44 }; 37 };
Line 57... Line 50...
57 label = "wrc-1167ghbk2-s:red:power"; 50 label = "wrc-1167ghbk2-s:red:power";
58 gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>; 51 gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
59 }; 52 };
60 }; 53 };
Line 61... Line 54...
61   54  
62 keys { 55 gpio-keys-polled {
-   56 compatible = "gpio-keys-polled";
-   57 #address-cells = <1>;
63 compatible = "gpio-keys-polled"; 58 #size-cells = <0>;
Line 64... Line 59...
64 poll-interval = <20>; 59 poll-interval = <20>;
65   60  
66 reset { 61 reset {
Line 83... Line 78...
83   78  
84 &spi0 { 79 &spi0 {
Line 85... Line 80...
85 status = "okay"; 80 status = "okay";
-   81  
-   82 m25p80@0 {
86   83 #address-cells = <1>;
87 m25p80@0 { 84 #size-cells = <1>;
88 compatible = "jedec,spi-nor"; 85 compatible = "jedec,spi-nor";
89 reg = <0>; -  
90 spi-max-frequency = <10000000>; -  
91   -  
92 partitions { -  
93 compatible = "fixed-partitions"; 86 reg = <0>;
Line 94... Line 87...
94 #address-cells = <1>; 87 spi-max-frequency = <10000000>;
95 #size-cells = <1>; 88 m25p,chunked-io = <32>;
96   89  
97 partition@0 { 90 partition@0 {
Line 111... Line 104...
111 reg = <0x40000 0x10000>; 104 reg = <0x40000 0x10000>;
112 read-only; 105 read-only;
113 }; 106 };
Line 114... Line 107...
114   107  
115 partition@50000 { -  
116 compatible = "denx,uimage"; 108 partition@50000 {
117 label = "firmware"; 109 label = "firmware";
118 reg = <0x50000 0xf20000>; 110 reg = <0x50000 0xf20000>;
Line 119... Line 111...
119 }; 111 };
Line 129... Line 121...
129 reg = <0xff0000 0x10000>; 121 reg = <0xff0000 0x10000>;
130 read-only; 122 read-only;
131 }; 123 };
132 }; 124 };
133 }; 125 };
134 }; -  
Line 135... Line 126...
135   126  
136 &pinctrl { 127 &pinctrl {
137 state_default: pinctrl0 { 128 state_default: pinctrl0 {
138 gpio { 129 gpio {
Line 142... Line 133...
142 }; 133 };
143 }; 134 };
Line 144... Line 135...
144   135  
145 &pcie { 136 &pcie {
146 status = "okay"; -  
147 /* 137 status = "okay";
148 * WRC-1167GHBK2-S has MT7615D for 2.4/5 GHz wifi, 138 // WRC-1167GHBK2-S has MT7615D for 2.4/5 GHz wifi,
149 * but it's not supported in OpenWrt. -  
150 */ 139 // but it's not supported in OpenWrt.
Line 151... Line 140...
151 }; 140 };
152   141  
153 &xhci { 142 &xhci {