All device DTS files in the target set the serial0 property to the
same value (*). So, let's move the definitions to the DTSI files.
That's also where the kernel defines it (qcom-ipq8064-v1.0.dtsi).
* The only exception is ipq8064-db149, which defines
"serial0 = &uart2;", but inside a block called "alias" instead of
"aliases". It must be assumed that this is broken anyway, so we
don't touch it here.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
16 files changed:
};
aliases {
- serial0 = &gsbi4_serial;
mdio-gpio0 = &mdio0;
};
};
};
aliases {
- serial0 = &gsbi4_serial;
mdio-gpio0 = &mdio0;
};
};
};
aliases {
- serial0 = &gsbi4_serial;
mdio-gpio0 = &mdio0;
led-boot = &power;
};
aliases {
- serial0 = &gsbi4_serial;
mdio-gpio0 = &mdio0;
led-boot = &power_white;
};
aliases {
- serial0 = &gsbi4_serial;
mdio-gpio0 = &mdio0;
led-boot = &power;
};
aliases {
- serial0 = &gsbi4_serial;
mdio-gpio0 = &mdio0;
led-boot = &power_white;
};
aliases {
- serial0 = &gsbi4_serial;
mdio-gpio0 = &mdio0;
led-boot = &power;
#include "qcom-ipq8064.dtsi"
/ {
+ aliases {
+ serial0 = &gsbi4_serial;
+ };
+
chosen {
stdout-path = "serial0:115200n8";
};
#include "qcom-ipq8064.dtsi"
/ {
+ aliases {
+ serial0 = &gsbi4_serial;
+ };
+
chosen {
stdout-path = "serial0:115200n8";
};
};
aliases {
- serial0 = &gsbi4_serial;
mdio-gpio0 = &mdio0;
led-boot = &power;
};
aliases {
- serial0 = &gsbi4_serial;
mdio-gpio0 = &mdio0;
led-boot = &power_green;
aliases {
mdio-gpio0 = &mdio0;
- serial0 = &gsbi4_serial;
ethernet0 = &gmac1;
ethernet1 = &gmac0;
};
aliases {
- serial0 = &gsbi4_serial;
-
led-boot = &power;
led-failsafe = &diag;
led-running = &power;
};
aliases {
- serial0 = &gsbi4_serial;
mdio-gpio0 = &mdio0;
sdcc1 = &sdcc1;
};
aliases {
- serial0 = &gsbi4_serial;
mdio-gpio0 = &mdio0;
led-boot = &power_white;
model = "Qualcomm IPQ8065";
compatible = "qcom,ipq8065", "qcom,ipq8064";
+ aliases {
+ serial0 = &gsbi4_serial;
+ };
+
chosen {
stdout-path = "serial0:115200n8";
};