forked from Ivasoft/openwrt
lantiq: dts: move partitions into partition node
Signed-off-by: Mathias Kresin <dev@kresin.me>
This commit is contained in:
@@ -261,28 +261,32 @@
|
||||
pinctrl-0 = <&pins_spi_default>;
|
||||
|
||||
m25p80@4 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <4>;
|
||||
spi-max-frequency = <1000000>;
|
||||
|
||||
urlader: partition@0 {
|
||||
reg = <0x0 0x20000>;
|
||||
label = "urlader";
|
||||
read-only;
|
||||
};
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
partition@20000 {
|
||||
reg = <0x20000 0x10000>;
|
||||
label = "tffs (1)";
|
||||
read-only;
|
||||
};
|
||||
urlader: partition@0 {
|
||||
reg = <0x0 0x20000>;
|
||||
label = "urlader";
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@30000 {
|
||||
reg = <0x30000 0x10000>;
|
||||
label = "tffs (2)";
|
||||
read-only;
|
||||
partition@20000 {
|
||||
reg = <0x20000 0x10000>;
|
||||
label = "tffs (1)";
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@30000 {
|
||||
reg = <0x30000 0x10000>;
|
||||
label = "tffs (2)";
|
||||
read-only;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user