521-esporessobin-dt-enable-spi-nor-on-i2c.patch 542 B

1234567891011121314151617181920212223242526272829
  1. --- a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts
  2. +++ b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts
  3. @@ -111,6 +111,26 @@
  4. status = "okay";
  5. };
  6. +&spi0 {
  7. + status = "okay";
  8. +
  9. + w25q32dw@0 {
  10. + #address-cells = <1>;
  11. + #size-cells = <1>;
  12. + compatible = "jedec,spi-nor";
  13. + reg = <0>;
  14. + spi-max-frequency = <104000000>;
  15. + m25,fast-read;
  16. +
  17. + pinctrl-names = "default";
  18. + pinctrl-0 = <&spi_quad_pins>;
  19. + };
  20. +};
  21. +
  22. +&i2c0 {
  23. + status = "okay";
  24. +};
  25. +
  26. &mdio {
  27. switch0: switch0@1 {
  28. compatible = "marvell,mv88e6085";