ipq806x: really fix aliases node for Qualcomm IPQ8064/DB149
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Tue, 14 Jul 2020 14:59:44 +0000 (16:59 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Tue, 14 Jul 2020 15:02:40 +0000 (17:02 +0200)
Having looked at this again, it appears that only gsbi2_serial
is actually enabled for this device, so the entry in the broken
aliases node was correct.

Therefore, this needs to set its own serial0 instead of inheriting
"serial0 = &gsbi4_serial;" from DTSI. Do this with the correctly
named aliases node now.

Fixes: c83f7b6d217f ("ipq806x: fix aliases node name for Qualcomm
IPQ8064/DB149")

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064-db149.dts
target/linux/ipq806x/files-5.4/arch/arm/boot/dts/qcom-ipq8064-db149.dts

index 625e9a84ffc603a06886c86e071bcf3bcc48a08a..35b7e0ea379096731893fcbc88050c1b982b18d1 100644 (file)
@@ -4,6 +4,10 @@
        model = "Qualcomm IPQ8064/DB149";
        compatible = "qcom,ipq8064-db149", "qcom,ipq8064";
 
+       aliases {
+               serial0 = &gsbi2_serial;
+       };
+
        reserved-memory {
                #address-cells = <1>;
                #size-cells = <1>;
@@ -56,7 +60,8 @@
                gsbi2: gsbi@12480000 {
                        qcom,mode = <GSBI_PROT_I2C_UART>;
                        status = "okay";
-                       uart2: serial@12490000 {
+
+                       gsbi2_serial: serial@12490000 {
                                status = "okay";
                        };
                };
index e97c16b7e0d22a216dc7b787349196c6483a182e..1f68f826cb5b68215f7c788f38975a73f0658c20 100644 (file)
@@ -4,6 +4,10 @@
        model = "Qualcomm IPQ8064/DB149";
        compatible = "qcom,ipq8064-db149", "qcom,ipq8064";
 
+       aliases {
+               serial0 = &gsbi2_serial;
+       };
+
        reserved-memory {
                #address-cells = <1>;
                #size-cells = <1>;
@@ -28,7 +32,8 @@
 &gsbi2 {
        qcom,mode = <GSBI_PROT_I2C_UART>;
        status = "okay";
-       uart2: serial@12490000 {
+
+       gsbi2_serial: serial@12490000 {
                status = "okay";
        };
 };