0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003 * Samsung's Exynos4412 based p4note device family base DT.
0004 * Based on exynos4412-midas.dtsi.
0005 *
0006 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
0007 * http://www.samsung.com
0008 */
0009
0010 /dts-v1/;
0011 #include "exynos4412.dtsi"
0012 #include "exynos4412-ppmu-common.dtsi"
0013
0014 #include <dt-bindings/clock/maxim,max77686.h>
0015 #include <dt-bindings/gpio/gpio.h>
0016 #include <dt-bindings/input/linux-event-codes.h>
0017 #include <dt-bindings/interrupt-controller/irq.h>
0018 #include <dt-bindings/power/summit,smb347-charger.h>
0019 #include "exynos-pinctrl.h"
0020
0021 / {
0022 compatible = "samsung,p4note", "samsung,exynos4412", "samsung,exynos4";
0023
0024 memory@40000000 {
0025 device_type = "memory";
0026 reg = <0x40000000 0x80000000>;
0027 };
0028
0029 chosen {
0030 stdout-path = &serial_2;
0031 };
0032
0033 firmware@204f000 {
0034 compatible = "samsung,secure-firmware";
0035 reg = <0x0204F000 0x1000>;
0036 };
0037
0038 fixed-rate-clocks {
0039 xxti {
0040 compatible = "samsung,clock-xxti";
0041 clock-frequency = <0>;
0042 };
0043
0044 xusbxti {
0045 compatible = "samsung,clock-xusbxti";
0046 clock-frequency = <24000000>;
0047 };
0048 };
0049
0050 gpio-keys {
0051 compatible = "gpio-keys";
0052 pinctrl-names = "default";
0053 pinctrl-0 = <&gpio_keys>;
0054
0055 key-down {
0056 gpios = <&gpx2 2 GPIO_ACTIVE_LOW>;
0057 linux,code = <KEY_VOLUMEDOWN>;
0058 label = "volume down";
0059 debounce-interval = <10>;
0060 };
0061
0062 key-up {
0063 gpios = <&gpx3 3 GPIO_ACTIVE_LOW>;
0064 linux,code = <KEY_VOLUMEUP>;
0065 label = "volume up";
0066 debounce-interval = <10>;
0067 };
0068
0069 key-power {
0070 gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
0071 linux,code = <KEY_POWER>;
0072 label = "power";
0073 debounce-interval = <10>;
0074 wakeup-source;
0075 };
0076 };
0077
0078 voltage-regulator-1 {
0079 compatible = "regulator-fixed";
0080 regulator-name = "TSP_LDO1";
0081 pinctrl-names = "default";
0082 pinctrl-0 = <&tsp_reg_gpio_1>;
0083 gpios = <&gpm4 5 GPIO_ACTIVE_HIGH>;
0084 enable-active-high;
0085 regulator-always-on;
0086 };
0087
0088 voltage-regulator-2 {
0089 compatible = "regulator-fixed";
0090 regulator-name = "TSP_LDO2";
0091 pinctrl-names = "default";
0092 pinctrl-0 = <&tsp_reg_gpio_2>;
0093 gpios = <&gpb 5 GPIO_ACTIVE_HIGH>;
0094 enable-active-high;
0095 regulator-always-on;
0096 };
0097
0098 voltage-regulator-3 {
0099 compatible = "regulator-fixed";
0100 regulator-name = "TSP_LDO3";
0101 pinctrl-names = "default";
0102 pinctrl-0 = <&tsp_reg_gpio_3>;
0103 gpios = <&gpb 7 GPIO_ACTIVE_HIGH>;
0104 startup-delay-us = <20000>;
0105 enable-active-high;
0106 regulator-always-on;
0107 };
0108
0109 panel_vdd: voltage-regulator-4 {
0110 compatible = "regulator-fixed";
0111 regulator-name = "LCD_ENABLE";
0112 pinctrl-names = "default";
0113 pinctrl-0 = <&lcd_enable>;
0114 gpios = <&gpc0 1 GPIO_ACTIVE_HIGH>;
0115 enable-active-high;
0116 regulator-boot-on;
0117 };
0118
0119 wlan_pwrseq: sdhci3-pwrseq {
0120 compatible = "mmc-pwrseq-simple";
0121 reset-gpios = <&gpm3 5 GPIO_ACTIVE_LOW>;
0122 pinctrl-0 = <&wifi_reset>;
0123 pinctrl-names = "default";
0124 clocks = <&max77686 MAX77686_CLK_PMIC>;
0125 clock-names = "ext_clock";
0126 };
0127
0128 battery_cell: battery-cell {
0129 compatible = "simple-battery";
0130 device-chemistry = "lithium-ion";
0131 constant-charge-current-max-microamp = <2200000>;
0132 precharge-current-microamp = <250000>;
0133 charge-term-current-microamp = <250000>;
0134 constant-charge-voltage-max-microvolt = <4200000>;
0135
0136 power-supplies = <&power_supply>;
0137 };
0138
0139 i2c-gpio-1 {
0140 compatible = "i2c-gpio";
0141 sda-gpios = <&gpy2 4 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
0142 scl-gpios = <&gpy2 5 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
0143 i2c-gpio,delay-us = <2>;
0144 #address-cells = <1>;
0145 #size-cells = <0>;
0146
0147 magnetometer@c {
0148 compatible = "asahi-kasei,ak8975";
0149 reg = <0x0c>;
0150 pinctrl-0 = <&ak8975_irq>;
0151 pinctrl-names = "default";
0152 interrupt-parent = <&gpm4>;
0153 interrupts = <7 IRQ_TYPE_EDGE_RISING>;
0154 };
0155 };
0156
0157 i2c-gpio-2 {
0158 compatible = "i2c-gpio";
0159 sda-gpios = <&gpy0 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
0160 scl-gpios = <&gpy0 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
0161 i2c-gpio,delay-us = <2>;
0162 #address-cells = <1>;
0163 #size-cells = <0>;
0164
0165 fuel-gauge@36 {
0166 compatible = "maxim,max17042";
0167 reg = <0x36>;
0168 pinctrl-0 = <&fuel_alert_irq>;
0169 pinctrl-names = "default";
0170 interrupt-parent = <&gpx2>;
0171 interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
0172 maxim,rsns-microohm = <10000>;
0173 maxim,over-heat-temp = <600>;
0174 maxim,over-volt = <4300>;
0175 };
0176 };
0177
0178 i2c-gpio-3 {
0179 compatible = "i2c-gpio";
0180 sda-gpios = <&gpm4 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
0181 scl-gpios = <&gpm4 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
0182 i2c-gpio,delay-us = <5>;
0183 #address-cells = <1>;
0184 #size-cells = <0>;
0185
0186 adc@41 {
0187 compatible = "st,stmpe811";
0188 reg = <0x41>;
0189 pinctrl-0 = <&stmpe_adc_irq>;
0190 pinctrl-names = "default";
0191 interrupt-parent = <&gpx0>;
0192 interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
0193 interrupt-controller;
0194 irq-trigger = <0x1>;
0195 st,adc-freq = <3>;
0196 st,mod-12b = <1>;
0197 st,ref-sel = <0>;
0198 st,sample-time = <3>;
0199
0200 stmpe_adc {
0201 compatible = "st,stmpe-adc";
0202 #io-channel-cells = <1>;
0203 st,norequest-mask = <0x2F>;
0204 };
0205 };
0206 };
0207
0208 i2c-gpio-4 {
0209 compatible = "i2c-gpio";
0210 sda-gpios = <&gpm2 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
0211 scl-gpios = <&gpm2 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
0212
0213 i2c-gpio,delay-us = <2>;
0214 #address-cells = <1>;
0215 #size-cells = <0>;
0216
0217 power_supply: charger@6 {
0218 compatible = "summit,smb347";
0219 reg = <0x6>;
0220 summit,enable-usb-charging;
0221 summit,enable-charge-control = <SMB3XX_CHG_ENABLE_SW>;
0222 summit,fast-voltage-threshold-microvolt = <2600000>;
0223 summit,chip-temperature-threshold-celsius = <130>;
0224 summit,usb-current-limit-microamp = <1800000>;
0225
0226 monitored-battery = <&battery_cell>;
0227 };
0228 };
0229
0230 panel {
0231 compatible = "samsung,ltl101al01";
0232 pinctrl-0 = <&lvds_nshdn>;
0233 pinctrl-names = "default";
0234 power-supply = <&panel_vdd>;
0235 enable-gpios = <&gpm0 5 GPIO_ACTIVE_HIGH>;
0236 backlight = <&backlight>;
0237
0238 port {
0239 lcd_ep: endpoint {
0240 remote-endpoint = <&fimd_ep>;
0241 };
0242 };
0243 };
0244
0245 backlight: backlight {
0246 compatible = "pwm-backlight";
0247 pinctrl-0 = <&led_bl_reset>;
0248 pinctrl-names = "default";
0249 enable-gpios = <&gpm0 1 GPIO_ACTIVE_HIGH>;
0250 pwms = <&pwm 1 78770 0>;
0251 brightness-levels = <0 48 128 255>;
0252 num-interpolated-steps = <8>;
0253 default-brightness-level = <12>;
0254 };
0255 };
0256
0257 &adc {
0258 vdd-supply = <&ldo3_reg>;
0259 /* not verified */
0260 status = "okay";
0261 };
0262
0263 &bus_dmc {
0264 devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>;
0265 vdd-supply = <&buck1_reg>;
0266 status = "okay";
0267 };
0268
0269 &bus_acp {
0270 devfreq = <&bus_dmc>;
0271 status = "okay";
0272 };
0273
0274 &bus_c2c {
0275 devfreq = <&bus_dmc>;
0276 status = "okay";
0277 };
0278
0279 &bus_leftbus {
0280 devfreq-events = <&ppmu_leftbus_3>, <&ppmu_rightbus_3>;
0281 vdd-supply = <&buck3_reg>;
0282 status = "okay";
0283 };
0284
0285 &bus_rightbus {
0286 devfreq = <&bus_leftbus>;
0287 status = "okay";
0288 };
0289
0290 &bus_display {
0291 devfreq = <&bus_leftbus>;
0292 status = "okay";
0293 };
0294
0295 &bus_fsys {
0296 devfreq = <&bus_leftbus>;
0297 status = "okay";
0298 };
0299
0300 &bus_peri {
0301 devfreq = <&bus_leftbus>;
0302 status = "okay";
0303 };
0304
0305 &bus_mfc {
0306 devfreq = <&bus_leftbus>;
0307 status = "okay";
0308 };
0309
0310 &cpu0 {
0311 cpu0-supply = <&buck2_reg>;
0312 };
0313
0314 &cpu_thermal {
0315 cooling-maps {
0316 map0 {
0317 /* Corresponds to 800MHz at freq_table */
0318 cooling-device = <&cpu0 7 7>, <&cpu1 7 7>,
0319 <&cpu2 7 7>, <&cpu3 7 7>;
0320 };
0321 map1 {
0322 /* Corresponds to 200MHz at freq_table */
0323 cooling-device = <&cpu0 13 13>, <&cpu1 13 13>,
0324 <&cpu2 13 13>, <&cpu3 13 13>;
0325 };
0326 };
0327 };
0328
0329 &exynos_usbphy {
0330 status = "okay";
0331 };
0332
0333 &fimd {
0334 pinctrl-0 = <&lcd_clk &lcd_data24>;
0335 pinctrl-names = "default";
0336 #address-cells = <1>;
0337 #size-cells = <0>;
0338 status = "okay";
0339
0340 samsung,invert-vclk;
0341
0342 port@3 {
0343 reg = <3>;
0344
0345 fimd_ep: endpoint {
0346 remote-endpoint = <&lcd_ep>;
0347 };
0348 };
0349 };
0350
0351 &gpu {
0352 mali-supply = <&buck4_reg>;
0353 status = "okay";
0354 };
0355
0356 &hsotg {
0357 vusb_a-supply = <&ldo12_reg>;
0358 dr_mode = "peripheral";
0359 status = "okay";
0360 };
0361
0362 &i2c_3 {
0363 samsung,i2c-sda-delay = <100>;
0364 samsung,i2c-slave-addr = <0x10>;
0365 samsung,i2c-max-bus-freq = <400000>;
0366 pinctrl-0 = <&i2c3_bus>;
0367 pinctrl-names = "default";
0368 status = "okay";
0369
0370 touchscreen@4a {
0371 compatible = "atmel,maxtouch";
0372 reg = <0x4a>;
0373 pinctrl-0 = <&tsp_rst &tsp_irq>;
0374 pinctrl-names = "default";
0375 interrupt-parent = <&gpm2>;
0376 interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
0377 reset-gpios = <&gpm0 4 GPIO_ACTIVE_LOW>;
0378 };
0379 };
0380
0381 &i2c_7 {
0382 samsung,i2c-sda-delay = <100>;
0383 samsung,i2c-slave-addr = <0x10>;
0384 samsung,i2c-max-bus-freq = <400000>;
0385 pinctrl-0 = <&i2c7_bus>;
0386 pinctrl-names = "default";
0387 status = "okay";
0388
0389 max77686: pmic@9 {
0390 compatible = "maxim,max77686";
0391 interrupt-parent = <&gpx0>;
0392 interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
0393 pinctrl-0 = <&max77686_irq>;
0394 pinctrl-names = "default";
0395 wakeup-source;
0396 reg = <0x09>;
0397 #clock-cells = <1>;
0398
0399 voltage-regulators {
0400 ldo1_reg: LDO1 {
0401 regulator-name = "ldo1";
0402 regulator-always-on;
0403 };
0404
0405 ldo2_reg: LDO2 {
0406 regulator-name = "ldo2";
0407 regulator-always-on;
0408 };
0409
0410 /* WM8994 audio */
0411 ldo3_reg: LDO3 {
0412 regulator-name = "VCC_1.8V_AP";
0413 regulator-min-microvolt = <1800000>;
0414 regulator-max-microvolt = <1800000>;
0415 regulator-always-on;
0416 regulator-boot-on;
0417
0418 regulator-state-mem {
0419 regulator-on-in-suspend;
0420 };
0421 };
0422
0423 ldo4_reg: LDO4 {
0424 regulator-name = "ldo4";
0425 regulator-always-on;
0426 };
0427
0428 ldo5_reg: LDO5 {
0429 regulator-name = "VCC_1.8V_IO";
0430 regulator-min-microvolt = <1800000>;
0431 regulator-max-microvolt = <1800000>;
0432
0433 regulator-state-mem {
0434 regulator-off-in-suspend;
0435 };
0436 };
0437
0438 ldo6_reg: LDO6 {
0439 regulator-name = "ldo6";
0440 regulator-always-on;
0441 };
0442
0443 ldo7_reg: LDO7 {
0444 regulator-name = "ldo7";
0445 regulator-always-on;
0446 };
0447
0448 /* CSI IP block */
0449 ldo8_reg: LDO8 {
0450 regulator-name = "VMIPI_1.0V";
0451 regulator-min-microvolt = <1000000>;
0452 regulator-max-microvolt = <1000000>;
0453 regulator-always-on;
0454 regulator-boot-on;
0455
0456 regulator-state-mem {
0457 regulator-on-in-suspend;
0458 };
0459 };
0460
0461 /* IR LED on/off */
0462 ldo9_reg: LDO9 {
0463 regulator-name = "VLED_IC_1.9V";
0464 regulator-min-microvolt = <1950000>;
0465 regulator-max-microvolt = <1950000>;
0466
0467 regulator-state-mem {
0468 regulator-off-in-suspend;
0469 };
0470 };
0471
0472 /* CSI IP block */
0473 ldo10_reg: LDO10 {
0474 regulator-name = "VMIPI_1.8V";
0475 regulator-min-microvolt = <1800000>;
0476 regulator-max-microvolt = <1800000>;
0477 regulator-always-on;
0478 regulator-boot-on;
0479
0480 regulator-state-mem {
0481 regulator-on-in-suspend;
0482 };
0483 };
0484
0485 ldo11_reg: LDO11 {
0486 regulator-name = "VABB1_1.9V";
0487 regulator-min-microvolt = <1950000>;
0488 regulator-max-microvolt = <1950000>;
0489 regulator-always-on;
0490 regulator-boot-on;
0491
0492 regulator-state-mem {
0493 regulator-off-in-suspend;
0494 };
0495 };
0496
0497 /* USB OTG */
0498 ldo12_reg: LDO12 {
0499 regulator-name = "VUOTG_3.0V";
0500 regulator-min-microvolt = <3000000>;
0501 regulator-max-microvolt = <3000000>;
0502 regulator-always-on;
0503 regulator-boot-on;
0504
0505 regulator-state-mem {
0506 regulator-on-in-suspend;
0507 };
0508 };
0509
0510 /* not connected */
0511 ldo13_reg: LDO13 {
0512 regulator-name = "ldo13";
0513 };
0514
0515 ldo14_reg: LDO14 {
0516 regulator-name = "VABB2_1.9V";
0517 regulator-min-microvolt = <1950000>;
0518 regulator-max-microvolt = <1950000>;
0519 regulator-always-on;
0520 regulator-boot-on;
0521
0522 regulator-state-mem {
0523 regulator-off-in-suspend;
0524 };
0525 };
0526
0527 ldo15_reg: LDO15 {
0528 regulator-name = "ldo15";
0529 regulator-always-on;
0530 };
0531
0532 ldo16_reg: LDO16 {
0533 regulator-name = "ldo16";
0534 regulator-always-on;
0535 };
0536
0537 /* not connected */
0538 ldo17_reg: LDO17 {
0539 regulator-name = "ldo17";
0540 };
0541
0542 /* Camera ISX012 */
0543 ldo18_reg: LDO18 {
0544 regulator-name = "CAM_IO_1.8V";
0545 regulator-min-microvolt = <1800000>;
0546 regulator-max-microvolt = <1800000>;
0547
0548 regulator-state-mem {
0549 regulator-off-in-suspend;
0550 };
0551 };
0552
0553 /* Camera S5K6A3 */
0554 ldo19_reg: LDO19 {
0555 regulator-name = "VT_CORE_1.8V";
0556 regulator-min-microvolt = <1800000>;
0557 regulator-max-microvolt = <1800000>;
0558
0559 regulator-state-mem {
0560 regulator-off-in-suspend;
0561 };
0562 };
0563
0564 /* not connected */
0565 ldo20_reg: LDO20 {
0566 regulator-name = "ldo20";
0567 };
0568
0569 /* MMC2 */
0570 ldo21_reg: LDO21 {
0571 regulator-name = "VTF_2.8V";
0572 regulator-min-microvolt = <2800000>;
0573 regulator-max-microvolt = <2800000>;
0574 maxim,ena-gpios = <&gpy2 0 GPIO_ACTIVE_HIGH>;
0575 };
0576
0577 /* not connected */
0578 ldo22_reg: LDO22 {
0579 regulator-name = "ldo22";
0580 };
0581
0582 /* ADC */
0583 ldo23_reg: LDO23 {
0584 regulator-name = "VDD_ADC_3.3V";
0585 regulator-min-microvolt = <3300000>;
0586 regulator-max-microvolt = <3300000>;
0587 regulator-always-on;
0588 regulator-boot-on;
0589
0590 regulator-state-mem {
0591 regulator-off-in-suspend;
0592 };
0593 };
0594
0595 /* Camera S5K6A3 */
0596 ldo24_reg: LDO24 {
0597 regulator-name = "CAM_A2.8V";
0598 regulator-min-microvolt = <2800000>;
0599 regulator-max-microvolt = <2800000>;
0600
0601 regulator-state-mem {
0602 regulator-off-in-suspend;
0603 };
0604 };
0605
0606 ldo25_reg: LDO25 {
0607 regulator-name = "VLED_3.3V";
0608 regulator-min-microvolt = <3300000>;
0609 regulator-max-microvolt = <3300000>;
0610
0611 regulator-state-mem {
0612 regulator-off-in-suspend;
0613 };
0614 };
0615
0616 /* Camera ISX012 */
0617 ldo26_reg: LDO26 {
0618 regulator-name = "3MP_AF_2.8V";
0619 regulator-min-microvolt = <2800000>;
0620 regulator-max-microvolt = <2800000>;
0621
0622 regulator-state-mem {
0623 regulator-off-in-suspend;
0624 };
0625 };
0626
0627 buck1_reg: BUCK1 {
0628 regulator-name = "VDD_MIF";
0629 regulator-min-microvolt = <850000>;
0630 regulator-max-microvolt = <1050000>;
0631 regulator-always-on;
0632 regulator-boot-on;
0633 };
0634
0635 buck2_reg: BUCK2 {
0636 regulator-name = "VDD_ARM";
0637 regulator-min-microvolt = <850000>;
0638 regulator-max-microvolt = <1500000>;
0639 regulator-always-on;
0640 regulator-boot-on;
0641 };
0642
0643 buck3_reg: BUCK3 {
0644 regulator-name = "VDD_INT";
0645 regulator-min-microvolt = <850000>;
0646 regulator-max-microvolt = <1100000>;
0647 regulator-always-on;
0648 regulator-boot-on;
0649 };
0650
0651 buck4_reg: BUCK4 {
0652 regulator-name = "VDD_G3D";
0653 regulator-min-microvolt = <850000>;
0654 regulator-max-microvolt = <1075000>;
0655 regulator-boot-on;
0656 };
0657
0658 buck5_reg: BUCK5 {
0659 regulator-name = "buck5";
0660 regulator-always-on;
0661 };
0662
0663 buck6_reg: BUCK6 {
0664 regulator-name = "buck6";
0665 regulator-always-on;
0666 };
0667
0668 buck7_reg: BUCK7 {
0669 regulator-name = "buck7";
0670 regulator-always-on;
0671 };
0672
0673 /* not connected */
0674 buck8_reg: BUCK8 {
0675 regulator-name = "buck8";
0676 };
0677
0678 buck9_reg: BUCK9 {
0679 regulator-name = "3MP_CORE_1.2V";
0680 regulator-min-microvolt = <1200000>;
0681 regulator-max-microvolt = <1200000>;
0682
0683 regulator-state-mem {
0684 regulator-off-in-suspend;
0685 };
0686 };
0687 };
0688 };
0689 };
0690
0691 &mshc_0 {
0692 broken-cd;
0693 non-removable;
0694 card-detect-delay = <200>;
0695 clock-frequency = <400000000>;
0696 samsung,dw-mshc-ciu-div = <0>;
0697 samsung,dw-mshc-sdr-timing = <2 3>;
0698 samsung,dw-mshc-ddr-timing = <1 2>;
0699 pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>;
0700 pinctrl-names = "default";
0701 bus-width = <4>;
0702 cap-mmc-highspeed;
0703 cap-sd-highspeed;
0704 status = "okay";
0705 };
0706
0707 &pinctrl_0 {
0708 pinctrl-names = "default";
0709 pinctrl-0 = <&sleep0>;
0710
0711 tsp_reg_gpio_2: tsp-reg-gpio-2-pins {
0712 samsung,pins = "gpb-5";
0713 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
0714 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
0715 };
0716
0717 tsp_reg_gpio_3: tsp-reg-gpio-3-pins {
0718 samsung,pins = "gpb-7";
0719 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
0720 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
0721 };
0722
0723 lcd_enable: lcd-enable-pins {
0724 samsung,pins = "gpc0-1";
0725 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
0726 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
0727 };
0728
0729 sleep0: sleep-state {
0730 PIN_SLP(gpa0-0, INPUT, NONE);
0731 PIN_SLP(gpa0-1, OUT0, NONE);
0732 PIN_SLP(gpa0-2, INPUT, NONE);
0733 PIN_SLP(gpa0-3, INPUT, UP);
0734 PIN_SLP(gpa0-4, INPUT, NONE);
0735 PIN_SLP(gpa0-5, INPUT, DOWN);
0736 PIN_SLP(gpa0-6, INPUT, DOWN);
0737 PIN_SLP(gpa0-7, INPUT, UP);
0738
0739 PIN_SLP(gpa1-0, INPUT, DOWN);
0740 PIN_SLP(gpa1-1, INPUT, DOWN);
0741 PIN_SLP(gpa1-2, INPUT, DOWN);
0742 PIN_SLP(gpa1-3, INPUT, DOWN);
0743 PIN_SLP(gpa1-4, INPUT, DOWN);
0744 PIN_SLP(gpa1-5, INPUT, DOWN);
0745
0746 PIN_SLP(gpb-0, INPUT, NONE);
0747 PIN_SLP(gpb-1, INPUT, NONE);
0748 PIN_SLP(gpb-2, INPUT, NONE);
0749 PIN_SLP(gpb-3, INPUT, NONE);
0750 PIN_SLP(gpb-4, INPUT, DOWN);
0751 PIN_SLP(gpb-5, INPUT, DOWN);
0752 PIN_SLP(gpb-6, INPUT, DOWN);
0753 PIN_SLP(gpb-7, INPUT, DOWN);
0754
0755 PIN_SLP(gpc0-0, INPUT, DOWN);
0756 PIN_SLP(gpc0-1, INPUT, DOWN);
0757 PIN_SLP(gpc0-2, INPUT, DOWN);
0758 PIN_SLP(gpc0-3, INPUT, DOWN);
0759 PIN_SLP(gpc0-4, INPUT, DOWN);
0760
0761 PIN_SLP(gpc1-0, INPUT, UP);
0762 PIN_SLP(gpc1-1, PREV, NONE);
0763 PIN_SLP(gpc1-2, INPUT, UP);
0764 PIN_SLP(gpc1-3, INPUT, UP);
0765 PIN_SLP(gpc1-4, INPUT, UP);
0766
0767 PIN_SLP(gpd0-0, INPUT, DOWN);
0768 PIN_SLP(gpd0-1, OUT0, NONE);
0769 PIN_SLP(gpd0-2, INPUT, NONE);
0770 PIN_SLP(gpd0-3, INPUT, NONE);
0771
0772 PIN_SLP(gpd1-0, INPUT, DOWN);
0773 PIN_SLP(gpd1-1, INPUT, DOWN);
0774 PIN_SLP(gpd1-2, INPUT, NONE);
0775 PIN_SLP(gpd1-3, INPUT, NONE);
0776
0777 PIN_SLP(gpf0-0, OUT0, NONE);
0778 PIN_SLP(gpf0-1, OUT0, NONE);
0779 PIN_SLP(gpf0-2, OUT0, NONE);
0780 PIN_SLP(gpf0-3, OUT0, NONE);
0781 PIN_SLP(gpf0-4, OUT0, NONE);
0782 PIN_SLP(gpf0-5, OUT0, NONE);
0783 PIN_SLP(gpf0-6, OUT0, NONE);
0784 PIN_SLP(gpf0-7, OUT0, NONE);
0785
0786 PIN_SLP(gpf1-0, OUT0, NONE);
0787 PIN_SLP(gpf1-1, OUT0, NONE);
0788 PIN_SLP(gpf1-2, OUT0, NONE);
0789 PIN_SLP(gpf1-3, OUT0, NONE);
0790 PIN_SLP(gpf1-4, OUT0, NONE);
0791 PIN_SLP(gpf1-5, OUT0, NONE);
0792 PIN_SLP(gpf1-6, OUT0, NONE);
0793 PIN_SLP(gpf1-7, OUT0, NONE);
0794
0795 PIN_SLP(gpf2-0, OUT0, NONE);
0796 PIN_SLP(gpf2-1, OUT0, NONE);
0797 PIN_SLP(gpf2-2, OUT0, NONE);
0798 PIN_SLP(gpf2-3, OUT0, NONE);
0799 PIN_SLP(gpf2-4, OUT0, NONE);
0800 PIN_SLP(gpf2-5, OUT0, NONE);
0801 PIN_SLP(gpf2-6, OUT0, NONE);
0802 PIN_SLP(gpf2-7, OUT0, NONE);
0803
0804 PIN_SLP(gpf3-0, OUT0, NONE);
0805 PIN_SLP(gpf3-1, OUT0, NONE);
0806 PIN_SLP(gpf3-2, OUT0, NONE);
0807 PIN_SLP(gpf3-3, OUT0, NONE);
0808 PIN_SLP(gpf3-4, OUT0, NONE);
0809 PIN_SLP(gpf3-5, OUT0, NONE);
0810
0811 PIN_SLP(gpj0-0, INPUT, DOWN);
0812 PIN_SLP(gpj0-1, INPUT, DOWN);
0813 PIN_SLP(gpj0-2, INPUT, DOWN);
0814 PIN_SLP(gpj0-3, PREV, NONE);
0815 PIN_SLP(gpj0-4, PREV, NONE);
0816 PIN_SLP(gpj0-5, OUT0, NONE);
0817 PIN_SLP(gpj0-6, OUT0, NONE);
0818 PIN_SLP(gpj0-7, OUT0, NONE);
0819
0820 PIN_SLP(gpj1-0, OUT0, NONE);
0821 PIN_SLP(gpj1-1, INPUT, DOWN);
0822 PIN_SLP(gpj1-2, PREV, NONE);
0823 PIN_SLP(gpj1-3, OUT0, NONE);
0824 };
0825 };
0826
0827 &pinctrl_1 {
0828 pinctrl-names = "default";
0829 pinctrl-0 = <&sleep1>;
0830
0831 sd3_wifi: sd3-wifi-pins {
0832 samsung,pins = "gpk3-3", "gpk3-4", "gpk3-5", "gpk3-6";
0833 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
0834 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
0835 };
0836
0837 bt_shutdown: bt-shutdown-pins {
0838 samsung,pins = "gpl0-6";
0839 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
0840 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
0841 };
0842
0843 uart_sel: uart-sel-pins {
0844 samsung,pins = "gpl2-7";
0845 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
0846 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
0847 samsung,pin-val = <1>;
0848 /* 0 = CP, 1 = AP (serial output) */
0849 };
0850
0851 led_bl_reset: led-bl-reset-pins {
0852 samsung,pins = "gpm0-1";
0853 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
0854 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
0855 };
0856
0857 tsp_rst: tsp-rst-pins {
0858 samsung,pins = "gpm0-4";
0859 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
0860 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
0861 };
0862
0863 lvds_nshdn: lvds-nshdn-pins {
0864 samsung,pins = "gpm0-5";
0865 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
0866 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
0867 };
0868
0869 tsp_irq: tsp-irq-pins {
0870 samsung,pins = "gpm2-3";
0871 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
0872 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
0873 };
0874
0875 wifi_reset: wifi-reset-pins {
0876 samsung,pins = "gpm3-5";
0877 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
0878 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
0879 };
0880
0881 tsp_reg_gpio_1: tsp-reg-gpio-1-pins {
0882 samsung,pins = "gpm4-5";
0883 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
0884 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
0885 };
0886
0887 ak8975_irq: ak8975-irq-pins {
0888 samsung,pins = "gpm4-7";
0889 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
0890 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
0891 };
0892
0893 stmpe_adc_irq: stmpe-adc-irq-pins {
0894 samsung,pins = "gpx0-1";
0895 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
0896 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
0897 };
0898
0899 max77686_irq: max77686-irq-pins {
0900 samsung,pins = "gpx0-7";
0901 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
0902 };
0903
0904 gpio_keys: gpio-keys-pins {
0905 samsung,pins = "gpx2-2", "gpx2-7", "gpx3-3";
0906 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
0907 };
0908
0909 fuel_alert_irq: fuel-alert-irq-pins {
0910 samsung,pins = "gpx2-3";
0911 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
0912 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
0913 };
0914
0915 wifi_host_wake: wifi-host-wake-pins {
0916 samsung,pins = "gpx2-5";
0917 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
0918 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
0919 };
0920
0921 bt_host_wakeup: bt-host-wakeup-pins {
0922 samsung,pins = "gpx2-6";
0923 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
0924 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
0925 };
0926
0927 bt_device_wakeup: bt-device-wakeup-pins {
0928 samsung,pins = "gpx3-1";
0929 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
0930 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
0931 };
0932
0933 sdhci2_cd: sdhci2-cd-pins {
0934 samsung,pins = "gpx3-4";
0935 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
0936 };
0937
0938 sleep1: sleep-state {
0939 PIN_SLP(gpk0-0, PREV, NONE);
0940 PIN_SLP(gpk0-1, PREV, NONE);
0941 PIN_SLP(gpk0-2, PREV, NONE);
0942 PIN_SLP(gpk0-3, PREV, NONE);
0943 PIN_SLP(gpk0-4, PREV, NONE);
0944 PIN_SLP(gpk0-5, PREV, NONE);
0945 PIN_SLP(gpk0-6, PREV, NONE);
0946
0947 PIN_SLP(gpk1-0, INPUT, DOWN);
0948 PIN_SLP(gpk1-1, INPUT, DOWN);
0949 PIN_SLP(gpk1-2, INPUT, DOWN);
0950 PIN_SLP(gpk1-3, PREV, NONE);
0951 PIN_SLP(gpk1-4, PREV, NONE);
0952 PIN_SLP(gpk1-5, PREV, NONE);
0953 PIN_SLP(gpk1-6, PREV, NONE);
0954
0955 PIN_SLP(gpk2-0, INPUT, DOWN);
0956 PIN_SLP(gpk2-1, INPUT, DOWN);
0957 PIN_SLP(gpk2-2, INPUT, DOWN);
0958 PIN_SLP(gpk2-3, INPUT, DOWN);
0959 PIN_SLP(gpk2-4, INPUT, DOWN);
0960 PIN_SLP(gpk2-5, INPUT, DOWN);
0961 PIN_SLP(gpk2-6, INPUT, DOWN);
0962
0963 PIN_SLP(gpk3-0, OUT0, NONE);
0964 PIN_SLP(gpk3-1, INPUT, NONE);
0965 PIN_SLP(gpk3-2, INPUT, DOWN);
0966 PIN_SLP(gpk3-3, INPUT, NONE);
0967 PIN_SLP(gpk3-4, INPUT, NONE);
0968 PIN_SLP(gpk3-5, INPUT, NONE);
0969 PIN_SLP(gpk3-6, INPUT, NONE);
0970
0971 PIN_SLP(gpl0-0, OUT0, NONE);
0972 PIN_SLP(gpl0-1, INPUT, NONE);
0973 PIN_SLP(gpl0-2, INPUT, NONE);
0974 PIN_SLP(gpl0-3, INPUT, DOWN);
0975 PIN_SLP(gpl0-4, PREV, NONE);
0976 PIN_SLP(gpl0-6, PREV, NONE);
0977
0978 PIN_SLP(gpl1-0, OUT0, NONE);
0979 PIN_SLP(gpl1-1, OUT0, NONE);
0980
0981 PIN_SLP(gpl2-0, INPUT, DOWN);
0982 PIN_SLP(gpl2-1, INPUT, DOWN);
0983 PIN_SLP(gpl2-2, INPUT, DOWN);
0984 PIN_SLP(gpl2-3, INPUT, DOWN);
0985 PIN_SLP(gpl2-4, OUT0, NONE);
0986 PIN_SLP(gpl2-5, INPUT, DOWN);
0987 PIN_SLP(gpl2-6, PREV, NONE);
0988 PIN_SLP(gpl2-7, PREV, NONE);
0989
0990 PIN_SLP(gpm0-0, PREV, NONE);
0991 PIN_SLP(gpm0-1, OUT0, NONE);
0992 PIN_SLP(gpm0-2, INPUT, DOWN);
0993 PIN_SLP(gpm0-3, INPUT, NONE);
0994 PIN_SLP(gpm0-4, OUT0, NONE);
0995 PIN_SLP(gpm0-5, OUT0, NONE);
0996 PIN_SLP(gpm0-6, INPUT, DOWN);
0997 PIN_SLP(gpm0-7, OUT0, NONE);
0998
0999 PIN_SLP(gpm1-0, INPUT, NONE);
1000 PIN_SLP(gpm1-1, INPUT, NONE);
1001 PIN_SLP(gpm1-2, INPUT, NONE);
1002 PIN_SLP(gpm1-3, INPUT, NONE);
1003 PIN_SLP(gpm1-4, INPUT, NONE);
1004 PIN_SLP(gpm1-5, INPUT, NONE);
1005 PIN_SLP(gpm1-6, INPUT, DOWN);
1006
1007 PIN_SLP(gpm2-0, INPUT, NONE);
1008 PIN_SLP(gpm2-1, INPUT, NONE);
1009 PIN_SLP(gpm2-2, OUT0, NONE);
1010 PIN_SLP(gpm2-3, OUT0, DOWN);
1011 PIN_SLP(gpm2-4, INPUT, DOWN);
1012
1013 PIN_SLP(gpm3-0, PREV, NONE);
1014 PIN_SLP(gpm3-1, PREV, NONE);
1015 PIN_SLP(gpm3-2, PREV, NONE);
1016 PIN_SLP(gpm3-3, OUT1, NONE);
1017 PIN_SLP(gpm3-4, OUT0, DOWN);
1018 PIN_SLP(gpm3-5, PREV, NONE);
1019 PIN_SLP(gpm3-6, PREV, NONE);
1020 PIN_SLP(gpm3-7, OUT0, NONE);
1021
1022 PIN_SLP(gpm4-0, INPUT, NONE);
1023 PIN_SLP(gpm4-1, INPUT, NONE);
1024 PIN_SLP(gpm4-2, INPUT, DOWN);
1025 PIN_SLP(gpm4-3, INPUT, DOWN);
1026 PIN_SLP(gpm4-4, PREV, NONE);
1027 PIN_SLP(gpm4-5, OUT0, NONE);
1028 PIN_SLP(gpm4-6, OUT0, NONE);
1029 PIN_SLP(gpm4-7, INPUT, DOWN);
1030
1031 PIN_SLP(gpy0-0, INPUT, DOWN);
1032 PIN_SLP(gpy0-1, INPUT, DOWN);
1033 PIN_SLP(gpy0-2, INPUT, NONE);
1034 PIN_SLP(gpy0-3, INPUT, NONE);
1035 PIN_SLP(gpy0-4, INPUT, NONE);
1036 PIN_SLP(gpy0-5, INPUT, NONE);
1037
1038 PIN_SLP(gpy1-0, INPUT, DOWN);
1039 PIN_SLP(gpy1-1, INPUT, DOWN);
1040 PIN_SLP(gpy1-2, INPUT, DOWN);
1041 PIN_SLP(gpy1-3, INPUT, DOWN);
1042
1043 PIN_SLP(gpy2-0, PREV, NONE);
1044 PIN_SLP(gpy2-1, INPUT, DOWN);
1045 PIN_SLP(gpy2-2, INPUT, NONE);
1046 PIN_SLP(gpy2-3, INPUT, NONE);
1047 PIN_SLP(gpy2-4, INPUT, NONE);
1048 PIN_SLP(gpy2-5, INPUT, NONE);
1049
1050 PIN_SLP(gpy3-0, INPUT, DOWN);
1051 PIN_SLP(gpy3-1, INPUT, DOWN);
1052 PIN_SLP(gpy3-2, INPUT, DOWN);
1053 PIN_SLP(gpy3-3, INPUT, DOWN);
1054 PIN_SLP(gpy3-4, INPUT, DOWN);
1055 PIN_SLP(gpy3-5, INPUT, DOWN);
1056 PIN_SLP(gpy3-6, INPUT, DOWN);
1057 PIN_SLP(gpy3-7, INPUT, DOWN);
1058
1059 PIN_SLP(gpy4-0, INPUT, DOWN);
1060 PIN_SLP(gpy4-1, INPUT, DOWN);
1061 PIN_SLP(gpy4-2, INPUT, DOWN);
1062 PIN_SLP(gpy4-3, INPUT, DOWN);
1063 PIN_SLP(gpy4-4, INPUT, DOWN);
1064 PIN_SLP(gpy4-5, INPUT, DOWN);
1065 PIN_SLP(gpy4-6, INPUT, DOWN);
1066 PIN_SLP(gpy4-7, INPUT, DOWN);
1067
1068 PIN_SLP(gpy5-0, INPUT, DOWN);
1069 PIN_SLP(gpy5-1, INPUT, DOWN);
1070 PIN_SLP(gpy5-2, INPUT, DOWN);
1071 PIN_SLP(gpy5-3, INPUT, DOWN);
1072 PIN_SLP(gpy5-4, INPUT, DOWN);
1073 PIN_SLP(gpy5-5, INPUT, DOWN);
1074 PIN_SLP(gpy5-6, INPUT, DOWN);
1075 PIN_SLP(gpy5-7, INPUT, DOWN);
1076
1077 PIN_SLP(gpy6-0, INPUT, DOWN);
1078 PIN_SLP(gpy6-1, INPUT, DOWN);
1079 PIN_SLP(gpy6-2, INPUT, DOWN);
1080 PIN_SLP(gpy6-3, INPUT, DOWN);
1081 PIN_SLP(gpy6-4, INPUT, DOWN);
1082 PIN_SLP(gpy6-5, INPUT, DOWN);
1083 PIN_SLP(gpy6-6, INPUT, DOWN);
1084 PIN_SLP(gpy6-7, INPUT, DOWN);
1085 };
1086 };
1087
1088 &pinctrl_2 {
1089 pinctrl-names = "default";
1090 pinctrl-0 = <&sleep2>;
1091
1092 sleep2: sleep-state {
1093 PIN_SLP(gpz-0, INPUT, DOWN);
1094 PIN_SLP(gpz-1, INPUT, DOWN);
1095 PIN_SLP(gpz-2, INPUT, DOWN);
1096 PIN_SLP(gpz-3, INPUT, DOWN);
1097 PIN_SLP(gpz-4, INPUT, DOWN);
1098 PIN_SLP(gpz-5, INPUT, DOWN);
1099 PIN_SLP(gpz-6, INPUT, DOWN);
1100 };
1101 };
1102
1103 &pinctrl_3 {
1104 pinctrl-names = "default";
1105 pinctrl-0 = <&sleep3>;
1106
1107 sleep3: sleep-state {
1108 PIN_SLP(gpv0-0, INPUT, DOWN);
1109 PIN_SLP(gpv0-1, INPUT, DOWN);
1110 PIN_SLP(gpv0-2, INPUT, DOWN);
1111 PIN_SLP(gpv0-3, INPUT, DOWN);
1112 PIN_SLP(gpv0-4, INPUT, DOWN);
1113 PIN_SLP(gpv0-5, INPUT, DOWN);
1114 PIN_SLP(gpv0-6, INPUT, DOWN);
1115 PIN_SLP(gpv0-7, INPUT, DOWN);
1116
1117 PIN_SLP(gpv1-0, INPUT, DOWN);
1118 PIN_SLP(gpv1-1, INPUT, DOWN);
1119 PIN_SLP(gpv1-2, INPUT, DOWN);
1120 PIN_SLP(gpv1-3, INPUT, DOWN);
1121 PIN_SLP(gpv1-4, INPUT, DOWN);
1122 PIN_SLP(gpv1-5, INPUT, DOWN);
1123 PIN_SLP(gpv1-6, INPUT, DOWN);
1124 PIN_SLP(gpv1-7, INPUT, DOWN);
1125
1126 PIN_SLP(gpv2-0, INPUT, DOWN);
1127 PIN_SLP(gpv2-1, INPUT, DOWN);
1128 PIN_SLP(gpv2-2, INPUT, DOWN);
1129 PIN_SLP(gpv2-3, INPUT, DOWN);
1130 PIN_SLP(gpv2-4, INPUT, DOWN);
1131 PIN_SLP(gpv2-5, INPUT, DOWN);
1132 PIN_SLP(gpv2-6, INPUT, DOWN);
1133 PIN_SLP(gpv2-7, INPUT, DOWN);
1134
1135 PIN_SLP(gpv3-0, INPUT, DOWN);
1136 PIN_SLP(gpv3-1, INPUT, DOWN);
1137 PIN_SLP(gpv3-2, INPUT, DOWN);
1138 PIN_SLP(gpv3-3, INPUT, DOWN);
1139 PIN_SLP(gpv3-4, INPUT, DOWN);
1140 PIN_SLP(gpv3-5, INPUT, DOWN);
1141 PIN_SLP(gpv3-6, INPUT, DOWN);
1142 PIN_SLP(gpv3-7, INPUT, DOWN);
1143
1144 PIN_SLP(gpv4-0, INPUT, DOWN);
1145 PIN_SLP(gpv4-1, INPUT, DOWN);
1146 };
1147 };
1148
1149 &pmu_system_controller {
1150 assigned-clocks = <&pmu_system_controller 0>;
1151 assigned-clock-parents = <&clock CLK_XUSBXTI>;
1152 };
1153
1154 &pwm {
1155 pinctrl-0 = <&pwm1_out>;
1156 pinctrl-names = "default";
1157 samsung,pwm-outputs = <1>;
1158 status = "okay";
1159 };
1160
1161 &rtc {
1162 clocks = <&clock CLK_RTC>, <&max77686 MAX77686_CLK_AP>;
1163 clock-names = "rtc", "rtc_src";
1164 status = "okay";
1165 };
1166
1167 &sdhci_2 {
1168 bus-width = <4>;
1169 cd-gpios = <&gpx3 4 GPIO_ACTIVE_LOW>;
1170 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sdhci2_cd>;
1171 pinctrl-names = "default";
1172 vmmc-supply = <&ldo21_reg>;
1173 status = "okay";
1174 };
1175
1176 &sdhci_3 {
1177 #address-cells = <1>;
1178 #size-cells = <0>;
1179 non-removable;
1180 bus-width = <4>;
1181 mmc-pwrseq = <&wlan_pwrseq>;
1182
1183 pinctrl-names = "default";
1184 pinctrl-0 = <&sd3_clk &sd3_cmd &sd3_wifi>;
1185 status = "okay";
1186
1187 wifi@1 {
1188 compatible = "brcm,bcm4329-fmac";
1189 reg = <0x1>;
1190 pinctrl-names = "default";
1191 pinctrl-0 = <&wifi_host_wake>;
1192 interrupt-parent = <&gpx2>;
1193 interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
1194 interrupt-names = "host-wake";
1195 };
1196 };
1197
1198 &serial_0 {
1199 pinctrl-0 = <&uart0_data &uart0_fctl>;
1200 pinctrl-names = "default";
1201 status = "okay";
1202
1203 bluetooth {
1204 compatible = "brcm,bcm4330-bt";
1205 pinctrl-0 = <&bt_shutdown &bt_device_wakeup &bt_host_wakeup>;
1206 pinctrl-names = "default";
1207
1208 max-speed = <2000000>;
1209 shutdown-gpios = <&gpl0 6 GPIO_ACTIVE_HIGH>;
1210 device-wakeup-gpios = <&gpx3 1 GPIO_ACTIVE_HIGH>;
1211 host-wakeup-gpios = <&gpx2 6 GPIO_ACTIVE_HIGH>;
1212 clocks = <&max77686 MAX77686_CLK_PMIC>;
1213 clock-names = "lpo";
1214 };
1215 };
1216
1217 &serial_2 {
1218 pinctrl-0 = <&uart_sel>;
1219 pinctrl-names = "default";
1220 status = "okay";
1221 };
1222
1223 &tmu {
1224 status = "okay";
1225 };