forked from openwrt/openwrt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ramips: mt7628: move mtd-eeprom out of root DTSI
The mt76x8 subtarget is the only one in ramips that stores the mediatek,mtd-eeprom property directly in the "root" mt7628an.dtsi. This is not optimal for a few different reasons: * If you don't really know it or are used to other (sub)targets, the property will be set somewhat magically. * The property is set based on &factory partition before (if at all) this partition is defined. * There are several devices that have different offset or even different partitions to read from, which will then be overwritten in the DTS files. Thus, definitions are scattered between root DTSI and individual files. Based on these circumstances, the "root" definition is removed and the property is added to the device-based DTS(I) files where needed and applicable. This should be easier to grasp for unexperienced developers and will move the property closer to the partition definitions. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
- Loading branch information
Showing
44 changed files
with
90 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -492,7 +492,5 @@ | |
interrupts = <6>; | ||
|
||
status = "disabled"; | ||
|
||
mediatek,mtd-eeprom = <&factory 0x0000>; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -130,6 +130,8 @@ | |
|
||
&wmac { | ||
status = "okay"; | ||
|
||
mediatek,mtd-eeprom = <&factory 0x0>; | ||
}; | ||
|
||
&factory { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -100,6 +100,8 @@ | |
|
||
&wmac { | ||
status = "okay"; | ||
|
||
mediatek,mtd-eeprom = <&factory 0x0>; | ||
}; | ||
|
||
&state_default { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -173,4 +173,6 @@ | |
|
||
&wmac { | ||
status = "okay"; | ||
|
||
mediatek,mtd-eeprom = <&factory 0x0>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -131,6 +131,8 @@ | |
|
||
&wmac { | ||
status = "okay"; | ||
|
||
mediatek,mtd-eeprom = <&factory 0x0>; | ||
}; | ||
|
||
ðernet { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -162,6 +162,8 @@ | |
|
||
&wmac { | ||
status = "okay"; | ||
|
||
mediatek,mtd-eeprom = <&factory 0x0>; | ||
}; | ||
|
||
&factory { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -87,6 +87,8 @@ | |
|
||
&wmac { | ||
status = "okay"; | ||
|
||
mediatek,mtd-eeprom = <&factory 0x0>; | ||
}; | ||
|
||
&spi0 { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,6 +59,8 @@ | |
|
||
&wmac { | ||
status = "okay"; | ||
|
||
mediatek,mtd-eeprom = <&factory 0x0>; | ||
}; | ||
|
||
&spi0 { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -88,6 +88,8 @@ | |
|
||
&wmac { | ||
status = "okay"; | ||
|
||
mediatek,mtd-eeprom = <&factory 0x0>; | ||
}; | ||
|
||
&factory { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -113,6 +113,8 @@ | |
|
||
&wmac { | ||
status = "okay"; | ||
|
||
mediatek,mtd-eeprom = <&factory 0x0>; | ||
}; | ||
|
||
&factory { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -96,6 +96,8 @@ | |
|
||
&wmac { | ||
status = "okay"; | ||
|
||
mediatek,mtd-eeprom = <&factory 0x0>; | ||
}; | ||
|
||
&factory { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -104,6 +104,8 @@ | |
|
||
&wmac { | ||
status = "okay"; | ||
|
||
mediatek,mtd-eeprom = <&factory 0x0>; | ||
}; | ||
|
||
&uboot { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -123,6 +123,8 @@ | |
|
||
&wmac { | ||
status = "okay"; | ||
|
||
mediatek,mtd-eeprom = <&factory 0x0>; | ||
}; | ||
|
||
&factory { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -158,6 +158,8 @@ | |
|
||
&wmac { | ||
status = "okay"; | ||
|
||
mediatek,mtd-eeprom = <&factory 0x0>; | ||
}; | ||
|
||
&factory { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -85,6 +85,8 @@ | |
|
||
&wmac { | ||
status = "okay"; | ||
|
||
mediatek,mtd-eeprom = <&factory 0x0>; | ||
ralink,mtd-eeprom = <&art 0x0>; | ||
}; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -135,6 +135,8 @@ | |
|
||
&wmac { | ||
status = "okay"; | ||
|
||
mediatek,mtd-eeprom = <&factory 0x0>; | ||
}; | ||
|
||
&sdhci { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -96,6 +96,8 @@ | |
|
||
&wmac { | ||
status = "okay"; | ||
|
||
mediatek,mtd-eeprom = <&factory 0x0>; | ||
}; | ||
|
||
ðernet { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -163,6 +163,8 @@ | |
|
||
&wmac { | ||
status = "okay"; | ||
|
||
mediatek,mtd-eeprom = <&factory 0x0>; | ||
}; | ||
|
||
&factory { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -93,6 +93,8 @@ | |
|
||
&wmac { | ||
status = "okay"; | ||
|
||
mediatek,mtd-eeprom = <&factory 0x0>; | ||
}; | ||
|
||
&factory { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -182,6 +182,8 @@ | |
|
||
&wmac { | ||
status = "okay"; | ||
|
||
mediatek,mtd-eeprom = <&factory 0x0>; | ||
}; | ||
|
||
ðernet { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,6 +53,8 @@ | |
|
||
&wmac { | ||
status = "okay"; | ||
|
||
mediatek,mtd-eeprom = <&factory 0x0>; | ||
}; | ||
|
||
&spi0 { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -97,6 +97,8 @@ | |
|
||
&wmac { | ||
status = "okay"; | ||
|
||
mediatek,mtd-eeprom = <&factory 0x0>; | ||
}; | ||
|
||
&factory { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -107,6 +107,8 @@ | |
|
||
&wmac { | ||
status = "okay"; | ||
|
||
mediatek,mtd-eeprom = <&factory 0x0>; | ||
}; | ||
|
||
ðernet { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -91,6 +91,8 @@ | |
|
||
&wmac { | ||
status = "okay"; | ||
|
||
mediatek,mtd-eeprom = <&factory 0x0>; | ||
}; | ||
|
||
&state_default { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,8 @@ | |
|
||
&wmac { | ||
status = "okay"; | ||
|
||
mediatek,mtd-eeprom = <&factory 0x0>; | ||
}; | ||
|
||
ðernet { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -114,6 +114,8 @@ | |
|
||
&wmac { | ||
status = "okay"; | ||
|
||
mediatek,mtd-eeprom = <&factory 0x0>; | ||
}; | ||
|
||
ðernet { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -109,6 +109,8 @@ | |
|
||
&wmac { | ||
status = "okay"; | ||
|
||
mediatek,mtd-eeprom = <&factory 0x0>; | ||
}; | ||
|
||
ðernet { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -113,6 +113,8 @@ | |
|
||
&wmac { | ||
status = "okay"; | ||
|
||
mediatek,mtd-eeprom = <&factory 0x0>; | ||
}; | ||
|
||
ðernet { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -143,6 +143,8 @@ | |
|
||
&wmac { | ||
status = "okay"; | ||
|
||
mediatek,mtd-eeprom = <&factory 0x0>; | ||
}; | ||
|
||
ðernet { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -115,4 +115,6 @@ | |
|
||
&wmac { | ||
status = "okay"; | ||
|
||
mediatek,mtd-eeprom = <&factory 0x0>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -159,6 +159,8 @@ | |
|
||
&wmac { | ||
status = "okay"; | ||
|
||
mediatek,mtd-eeprom = <&factory 0x0>; | ||
}; | ||
|
||
&factory { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -88,6 +88,8 @@ | |
|
||
&wmac { | ||
status = "okay"; | ||
|
||
mediatek,mtd-eeprom = <&factory 0x0>; | ||
}; | ||
|
||
&factory { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -100,4 +100,6 @@ | |
|
||
&wmac { | ||
status = "okay"; | ||
|
||
mediatek,mtd-eeprom = <&factory 0x0>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,6 +71,8 @@ | |
|
||
&wmac { | ||
status = "okay"; | ||
|
||
mediatek,mtd-eeprom = <&factory 0x0>; | ||
}; | ||
|
||
ðernet { | ||
|
Oops, something went wrong.