1ae5de77eSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 2ae5de77eSEmmanuel Vadot/* 3ae5de77eSEmmanuel Vadot * Samsung Galaxy J7 Prime (on7xelte) device tree source 4ae5de77eSEmmanuel Vadot * 5ae5de77eSEmmanuel Vadot * Copyright (c) 2015 Samsung Electronics Co., Ltd. 6ae5de77eSEmmanuel Vadot * Copyright (c) 2025 Kaustabh Chakraborty <kauschluss@disroot.org> 7ae5de77eSEmmanuel Vadot */ 8ae5de77eSEmmanuel Vadot 9ae5de77eSEmmanuel Vadot/dts-v1/; 10ae5de77eSEmmanuel Vadot#include "exynos7870.dtsi" 11ae5de77eSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h> 12ae5de77eSEmmanuel Vadot#include <dt-bindings/input/input.h> 13ae5de77eSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h> 14ae5de77eSEmmanuel Vadot 15ae5de77eSEmmanuel Vadot/ { 16ae5de77eSEmmanuel Vadot model = "Samsung Galaxy J7 Prime"; 17ae5de77eSEmmanuel Vadot compatible = "samsung,on7xelte", "samsung,exynos7870"; 18ae5de77eSEmmanuel Vadot chassis-type = "handset"; 19ae5de77eSEmmanuel Vadot 20ae5de77eSEmmanuel Vadot aliases { 21ae5de77eSEmmanuel Vadot mmc0 = &mmc0; 22ae5de77eSEmmanuel Vadot mmc1 = &mmc1; 23ae5de77eSEmmanuel Vadot mmc2 = &mmc2; 24ae5de77eSEmmanuel Vadot serial0 = &serial0; 25ae5de77eSEmmanuel Vadot serial1 = &serial1; 26ae5de77eSEmmanuel Vadot serial2 = &serial2; 27ae5de77eSEmmanuel Vadot }; 28ae5de77eSEmmanuel Vadot 29ae5de77eSEmmanuel Vadot chosen { 30ae5de77eSEmmanuel Vadot #address-cells = <2>; 31ae5de77eSEmmanuel Vadot #size-cells = <1>; 32ae5de77eSEmmanuel Vadot ranges; 33ae5de77eSEmmanuel Vadot 34ae5de77eSEmmanuel Vadot stdout-path = &serial2; 35ae5de77eSEmmanuel Vadot 36ae5de77eSEmmanuel Vadot framebuffer@67000000 { 37ae5de77eSEmmanuel Vadot compatible = "simple-framebuffer"; 38ae5de77eSEmmanuel Vadot reg = <0x0 0x67000000 (1080 * 1920 * 4)>; 39ae5de77eSEmmanuel Vadot width = <1080>; 40ae5de77eSEmmanuel Vadot height = <1920>; 41ae5de77eSEmmanuel Vadot stride = <(1080 * 4)>; 42ae5de77eSEmmanuel Vadot format = "a8r8g8b8"; 43ae5de77eSEmmanuel Vadot }; 44ae5de77eSEmmanuel Vadot }; 45ae5de77eSEmmanuel Vadot 46ae5de77eSEmmanuel Vadot gpio-keys { 47ae5de77eSEmmanuel Vadot compatible = "gpio-keys"; 48ae5de77eSEmmanuel Vadot label = "GPIO Keys"; 49ae5de77eSEmmanuel Vadot 50ae5de77eSEmmanuel Vadot pinctrl-names = "default"; 51ae5de77eSEmmanuel Vadot pinctrl-0 = <&key_home &key_power &key_voldown &key_volup>; 52ae5de77eSEmmanuel Vadot 53ae5de77eSEmmanuel Vadot key-home { 54ae5de77eSEmmanuel Vadot label = "Home Key"; 55ae5de77eSEmmanuel Vadot gpios = <&gpa1 7 GPIO_ACTIVE_LOW>; 56ae5de77eSEmmanuel Vadot linux,code = <KEY_HOMEPAGE>; 57ae5de77eSEmmanuel Vadot }; 58ae5de77eSEmmanuel Vadot 59ae5de77eSEmmanuel Vadot key-power { 60ae5de77eSEmmanuel Vadot label = "Power Key"; 61ae5de77eSEmmanuel Vadot gpios = <&gpa0 0 GPIO_ACTIVE_LOW>; 62ae5de77eSEmmanuel Vadot linux,code = <KEY_POWER>; 63ae5de77eSEmmanuel Vadot }; 64ae5de77eSEmmanuel Vadot 65ae5de77eSEmmanuel Vadot key-voldown { 66ae5de77eSEmmanuel Vadot label = "Volume Down Key"; 67ae5de77eSEmmanuel Vadot gpios = <&gpa2 1 GPIO_ACTIVE_LOW>; 68ae5de77eSEmmanuel Vadot linux,code = <KEY_VOLUMEDOWN>; 69ae5de77eSEmmanuel Vadot }; 70ae5de77eSEmmanuel Vadot 71ae5de77eSEmmanuel Vadot key-volup { 72ae5de77eSEmmanuel Vadot label = "Volume Up Key"; 73ae5de77eSEmmanuel Vadot gpios = <&gpa2 0 GPIO_ACTIVE_LOW>; 74ae5de77eSEmmanuel Vadot linux,code = <KEY_VOLUMEUP>; 75ae5de77eSEmmanuel Vadot }; 76ae5de77eSEmmanuel Vadot }; 77ae5de77eSEmmanuel Vadot 78ae5de77eSEmmanuel Vadot memory@40000000 { 79ae5de77eSEmmanuel Vadot device_type = "memory"; 80ae5de77eSEmmanuel Vadot reg = <0x0 0x40000000 0x3e400000>, 81*833e5d42SEmmanuel Vadot <0x0 0x80000000 0x80000000>; 82ae5de77eSEmmanuel Vadot }; 83ae5de77eSEmmanuel Vadot 84ae5de77eSEmmanuel Vadot pwrseq_mmc1: pwrseq-mmc1 { 85ae5de77eSEmmanuel Vadot compatible = "mmc-pwrseq-simple"; 86ae5de77eSEmmanuel Vadot reset-gpios = <&gpd3 6 GPIO_ACTIVE_LOW>; 87ae5de77eSEmmanuel Vadot }; 88ae5de77eSEmmanuel Vadot 89ae5de77eSEmmanuel Vadot /* mmc2: vmmc */ 90ae5de77eSEmmanuel Vadot vdd_fixed_mmc2: regulator-fixed-mmc2 { 91ae5de77eSEmmanuel Vadot compatible = "regulator-fixed"; 92ae5de77eSEmmanuel Vadot regulator-name = "vdd_fixed_mmc2"; 93ae5de77eSEmmanuel Vadot regulator-max-microvolt = <2800000>; 94ae5de77eSEmmanuel Vadot regulator-min-microvolt = <2800000>; 95ae5de77eSEmmanuel Vadot gpio = <&gpc0 0 GPIO_ACTIVE_HIGH>; 96ae5de77eSEmmanuel Vadot enable-active-high; 97ae5de77eSEmmanuel Vadot }; 98ae5de77eSEmmanuel Vadot 99ae5de77eSEmmanuel Vadot reserved-memory { 100ae5de77eSEmmanuel Vadot #address-cells = <2>; 101ae5de77eSEmmanuel Vadot #size-cells = <1>; 102ae5de77eSEmmanuel Vadot ranges; 103ae5de77eSEmmanuel Vadot 104ae5de77eSEmmanuel Vadot ramoops@46e00000 { 105ae5de77eSEmmanuel Vadot compatible = "ramoops"; 106ae5de77eSEmmanuel Vadot reg = <0x0 0x46e00000 0x8000>; 107ae5de77eSEmmanuel Vadot console-size = <0x4000>; 108ae5de77eSEmmanuel Vadot pmsg-size = <0x4000>; 109ae5de77eSEmmanuel Vadot }; 110ae5de77eSEmmanuel Vadot 111ae5de77eSEmmanuel Vadot framebuffer@67000000 { 112ae5de77eSEmmanuel Vadot reg = <0x0 0x67000000 (1080 * 1920 * 4)>; 113ae5de77eSEmmanuel Vadot no-map; 114ae5de77eSEmmanuel Vadot }; 115ae5de77eSEmmanuel Vadot }; 116ae5de77eSEmmanuel Vadot 117ae5de77eSEmmanuel Vadot vibrator { 118ae5de77eSEmmanuel Vadot compatible = "regulator-haptic"; 119ae5de77eSEmmanuel Vadot haptic-supply = <&vdd_ldo32>; 120ae5de77eSEmmanuel Vadot min-microvolt = <3300000>; 121ae5de77eSEmmanuel Vadot max-microvolt = <3300000>; 122ae5de77eSEmmanuel Vadot }; 123ae5de77eSEmmanuel Vadot}; 124ae5de77eSEmmanuel Vadot 125ae5de77eSEmmanuel Vadot&gpu { 126ae5de77eSEmmanuel Vadot status = "okay"; 127ae5de77eSEmmanuel Vadot}; 128ae5de77eSEmmanuel Vadot 129ae5de77eSEmmanuel Vadot&hsi2c0 { 130ae5de77eSEmmanuel Vadot #address-cells = <1>; 131ae5de77eSEmmanuel Vadot #size-cells = <0>; 132ae5de77eSEmmanuel Vadot 133ae5de77eSEmmanuel Vadot status = "okay"; 134ae5de77eSEmmanuel Vadot 135ae5de77eSEmmanuel Vadot pmic@66 { 136ae5de77eSEmmanuel Vadot compatible = "samsung,s2mpu05-pmic"; 137ae5de77eSEmmanuel Vadot reg = <0x66>; 138ae5de77eSEmmanuel Vadot 139ae5de77eSEmmanuel Vadot interrupt-parent = <&gpa0>; 140ae5de77eSEmmanuel Vadot interrupts = <2 IRQ_TYPE_LEVEL_LOW>; 141ae5de77eSEmmanuel Vadot 142ae5de77eSEmmanuel Vadot pinctrl-names = "default"; 143ae5de77eSEmmanuel Vadot pinctrl-0 = <&pmic_irq>; 144ae5de77eSEmmanuel Vadot 145ae5de77eSEmmanuel Vadot regulators { 146ae5de77eSEmmanuel Vadot vdd_buck1: buck1 { 147ae5de77eSEmmanuel Vadot regulator-name = "vdd_buck1"; 148ae5de77eSEmmanuel Vadot regulator-min-microvolt = <500000>; 149ae5de77eSEmmanuel Vadot regulator-max-microvolt = <1300000>; 150ae5de77eSEmmanuel Vadot regulator-ramp-delay = <12000>; 151ae5de77eSEmmanuel Vadot regulator-boot-on; 152ae5de77eSEmmanuel Vadot regulator-always-on; 153ae5de77eSEmmanuel Vadot }; 154ae5de77eSEmmanuel Vadot 155ae5de77eSEmmanuel Vadot vdd_buck2: buck2 { 156ae5de77eSEmmanuel Vadot regulator-name = "vdd_buck2"; 157ae5de77eSEmmanuel Vadot regulator-min-microvolt = <500000>; 158ae5de77eSEmmanuel Vadot regulator-max-microvolt = <1300000>; 159ae5de77eSEmmanuel Vadot regulator-ramp-delay = <12000>; 160ae5de77eSEmmanuel Vadot regulator-boot-on; 161ae5de77eSEmmanuel Vadot regulator-always-on; 162ae5de77eSEmmanuel Vadot }; 163ae5de77eSEmmanuel Vadot 164ae5de77eSEmmanuel Vadot vdd_buck3: buck3 { 165ae5de77eSEmmanuel Vadot regulator-name = "vdd_buck3"; 166ae5de77eSEmmanuel Vadot regulator-min-microvolt = <500000>; 167ae5de77eSEmmanuel Vadot regulator-max-microvolt = <1300000>; 168ae5de77eSEmmanuel Vadot regulator-ramp-delay = <12000>; 169ae5de77eSEmmanuel Vadot regulator-boot-on; 170ae5de77eSEmmanuel Vadot regulator-always-on; 171ae5de77eSEmmanuel Vadot }; 172ae5de77eSEmmanuel Vadot 173ae5de77eSEmmanuel Vadot vdd_buck4: buck4 { 174ae5de77eSEmmanuel Vadot regulator-name = "vdd_buck4"; 175ae5de77eSEmmanuel Vadot regulator-min-microvolt = <1200000>; 176ae5de77eSEmmanuel Vadot regulator-max-microvolt = <1500000>; 177ae5de77eSEmmanuel Vadot regulator-ramp-delay = <12000>; 178ae5de77eSEmmanuel Vadot regulator-boot-on; 179ae5de77eSEmmanuel Vadot regulator-always-on; 180ae5de77eSEmmanuel Vadot }; 181ae5de77eSEmmanuel Vadot 182ae5de77eSEmmanuel Vadot vdd_buck5: buck5 { 183ae5de77eSEmmanuel Vadot regulator-name = "vdd_buck5"; 184ae5de77eSEmmanuel Vadot regulator-min-microvolt = <1800000>; 185ae5de77eSEmmanuel Vadot regulator-max-microvolt = <2100000>; 186ae5de77eSEmmanuel Vadot regulator-ramp-delay = <12000>; 187ae5de77eSEmmanuel Vadot regulator-boot-on; 188ae5de77eSEmmanuel Vadot regulator-always-on; 189ae5de77eSEmmanuel Vadot }; 190ae5de77eSEmmanuel Vadot 191ae5de77eSEmmanuel Vadot vdd_ldo1: ldo1 { 192ae5de77eSEmmanuel Vadot regulator-name = "vdd_ldo1"; 193ae5de77eSEmmanuel Vadot regulator-min-microvolt = <650000>; 194ae5de77eSEmmanuel Vadot regulator-max-microvolt = <1350000>; 195ae5de77eSEmmanuel Vadot regulator-ramp-delay = <12000>; 196ae5de77eSEmmanuel Vadot regulator-boot-on; 197ae5de77eSEmmanuel Vadot regulator-always-on; 198ae5de77eSEmmanuel Vadot }; 199ae5de77eSEmmanuel Vadot 200ae5de77eSEmmanuel Vadot /* mmc2: vqmmc */ 201ae5de77eSEmmanuel Vadot vdd_ldo2: ldo2 { 202ae5de77eSEmmanuel Vadot regulator-name = "vdd_ldo2"; 203ae5de77eSEmmanuel Vadot regulator-min-microvolt = <1800000>; 204ae5de77eSEmmanuel Vadot regulator-max-microvolt = <2800000>; 205ae5de77eSEmmanuel Vadot regulator-ramp-delay = <12000>; 206ae5de77eSEmmanuel Vadot }; 207ae5de77eSEmmanuel Vadot 208ae5de77eSEmmanuel Vadot vdd_ldo3: ldo3 { 209ae5de77eSEmmanuel Vadot regulator-name = "vdd_ldo3"; 210ae5de77eSEmmanuel Vadot regulator-min-microvolt = <800000>; 211ae5de77eSEmmanuel Vadot regulator-max-microvolt = <2375000>; 212ae5de77eSEmmanuel Vadot regulator-ramp-delay = <12000>; 213ae5de77eSEmmanuel Vadot regulator-boot-on; 214ae5de77eSEmmanuel Vadot regulator-always-on; 215ae5de77eSEmmanuel Vadot }; 216ae5de77eSEmmanuel Vadot 217ae5de77eSEmmanuel Vadot vdd_ldo4: ldo4 { 218ae5de77eSEmmanuel Vadot regulator-name = "vdd_ldo4"; 219ae5de77eSEmmanuel Vadot regulator-min-microvolt = <800000>; 220ae5de77eSEmmanuel Vadot regulator-max-microvolt = <1350000>; 221ae5de77eSEmmanuel Vadot regulator-ramp-delay = <12000>; 222ae5de77eSEmmanuel Vadot regulator-boot-on; 223ae5de77eSEmmanuel Vadot regulator-always-on; 224ae5de77eSEmmanuel Vadot }; 225ae5de77eSEmmanuel Vadot 226ae5de77eSEmmanuel Vadot vdd_ldo5: ldo5 { 227ae5de77eSEmmanuel Vadot regulator-name = "vdd_ldo5"; 228ae5de77eSEmmanuel Vadot regulator-min-microvolt = <800000>; 229ae5de77eSEmmanuel Vadot regulator-max-microvolt = <1350000>; 230ae5de77eSEmmanuel Vadot regulator-ramp-delay = <12000>; 231ae5de77eSEmmanuel Vadot regulator-boot-on; 232ae5de77eSEmmanuel Vadot regulator-always-on; 233ae5de77eSEmmanuel Vadot }; 234ae5de77eSEmmanuel Vadot 235ae5de77eSEmmanuel Vadot vdd_ldo6: ldo6 { 236ae5de77eSEmmanuel Vadot regulator-name = "vdd_ldo6"; 237ae5de77eSEmmanuel Vadot regulator-min-microvolt = <800000>; 238ae5de77eSEmmanuel Vadot regulator-max-microvolt = <1350000>; 239ae5de77eSEmmanuel Vadot regulator-ramp-delay = <12000>; 240ae5de77eSEmmanuel Vadot regulator-boot-on; 241ae5de77eSEmmanuel Vadot regulator-always-on; 242ae5de77eSEmmanuel Vadot }; 243ae5de77eSEmmanuel Vadot 244ae5de77eSEmmanuel Vadot vdd_ldo7: ldo7 { 245ae5de77eSEmmanuel Vadot regulator-name = "vdd_ldo7"; 246ae5de77eSEmmanuel Vadot regulator-min-microvolt = <800000>; 247ae5de77eSEmmanuel Vadot regulator-max-microvolt = <2375000>; 248ae5de77eSEmmanuel Vadot regulator-ramp-delay = <12000>; 249ae5de77eSEmmanuel Vadot regulator-boot-on; 250ae5de77eSEmmanuel Vadot regulator-always-on; 251ae5de77eSEmmanuel Vadot }; 252ae5de77eSEmmanuel Vadot 253ae5de77eSEmmanuel Vadot /* usbdrd: vdd33 */ 254ae5de77eSEmmanuel Vadot vdd_ldo8: ldo8 { 255ae5de77eSEmmanuel Vadot regulator-name = "vdd_ldo8"; 256ae5de77eSEmmanuel Vadot regulator-min-microvolt = <1800000>; 257ae5de77eSEmmanuel Vadot regulator-max-microvolt = <3375000>; 258ae5de77eSEmmanuel Vadot regulator-ramp-delay = <12000>; 259ae5de77eSEmmanuel Vadot }; 260ae5de77eSEmmanuel Vadot 261ae5de77eSEmmanuel Vadot vdd_ldo9: ldo9 { 262ae5de77eSEmmanuel Vadot regulator-name = "vdd_ldo9"; 263ae5de77eSEmmanuel Vadot regulator-min-microvolt = <650000>; 264ae5de77eSEmmanuel Vadot regulator-max-microvolt = <1350000>; 265ae5de77eSEmmanuel Vadot regulator-ramp-delay = <12000>; 266ae5de77eSEmmanuel Vadot regulator-boot-on; 267ae5de77eSEmmanuel Vadot regulator-always-on; 268ae5de77eSEmmanuel Vadot }; 269ae5de77eSEmmanuel Vadot 270ae5de77eSEmmanuel Vadot vdd_ldo10: ldo10 { 271ae5de77eSEmmanuel Vadot regulator-name = "vdd_ldo10"; 272ae5de77eSEmmanuel Vadot regulator-min-microvolt = <650000>; 273ae5de77eSEmmanuel Vadot regulator-max-microvolt = <1350000>; 274ae5de77eSEmmanuel Vadot regulator-ramp-delay = <12000>; 275ae5de77eSEmmanuel Vadot regulator-boot-on; 276ae5de77eSEmmanuel Vadot regulator-always-on; 277ae5de77eSEmmanuel Vadot }; 278ae5de77eSEmmanuel Vadot 279ae5de77eSEmmanuel Vadot vdd_ldo25: ldo25 { 280ae5de77eSEmmanuel Vadot regulator-name = "vdd_ldo25"; 281ae5de77eSEmmanuel Vadot regulator-min-microvolt = <800000>; 282ae5de77eSEmmanuel Vadot regulator-max-microvolt = <2375000>; 283ae5de77eSEmmanuel Vadot regulator-ramp-delay = <12000>; 284ae5de77eSEmmanuel Vadot regulator-boot-on; 285ae5de77eSEmmanuel Vadot regulator-always-on; 286ae5de77eSEmmanuel Vadot }; 287ae5de77eSEmmanuel Vadot 288ae5de77eSEmmanuel Vadot /* mmc0: vmmc */ 289ae5de77eSEmmanuel Vadot vdd_ldo26: ldo26 { 290ae5de77eSEmmanuel Vadot regulator-name = "vdd_ldo26"; 291ae5de77eSEmmanuel Vadot regulator-min-microvolt = <1800000>; 292ae5de77eSEmmanuel Vadot regulator-max-microvolt = <3375000>; 293ae5de77eSEmmanuel Vadot regulator-ramp-delay = <12000>; 294ae5de77eSEmmanuel Vadot regulator-boot-on; 295ae5de77eSEmmanuel Vadot regulator-always-on; 296ae5de77eSEmmanuel Vadot }; 297ae5de77eSEmmanuel Vadot 298ae5de77eSEmmanuel Vadot /* mmc0: vqmmc */ 299ae5de77eSEmmanuel Vadot vdd_ldo27: ldo27 { 300ae5de77eSEmmanuel Vadot regulator-name = "vdd_ldo27"; 301ae5de77eSEmmanuel Vadot regulator-min-microvolt = <800000>; 302ae5de77eSEmmanuel Vadot regulator-max-microvolt = <2375000>; 303ae5de77eSEmmanuel Vadot regulator-ramp-delay = <12000>; 304ae5de77eSEmmanuel Vadot regulator-boot-on; 305ae5de77eSEmmanuel Vadot regulator-always-on; 306ae5de77eSEmmanuel Vadot }; 307ae5de77eSEmmanuel Vadot 308ae5de77eSEmmanuel Vadot vdd_ldo29: ldo29 { 309ae5de77eSEmmanuel Vadot regulator-name = "vdd_ldo29"; 310ae5de77eSEmmanuel Vadot regulator-min-microvolt = <2800000>; 311ae5de77eSEmmanuel Vadot regulator-max-microvolt = <2800000>; 312ae5de77eSEmmanuel Vadot regulator-boot-on; 313ae5de77eSEmmanuel Vadot regulator-always-on; 314ae5de77eSEmmanuel Vadot }; 315ae5de77eSEmmanuel Vadot 316ae5de77eSEmmanuel Vadot vdd_ldo30: ldo30 { 317ae5de77eSEmmanuel Vadot regulator-name = "vdd_ldo30"; 318ae5de77eSEmmanuel Vadot regulator-min-microvolt = <1800000>; 319ae5de77eSEmmanuel Vadot regulator-max-microvolt = <1800000>; 320ae5de77eSEmmanuel Vadot regulator-ramp-delay = <12000>; 321ae5de77eSEmmanuel Vadot regulator-boot-on; 322ae5de77eSEmmanuel Vadot regulator-always-on; 323ae5de77eSEmmanuel Vadot }; 324ae5de77eSEmmanuel Vadot 325ae5de77eSEmmanuel Vadot vdd_ldo31: ldo31 { 326ae5de77eSEmmanuel Vadot regulator-name = "vdd_ldo31"; 327ae5de77eSEmmanuel Vadot regulator-min-microvolt = <2800000>; 328ae5de77eSEmmanuel Vadot regulator-max-microvolt = <2800000>; 329ae5de77eSEmmanuel Vadot regulator-ramp-delay = <12000>; 330ae5de77eSEmmanuel Vadot regulator-boot-on; 331ae5de77eSEmmanuel Vadot regulator-always-on; 332ae5de77eSEmmanuel Vadot }; 333ae5de77eSEmmanuel Vadot 334ae5de77eSEmmanuel Vadot /* vibrator: haptic */ 335ae5de77eSEmmanuel Vadot vdd_ldo32: ldo32 { 336ae5de77eSEmmanuel Vadot regulator-name = "vdd_ldo32"; 337ae5de77eSEmmanuel Vadot regulator-min-microvolt = <3300000>; 338ae5de77eSEmmanuel Vadot regulator-max-microvolt = <3300000>; 339ae5de77eSEmmanuel Vadot regulator-ramp-delay = <12000>; 340ae5de77eSEmmanuel Vadot }; 341ae5de77eSEmmanuel Vadot 342ae5de77eSEmmanuel Vadot vdd_ldo33: ldo33 { 343ae5de77eSEmmanuel Vadot regulator-name = "vdd_ldo33"; 344ae5de77eSEmmanuel Vadot regulator-min-microvolt = <3300000>; 345ae5de77eSEmmanuel Vadot regulator-max-microvolt = <3300000>; 346ae5de77eSEmmanuel Vadot regulator-ramp-delay = <12000>; 347ae5de77eSEmmanuel Vadot regulator-boot-on; 348ae5de77eSEmmanuel Vadot regulator-always-on; 349ae5de77eSEmmanuel Vadot }; 350ae5de77eSEmmanuel Vadot 351ae5de77eSEmmanuel Vadot vdd_ldo34: ldo34 { 352ae5de77eSEmmanuel Vadot regulator-name = "vdd_ldo34"; 353ae5de77eSEmmanuel Vadot regulator-min-microvolt = <3000000>; 354ae5de77eSEmmanuel Vadot regulator-max-microvolt = <3000000>; 355ae5de77eSEmmanuel Vadot regulator-ramp-delay = <12000>; 356ae5de77eSEmmanuel Vadot regulator-boot-on; 357ae5de77eSEmmanuel Vadot regulator-always-on; 358ae5de77eSEmmanuel Vadot }; 359ae5de77eSEmmanuel Vadot 360ae5de77eSEmmanuel Vadot vdd_ldo35: ldo35 { 361ae5de77eSEmmanuel Vadot regulator-name = "vdd_ldo35"; 362ae5de77eSEmmanuel Vadot regulator-min-microvolt = <2800000>; 363ae5de77eSEmmanuel Vadot regulator-max-microvolt = <2800000>; 364ae5de77eSEmmanuel Vadot regulator-boot-on; 365ae5de77eSEmmanuel Vadot regulator-always-on; 366ae5de77eSEmmanuel Vadot }; 367ae5de77eSEmmanuel Vadot }; 368ae5de77eSEmmanuel Vadot }; 369ae5de77eSEmmanuel Vadot}; 370ae5de77eSEmmanuel Vadot 371ae5de77eSEmmanuel Vadot&i2c1 { 372ae5de77eSEmmanuel Vadot #address-cells = <1>; 373ae5de77eSEmmanuel Vadot #size-cells = <0>; 374ae5de77eSEmmanuel Vadot 375ae5de77eSEmmanuel Vadot samsung,i2c-sda-delay = <100>; 376ae5de77eSEmmanuel Vadot samsung,i2c-max-bus-freq = <400000>; 377ae5de77eSEmmanuel Vadot 378ae5de77eSEmmanuel Vadot status = "okay"; 379ae5de77eSEmmanuel Vadot 380ae5de77eSEmmanuel Vadot touchscreen@70 { 381ae5de77eSEmmanuel Vadot compatible = "syna,rmi4-i2c"; 382ae5de77eSEmmanuel Vadot reg = <0x70>; 383ae5de77eSEmmanuel Vadot interrupt-parent = <&gpc3>; 384ae5de77eSEmmanuel Vadot interrupts = <2 IRQ_TYPE_LEVEL_LOW>; 385ae5de77eSEmmanuel Vadot #address-cells = <1>; 386ae5de77eSEmmanuel Vadot #size-cells = <0>; 387ae5de77eSEmmanuel Vadot 388ae5de77eSEmmanuel Vadot pinctrl-names = "default"; 389ae5de77eSEmmanuel Vadot pinctrl-0 = <&touch_irq>; 390ae5de77eSEmmanuel Vadot 391ae5de77eSEmmanuel Vadot syna,reset-delay-ms = <200>; 392ae5de77eSEmmanuel Vadot syna,startup-delay-ms = <200>; 393ae5de77eSEmmanuel Vadot 394ae5de77eSEmmanuel Vadot rmi4-f01@1 { 395ae5de77eSEmmanuel Vadot reg = <0x01>; 396ae5de77eSEmmanuel Vadot syna,nosleep-mode = <1>; 397ae5de77eSEmmanuel Vadot }; 398ae5de77eSEmmanuel Vadot 399ae5de77eSEmmanuel Vadot rmi4-f12@12 { 400ae5de77eSEmmanuel Vadot reg = <0x12>; 401ae5de77eSEmmanuel Vadot syna,sensor-type = <1>; 402ae5de77eSEmmanuel Vadot syna,rezero-wait-ms = <200>; 403ae5de77eSEmmanuel Vadot syna,clip-x-high = <1079>; 404ae5de77eSEmmanuel Vadot syna,clip-y-high = <1919>; 405ae5de77eSEmmanuel Vadot touchscreen-x-mm = <68>; 406ae5de77eSEmmanuel Vadot touchscreen-y-mm = <121>; 407ae5de77eSEmmanuel Vadot }; 408ae5de77eSEmmanuel Vadot }; 409ae5de77eSEmmanuel Vadot}; 410ae5de77eSEmmanuel Vadot 411ae5de77eSEmmanuel Vadot&i2c7 { 412ae5de77eSEmmanuel Vadot #address-cells = <1>; 413ae5de77eSEmmanuel Vadot #size-cells = <0>; 414ae5de77eSEmmanuel Vadot 415ae5de77eSEmmanuel Vadot samsung,i2c-sda-delay = <100>; 416ae5de77eSEmmanuel Vadot samsung,i2c-max-bus-freq = <400000>; 417ae5de77eSEmmanuel Vadot 418ae5de77eSEmmanuel Vadot status = "okay"; 419ae5de77eSEmmanuel Vadot 420ae5de77eSEmmanuel Vadot accelerometer@1d { 421ae5de77eSEmmanuel Vadot compatible = "st,lis2hh12"; 422ae5de77eSEmmanuel Vadot reg = <0x1d>; 423ae5de77eSEmmanuel Vadot interrupt-parent = <&gpa2>; 424ae5de77eSEmmanuel Vadot interrupts = <3 IRQ_TYPE_EDGE_RISING>; 425ae5de77eSEmmanuel Vadot 426ae5de77eSEmmanuel Vadot pinctrl-names = "default"; 427ae5de77eSEmmanuel Vadot pinctrl-0 = <&accel_irq>; 428ae5de77eSEmmanuel Vadot 429ae5de77eSEmmanuel Vadot mount-matrix = "1", "0", "0", 430ae5de77eSEmmanuel Vadot "0", "-1", "0", 431ae5de77eSEmmanuel Vadot "0", "0", "-1"; 432ae5de77eSEmmanuel Vadot 433ae5de77eSEmmanuel Vadot st,drdy-int-pin = <1>; 434ae5de77eSEmmanuel Vadot }; 435ae5de77eSEmmanuel Vadot}; 436ae5de77eSEmmanuel Vadot 437ae5de77eSEmmanuel Vadot&i2c8 { 438ae5de77eSEmmanuel Vadot #address-cells = <1>; 439ae5de77eSEmmanuel Vadot #size-cells = <0>; 440ae5de77eSEmmanuel Vadot 441ae5de77eSEmmanuel Vadot samsung,i2c-sda-delay = <100>; 442ae5de77eSEmmanuel Vadot samsung,i2c-max-bus-freq = <400000>; 443ae5de77eSEmmanuel Vadot 444ae5de77eSEmmanuel Vadot status = "okay"; 445ae5de77eSEmmanuel Vadot 446ae5de77eSEmmanuel Vadot proximity@48 { 447ae5de77eSEmmanuel Vadot compatible = "sensortek,stk3013", "sensortek,stk3310"; 448ae5de77eSEmmanuel Vadot reg = <0x48>; 449ae5de77eSEmmanuel Vadot interrupt-parent = <&gpa0>; 450ae5de77eSEmmanuel Vadot interrupts = <5 IRQ_TYPE_EDGE_BOTH>; 451ae5de77eSEmmanuel Vadot 452ae5de77eSEmmanuel Vadot pinctrl-names = "default"; 453ae5de77eSEmmanuel Vadot pinctrl-0 = <&proxm_irq>; 454ae5de77eSEmmanuel Vadot 455ae5de77eSEmmanuel Vadot proximity-near-level = <25>; 456ae5de77eSEmmanuel Vadot }; 457ae5de77eSEmmanuel Vadot}; 458ae5de77eSEmmanuel Vadot 459ae5de77eSEmmanuel Vadot&mmc0 { 460ae5de77eSEmmanuel Vadot pinctrl-names = "default"; 461ae5de77eSEmmanuel Vadot pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_rdqs &sd0_bus1 &sd0_bus4 &sd0_bus8>; 462ae5de77eSEmmanuel Vadot 463ae5de77eSEmmanuel Vadot vmmc-supply = <&vdd_ldo26>; 464ae5de77eSEmmanuel Vadot vqmmc-supply = <&vdd_ldo27>; 465ae5de77eSEmmanuel Vadot 466ae5de77eSEmmanuel Vadot fifo-depth = <64>; 467ae5de77eSEmmanuel Vadot samsung,dw-mshc-ciu-div = <3>; 468ae5de77eSEmmanuel Vadot samsung,dw-mshc-sdr-timing = <0 4>; 469ae5de77eSEmmanuel Vadot samsung,dw-mshc-ddr-timing = <2 4>; 470ae5de77eSEmmanuel Vadot non-removable; 471ae5de77eSEmmanuel Vadot 472ae5de77eSEmmanuel Vadot status = "okay"; 473ae5de77eSEmmanuel Vadot}; 474ae5de77eSEmmanuel Vadot 475ae5de77eSEmmanuel Vadot&mmc1 { 476ae5de77eSEmmanuel Vadot #address-cells = <1>; 477ae5de77eSEmmanuel Vadot #size-cells = <0>; 478ae5de77eSEmmanuel Vadot 479ae5de77eSEmmanuel Vadot pinctrl-names = "default"; 480ae5de77eSEmmanuel Vadot pinctrl-0 = <&sd1_clk &sd1_cmd &sd1_bus1 &sd1_bus4>; 481ae5de77eSEmmanuel Vadot 482ae5de77eSEmmanuel Vadot mmc-pwrseq = <&pwrseq_mmc1>; 483ae5de77eSEmmanuel Vadot 484ae5de77eSEmmanuel Vadot bus-width = <4>; 485ae5de77eSEmmanuel Vadot fifo-depth = <64>; 486ae5de77eSEmmanuel Vadot samsung,dw-mshc-ciu-div = <3>; 487ae5de77eSEmmanuel Vadot samsung,dw-mshc-sdr-timing = <0 3>; 488ae5de77eSEmmanuel Vadot samsung,dw-mshc-ddr-timing = <1 2>; 489ae5de77eSEmmanuel Vadot non-removable; 490ae5de77eSEmmanuel Vadot cap-sd-highspeed; 491ae5de77eSEmmanuel Vadot cap-sdio-irq; 492ae5de77eSEmmanuel Vadot 493ae5de77eSEmmanuel Vadot status = "okay"; 494ae5de77eSEmmanuel Vadot 495ae5de77eSEmmanuel Vadot wifi@1 { 496ae5de77eSEmmanuel Vadot compatible = "brcm,bcm43430a1-fmac", "brcm,bcm4329-fmac"; 497ae5de77eSEmmanuel Vadot reg = <0x1>; 498ae5de77eSEmmanuel Vadot interrupt-names = "host-wake"; 499ae5de77eSEmmanuel Vadot interrupt-parent = <&gpa2>; 500ae5de77eSEmmanuel Vadot interrupts = <2 IRQ_TYPE_LEVEL_LOW>; 501ae5de77eSEmmanuel Vadot 502ae5de77eSEmmanuel Vadot reset-gpios = <&gpd3 6 GPIO_ACTIVE_LOW>; 503ae5de77eSEmmanuel Vadot }; 504ae5de77eSEmmanuel Vadot}; 505ae5de77eSEmmanuel Vadot 506ae5de77eSEmmanuel Vadot&mmc2 { 507ae5de77eSEmmanuel Vadot pinctrl-names = "default"; 508ae5de77eSEmmanuel Vadot pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus1 &sd2_bus4 &dwmmc2_irq>; 509ae5de77eSEmmanuel Vadot 510ae5de77eSEmmanuel Vadot vmmc-supply = <&vdd_fixed_mmc2>; 511ae5de77eSEmmanuel Vadot vqmmc-supply = <&vdd_ldo2>; 512ae5de77eSEmmanuel Vadot 513ae5de77eSEmmanuel Vadot bus-width = <4>; 514ae5de77eSEmmanuel Vadot card-detect-delay = <200>; 515ae5de77eSEmmanuel Vadot fifo-depth = <64>; 516ae5de77eSEmmanuel Vadot samsung,dw-mshc-ciu-div = <3>; 517ae5de77eSEmmanuel Vadot samsung,dw-mshc-sdr-timing = <0 3>; 518ae5de77eSEmmanuel Vadot samsung,dw-mshc-ddr-timing = <1 2>; 519ae5de77eSEmmanuel Vadot sd-uhs-sdr50; 520ae5de77eSEmmanuel Vadot sd-uhs-sdr104; 521ae5de77eSEmmanuel Vadot broken-cd; 522ae5de77eSEmmanuel Vadot disable-wp; 523ae5de77eSEmmanuel Vadot 524ae5de77eSEmmanuel Vadot status = "okay"; 525ae5de77eSEmmanuel Vadot}; 526ae5de77eSEmmanuel Vadot 527ae5de77eSEmmanuel Vadot&oscclk { 528ae5de77eSEmmanuel Vadot clock-frequency = <26000000>; 529ae5de77eSEmmanuel Vadot}; 530ae5de77eSEmmanuel Vadot 531ae5de77eSEmmanuel Vadot&pinctrl_alive { 532ae5de77eSEmmanuel Vadot accel_irq: accel-irq-pins { 533ae5de77eSEmmanuel Vadot samsung,pins = "gpa2-3"; 534ae5de77eSEmmanuel Vadot samsung,pin-function = <EXYNOS_PIN_FUNC_EINT>; 535ae5de77eSEmmanuel Vadot samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 536ae5de77eSEmmanuel Vadot samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; 537ae5de77eSEmmanuel Vadot }; 538ae5de77eSEmmanuel Vadot 539ae5de77eSEmmanuel Vadot dwmmc2_irq: dwmmc2-irq-pins { 540ae5de77eSEmmanuel Vadot samsung,pins = "gpa0-1"; 541ae5de77eSEmmanuel Vadot samsung,pin-function = <EXYNOS_PIN_FUNC_EINT>; 542ae5de77eSEmmanuel Vadot samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 543ae5de77eSEmmanuel Vadot samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; 544ae5de77eSEmmanuel Vadot }; 545ae5de77eSEmmanuel Vadot 546ae5de77eSEmmanuel Vadot fuel_irq: fuel-irq-pins { 547ae5de77eSEmmanuel Vadot samsung,pins = "gpa0-3"; 548ae5de77eSEmmanuel Vadot samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>; 549ae5de77eSEmmanuel Vadot samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 550ae5de77eSEmmanuel Vadot samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; 551ae5de77eSEmmanuel Vadot }; 552ae5de77eSEmmanuel Vadot 553ae5de77eSEmmanuel Vadot key_home: key-home-pins { 554ae5de77eSEmmanuel Vadot samsung,pins = "gpa1-7"; 555ae5de77eSEmmanuel Vadot samsung,pin-function = <EXYNOS_PIN_FUNC_EINT>; 556ae5de77eSEmmanuel Vadot samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 557ae5de77eSEmmanuel Vadot samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; 558ae5de77eSEmmanuel Vadot }; 559ae5de77eSEmmanuel Vadot 560ae5de77eSEmmanuel Vadot key_power: key-power-pins { 561ae5de77eSEmmanuel Vadot samsung,pins = "gpa0-0"; 562ae5de77eSEmmanuel Vadot samsung,pin-function = <EXYNOS_PIN_FUNC_EINT>; 563ae5de77eSEmmanuel Vadot samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 564ae5de77eSEmmanuel Vadot samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; 565ae5de77eSEmmanuel Vadot }; 566ae5de77eSEmmanuel Vadot 567ae5de77eSEmmanuel Vadot key_voldown: key-voldown-pins { 568ae5de77eSEmmanuel Vadot samsung,pins = "gpa2-1"; 569ae5de77eSEmmanuel Vadot samsung,pin-function = <EXYNOS_PIN_FUNC_EINT>; 570ae5de77eSEmmanuel Vadot samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 571ae5de77eSEmmanuel Vadot samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; 572ae5de77eSEmmanuel Vadot }; 573ae5de77eSEmmanuel Vadot 574ae5de77eSEmmanuel Vadot key_volup: key-volup-pins { 575ae5de77eSEmmanuel Vadot samsung,pins = "gpa2-0"; 576ae5de77eSEmmanuel Vadot samsung,pin-function = <EXYNOS_PIN_FUNC_EINT>; 577ae5de77eSEmmanuel Vadot samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 578ae5de77eSEmmanuel Vadot samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; 579ae5de77eSEmmanuel Vadot }; 580ae5de77eSEmmanuel Vadot 581ae5de77eSEmmanuel Vadot pmic_irq: pmic-irq-pins { 582ae5de77eSEmmanuel Vadot samsung,pins = "gpa0-2"; 583ae5de77eSEmmanuel Vadot samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 584ae5de77eSEmmanuel Vadot samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR4>; 585ae5de77eSEmmanuel Vadot }; 586ae5de77eSEmmanuel Vadot 587ae5de77eSEmmanuel Vadot proxm_irq: proxm-irq-pins { 588ae5de77eSEmmanuel Vadot samsung,pins = "gpa0-5"; 589ae5de77eSEmmanuel Vadot samsung,pin-function = <EXYNOS_PIN_FUNC_EINT>; 590ae5de77eSEmmanuel Vadot samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 591ae5de77eSEmmanuel Vadot samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; 592ae5de77eSEmmanuel Vadot }; 593ae5de77eSEmmanuel Vadot 594ae5de77eSEmmanuel Vadot tkey_irq: tkey-irq-pins { 595ae5de77eSEmmanuel Vadot samsung,pins = "gpa1-4"; 596ae5de77eSEmmanuel Vadot samsung,pin-function = <EXYNOS_PIN_FUNC_EINT>; 597ae5de77eSEmmanuel Vadot samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 598ae5de77eSEmmanuel Vadot samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; 599ae5de77eSEmmanuel Vadot }; 600ae5de77eSEmmanuel Vadot 601ae5de77eSEmmanuel Vadot wlan_hostwake: wlan-hostwake-pins { 602ae5de77eSEmmanuel Vadot samsung,pins = "gpa2-2"; 603ae5de77eSEmmanuel Vadot samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; 604ae5de77eSEmmanuel Vadot samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 605ae5de77eSEmmanuel Vadot }; 606ae5de77eSEmmanuel Vadot}; 607ae5de77eSEmmanuel Vadot 608ae5de77eSEmmanuel Vadot&pinctrl_top { 609ae5de77eSEmmanuel Vadot bt_enable: bt-enable-pins { 610ae5de77eSEmmanuel Vadot samsung,pins = "gpd4-1"; 611ae5de77eSEmmanuel Vadot samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; 612ae5de77eSEmmanuel Vadot samsung,pin-con-pdn = <EXYNOS_PIN_PDN_PREV>; 613ae5de77eSEmmanuel Vadot samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_NONE>; 614ae5de77eSEmmanuel Vadot samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>; 615ae5de77eSEmmanuel Vadot }; 616ae5de77eSEmmanuel Vadot 617ae5de77eSEmmanuel Vadot wlan_enable: wlan-enable-pins { 618ae5de77eSEmmanuel Vadot samsung,pins = "gpd3-6"; 619ae5de77eSEmmanuel Vadot samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; 620ae5de77eSEmmanuel Vadot samsung,pin-con-pdn = <EXYNOS_PIN_PDN_PREV>; 621ae5de77eSEmmanuel Vadot samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_NONE>; 622ae5de77eSEmmanuel Vadot samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 623ae5de77eSEmmanuel Vadot samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR4>; 624ae5de77eSEmmanuel Vadot samsung,pin-val = <0>; 625ae5de77eSEmmanuel Vadot }; 626ae5de77eSEmmanuel Vadot}; 627ae5de77eSEmmanuel Vadot 628ae5de77eSEmmanuel Vadot&pinctrl_touch { 629ae5de77eSEmmanuel Vadot touch_irq: touch-irq-pins { 630ae5de77eSEmmanuel Vadot samsung,pins = "gpc3-2"; 631ae5de77eSEmmanuel Vadot samsung,pin-function = <EXYNOS_PIN_FUNC_EINT>; 632ae5de77eSEmmanuel Vadot samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 633ae5de77eSEmmanuel Vadot samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; 634ae5de77eSEmmanuel Vadot }; 635ae5de77eSEmmanuel Vadot}; 636ae5de77eSEmmanuel Vadot 637ae5de77eSEmmanuel Vadot&serial1 { 638ae5de77eSEmmanuel Vadot status = "okay"; 639ae5de77eSEmmanuel Vadot 640ae5de77eSEmmanuel Vadot bluetooth { 641ae5de77eSEmmanuel Vadot compatible = "brcm,bcm43430a1-bt"; 642ae5de77eSEmmanuel Vadot 643ae5de77eSEmmanuel Vadot pinctrl-names = "default"; 644ae5de77eSEmmanuel Vadot pinctrl-0 = <&bt_btwake &bt_hostwake &bt_enable>; 645ae5de77eSEmmanuel Vadot 646ae5de77eSEmmanuel Vadot device-wakeup-gpios = <&gpa1 2 GPIO_ACTIVE_HIGH>; 647ae5de77eSEmmanuel Vadot host-wakeup-gpios = <&gpa1 6 GPIO_ACTIVE_HIGH>; 648ae5de77eSEmmanuel Vadot shutdown-gpios = <&gpd4 1 GPIO_ACTIVE_HIGH>; 649ae5de77eSEmmanuel Vadot 650ae5de77eSEmmanuel Vadot max-speed = <3000000>; 651ae5de77eSEmmanuel Vadot }; 652ae5de77eSEmmanuel Vadot}; 653ae5de77eSEmmanuel Vadot 654ae5de77eSEmmanuel Vadot&serial2 { 655ae5de77eSEmmanuel Vadot status = "okay"; 656ae5de77eSEmmanuel Vadot}; 657ae5de77eSEmmanuel Vadot 658ae5de77eSEmmanuel Vadot&usbdrd { 659ae5de77eSEmmanuel Vadot vdd33-supply = <&vdd_ldo8>; 660ae5de77eSEmmanuel Vadot 661ae5de77eSEmmanuel Vadot status = "okay"; 662ae5de77eSEmmanuel Vadot}; 663