ipq40xx: MR33: device-tree update
authorChristian Lamparter <chunkeey@gmail.com>
Sat, 22 Dec 2018 19:54:15 +0000 (20:54 +0100)
committerChristian Lamparter <chunkeey@gmail.com>
Thu, 27 Dec 2018 13:36:23 +0000 (14:36 +0100)
 - 4.19 no longer refuses to initialize the mdio bus if
   a phy is not connected.

 - fix partition unit-address

 - restrict partition offset and size to 32-bit integers.

 - add note to warn people not to mess with the ubi
   partition size.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4029-mr33.dts

index 589409737373403cb6c20ea0f46e0567aab9309d..e3fd4b691e9cc202cbbfb07193cc7440a567ed3d 100644 (file)
                        status = "okay";
                        pinctrl-0 = <&mdio_pins>;
                        pinctrl-names = "default";
-                       /delete-node/ ethernet-phy@0;
-                       /delete-node/ ethernet-phy@2;
-                       /delete-node/ ethernet-phy@3;
-                       /delete-node/ ethernet-phy@4;
                };
 
                /* It is a 56-bit counter that supplies the count to the ARM arch
        vlan_tag = <0 0x20>;
 };
 
-&blsp1_i2c3{
+&blsp1_i2c3 {
        pinctrl-0 = <&i2c_0_pins>;
        pinctrl-names = "default";
        status = "okay";
        };
 };
 
-&blsp1_i2c4{
+&blsp1_i2c4 {
        pinctrl-0 = <&i2c_1_pins>;
        pinctrl-names = "default";
        status = "okay";
 
                        partition@0 {
                                label = "sbl1";
-                               reg = <0x000000000000 0x000000100000>;
+                               reg = <0x00000000 0x00100000>;
                                read-only;
                        };
-                       partition@1 {
+                       partition@100000 {
                                label = "mibib";
-                               reg = <0x000000100000 0x000000100000>;
+                               reg = <0x00100000 0x00100000>;
                                read-only;
                        };
-                       partition@2 {
+                       partition@200000 {
                                label = "bootconfig";
-                               reg = <0x000000200000 0x000000100000>;
+                               reg = <0x00200000 0x00100000>;
                                read-only;
                        };
-                       partition@3 {
+                       partition@300000 {
                                label = "qsee";
-                               reg = <0x000000300000 0x000000100000>;
+                               reg = <0x00300000 0x00100000>;
                                read-only;
                        };
-                       partition@4 {
+                       partition@400000 {
                                label = "qsee_alt";
-                               reg = <0x000000400000 0x000000100000>;
+                               reg = <0x00400000 0x00100000>;
                                read-only;
                        };
-                       partition@5 {
+                       partition@500000 {
                                label = "cdt";
-                               reg = <0x000000500000 0x000000080000>;
+                               reg = <0x00500000 0x00080000>;
                                read-only;
                        };
-                       partition@6 {
+                       partition@580000 {
                                label = "cdt_alt";
-                               reg = <0x000000580000 0x000000080000>;
+                               reg = <0x00580000 0x00080000>;
                                read-only;
                        };
-                       partition@7 {
+                       partition@600000 {
                                label = "ddrparams";
-                               reg = <0x000000600000 0x000000080000>;
+                               reg = <0x00600000 0x00080000>;
                                read-only;
                        };
-                       partition@8 {
+                       partition@700000 {
                                label = "u-boot";
-                               reg = <0x000000700000 0x000000200000>;
+                               reg = <0x00700000 0x00200000>;
                                read-only;
                        };
-                       partition@9 {
+                       partition@900000 {
                                label = "u-boot-backup";
-                               reg = <0x000000900000 0x000000200000>;
+                               reg = <0x00900000 0x00200000>;
                                read-only;
                        };
-                       partition@10 {
+                       partition@b00000 {
                                label = "ART";
-                               reg = <0x000000b00000 0x000000080000>;
+                               reg = <0x00b00000 0x00080000>;
                                read-only;
                        };
-                       partition@11 {
+                       partition@c00000 {
                                label = "ubi";
-                               reg = <0x000000c00000 0x000007000000>;
+                               reg = <0x00c00000 0x07000000>;
+                               /*
+                                * Do not try to allocate the remaining
+                                * 4 MiB to this ubi partition. It will
+                                * confuse the u-boot and it might not
+                                * find the kernel partition anymore.
+                                */
                        };
                };
        };