VOCORE2LITE.dts 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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-boot = &led_status;
  9. led-failsafe = &led_status;
  10. led-running = &led_status;
  11. led-upgrade = &led_status;
  12. };
  13. leds {
  14. compatible = "gpio-leds";
  15. led_status: status {
  16. label = "vocore2lite:green:status";
  17. gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>;
  18. };
  19. };
  20. };
  21. &spi0 {
  22. status = "okay";
  23. m25p80@0 {
  24. compatible = "jedec,spi-nor";
  25. reg = <0>;
  26. spi-max-frequency = <10000000>;
  27. partitions {
  28. compatible = "fixed-partitions";
  29. #address-cells = <1>;
  30. #size-cells = <1>;
  31. partition@0 {
  32. label = "u-boot";
  33. reg = <0x0 0x30000>;
  34. read-only;
  35. };
  36. partition@30000 {
  37. label = "u-boot-env";
  38. reg = <0x30000 0x10000>;
  39. read-only;
  40. };
  41. factory: partition@40000 {
  42. label = "factory";
  43. reg = <0x40000 0x10000>;
  44. read-only;
  45. };
  46. partition@50000 {
  47. compatible = "denx,uimage";
  48. label = "firmware";
  49. reg = <0x50000 0x7b0000>;
  50. };
  51. };
  52. };
  53. };