044-0003-ARM-BCM5301X-Add-separated-DTS-include-file-for-BCM4.patch 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. From 345fd105ff676ef672d1e41b31165b47aa040dab Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
  3. Date: Wed, 21 Sep 2016 22:58:32 +0200
  4. Subject: [PATCH] ARM: BCM5301X: Add separated DTS include file for BCM47094
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. Use it to store BCM47094 specific properties/values and avoid repeating
  9. them in device DTS files.
  10. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
  11. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
  12. ---
  13. arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts | 3 +--
  14. arch/arm/boot/dts/bcm47094-netgear-r8500.dts | 3 +--
  15. arch/arm/boot/dts/bcm47094.dtsi | 11 +++++++++++
  16. 3 files changed, 13 insertions(+), 4 deletions(-)
  17. create mode 100644 arch/arm/boot/dts/bcm47094.dtsi
  18. --- a/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
  19. +++ b/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
  20. @@ -9,7 +9,7 @@
  21. /dts-v1/;
  22. -#include "bcm4708.dtsi"
  23. +#include "bcm47094.dtsi"
  24. #include "bcm5301x-nand-cs0-bch1.dtsi"
  25. / {
  26. @@ -107,7 +107,6 @@
  27. &uart0 {
  28. status = "okay";
  29. - clock-frequency = <125000000>;
  30. };
  31. &usb3 {
  32. --- a/arch/arm/boot/dts/bcm47094-netgear-r8500.dts
  33. +++ b/arch/arm/boot/dts/bcm47094-netgear-r8500.dts
  34. @@ -6,7 +6,7 @@
  35. /dts-v1/;
  36. -#include "bcm4708.dtsi"
  37. +#include "bcm47094.dtsi"
  38. #include "bcm5301x-nand-cs0-bch8.dtsi"
  39. / {
  40. @@ -100,5 +100,4 @@
  41. &uart0 {
  42. status = "okay";
  43. - clock-frequency = <125000000>;
  44. };
  45. --- /dev/null
  46. +++ b/arch/arm/boot/dts/bcm47094.dtsi
  47. @@ -0,0 +1,11 @@
  48. +/*
  49. + * Copyright (C) 2016 Rafał Miłecki <rafal@milecki.pl>
  50. + *
  51. + * Licensed under the ISC license.
  52. + */
  53. +
  54. +#include "bcm4708.dtsi"
  55. +
  56. +&uart0 {
  57. + clock-frequency = <125000000>;
  58. +};