OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 7... | Line 7... | |||
7 | |
7 | |
|
8 | / { |
8 | / { |
|
9 | compatible = "zte,q7", "ralink,mt7620a-soc"; |
9 | compatible = "zte,q7", "ralink,mt7620a-soc"; |
|
Line 10... | Line -... | |||
10 | model = "ZTE Q7"; |
- | ||
11 | |
- | ||
12 | aliases { |
- | ||
13 | led-boot = &led_status_blue; |
- | ||
14 | led-failsafe = &led_status_blue; |
- | ||
15 | led-running = &led_status_blue; |
- | ||
16 | led-upgrade = &led_status_blue; |
- | ||
17 | }; |
10 | model = "ZTE Q7"; |
|
18 | |
11 | |
|
Line 19... | Line 12... | |||
19 | leds { |
12 | gpio-leds { |
|
20 | compatible = "gpio-leds"; |
13 | compatible = "gpio-leds"; |
|
21 | |
14 | |
|
22 | statred { |
15 | statred { |
|
Line 23... | Line 16... | |||
23 | label = "zte-q7:red:status"; |
16 | label = "zte-q7:red:status"; |
|
24 | gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; |
17 | gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; |
|
25 | }; |
18 | }; |
|
26 | |
19 | |
|
27 | led_status_blue: statblue { |
20 | statblue { |
|
Line 28... | Line 21... | |||
28 | label = "zte-q7:blue:status"; |
21 | label = "zte-q7:blue:status"; |
|
29 | gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; |
22 | gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; |
|
- | 23 | }; |
||
- | 24 | }; |
||
30 | }; |
25 | |
|
Line 31... | Line 26... | |||
31 | }; |
26 | gpio-keys-polled { |
|
32 | |
27 | compatible = "gpio-keys-polled"; |
|
33 | keys { |
28 | #address-cells = <1>; |
|
Line 52... | Line 47... | |||
52 | |
47 | |
|
53 | &spi0 { |
48 | &spi0 { |
|
Line 54... | Line 49... | |||
54 | status = "okay"; |
49 | status = "okay"; |
|
- | 50 | |
||
- | 51 | m25p80@0 { |
||
55 | |
52 | #address-cells = <1>; |
|
56 | m25p80@0 { |
53 | #size-cells = <1>; |
|
57 | compatible = "jedec,spi-nor"; |
54 | compatible = "jedec,spi-nor"; |
|
Line 58... | Line -... | |||
58 | reg = <0>; |
- | ||
59 | spi-max-frequency = <10000000>; |
- | ||
60 | |
- | ||
61 | partitions { |
- | ||
62 | compatible = "fixed-partitions"; |
- | ||
63 | #address-cells = <1>; |
55 | reg = <0>; |
|
64 | #size-cells = <1>; |
56 | spi-max-frequency = <10000000>; |
|
65 | |
57 | |
|
66 | partition@0 { |
58 | partition@0 { |
|
67 | label = "u-boot"; |
59 | label = "u-boot"; |
|
68 | reg = <0x0 0x30000>; |
60 | reg = <0x0 0x30000>; |
|
69 | read-only; |
61 | read-only; |
|
70 | }; |
62 | }; |
|
71 | |
63 | |
|
72 | partition@30000 { |
64 | partition@30000 { |
|
73 | label = "u-boot-env"; |
65 | label = "u-boot-env"; |
|
74 | reg = <0x30000 0x10000>; |
66 | reg = <0x30000 0x10000>; |
|
75 | read-only; |
67 | read-only; |
|
76 | }; |
68 | }; |
|
77 | |
69 | |
|
78 | factory: partition@40000 { |
70 | factory: partition@40000 { |
|
79 | label = "factory"; |
71 | label = "factory"; |
|
80 | reg = <0x40000 0x10000>; |
72 | reg = <0x40000 0x10000>; |
|
81 | read-only; |
73 | read-only; |
|
82 | }; |
- | ||
83 | |
74 | }; |
|
84 | partition@50000 { |
75 | |
|
85 | compatible = "denx,uimage"; |
- | ||
86 | label = "firmware"; |
76 | partition@50000 { |
|
87 | reg = <0x50000 0x7b0000>; |
77 | label = "firmware"; |
|
88 | }; |
78 | reg = <0x50000 0x7b0000>; |
|
Line 89... | Line 79... | |||
89 | }; |
79 | }; |
|
90 | }; |
80 | }; |
|
91 | }; |
81 | }; |
|
92 | |
82 | |
|
93 | &pinctrl { |
83 | &pinctrl { |
|
94 | state_default: pinctrl0 { |
84 | state_default: pinctrl0 { |
|
95 | gpio { |
85 | gpio { |
|
96 | ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "ephy", "wled"; |
86 | ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "ephy", "wled", "nd_sd"; |