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>
model = "Qualcomm IPQ8064/DB149";
compatible = "qcom,ipq8064-db149", "qcom,ipq8064";
+ aliases {
+ serial0 = &gsbi2_serial;
+ };
+
reserved-memory {
#address-cells = <1>;
#size-cells = <1>;
gsbi2: gsbi@12480000 {
qcom,mode = <GSBI_PROT_I2C_UART>;
status = "okay";
- uart2: serial@12490000 {
+
+ gsbi2_serial: serial@12490000 {
status = "okay";
};
};
model = "Qualcomm IPQ8064/DB149";
compatible = "qcom,ipq8064-db149", "qcom,ipq8064";
+ aliases {
+ serial0 = &gsbi2_serial;
+ };
+
reserved-memory {
#address-cells = <1>;
#size-cells = <1>;
&gsbi2 {
qcom,mode = <GSBI_PROT_I2C_UART>;
status = "okay";
- uart2: serial@12490000 {
+
+ gsbi2_serial: serial@12490000 {
status = "okay";
};
};