034-v6.1-0006-arm64-dts-Add-BCM4908-generic-board-dts.patch 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. From 72e0bdb6d7edb1785d58f2e8e7c80e1d2f93a319 Mon Sep 17 00:00:00 2001
  2. From: William Zhang <[email protected]>
  3. Date: Wed, 3 Aug 2022 10:54:51 -0700
  4. Subject: [PATCH] arm64: dts: Add BCM4908 generic board dts
  5. Add generic bare bone bcm94908.dts file to support any 4908 based
  6. design. It supports cpu subsystem, memory and an uart console. This can
  7. be useful for board bring-up and cpu subsystem and memory related kernel
  8. test as well.
  9. Signed-off-by: William Zhang <[email protected]>
  10. Link: https://lore.kernel.org/r/[email protected]
  11. Signed-off-by: Florian Fainelli <[email protected]>
  12. ---
  13. arch/arm64/boot/dts/broadcom/bcmbca/Makefile | 1 +
  14. .../boot/dts/broadcom/bcmbca/bcm94908.dts | 30 +++++++++++++++++++
  15. 2 files changed, 31 insertions(+)
  16. create mode 100644 arch/arm64/boot/dts/broadcom/bcmbca/bcm94908.dts
  17. --- a/arch/arm64/boot/dts/broadcom/bcmbca/Makefile
  18. +++ b/arch/arm64/boot/dts/broadcom/bcmbca/Makefile
  19. @@ -4,6 +4,7 @@ dtb-$(CONFIG_ARCH_BCMBCA) += \
  20. bcm4906-tplink-archer-c2300-v1.dtb \
  21. bcm4908-asus-gt-ac5300.dtb \
  22. bcm4908-netgear-raxe500.dtb \
  23. + bcm94908.dtb \
  24. bcm4912-asus-gt-ax6000.dtb \
  25. bcm94912.dtb \
  26. bcm963158.dtb \
  27. --- /dev/null
  28. +++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm94908.dts
  29. @@ -0,0 +1,30 @@
  30. +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  31. +/*
  32. + * Copyright 2022 Broadcom Ltd.
  33. + */
  34. +
  35. +/dts-v1/;
  36. +
  37. +#include "bcm4908.dtsi"
  38. +
  39. +/ {
  40. + model = "Broadcom BCM94908 Reference Board";
  41. + compatible = "brcm,bcm94908", "brcm,bcm4908", "brcm,bcmbca";
  42. +
  43. + aliases {
  44. + serial0 = &uart0;
  45. + };
  46. +
  47. + chosen {
  48. + stdout-path = "serial0:115200n8";
  49. + };
  50. +
  51. + memory@0 {
  52. + device_type = "memory";
  53. + reg = <0x0 0x0 0x0 0x08000000>;
  54. + };
  55. +};
  56. +
  57. +&uart0 {
  58. + status = "okay";
  59. +};