2
0

qcom-ipq4018-meshpoint-one.dts 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  2. /* Copyright (c) 2019, CRISIS INNOVATION LAB d.o.o.
  3. * Author: Robert Marko <[email protected]>
  4. */
  5. #include "qcom-ipq4018-jalapeno.dtsi"
  6. / {
  7. model = "Crisis Innovation Lab MeshPoint.One";
  8. compatible = "cilab,meshpoint-one";
  9. aliases {
  10. led-boot = &led_status;
  11. led-failsafe = &led_status;
  12. led-running = &led_status;
  13. led-upgrade = &led_status;
  14. };
  15. soc {
  16. i2c-gpio {
  17. status = "okay";
  18. #address-cells = <1>;
  19. #size-cells = <0>;
  20. compatible = "i2c-gpio";
  21. gpios = <&tlmm 0 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN) /* sda */
  22. &tlmm 4 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN) /* scl */
  23. >;
  24. bme280@76 {
  25. status = "okay";
  26. compatible = "bosch,bme280";
  27. reg = <0x76>;
  28. };
  29. pcf2129@51 {
  30. status = "okay";
  31. compatible = "nxp,pcf2129";
  32. reg = <0x51>;
  33. };
  34. ina230@40 {
  35. status = "okay";
  36. compatible = "ti,ina230";
  37. reg = <0x40>;
  38. shunt-resistor = <2000>;
  39. };
  40. ina230@44 {
  41. status = "okay";
  42. compatible = "ti,ina230";
  43. reg = <0x44>;
  44. shunt-resistor = <2000>;
  45. };
  46. };
  47. };
  48. keys {
  49. compatible = "gpio-keys";
  50. reset {
  51. label = "reset";
  52. gpios = <&tlmm 5 GPIO_ACTIVE_LOW>;
  53. linux,code = <KEY_RESTART >;
  54. };
  55. };
  56. leds {
  57. compatible = "gpio-leds";
  58. led_status: status {
  59. label = "blue:status";
  60. gpios = <&tlmm 63 GPIO_ACTIVE_HIGH>;
  61. };
  62. };
  63. };