lantiq: dts: move partitions into partition node

Signed-off-by: Mathias Kresin <dev@kresin.me>
master
Mathias Kresin 5 years ago
parent 7685ed59c5
commit 2ec59c173f

@ -17,6 +17,9 @@
compatible = "lantiq,nor";
bank-width = <2>;
reg = <0x0 0x4000000>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
@ -35,4 +38,5 @@
reg = <0x80000 0x3d0000>;
};
};
};
};

@ -261,12 +261,15 @@
pinctrl-0 = <&pins_spi_default>;
m25p80@4 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <4>;
spi-max-frequency = <1000000>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
urlader: partition@0 {
reg = <0x0 0x20000>;
label = "urlader";
@ -285,6 +288,7 @@
read-only;
};
};
};
};
&usb_phy0 {

@ -264,12 +264,14 @@
pinctrl-0 = <&pins_spi_default>;
m25p80@4 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <4>;
spi-max-frequency = <20000000>;
partitions {
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
reg = <0x0 0x10000>;
label = "u-boot";
@ -309,6 +311,7 @@
read-only;
};
};
};
};
&usb_phy0 {

@ -5,14 +5,17 @@
compatible = "lantiq,sflash-falcon", "simple-bus";
flash@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "spansion,s25fl129p0", "spansion,s25fl129p1";
reg = <0 0>;
linux,mtd-name = "sflash";
spi-max-frequency = <80000000>;
m25p,fast-read;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
reg = <0x0 0x40000>;
label = "uboot";
@ -34,4 +37,5 @@
label = "image1";
};
};
};
};

Loading…
Cancel
Save