Lines Matching +full:i2c +full:- +full:pins

1 // SPDX-License-Identifier: GPL-2.0
9 /dts-v1/;
10 #include <dt-bindings/clock/samsung,s2mps11.h>
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/interrupt-controller/irq.h>
13 #include <dt-bindings/input/input.h>
19 chassis-type = "laptop";
33 stdout-path = "serial3:115200n8";
36 gpio-keys {
37 compatible = "gpio-keys";
38 pinctrl-names = "default";
39 pinctrl-0 = <&power_key_irq>, <&lid_irq>;
41 power-key {
45 wakeup-source;
48 lid-switch {
51 linux,input-type = <5>; /* EV_SW */
53 debounce-interval = <1>;
54 wakeup-source;
58 usb-hub {
60 reset-gpios = <&gpe1 0 GPIO_ACTIVE_LOW>;
61 pinctrl-names = "default";
62 pinctrl-0 = <&hsic_reset>;
65 fixed-rate-clocks {
67 compatible = "samsung,clock-xxti";
68 clock-frequency = <24000000>;
74 cpu0-supply = <&buck2_reg>;
79 pinctrl-names = "default";
80 pinctrl-0 = <&dp_hpd_gpio>;
81 samsung,color-space = <0>;
82 samsung,color-depth = <1>;
83 samsung,link-rate = <0x0a>;
84 samsung,lane-count = <1>;
85 hpd-gpios = <&gpc3 0 GPIO_ACTIVE_HIGH>;
89 samsung,vbus-gpio = <&gpx1 1 GPIO_ACTIVE_HIGH>;
94 samsung,invert-vclk;
99 hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>;
100 pinctrl-names = "default";
101 pinctrl-0 = <&hdmi_hpd_irq>;
103 hdmi-en-supply = <&ldo8_reg>;
104 vdd-supply = <&ldo8_reg>;
105 vdd_osc-supply = <&ldo10_reg>;
106 vdd_pll-supply = <&ldo8_reg>;
111 samsung,i2c-sda-delay = <100>;
112 samsung,i2c-max-bus-freq = <378000>;
115 compatible = "samsung,s5m8767-pmic";
117 interrupt-parent = <&gpx3>;
119 pinctrl-names = "default";
120 pinctrl-0 = <&s5m8767_irq &s5m8767_dvs &s5m8767_ds>;
121 wakeup-source;
123 s5m8767,pmic-buck-dvs-gpios = <&gpd1 0 GPIO_ACTIVE_LOW>, /* DVS1 */
127 s5m8767,pmic-buck-ds-gpios = <&gpx2 3 GPIO_ACTIVE_LOW>, /* SET1 */
136 s5m8767,pmic-buck2-dvs-voltage = <1350000>, <1300000>,
141 s5m8767,pmic-buck3-dvs-voltage = <1100000>, <1100000>,
146 s5m8767,pmic-buck4-dvs-voltage = <1200000>, <1200000>,
152 compatible = "samsung,s5m8767-clk";
153 #clock-cells = <1>;
154 clock-output-names = "en32khz_ap",
161 regulator-name = "P1.0V_LDO_OUT4";
162 regulator-min-microvolt = <1000000>;
163 regulator-max-microvolt = <1000000>;
164 regulator-always-on;
169 regulator-name = "P1.0V_LDO_OUT5";
170 regulator-min-microvolt = <1000000>;
171 regulator-max-microvolt = <1000000>;
172 regulator-always-on;
177 regulator-name = "vdd_mydp";
178 regulator-min-microvolt = <1000000>;
179 regulator-max-microvolt = <1000000>;
180 regulator-always-on;
185 regulator-name = "P1.1V_LDO_OUT7";
186 regulator-min-microvolt = <1100000>;
187 regulator-max-microvolt = <1100000>;
188 regulator-always-on;
193 regulator-name = "P1.0V_LDO_OUT8";
194 regulator-min-microvolt = <1000000>;
195 regulator-max-microvolt = <1000000>;
196 regulator-always-on;
201 regulator-name = "P1.8V_LDO_OUT10";
202 regulator-min-microvolt = <1800000>;
203 regulator-max-microvolt = <1800000>;
204 regulator-always-on;
209 regulator-name = "P1.8V_LDO_OUT11";
210 regulator-min-microvolt = <1800000>;
211 regulator-max-microvolt = <1800000>;
212 regulator-always-on;
217 regulator-name = "P3.0V_LDO_OUT12";
218 regulator-min-microvolt = <3000000>;
219 regulator-max-microvolt = <3000000>;
220 regulator-always-on;
225 regulator-name = "P1.8V_LDO_OUT13";
226 regulator-min-microvolt = <1800000>;
227 regulator-max-microvolt = <1800000>;
228 regulator-always-on;
233 regulator-name = "P1.8V_LDO_OUT14";
234 regulator-min-microvolt = <1800000>;
235 regulator-max-microvolt = <1800000>;
236 regulator-always-on;
241 regulator-name = "P1.0V_LDO_OUT15";
242 regulator-min-microvolt = <1000000>;
243 regulator-max-microvolt = <1000000>;
244 regulator-always-on;
249 regulator-name = "P1.8V_LDO_OUT16";
250 regulator-min-microvolt = <1800000>;
251 regulator-max-microvolt = <1800000>;
252 regulator-always-on;
257 regulator-name = "P2.8V_LDO_OUT17";
258 regulator-min-microvolt = <2800000>;
259 regulator-max-microvolt = <2800000>;
260 regulator-always-on;
265 regulator-name = "vdd_bridge";
266 regulator-min-microvolt = <1200000>;
267 regulator-max-microvolt = <1200000>;
268 regulator-always-on;
273 regulator-name = "vdd_mif";
274 regulator-min-microvolt = <950000>;
275 regulator-max-microvolt = <1300000>;
276 regulator-always-on;
277 regulator-boot-on;
282 regulator-name = "vdd_arm";
283 regulator-min-microvolt = <850000>;
284 regulator-max-microvolt = <1350000>;
285 regulator-always-on;
286 regulator-boot-on;
291 regulator-name = "vdd_int";
292 regulator-min-microvolt = <900000>;
293 regulator-max-microvolt = <1200000>;
294 regulator-always-on;
295 regulator-boot-on;
300 regulator-name = "vdd_g3d";
301 regulator-min-microvolt = <850000>;
302 regulator-max-microvolt = <1300000>;
303 regulator-boot-on;
308 regulator-name = "P1.8V_BUCK_OUT5";
309 regulator-min-microvolt = <1800000>;
310 regulator-max-microvolt = <1800000>;
311 regulator-always-on;
312 regulator-boot-on;
317 regulator-name = "P1.2V_BUCK_OUT6";
318 regulator-min-microvolt = <1200000>;
319 regulator-max-microvolt = <1200000>;
320 regulator-always-on;
321 regulator-boot-on;
326 regulator-name = "vdd_ummc";
327 regulator-min-microvolt = <950000>;
328 regulator-max-microvolt = <3000000>;
329 regulator-always-on;
330 regulator-boot-on;
339 samsung,i2c-sda-delay = <100>;
340 samsung,i2c-max-bus-freq = <378000>;
345 interrupt-parent = <&gpx1>;
347 pinctrl-names = "default";
348 pinctrl-0 = <&trackpad_irq>;
349 linux,gpio-keymap = <KEY_RESERVED
355 wakeup-source;
361 * double-pulling gets us out of spec in some cases.
364 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
370 samsung,i2c-sda-delay = <100>;
371 samsung,i2c-max-bus-freq = <66000>;
376 samsung,i2c-sda-delay = <100>;
377 samsung,i2c-max-bus-freq = <66000>;
382 samsung,i2c-sda-delay = <100>;
383 samsung,i2c-max-bus-freq = <66000>;
385 cros_ec: embedded-controller@1e {
386 compatible = "google,cros-ec-i2c";
389 interrupt-parent = <&gpx1>;
390 wakeup-source;
391 pinctrl-names = "default";
392 pinctrl-0 = <&ec_irq>;
398 samsung,i2c-sda-delay = <100>;
399 samsung,i2c-max-bus-freq = <66000>;
404 samsung,i2c-sda-delay = <100>;
405 samsung,i2c-max-bus-freq = <66000>;
407 temperature-sensor@4c {
416 samsung,i2c-sda-delay = <100>;
417 samsung,i2c-max-bus-freq = <378000>;
430 broken-cd;
431 card-detect-delay = <200>;
432 samsung,dw-mshc-ciu-div = <3>;
433 samsung,dw-mshc-sdr-timing = <2 3>;
434 samsung,dw-mshc-ddr-timing = <1 2>;
435 pinctrl-names = "default";
436 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_cd &sd0_bus4 &sd0_bus8>;
437 bus-width = <8>;
438 cap-mmc-highspeed;
439 mmc-ddr-1_8v;
448 broken-cd;
449 card-detect-delay = <200>;
450 samsung,dw-mshc-ciu-div = <3>;
451 samsung,dw-mshc-sdr-timing = <2 3>;
452 samsung,dw-mshc-ddr-timing = <1 2>;
453 pinctrl-names = "default";
454 pinctrl-0 = <&sd1_clk &sd1_cmd &sd1_cd &sd1_bus4>;
455 bus-width = <4>;
456 cap-sd-highspeed;
460 s5m8767_dvs: s5m8767-dvs-pins {
461 samsung,pins = "gpd1-0", "gpd1-1", "gpd1-2";
462 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
463 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
464 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
467 dp_hpd_gpio: dp-hpd-pins {
468 samsung,pins = "gpc3-0";
469 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
470 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
471 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
474 trackpad_irq: trackpad-irq-pins {
475 samsung,pins = "gpx1-2";
476 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
477 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
478 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
481 power_key_irq: power-key-irq-pins {
482 samsung,pins = "gpx1-3";
483 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
484 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
485 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
488 ec_irq: ec-irq-pins {
489 samsung,pins = "gpx1-6";
490 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
491 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
492 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
495 s5m8767_ds: s5m8767-ds-pins {
496 samsung,pins = "gpx2-3", "gpx2-4", "gpx2-5";
497 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
498 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
499 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
502 s5m8767_irq: s5m8767-irq-pins {
503 samsung,pins = "gpx3-2";
504 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
505 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
506 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
509 lid_irq: lid-irq-pins {
510 samsung,pins = "gpx3-5";
511 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
512 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
513 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
516 hdmi_hpd_irq: hdmi-hpd-irq-pins {
517 samsung,pins = "gpx3-7";
518 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
519 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
520 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
525 hsic_reset: hsic-reset-pins {
526 samsung,pins = "gpe1-0";
527 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
528 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
529 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
536 clock-names = "rtc", "rtc_src";
540 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
544 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
548 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
552 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
553 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
558 samsung,spi-src-clk = <0>;
559 num-cs = <1>;
563 vdd10-supply = <&ldo15_reg>;
564 vdd33-supply = <&ldo12_reg>;
567 #include "../cros-ec-keyboard.dtsi"