OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 16... | Line 16... | |||
16 | |
16 | |
|
17 | chosen { |
17 | chosen { |
|
18 | bootargs = "console=ttyS0,57600"; |
18 | bootargs = "console=ttyS0,57600"; |
|
Line 19... | Line 19... | |||
19 | }; |
19 | }; |
|
20 | |
20 | |
|
Line 21... | Line 21... | |||
21 | leds { |
21 | gpio-leds { |
|
22 | compatible = "gpio-leds"; |
22 | compatible = "gpio-leds"; |
|
23 | |
23 | |
|
24 | usb { |
- | ||
25 | label = "sap-g3200u3:green:usb"; |
- | ||
26 | gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; |
24 | usb { |
|
27 | trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>; |
25 | label = "sap-g3200u3:green:usb"; |
|
Line 28... | Line 26... | |||
28 | linux,default-trigger = "usbport"; |
26 | gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; |
|
29 | }; |
27 | }; |
|
- | 28 | }; |
||
- | 29 | |
||
30 | }; |
30 | gpio-keys-polled { |
|
Line 31... | Line 31... | |||
31 | |
31 | compatible = "gpio-keys-polled"; |
|
32 | keys { |
32 | #address-cells = <1>; |
|
33 | compatible = "gpio-keys-polled"; |
33 | #size-cells = <0>; |
|
Line 49... | Line 49... | |||
49 | |
49 | |
|
50 | &spi0 { |
50 | &spi0 { |
|
Line 51... | Line 51... | |||
51 | status = "okay"; |
51 | status = "okay"; |
|
- | 52 | |
||
- | 53 | m25p80@0 { |
||
52 | |
54 | #address-cells = <1>; |
|
53 | m25p80@0 { |
55 | #size-cells = <1>; |
|
54 | compatible = "jedec,spi-nor"; |
56 | compatible = "jedec,spi-nor"; |
|
- | 57 | reg = <0>; |
||
Line 55... | Line -... | |||
55 | reg = <0>; |
- | ||
56 | spi-max-frequency = <10000000>; |
- | ||
57 | |
- | ||
58 | partitions { |
- | ||
59 | compatible = "fixed-partitions"; |
- | ||
60 | #address-cells = <1>; |
58 | spi-max-frequency = <10000000>; |
|
61 | #size-cells = <1>; |
59 | m25p,chunked-io = <32>; |
|
62 | |
60 | |
|
63 | partition@0 { |
61 | partition@0 { |
|
64 | label = "u-boot"; |
62 | label = "u-boot"; |
|
65 | reg = <0x0 0x30000>; |
63 | reg = <0x0 0x30000>; |
|
66 | read-only; |
64 | read-only; |
|
67 | }; |
65 | }; |
|
68 | |
66 | |
|
69 | partition@30000 { |
67 | partition@30000 { |
|
70 | label = "u-boot-env"; |
68 | label = "u-boot-env"; |
|
71 | reg = <0x30000 0x1000>; |
69 | reg = <0x30000 0x1000>; |
|
72 | read-only; |
70 | read-only; |
|
73 | }; |
71 | }; |
|
74 | |
72 | |
|
75 | partition@31000 { |
73 | partition@31000 { |
|
76 | label = "config"; |
74 | label = "config"; |
|
77 | reg = <0x31000 0xf000>; |
75 | reg = <0x31000 0xf000>; |
|
78 | read-only; |
76 | read-only; |
|
79 | }; |
77 | }; |
|
80 | |
78 | |
|
81 | factory: partition@40000 { |
79 | factory: partition@40000 { |
|
82 | label = "factory"; |
80 | label = "factory"; |
|
83 | reg = <0x40000 0x10000>; |
81 | reg = <0x40000 0x10000>; |
|
84 | read-only; |
82 | read-only; |
|
85 | }; |
- | ||
86 | |
83 | }; |
|
87 | partition@50000 { |
84 | |
|
88 | compatible = "denx,uimage"; |
- | ||
89 | label = "firmware"; |
85 | partition@50000 { |
|
90 | reg = <0x50000 0x7b0000>; |
86 | label = "firmware"; |
|
91 | }; |
87 | reg = <0x50000 0x7b0000>; |
|
Line 92... | Line 88... | |||
92 | }; |
88 | }; |
|
93 | }; |
89 | }; |
|
94 | }; |
- | ||
Line 95... | Line 90... | |||
95 | |
90 | }; |
|
96 | &pcie { |
91 | |
|
97 | status = "okay"; |
92 | &pcie { |
|
- | 93 | status = "okay"; |
||
98 | }; |
94 | |
|
99 | |
95 | pcie0 { |
|
- | 96 | mt76@0,0 { |
||
100 | &pcie0 { |
97 | reg = <0x0000 0 0 0 0>; |
|
101 | mt76@0,0 { |
- | ||
Line 102... | Line 98... | |||
102 | reg = <0x0000 0 0 0 0>; |
98 | device_type = "pci"; |
|
103 | mediatek,mtd-eeprom = <&factory 0x8000>; |
99 | mediatek,mtd-eeprom = <&factory 0x8000>; |
|
104 | ieee80211-freq-limit = <5000000 6000000>; |
100 | ieee80211-freq-limit = <5000000 6000000>; |
|
- | 101 | }; |
||
105 | }; |
102 | }; |
|
106 | }; |
103 | |
|
- | 104 | pcie1 { |
||
107 | |
105 | mt76@1,0 { |
|
108 | &pcie1 { |
106 | reg = <0x0000 0 0 0 0>; |
|
Line 109... | Line 107... | |||
109 | mt76@0,0 { |
107 | device_type = "pci"; |
|
110 | reg = <0x0000 0 0 0 0>; |
108 | mediatek,mtd-eeprom = <&factory 0x0000>; |