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>
openwrt-18.06
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>;
@ -162,6 +167,7 @@
};
};
};
};
&eth0 {
status = "okay";

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>;
@ -102,6 +107,7 @@
};
};
};
};
&pcie {
status = "okay";

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>;
@ -111,6 +116,7 @@
};
};
};
};
&pcie {
status = "okay";

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>;
@ -111,3 +116,4 @@
};
};
};
};

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>;
@ -119,6 +124,7 @@
};
};
};
};
&mdio0 {
status = "okay";

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>;
@ -100,6 +105,7 @@
};
};
};
};
&eth1 {
status = "okay";

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>;
@ -136,6 +141,7 @@
};
};
};
};
&mdio0 {
status = "okay";