armada-xp-crs328-4c-20s-4s-bit.dts 831 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2. /*
  3. * Device Tree file for MikroTik CRS328-4C-20S-4S+ Bit board
  4. *
  5. * Copyright (C) 2020 Sartura Ltd.
  6. * Author: Luka Kovacic <[email protected]>
  7. */
  8. #include "armada-xp-crs328-4c-20s-4s.dtsi"
  9. / {
  10. model = "MikroTik CRS328-4C-20S-4S+ Bit";
  11. };
  12. &spi0 {
  13. status = "okay";
  14. flash@0 {
  15. #address-cells = <1>;
  16. #size-cells = <1>;
  17. compatible = "jedec,spi-nor";
  18. reg = <0>; /* Chip select 0 */
  19. spi-max-frequency = <108000000>;
  20. m25p,fast-read;
  21. partition@u-boot {
  22. reg = <0x00000000 0x001f0000>;
  23. label = "u-boot";
  24. };
  25. partition@u-boot-env {
  26. reg = <0x001f0000 0x00010000>;
  27. label = "u-boot-env";
  28. };
  29. partition@ubi1 {
  30. reg = <0x00200000 0x03f00000>;
  31. label = "ubi1";
  32. };
  33. partition@ubi2 {
  34. reg = <0x04100000 0x03f00000>;
  35. label = "ubi2";
  36. };
  37. };
  38. };