VOCORE2LITE.dts 1008 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. /dts-v1/;
  2. #include "VOCORE2.dtsi"
  3. #include <dt-bindings/gpio/gpio.h>
  4. / {
  5. compatible = "vocore,vocore2lite", "vocore,vocore2", "mediatek,mt7628an-soc";
  6. model = "VoCore2-Lite";
  7. aliases {
  8. led-status = &led_status;
  9. };
  10. gpio-leds {
  11. compatible = "gpio-leds";
  12. led_status: status {
  13. label = "vocore2lite:green:status";
  14. gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>;
  15. };
  16. };
  17. };
  18. &spi0 {
  19. status = "okay";
  20. m25p80@0 {
  21. compatible = "jedec,spi-nor";
  22. reg = <0>;
  23. spi-max-frequency = <10000000>;
  24. m25p,chunked-io = <32>;
  25. partitions {
  26. compatible = "fixed-partitions";
  27. #address-cells = <1>;
  28. #size-cells = <1>;
  29. partition@0 {
  30. label = "u-boot";
  31. reg = <0x0 0x30000>;
  32. read-only;
  33. };
  34. partition@30000 {
  35. label = "u-boot-env";
  36. reg = <0x30000 0x10000>;
  37. read-only;
  38. };
  39. factory: partition@40000 {
  40. label = "factory";
  41. reg = <0x40000 0x10000>;
  42. read-only;
  43. };
  44. partition@50000 {
  45. label = "firmware";
  46. reg = <0x50000 0x7b0000>;
  47. };
  48. };
  49. };
  50. };