VOCORE2LITE.dts 874 B

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