lantiq: dts: move partitions into partition node
Signed-off-by: Mathias Kresin <dev@kresin.me>
This commit is contained in:
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>;
|
||||
|
||||
@ -36,3 +39,4 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -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";
|
||||
@ -286,6 +289,7 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&usb_phy0 {
|
||||
status = "okay";
|
||||
|
@ -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";
|
||||
@ -310,6 +312,7 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&usb_phy0 {
|
||||
status = "okay";
|
||||
|
@ -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";
|
||||
@ -35,3 +38,4 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user