OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 8... | Line 8... | |||
8 | model = "MitraStar Technology Corp. STG-212"; |
8 | model = "MitraStar Technology Corp. STG-212"; |
|
Line 9... | Line 9... | |||
9 | |
9 | |
|
Line 10... | Line 10... | |||
10 | compatible = "mitrastar,stg-212", "oxsemi,ox820"; |
10 | compatible = "mitrastar,stg-212", "oxsemi,ox820"; |
|
11 | |
11 | |
|
12 | chosen { |
12 | chosen { |
|
13 | bootargs = "earlyprintk console=ttyS0,115200"; |
13 | bootargs = "earlyprintk"; |
|
Line 14... | Line 14... | |||
14 | stdout-path = "serial0:115200n8"; |
14 | stdout-path = "serial0:115200n8"; |
|
15 | }; |
15 | }; |
|
Line 23... | Line 23... | |||
23 | serial0 = &uart0; |
23 | serial0 = &uart0; |
|
24 | gpio0 = &gpio0; |
24 | gpio0 = &gpio0; |
|
25 | gpio1 = &gpio1; |
25 | gpio1 = &gpio1; |
|
26 | }; |
26 | }; |
|
Line 27... | Line 27... | |||
27 | |
27 | |
|
28 | keys { |
28 | gpio-keys-polled { |
|
29 | compatible = "gpio-keys-polled"; |
29 | compatible = "gpio-keys-polled"; |
|
30 | #address-cells = <1>; |
30 | #address-cells = <1>; |
|
31 | #size-cells = <0>; |
31 | #size-cells = <0>; |
|
Line 41... | Line 41... | |||
41 | gpios = <&gpio1 13 1>; |
41 | gpios = <&gpio1 13 1>; |
|
42 | linux,code = <KEY_COPY>; |
42 | linux,code = <KEY_COPY>; |
|
43 | }; |
43 | }; |
|
44 | }; |
44 | }; |
|
Line 45... | Line 45... | |||
45 | |
45 | |
|
46 | leds { |
46 | gpio-leds { |
|
47 | compatible = "gpio-leds"; |
47 | compatible = "gpio-leds"; |
|
48 | status { |
48 | status { |
|
49 | label = "zyxel:blue:status"; |
49 | label = "zyxel:blue:status"; |
|
50 | gpios = <&gpio1 5 0>; |
50 | gpios = <&gpio1 5 0>; |
|
Line 54... | Line 54... | |||
54 | gpios = <&gpio1 6 1>; |
54 | gpios = <&gpio1 6 1>; |
|
55 | }; |
55 | }; |
|
56 | copy { |
56 | copy { |
|
57 | label = "zyxel:orange:copy"; |
57 | label = "zyxel:orange:copy"; |
|
58 | gpios = <&gpio1 8 1>; |
58 | gpios = <&gpio1 8 1>; |
|
59 | trigger-sources = <&ehci_port1>, <&ehci_port2>; |
- | ||
60 | linux,default-trigger = "usbport"; |
- | ||
61 | }; |
59 | }; |
|
62 | }; |
60 | }; |
|
Line 63... | Line 61... | |||
63 | |
61 | |
|
64 | i2c-gpio { |
62 | i2c-gpio { |
|
65 | compatible = "i2c-gpio"; |
63 | compatible = "i2c-gpio"; |
|
66 | gpios = <&gpio1 9 0 &gpio1 10 0>; |
64 | gpios = <&gpio1 9 0 &gpio1 10 0>; |
|
67 | i2c-gpio,delay-us = <10>; |
65 | i2c-gpio,delay-us = <10>; |
|
- | 66 | }; |
||
68 | }; |
67 | |
|
Line 69... | Line 68... | |||
69 | }; |
68 | }; |
|
70 | |
69 | |
|
Line 87... | Line 86... | |||
87 | #size-cells = <1>; |
86 | #size-cells = <1>; |
|
88 | nand-ecc-mode = "soft"; |
87 | nand-ecc-mode = "soft"; |
|
89 | nand-ecc-algo = "hamming"; |
88 | nand-ecc-algo = "hamming"; |
|
Line 90... | Line 89... | |||
90 | |
89 | |
|
91 | partition@0 { |
- | ||
92 | label = "stage1"; |
- | ||
93 | reg = <0x00000000 0x00040000>; |
- | ||
94 | read-only; |
- | ||
95 | }; |
- | ||
96 | |
- | ||
97 | partition@40000 { |
90 | partition@0 { |
|
98 | label = "u-boot"; |
91 | label = "boot"; |
|
99 | reg = <0x00040000 0x00380000>; |
92 | reg = <0x00000000 0x00e00000>; |
|
100 | read-only; |
93 | read-only; |
|
Line 101... | Line -... | |||
101 | }; |
- | ||
102 | |
- | ||
103 | partition@3c0000 { |
- | ||
104 | label = "u-boot-env"; |
- | ||
105 | reg = <0x003c0000 0x00080000>; |
- | ||
106 | }; |
- | ||
107 | |
- | ||
108 | partition@440000 { |
- | ||
109 | label = "kernel"; |
- | ||
110 | reg = <0x00440000 0x009c0000>; |
- | ||
111 | }; |
94 | }; |
|
112 | |
95 | |
|
113 | partition@e00000 { |
96 | partition@e00000 { |
|
114 | label = "ubi"; |
97 | label = "ubi"; |
|
115 | reg = <0x00e00000 0x07200000>; |
98 | reg = <0x00e00000 0x07200000>; |