1 // SPDX-License-Identifier: GPL-2.0-only 2 3 /dts-v1/; 4 5 #include "msm8916-samsung-fortuna-common.dtsi" 6 7 / { 8 model = "Samsung Galaxy Grand Prime (SM-G530W)"; 9 compatible = "samsung,gprimeltecan", "qcom,msm8916"; 10 chassis-type = "handset"; 11 12 reserved-memory { 13 /* Firmware for gprimeltecan needs more space */ 14 /delete-node/ tz-apps@85a00000; 15 16 /* Additional memory used by Samsung firmware modifications */ 17 tz-apps@85500000 { 18 reg = <0x0 0x85500000 0x0 0xb00000>; 19 no-map; 20 }; 21 }; 22 }; 23 24 &battery { 25 charge-term-current-microamp = <200000>; 26 constant-charge-current-max-microamp = <1000000>; 27 constant-charge-voltage-max-microvolt = <4350000>; 28 }; 29 30 &bosch_accel { 31 status = "okay"; 32 }; 33 34 &bosch_magn { 35 status = "okay"; 36 }; 37 38 &blsp_i2c6 { 39 /* pmic@34 is on i2c_nfc instead */ 40 /delete-node/ pmic@34; 41 42 nfc@27 { 43 compatible = "samsung,s3fwrn5-i2c"; 44 reg = <0x27>; 45 46 interrupts-extended = <&tlmm 21 IRQ_TYPE_EDGE_RISING>; 47 48 en-gpios = <&tlmm 20 GPIO_ACTIVE_HIGH>; 49 wake-gpios = <&tlmm 49 GPIO_ACTIVE_HIGH>; 50 51 clocks = <&rpmcc RPM_SMD_BB_CLK2_PIN>; 52 53 pinctrl-0 = <&nfc_default>, <&nfc_clk_req>; 54 pinctrl-names = "default"; 55 }; 56 }; 57 58 &i2c_nfc { 59 /* nfc@27 is on &blsp_i2c6 */ 60 61 pmic@34 { 62 compatible = "richtek,rt5033"; 63 reg = <0x34>; 64 65 interrupts-extended = <&tlmm 62 IRQ_TYPE_EDGE_FALLING>; 66 67 pinctrl-0 = <&pmic_int_default>; 68 pinctrl-names = "default"; 69 70 regulators { 71 rt5033_reg_safe_ldo: SAFE_LDO { 72 regulator-min-microvolt = <4900000>; 73 regulator-max-microvolt = <4900000>; 74 regulator-always-on; 75 }; 76 77 /* 78 * Needed for camera, but not used yet. 79 * Define empty nodes to allow disabling the unused 80 * regulators. 81 */ 82 LDO {}; 83 BUCK {}; 84 }; 85 86 charger: charger { 87 compatible = "richtek,rt5033-charger"; 88 monitored-battery = <&battery>; 89 richtek,usb-connector = <&usb_con>; 90 }; 91 }; 92 }; 93 94 &mpss_mem { 95 /* Firmware for gprimeltecan needs more space */ 96 reg = <0x0 0x86800000 0x0 0x5400000>; 97 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.