020-add-ap148-bootargs.patch 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. --- a/arch/arm/boot/dts/qcom-ipq8064-ap148.dts
  2. +++ b/arch/arm/boot/dts/qcom-ipq8064-ap148.dts
  3. @@ -4,14 +4,6 @@
  4. model = "Qualcomm IPQ8064/AP148";
  5. compatible = "qcom,ipq8064-ap148", "qcom,ipq8064";
  6. - aliases {
  7. - serial0 = &gsbi4_serial;
  8. - };
  9. -
  10. - chosen {
  11. - stdout-path = "serial0:115200n8";
  12. - };
  13. -
  14. reserved-memory {
  15. #address-cells = <1>;
  16. #size-cells = <1>;
  17. @@ -22,6 +14,14 @@
  18. };
  19. };
  20. + alias {
  21. + serial0 = &uart4;
  22. + };
  23. +
  24. + chosen {
  25. + linux,stdout-path = "serial0:115200n8";
  26. + };
  27. +
  28. soc {
  29. pinmux@800000 {
  30. i2c4_pins: i2c4_pinmux {
  31. --- a/arch/arm/boot/dts/qcom-ipq8064.dtsi
  32. +++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi
  33. @@ -159,7 +159,7 @@
  34. syscon-tcsr = <&tcsr>;
  35. - serial@12490000 {
  36. + uart2: serial@12490000 {
  37. compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
  38. reg = <0x12490000 0x1000>,
  39. <0x12480000 0x1000>;
  40. @@ -197,7 +197,7 @@
  41. syscon-tcsr = <&tcsr>;
  42. - gsbi4_serial: serial@16340000 {
  43. + uart4: serial@16340000 {
  44. compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
  45. reg = <0x16340000 0x1000>,
  46. <0x16300000 0x1000>;
  47. @@ -234,7 +234,7 @@
  48. syscon-tcsr = <&tcsr>;
  49. - serial@1a240000 {
  50. + uart5: serial@1a240000 {
  51. compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
  52. reg = <0x1a240000 0x1000>,
  53. <0x1a200000 0x1000>;