101950c46SEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only 201950c46SEmmanuel Vadot 301950c46SEmmanuel Vadot/dts-v1/; 401950c46SEmmanuel Vadot 501950c46SEmmanuel Vadot#include "msm8916-samsung-fortuna-common.dtsi" 601950c46SEmmanuel Vadot 701950c46SEmmanuel Vadot/ { 801950c46SEmmanuel Vadot model = "Samsung Galaxy Grand Prime (SM-G530W)"; 901950c46SEmmanuel Vadot compatible = "samsung,gprimeltecan", "qcom,msm8916"; 1001950c46SEmmanuel Vadot chassis-type = "handset"; 1101950c46SEmmanuel Vadot 1201950c46SEmmanuel Vadot reserved-memory { 1301950c46SEmmanuel Vadot /* Firmware for gprimeltecan needs more space */ 1401950c46SEmmanuel Vadot /delete-node/ tz-apps@85a00000; 1501950c46SEmmanuel Vadot 1601950c46SEmmanuel Vadot /* Additional memory used by Samsung firmware modifications */ 1701950c46SEmmanuel Vadot tz-apps@85500000 { 1801950c46SEmmanuel Vadot reg = <0x0 0x85500000 0x0 0xb00000>; 1901950c46SEmmanuel Vadot no-map; 2001950c46SEmmanuel Vadot }; 2101950c46SEmmanuel Vadot }; 2201950c46SEmmanuel Vadot}; 2301950c46SEmmanuel Vadot 24*0e8011faSEmmanuel Vadot&battery { 25*0e8011faSEmmanuel Vadot charge-term-current-microamp = <200000>; 26*0e8011faSEmmanuel Vadot constant-charge-current-max-microamp = <1000000>; 27*0e8011faSEmmanuel Vadot constant-charge-voltage-max-microvolt = <4350000>; 28*0e8011faSEmmanuel Vadot}; 29*0e8011faSEmmanuel Vadot 30*0e8011faSEmmanuel Vadot&bosch_accel { 31*0e8011faSEmmanuel Vadot status = "okay"; 32*0e8011faSEmmanuel Vadot}; 33*0e8011faSEmmanuel Vadot 34*0e8011faSEmmanuel Vadot&bosch_magn { 35*0e8011faSEmmanuel Vadot status = "okay"; 36*0e8011faSEmmanuel Vadot}; 37*0e8011faSEmmanuel Vadot 38*0e8011faSEmmanuel Vadot&blsp_i2c6 { 39*0e8011faSEmmanuel Vadot /* pmic@34 is on i2c_nfc instead */ 40*0e8011faSEmmanuel Vadot /delete-node/ pmic@34; 41*0e8011faSEmmanuel Vadot 42*0e8011faSEmmanuel Vadot nfc@27 { 43*0e8011faSEmmanuel Vadot compatible = "samsung,s3fwrn5-i2c"; 44*0e8011faSEmmanuel Vadot reg = <0x27>; 45*0e8011faSEmmanuel Vadot 46*0e8011faSEmmanuel Vadot interrupts-extended = <&tlmm 21 IRQ_TYPE_EDGE_RISING>; 47*0e8011faSEmmanuel Vadot 48*0e8011faSEmmanuel Vadot en-gpios = <&tlmm 20 GPIO_ACTIVE_HIGH>; 49*0e8011faSEmmanuel Vadot wake-gpios = <&tlmm 49 GPIO_ACTIVE_HIGH>; 50*0e8011faSEmmanuel Vadot 51*0e8011faSEmmanuel Vadot clocks = <&rpmcc RPM_SMD_BB_CLK2_PIN>; 52*0e8011faSEmmanuel Vadot 53*0e8011faSEmmanuel Vadot pinctrl-0 = <&nfc_default>, <&nfc_clk_req>; 54*0e8011faSEmmanuel Vadot pinctrl-names = "default"; 55*0e8011faSEmmanuel Vadot }; 56*0e8011faSEmmanuel Vadot}; 57*0e8011faSEmmanuel Vadot 58*0e8011faSEmmanuel Vadot&i2c_nfc { 59*0e8011faSEmmanuel Vadot /* nfc@27 is on &blsp_i2c6 */ 60*0e8011faSEmmanuel Vadot 61*0e8011faSEmmanuel Vadot pmic@34 { 62*0e8011faSEmmanuel Vadot compatible = "richtek,rt5033"; 63*0e8011faSEmmanuel Vadot reg = <0x34>; 64*0e8011faSEmmanuel Vadot 65*0e8011faSEmmanuel Vadot interrupts-extended = <&tlmm 62 IRQ_TYPE_EDGE_FALLING>; 66*0e8011faSEmmanuel Vadot 67*0e8011faSEmmanuel Vadot pinctrl-0 = <&pmic_int_default>; 68*0e8011faSEmmanuel Vadot pinctrl-names = "default"; 69*0e8011faSEmmanuel Vadot 70*0e8011faSEmmanuel Vadot regulators { 71*0e8011faSEmmanuel Vadot rt5033_reg_safe_ldo: SAFE_LDO { 72*0e8011faSEmmanuel Vadot regulator-min-microvolt = <4900000>; 73*0e8011faSEmmanuel Vadot regulator-max-microvolt = <4900000>; 74*0e8011faSEmmanuel Vadot regulator-always-on; 75*0e8011faSEmmanuel Vadot }; 76*0e8011faSEmmanuel Vadot 77*0e8011faSEmmanuel Vadot /* 78*0e8011faSEmmanuel Vadot * Needed for camera, but not used yet. 79*0e8011faSEmmanuel Vadot * Define empty nodes to allow disabling the unused 80*0e8011faSEmmanuel Vadot * regulators. 81*0e8011faSEmmanuel Vadot */ 82*0e8011faSEmmanuel Vadot LDO {}; 83*0e8011faSEmmanuel Vadot BUCK {}; 84*0e8011faSEmmanuel Vadot }; 85*0e8011faSEmmanuel Vadot 86*0e8011faSEmmanuel Vadot charger: charger { 87*0e8011faSEmmanuel Vadot compatible = "richtek,rt5033-charger"; 88*0e8011faSEmmanuel Vadot monitored-battery = <&battery>; 89*0e8011faSEmmanuel Vadot richtek,usb-connector = <&usb_con>; 90*0e8011faSEmmanuel Vadot }; 91*0e8011faSEmmanuel Vadot }; 92*0e8011faSEmmanuel Vadot}; 93*0e8011faSEmmanuel Vadot 9401950c46SEmmanuel Vadot&mpss_mem { 9501950c46SEmmanuel Vadot /* Firmware for gprimeltecan needs more space */ 9601950c46SEmmanuel Vadot reg = <0x0 0x86800000 0x0 0x5400000>; 9701950c46SEmmanuel Vadot}; 98