ipq806x: add ap148 bootargs to DT
[openwrt/openwrt.git] / target / linux / ipq806x / patches / 020-add-ap148-bootargs.patch
1 --- a/arch/arm/boot/dts/qcom-ipq8064-ap148.dts
2 +++ b/arch/arm/boot/dts/qcom-ipq8064-ap148.dts
3 @@ -14,6 +14,14 @@
4 };
5 };
6
7 + alias {
8 + serial0 = &uart4;
9 + };
10 +
11 + chosen {
12 + linux,stdout-path = "serial0:115200n8";
13 + };
14 +
15 soc {
16 pinmux@800000 {
17 i2c4_pins: i2c4_pinmux {
18 --- a/arch/arm/boot/dts/qcom-ipq8064.dtsi
19 +++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi
20 @@ -140,7 +140,7 @@
21 ranges;
22 status = "disabled";
23
24 - serial@12490000 {
25 + uart2: serial@12490000 {
26 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
27 reg = <0x12490000 0x1000>,
28 <0x12480000 0x1000>;
29 @@ -175,7 +175,7 @@
30 ranges;
31 status = "disabled";
32
33 - serial@16340000 {
34 + uart4: serial@16340000 {
35 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
36 reg = <0x16340000 0x1000>,
37 <0x16300000 0x1000>;
38 @@ -209,7 +209,7 @@
39 ranges;
40 status = "disabled";
41
42 - serial@1a240000 {
43 + uart5: serial@1a240000 {
44 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
45 reg = <0x1a240000 0x1000>,
46 <0x1a200000 0x1000>;