1
0

WIDORA-NEO-16M.dts 970 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /dts-v1/;
  2. #include "WIDORA-NEO.dtsi"
  3. / {
  4. compatible = "widora,neo-16m", "widora,neo", "mediatek,mt7628an-soc";
  5. model = "Widora-NEO (16M)";
  6. };
  7. &spi0 {
  8. status = "okay";
  9. pinctrl-names = "default";
  10. pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>;
  11. m25p80@0 {
  12. compatible = "jedec,spi-nor";
  13. reg = <0>;
  14. spi-max-frequency = <40000000>;
  15. m25p,chunked-io = <31>;
  16. partitions {
  17. compatible = "fixed-partitions";
  18. #address-cells = <1>;
  19. #size-cells = <1>;
  20. partition@0 {
  21. label = "u-boot";
  22. reg = <0x0 0x30000>;
  23. read-only;
  24. };
  25. partition@30000 {
  26. label = "u-boot-env";
  27. reg = <0x30000 0x10000>;
  28. };
  29. factory: partition@40000 {
  30. label = "factory";
  31. reg = <0x40000 0x10000>;
  32. read-only;
  33. };
  34. partition@50000 {
  35. label = "firmware";
  36. reg = <0x50000 0x0fb0000>;
  37. };
  38. };
  39. };
  40. spidev@1 {
  41. #address-cells = <1>;
  42. #size-cells = <1>;
  43. compatible = "linux,spidev";
  44. reg = <1>;
  45. spi-max-frequency = <40000000>;
  46. };
  47. };