msm8916-samsung-grandmax.dts 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /dts-v1/;
  3. #include "msm8916-samsung-e2015-common.dtsi"
  4. #include <dt-bindings/leds/common.h>
  5. /*
  6. * NOTE: The original firmware from Samsung can only boot ARM32 kernels on some
  7. * variants.
  8. * Unfortunately, the firmware is signed and cannot be replaced easily.
  9. * There seems to be no way to boot ARM64 kernels on 32-bit devices at the
  10. * moment, even though the hardware would support it.
  11. *
  12. * However, it is possible to use this device tree by compiling an ARM32 kernel
  13. * instead. For clarity and build testing this device tree is maintained next
  14. * to the other MSM8916 device trees. However, it is actually used through
  15. * arch/arm/boot/dts/qcom-msm8916-samsung-grandmax.dts
  16. */
  17. / {
  18. model = "Samsung Galaxy Grand Max";
  19. compatible = "samsung,grandmax", "qcom,msm8916";
  20. chassis-type = "handset";
  21. /delete-node/ gpio-hall-sensor;
  22. /delete-node/ i2c-nfc;
  23. /delete-node/ i2c-tkey;
  24. gpio-leds {
  25. compatible = "gpio-leds";
  26. keyled {
  27. gpios = <&msmgpio 60 GPIO_ACTIVE_HIGH>;
  28. pinctrl-names = "default";
  29. pinctrl-0 = <&gpio_leds_default>;
  30. };
  31. };
  32. };
  33. &reg_motor_vdd {
  34. gpio = <&msmgpio 72 GPIO_ACTIVE_HIGH>;
  35. };
  36. &reg_touch_key {
  37. status = "disabled";
  38. };
  39. &msmgpio {
  40. gpio_leds_default: gpio-led-default {
  41. pins = "gpio60";
  42. function = "gpio";
  43. drive-strength = <2>;
  44. bias-disable;
  45. };
  46. };
  47. &motor_en_default {
  48. pins = "gpio72";
  49. };