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