OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 7... | Line 7... | |||
7 | |
7 | |
|
8 | / { |
8 | / { |
|
9 | compatible = "dlink,dir-320-b1", "ralink,rt5350-soc"; |
9 | compatible = "dlink,dir-320-b1", "ralink,rt5350-soc"; |
|
Line 10... | Line -... | |||
10 | model = "D-Link DIR-320 B1"; |
- | ||
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 = "D-Link DIR-320 B1"; |
|
18 | |
11 | |
|
Line 19... | Line 12... | |||
19 | leds { |
12 | gpio-leds { |
|
20 | compatible = "gpio-leds"; |
13 | compatible = "gpio-leds"; |
|
21 | |
14 | |
|
22 | led_status: status { |
15 | status { |
|
Line 23... | Line 16... | |||
23 | label = "dir-320-b1:green:status"; |
16 | label = "dir-320-b1:green:status"; |
|
Line 33... | Line 26... | |||
33 | label = "dir-320-b1:green:wps"; |
26 | label = "dir-320-b1:green:wps"; |
|
34 | gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; |
27 | gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; |
|
35 | }; |
28 | }; |
|
36 | }; |
29 | }; |
|
Line 37... | Line 30... | |||
37 | |
30 | |
|
38 | keys { |
31 | gpio-keys-polled { |
|
- | 32 | compatible = "gpio-keys-polled"; |
||
- | 33 | #address-cells = <1>; |
||
39 | compatible = "gpio-keys-polled"; |
34 | #size-cells = <0>; |
|
Line 40... | Line 35... | |||
40 | poll-interval = <20>; |
35 | poll-interval = <20>; |
|
41 | |
36 | |
|
42 | reset { |
37 | reset { |
|
Line 72... | Line 67... | |||
72 | |
67 | |
|
73 | &spi0 { |
68 | &spi0 { |
|
Line 74... | Line 69... | |||
74 | status = "okay"; |
69 | status = "okay"; |
|
- | 70 | |
||
- | 71 | m25p80@0 { |
||
75 | |
72 | #address-cells = <1>; |
|
76 | m25p80@0 { |
73 | #size-cells = <1>; |
|
77 | compatible = "jedec,spi-nor"; |
74 | compatible = "jedec,spi-nor"; |
|
Line 78... | Line -... | |||
78 | reg = <0>; |
- | ||
79 | spi-max-frequency = <10000000>; |
- | ||
80 | |
- | ||
81 | partitions { |
- | ||
82 | compatible = "fixed-partitions"; |
- | ||
83 | #address-cells = <1>; |
75 | reg = <0>; |
|
84 | #size-cells = <1>; |
76 | spi-max-frequency = <10000000>; |
|
85 | |
77 | |
|
86 | partition@0 { |
78 | partition@0 { |
|
87 | label = "u-boot"; |
79 | label = "u-boot"; |
|
88 | reg = <0x0 0x30000>; |
80 | reg = <0x0 0x30000>; |
|
89 | read-only; |
81 | read-only; |
|
90 | }; |
82 | }; |
|
91 | |
83 | |
|
92 | partition@30000 { |
84 | partition@30000 { |
|
93 | label = "u-boot-env"; |
85 | label = "u-boot-env"; |
|
94 | reg = <0x30000 0x10000>; |
86 | reg = <0x30000 0x10000>; |
|
95 | read-only; |
87 | read-only; |
|
96 | }; |
88 | }; |
|
97 | |
89 | |
|
98 | factory: partition@40000 { |
90 | factory: partition@40000 { |
|
99 | label = "factory"; |
91 | label = "factory"; |
|
100 | reg = <0x40000 0x10000>; |
92 | reg = <0x40000 0x10000>; |
|
101 | read-only; |
93 | read-only; |
|
102 | }; |
- | ||
103 | |
94 | }; |
|
104 | partition@50000 { |
95 | |
|
105 | compatible = "denx,uimage"; |
- | ||
106 | label = "firmware"; |
96 | partition@50000 { |
|
107 | reg = <0x50000 0x7b0000>; |
97 | label = "firmware"; |
|
108 | }; |
98 | reg = <0x50000 0x7b0000>; |
|
Line 109... | Line 99... | |||
109 | }; |
99 | }; |
|
110 | }; |
100 | }; |
|
111 | }; |
101 | }; |
|
112 | |
102 | |
|
113 | &pinctrl { |
103 | &pinctrl { |
|
114 | state_default: pinctrl0 { |
104 | state_default: pinctrl0 { |
|
115 | gpio { |
105 | gpio { |
|
116 | ralink,group = "i2c", "jtag", "uartf"; |
106 | ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf"; |