1 // SPDX-License-Identifier: GPL-2.0-only
5 #include "msm8916-samsung-e2015-common.dtsi"
6 #include <dt-bindings/leds/common.h>
9 * NOTE: The original firmware from Samsung can only boot ARM32 kernels on some
11 * Unfortunately, the firmware is signed and cannot be replaced easily.
12 * There seems to be no way to boot ARM64 kernels on 32-bit devices at the
13 * moment, even though the hardware would support it.
15 * However, it is possible to use this device tree by compiling an ARM32 kernel
16 * instead. For clarity and build testing this device tree is maintained next
17 * to the other MSM8916 device trees. However, it is actually used through
18 * arch/arm/boot/dts/qcom-msm8916-samsung-grandmax.dts
22 model = "Samsung Galaxy Grand Max";
23 compatible = "samsung,grandmax", "qcom,msm8916";
24 chassis-type = "handset";
26 /delete-node/ gpio-hall-sensor;
27 /delete-node/ i2c-nfc;
28 /delete-node/ i2c-tkey;
31 compatible = "gpio-leds";
33 function = LED_FUNCTION_KBD_BACKLIGHT;
34 color = <LED_COLOR_ID_WHITE>;
36 gpios = <&tlmm 60 GPIO_ACTIVE_HIGH>;
38 pinctrl-names = "default";
39 pinctrl-0 = <&gpio_leds_default>;
45 gpio = <&tlmm 72 GPIO_ACTIVE_HIGH>;
53 gpio_leds_default: gpio-led-default-state {