ath79: use the new DT fixed partitions syntax

This new syntax is slightly better designed & uses "compatible" string.
For details see Documentation/devicetree/bindings/mtd/partition.txt .

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
This commit is contained in:
Rafał Miłecki 2018-05-07 10:35:51 +02:00 committed by John Crispin
parent 7fe77a5962
commit 4edd4cb2b3
7 changed files with 174 additions and 132 deletions

View File

@ -139,6 +139,11 @@
reg = <0>;
spi-max-frequency = <25000000>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x000000 0x050000>;
@ -161,6 +166,7 @@
read-only;
};
};
};
};
&eth0 {

View File

@ -68,6 +68,11 @@
reg = <0>;
spi-max-frequency = <25000000>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x000000 0x040000>;
@ -101,6 +106,7 @@
read-only;
};
};
};
};
&pcie {

View File

@ -77,6 +77,11 @@
reg = <0>;
spi-max-frequency = <25000000>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x000000 0x040000>;
@ -110,6 +115,7 @@
read-only;
};
};
};
};
&pcie {

View File

@ -94,6 +94,11 @@
reg = <0>;
spi-max-frequency = <25000000>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x000000 0x020000>;
@ -110,4 +115,5 @@
read-only;
};
};
};
};

View File

@ -96,6 +96,11 @@
spi-max-frequency = <104000000>;
reg = <0>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x000000 0x040000>;
@ -118,6 +123,7 @@
read-only;
};
};
};
};
&mdio0 {

View File

@ -77,6 +77,11 @@
spi-max-frequency = <104000000>;
reg = <0>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x000000 0x040000>;
@ -99,6 +104,7 @@
read-only;
};
};
};
};
&eth1 {

View File

@ -113,6 +113,11 @@
reg = <0>;
spi-max-frequency = <25000000>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x000000 0x040000>;
@ -135,6 +140,7 @@
read-only;
};
};
};
};
&mdio0 {