bcm53340-ubnt-unifi-switch8.dts 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. /*
  2. * DTS for Unifi Switch 8 port
  3. *
  4. * Copyright (C) 2017 Florian Fainelli <[email protected]>
  5. *
  6. * Licensed under the GNU/GPL. See COPYING for details.
  7. */
  8. /dts-v1/;
  9. #include "bcm-hr2.dtsi"
  10. / {
  11. compatible = "ubnt,unifi-switch8", "brcm,bcm53342", "brcm,hr2";
  12. model = "Ubiquiti UniFi Switch 8 (BCM53342)";
  13. /* Hurricane 2 designs use the second UART */
  14. chosen {
  15. bootargs = "console=ttyS1,115200 earlyprintk";
  16. };
  17. memory@0 {
  18. device_type = "memory";
  19. reg = <0x00000000 0x08000000>,
  20. <0x68000000 0x08000000>;
  21. };
  22. };
  23. &uart1 {
  24. status = "okay";
  25. };
  26. &qspi {
  27. status = "okay";
  28. bspi-sel = <0>;
  29. flash: flash@0 {
  30. compatible = "m25p80";
  31. reg = <0>;
  32. #address-cells = <1>;
  33. #size-cells = <1>;
  34. spi-max-frequency = <12500000>;
  35. spi-cpol;
  36. spi-cpha;
  37. partition@0 {
  38. label = "u-boot";
  39. reg = <0x0 0xc0000>;
  40. };
  41. partition@c0000 {
  42. label = "u-boot-env";
  43. reg = <0xc0000 0x10000>;
  44. };
  45. partition@d0000 {
  46. label = "shmoo";
  47. reg = <0xd0000 0x10000>;
  48. };
  49. partition@e0000 {
  50. label = "kernel0";
  51. reg = <0xe0000 0xf00000>;
  52. };
  53. partition@fe0000 {
  54. label = "kernel1";
  55. reg = <0xfe0000 0xf10000>;
  56. };
  57. partition@1ef0000 {
  58. label = "cfg";
  59. reg = <0x1ef0000 0x100000>;
  60. };
  61. partition@1ff0000 {
  62. label = "EEPROM";
  63. reg = <0x1ff0000 0x10000>;
  64. };
  65. };
  66. };
  67. &pcie0 {
  68. /* Attaches to the internal switch */
  69. status = "okay";
  70. };