351-ARM-BCM5301X-Enable-ChipCommon-UART-on-untested-devi.patch 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. From b49d7bb4825654f81bcee8e219028712811515a5 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
  3. Date: Mon, 29 Jun 2015 08:11:36 +0200
  4. Subject: [PATCH] ARM: BCM5301X: Enable ChipCommon UART on untested devices
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
  9. ---
  10. arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts | 4 ++++
  11. arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts | 4 ++++
  12. arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts | 4 ++++
  13. arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts | 4 ++++
  14. arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts | 4 ++++
  15. arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts | 5 +++++
  16. arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts | 5 +++++
  17. arch/arm/boot/dts/bcm4709-netgear-r8000.dts | 5 +++++
  18. 8 files changed, 35 insertions(+)
  19. --- a/arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts
  20. +++ b/arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts
  21. @@ -96,3 +96,7 @@
  22. };
  23. };
  24. };
  25. +
  26. +&uart0 {
  27. + status = "okay";
  28. +};
  29. --- a/arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts
  30. +++ b/arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts
  31. @@ -83,3 +83,7 @@
  32. };
  33. };
  34. };
  35. +
  36. +&uart0 {
  37. + status = "okay";
  38. +};
  39. --- a/arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
  40. +++ b/arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
  41. @@ -87,3 +87,7 @@
  42. &spi_nor {
  43. status = "okay";
  44. };
  45. +
  46. +&uart0 {
  47. + status = "okay";
  48. +};
  49. --- a/arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts
  50. +++ b/arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts
  51. @@ -77,3 +77,7 @@
  52. };
  53. };
  54. };
  55. +
  56. +&uart0 {
  57. + status = "okay";
  58. +};
  59. --- a/arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts
  60. +++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts
  61. @@ -37,3 +37,7 @@
  62. };
  63. };
  64. };
  65. +
  66. +&uart0 {
  67. + status = "okay";
  68. +};
  69. --- a/arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts
  70. +++ b/arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts
  71. @@ -65,3 +65,8 @@
  72. };
  73. };
  74. };
  75. +
  76. +&uart0 {
  77. + status = "okay";
  78. + clock-frequency = <125000000>;
  79. +};
  80. --- a/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
  81. +++ b/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
  82. @@ -128,6 +128,10 @@
  83. };
  84. };
  85. +&uart0 {
  86. + status = "okay";
  87. + clock-frequency = <125000000>;
  88. +};
  89. &usb2 {
  90. vcc-gpio = <&chipcommon 13 GPIO_ACTIVE_HIGH>;
  91. --- a/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
  92. +++ b/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
  93. @@ -108,6 +108,11 @@
  94. };
  95. };
  96. +&uart0 {
  97. + status = "okay";
  98. + clock-frequency = <125000000>;
  99. +};
  100. +
  101. &usb2 {
  102. vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
  103. };
  104. --- a/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
  105. +++ b/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
  106. @@ -104,4 +104,5 @@
  107. &uart0 {
  108. status = "okay";
  109. + clock-frequency = <125000000>;
  110. };