mt7986a-bananapi-bpi-r3-emmc-snand.dts 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. /* SPDX-License-Identifier: (GPL-2.0-only OR MIT) */
  2. /dts-v1/;
  3. /plugin/;
  4. / {
  5. compatible = "bananapi,bpi-r3", "mediatek,mt7986a";
  6. fragment@0 {
  7. target-path = "/soc/mmc@11230000";
  8. __overlay__ {
  9. pinctrl-names = "default", "state_uhs";
  10. pinctrl-0 = <&mmc0_pins_default>;
  11. pinctrl-1 = <&mmc0_pins_uhs>;
  12. bus-width = <8>;
  13. max-frequency = <200000000>;
  14. /delete-property/ cap-sd-highspeed;
  15. cap-mmc-highspeed;
  16. mmc-hs200-1_8v;
  17. mmc-hs400-1_8v;
  18. hs400-ds-delay = <0x14014>;
  19. vmmc-supply = <&reg_3p3v>;
  20. vqmmc-supply = <&reg_1p8v>;
  21. non-removable;
  22. no-sd;
  23. no-sdio;
  24. status = "okay";
  25. };
  26. };
  27. fragment@1 {
  28. target-path = "/soc/spi@1100a000";
  29. __overlay__ {
  30. flash@0 {
  31. compatible = "spi-nand";
  32. reg = <0>;
  33. spi-max-frequency = <10000000>;
  34. spi-tx-buswidth = <4>;
  35. spi-rx-buswidth = <4>;
  36. partitions {
  37. compatible = "fixed-partitions";
  38. #address-cells = <1>;
  39. #size-cells = <1>;
  40. partition@0 {
  41. label = "bl2";
  42. reg = <0x0 0x80000>;
  43. read-only;
  44. };
  45. partition@80000 {
  46. label = "reserved";
  47. reg = <0x80000 0x300000>;
  48. };
  49. partition@380000 {
  50. label = "fip";
  51. reg = <0x380000 0x200000>;
  52. read-only;
  53. };
  54. partition@580000 {
  55. label = "ubi";
  56. reg = <0x580000 0x7a80000>;
  57. };
  58. };
  59. };
  60. };
  61. };
  62. };