omap3-n9.dts 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. * omap3-n9.dts - Device Tree file for Nokia N9
  4. *
  5. * Written by: Aaro Koskinen <[email protected]>
  6. */
  7. /dts-v1/;
  8. #include "omap3-n950-n9.dtsi"
  9. #include <dt-bindings/input/input.h>
  10. / {
  11. model = "Nokia N9";
  12. compatible = "nokia,omap3-n9", "ti,omap3630", "ti,omap36xx", "ti,omap3";
  13. };
  14. &i2c2 {
  15. smia_1: camera@10 {
  16. compatible = "nokia,smia";
  17. reg = <0x10>;
  18. /* No reset gpio */
  19. vana-supply = <&vaux3>;
  20. clocks = <&isp 0>;
  21. clock-frequency = <9600000>;
  22. flash-leds = <&as3645a_flash &as3645a_indicator>;
  23. port {
  24. smia_1_1: endpoint {
  25. link-frequencies = /bits/ 64 <199200000 210000000 499200000>;
  26. clock-lanes = <0>;
  27. data-lanes = <1 2>;
  28. remote-endpoint = <&csi2a_ep>;
  29. };
  30. };
  31. };
  32. };
  33. &i2c3 {
  34. ak8975@f {
  35. compatible = "asahi-kasei,ak8975";
  36. reg = <0x0f>;
  37. };
  38. };
  39. &isp {
  40. vdd-csiphy1-supply = <&vaux2>;
  41. vdd-csiphy2-supply = <&vaux2>;
  42. ports {
  43. port@2 {
  44. reg = <2>;
  45. csi2a_ep: endpoint {
  46. remote-endpoint = <&smia_1_1>;
  47. clock-lanes = <2>;
  48. data-lanes = <1 3>;
  49. crc = <1>;
  50. lane-polarities = <1 1 1>;
  51. };
  52. };
  53. };
  54. };
  55. &modem {
  56. compatible = "nokia,n9-modem";
  57. };
  58. &lis302 {
  59. st,axis-x = <1>; /* LIS3_DEV_X */
  60. st,axis-y = <(-2)>; /* LIS3_INV_DEV_Y */
  61. st,axis-z = <(-3)>; /* LIS3_INV_DEV_Z */
  62. st,min-limit-x = <(-46)>;
  63. st,min-limit-y = <3>;
  64. st,min-limit-z = <3>;
  65. st,max-limit-x = <(-3)>;
  66. st,max-limit-y = <46>;
  67. st,max-limit-z = <46>;
  68. };
  69. &twl_keypad {
  70. linux,keymap = < MATRIX_KEY(6, 8, KEY_VOLUMEUP)
  71. MATRIX_KEY(7, 8, KEY_VOLUMEDOWN)
  72. >;
  73. };