at91sam9g25ek.dts 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. // SPDX-License-Identifier: GPL-2.0-or-later
  2. /*
  3. * at91sam9g25ek.dts - Device Tree file for AT91SAM9G25-EK board
  4. *
  5. * Copyright (C) 2012 Atmel,
  6. * 2012 Nicolas Ferre <[email protected]>
  7. */
  8. /dts-v1/;
  9. #include "at91sam9g25.dtsi"
  10. #include "at91sam9x5ek.dtsi"
  11. / {
  12. model = "Atmel AT91SAM9G25-EK";
  13. compatible = "atmel,at91sam9g25ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9";
  14. };
  15. &i2c0 {
  16. camera@30 {
  17. compatible = "ovti,ov2640";
  18. reg = <0x30>;
  19. pinctrl-names = "default";
  20. pinctrl-0 = <&pinctrl_pck0_as_isi_mck &pinctrl_sensor_power &pinctrl_sensor_reset>;
  21. resetb-gpios = <&pioA 7 GPIO_ACTIVE_LOW>;
  22. pwdn-gpios = <&pioA 13 GPIO_ACTIVE_HIGH>;
  23. clocks = <&pmc PMC_TYPE_SYSTEM 8>;
  24. clock-names = "xvclk";
  25. assigned-clocks = <&pmc PMC_TYPE_SYSTEM 8>;
  26. assigned-clock-rates = <25000000>;
  27. status = "okay";
  28. port {
  29. ov2640_0: endpoint {
  30. remote-endpoint = <&isi_0>;
  31. bus-width = <8>;
  32. };
  33. };
  34. };
  35. };
  36. &isi {
  37. status = "okay";
  38. port {
  39. isi_0: endpoint@0 {
  40. reg = <0>;
  41. remote-endpoint = <&ov2640_0>;
  42. bus-width = <8>;
  43. vsync-active = <1>;
  44. hsync-active = <1>;
  45. };
  46. };
  47. };
  48. &macb0 {
  49. phy-mode = "rmii";
  50. status = "okay";
  51. };
  52. &mmc1 {
  53. status = "disabled";
  54. };
  55. &spi0 {
  56. status = "disabled";
  57. };