Mostly missing/wrong addresses.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
reg = <0 0xffe05000 0 0x1000>;
ranges = <0x0 0x0 0x0 0xec000000 0x4000000>;
- nor@0,0 {
- #address-cells = <1>;
- #size-cells = <1>;
+ nor@0 {
compatible = "cfi-flash";
reg = <0x0 0x0 0x4000000>;
bank-width = <2>;
switch@10 {
compatible = "qca,qca8327";
- #address-cells = <1>;
- #size-cells = <0>;
reg = <0x10>;
reset-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
0x1 0x0 0x0 0xff800000 0x00010000
0x3 0x0 0x0 0xffb00000 0x00000020>;
- nand@1,0 {
+ nand@100000000 {
compatible = "fsl,ifc-nand";
reg = <0x1 0x0 0x10000>;
reg = <0 0xffe05000 0 0x1000>;
ranges = <0x0 0x0 0x0 0xec000000 0x4000000>;
- nor@0,0 {
+ nor@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "cfi-flash";
0x2 0x0 0x0 0xffa00000 0x00020000
0x3 0x0 0x0 0xffb00000 0x00020000>;
- nand@1,0 {
+ nand@100000000 {
compatible = "fsl,p1020-fcm-nand", "fsl,elbc-fcm-nand";
reg = <0x1 0x0 0x40000>;
0x1 0x0 0x0 0xff800000 0x00010000
0x3 0x0 0x0 0xffb00000 0x00000020>;
- nand@1,0 {
+ nand@100000000 {
compatible = "fsl,ifc-nand";
reg = <0x1 0x0 0x10000>;
read-only;
};
- partition@300000 {
- reg = <0x300000 0x800000>;
- label = "kernel";
- };
-
- partition@b00000 {
- reg = <0xb00000 0x7500000>;
- label = "ubi";
- };
-
oem-partition@300000 {
reg = <0x300000 0x1900000>;
label = "sophos-os1";
+
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ partition@0 {
+ reg = <0x0 0x800000>;
+ label = "kernel";
+ };
+
+ partition@800000 {
+ reg = <0x800000 0x7500000>;
+ label = "ubi";
+ };
};
oem-partition@1c00000 {
reg = <4>;
};
- switch@0 {
+ switch@10 {
compatible = "qca,qca8327";
- #address-cells = <1>;
- #size-cells = <0>;
reg = <0x10>;
ports {
reg = <0 0xffe05000 0 0x1000>;
ranges = <0x0 0x0 0x0 0xee000000 0x2000000>;
- nor@0,0 {
+ nor@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "cfi-flash";
0x1000000 0x0 0x0
0x0 0x100000>;
- wifi@0,0,0 {
+ wifi@0,0 {
compatible = "pci168c,0033";
reg = <0x0 0 0 0 0>;
ieee80211-freq-limit = <2400000 2500000>;
0x1000000 0x0 0x0
0x0 0x100000>;
- wifi@0,0,0 {
+ wifi@0,0 {
compatible = "pci168c,0033";
reg = <0x0 0 0 0 0>;
ieee80211-freq-limit = <5000000 6000000>;