.. | .. |
---|
13 | 13 | }; |
---|
14 | 14 | |
---|
15 | 15 | memory@10000000 { |
---|
| 16 | + device_type = "memory"; |
---|
16 | 17 | reg = <0x10000000 0x40000000>; |
---|
17 | 18 | }; |
---|
18 | 19 | |
---|
19 | | - regulators { |
---|
20 | | - compatible = "simple-bus"; |
---|
21 | | - #address-cells = <1>; |
---|
22 | | - #size-cells = <0>; |
---|
| 20 | + reg_usb_otg_vbus: regulator-usb-otg-vbus { |
---|
| 21 | + compatible = "regulator-fixed"; |
---|
| 22 | + regulator-name = "usb_otg_vbus"; |
---|
| 23 | + regulator-min-microvolt = <5000000>; |
---|
| 24 | + regulator-max-microvolt = <5000000>; |
---|
| 25 | + gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>; |
---|
| 26 | + enable-active-high; |
---|
| 27 | + vin-supply = <&swbst_reg>; |
---|
| 28 | + }; |
---|
23 | 29 | |
---|
24 | | - reg_usb_otg_vbus: regulator@0 { |
---|
25 | | - compatible = "regulator-fixed"; |
---|
26 | | - reg = <0>; |
---|
27 | | - regulator-name = "usb_otg_vbus"; |
---|
28 | | - regulator-min-microvolt = <5000000>; |
---|
29 | | - regulator-max-microvolt = <5000000>; |
---|
30 | | - gpio = <&gpio3 22 0>; |
---|
31 | | - enable-active-high; |
---|
32 | | - vin-supply = <&swbst_reg>; |
---|
33 | | - }; |
---|
| 30 | + reg_usb_h1_vbus: regulator-usb-h1-vbus { |
---|
| 31 | + compatible = "regulator-fixed"; |
---|
| 32 | + regulator-name = "usb_h1_vbus"; |
---|
| 33 | + regulator-min-microvolt = <5000000>; |
---|
| 34 | + regulator-max-microvolt = <5000000>; |
---|
| 35 | + gpio = <&gpio1 29 GPIO_ACTIVE_HIGH>; |
---|
| 36 | + enable-active-high; |
---|
| 37 | + vin-supply = <&swbst_reg>; |
---|
| 38 | + }; |
---|
34 | 39 | |
---|
35 | | - reg_usb_h1_vbus: regulator@1 { |
---|
36 | | - compatible = "regulator-fixed"; |
---|
37 | | - reg = <1>; |
---|
38 | | - regulator-name = "usb_h1_vbus"; |
---|
39 | | - regulator-min-microvolt = <5000000>; |
---|
40 | | - regulator-max-microvolt = <5000000>; |
---|
41 | | - gpio = <&gpio1 29 0>; |
---|
42 | | - enable-active-high; |
---|
43 | | - vin-supply = <&swbst_reg>; |
---|
44 | | - }; |
---|
| 40 | + reg_audio: regulator-audio { |
---|
| 41 | + compatible = "regulator-fixed"; |
---|
| 42 | + regulator-name = "wm8962-supply"; |
---|
| 43 | + gpio = <&gpio4 10 GPIO_ACTIVE_HIGH>; |
---|
| 44 | + enable-active-high; |
---|
| 45 | + }; |
---|
45 | 46 | |
---|
46 | | - reg_audio: regulator@2 { |
---|
47 | | - compatible = "regulator-fixed"; |
---|
48 | | - reg = <2>; |
---|
49 | | - regulator-name = "wm8962-supply"; |
---|
50 | | - gpio = <&gpio4 10 0>; |
---|
51 | | - enable-active-high; |
---|
52 | | - }; |
---|
| 47 | + reg_pcie: regulator-pcie { |
---|
| 48 | + compatible = "regulator-fixed"; |
---|
| 49 | + pinctrl-names = "default"; |
---|
| 50 | + pinctrl-0 = <&pinctrl_pcie_reg>; |
---|
| 51 | + regulator-name = "MPCIE_3V3"; |
---|
| 52 | + regulator-min-microvolt = <3300000>; |
---|
| 53 | + regulator-max-microvolt = <3300000>; |
---|
| 54 | + gpio = <&gpio3 19 GPIO_ACTIVE_HIGH>; |
---|
| 55 | + enable-active-high; |
---|
| 56 | + }; |
---|
53 | 57 | |
---|
54 | | - reg_pcie: regulator@3 { |
---|
55 | | - compatible = "regulator-fixed"; |
---|
56 | | - reg = <3>; |
---|
57 | | - pinctrl-names = "default"; |
---|
58 | | - pinctrl-0 = <&pinctrl_pcie_reg>; |
---|
59 | | - regulator-name = "MPCIE_3V3"; |
---|
60 | | - regulator-min-microvolt = <3300000>; |
---|
61 | | - regulator-max-microvolt = <3300000>; |
---|
62 | | - gpio = <&gpio3 19 0>; |
---|
63 | | - enable-active-high; |
---|
64 | | - }; |
---|
| 58 | + reg_sensors: regulator-sensors { |
---|
| 59 | + compatible = "regulator-fixed"; |
---|
| 60 | + pinctrl-names = "default"; |
---|
| 61 | + pinctrl-0 = <&pinctrl_sensors_reg>; |
---|
| 62 | + regulator-name = "sensors-supply"; |
---|
| 63 | + regulator-min-microvolt = <3300000>; |
---|
| 64 | + regulator-max-microvolt = <3300000>; |
---|
| 65 | + gpio = <&gpio2 31 GPIO_ACTIVE_HIGH>; |
---|
| 66 | + enable-active-high; |
---|
65 | 67 | }; |
---|
66 | 68 | |
---|
67 | 69 | gpio-keys { |
---|
.. | .. |
---|
103 | 105 | "Ext Spk", "SPKOUTL", |
---|
104 | 106 | "Ext Spk", "SPKOUTR", |
---|
105 | 107 | "AMIC", "MICBIAS", |
---|
106 | | - "IN3R", "AMIC"; |
---|
| 108 | + "IN3R", "AMIC", |
---|
| 109 | + "DMIC", "MICBIAS", |
---|
| 110 | + "DMICDAT", "DMIC"; |
---|
107 | 111 | mux-int-port = <2>; |
---|
108 | 112 | mux-ext-port = <3>; |
---|
| 113 | + hp-det-gpio = <&gpio7 8 GPIO_ACTIVE_LOW>; |
---|
| 114 | + mic-det-gpio = <&gpio1 9 GPIO_ACTIVE_LOW>; |
---|
109 | 115 | }; |
---|
110 | 116 | |
---|
111 | 117 | backlight_lvds: backlight-lvds { |
---|
.. | .. |
---|
183 | 189 | }; |
---|
184 | 190 | |
---|
185 | 191 | &ecspi1 { |
---|
186 | | - cs-gpios = <&gpio4 9 0>; |
---|
| 192 | + cs-gpios = <&gpio4 9 GPIO_ACTIVE_LOW>; |
---|
187 | 193 | pinctrl-names = "default"; |
---|
188 | 194 | pinctrl-0 = <&pinctrl_ecspi1>; |
---|
189 | 195 | status = "okay"; |
---|
190 | 196 | |
---|
191 | | - flash: m25p80@0 { |
---|
| 197 | + flash: flash@0 { |
---|
192 | 198 | #address-cells = <1>; |
---|
193 | 199 | #size-cells = <1>; |
---|
194 | 200 | compatible = "st,m25p32", "jedec,spi-nor"; |
---|
.. | .. |
---|
200 | 206 | &fec { |
---|
201 | 207 | pinctrl-names = "default"; |
---|
202 | 208 | pinctrl-0 = <&pinctrl_enet>; |
---|
203 | | - phy-mode = "rgmii"; |
---|
204 | | - phy-reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>; |
---|
| 209 | + phy-mode = "rgmii-id"; |
---|
| 210 | + phy-handle = <&phy>; |
---|
| 211 | + fsl,magic-packet; |
---|
205 | 212 | status = "okay"; |
---|
| 213 | + |
---|
| 214 | + mdio { |
---|
| 215 | + #address-cells = <1>; |
---|
| 216 | + #size-cells = <0>; |
---|
| 217 | + |
---|
| 218 | + phy: ethernet-phy@1 { |
---|
| 219 | + reg = <1>; |
---|
| 220 | + qca,clk-out-frequency = <125000000>; |
---|
| 221 | + reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>; |
---|
| 222 | + reset-assert-us = <10000>; |
---|
| 223 | + }; |
---|
| 224 | + }; |
---|
206 | 225 | }; |
---|
207 | 226 | |
---|
208 | 227 | &hdmi { |
---|
.. | .. |
---|
240 | 259 | >; |
---|
241 | 260 | }; |
---|
242 | 261 | |
---|
| 262 | + accelerometer@1c { |
---|
| 263 | + compatible = "fsl,mma8451"; |
---|
| 264 | + reg = <0x1c>; |
---|
| 265 | + pinctrl-names = "default"; |
---|
| 266 | + pinctrl-0 = <&pinctrl_i2c1_mma8451_int>; |
---|
| 267 | + interrupt-parent = <&gpio1>; |
---|
| 268 | + interrupts = <18 IRQ_TYPE_LEVEL_LOW>; |
---|
| 269 | + vdd-supply = <®_sensors>; |
---|
| 270 | + vddio-supply = <®_sensors>; |
---|
| 271 | + }; |
---|
| 272 | + |
---|
243 | 273 | ov5642: camera@3c { |
---|
244 | 274 | compatible = "ovti,ov5642"; |
---|
245 | 275 | pinctrl-names = "default"; |
---|
.. | .. |
---|
271 | 301 | pinctrl-names = "default"; |
---|
272 | 302 | pinctrl-0 = <&pinctrl_i2c2>; |
---|
273 | 303 | status = "okay"; |
---|
| 304 | + |
---|
| 305 | + touchscreen@4 { |
---|
| 306 | + compatible = "eeti,egalax_ts"; |
---|
| 307 | + reg = <0x04>; |
---|
| 308 | + pinctrl-names = "default"; |
---|
| 309 | + pinctrl-0 = <&pinctrl_i2c2_egalax_int>; |
---|
| 310 | + interrupt-parent = <&gpio6>; |
---|
| 311 | + interrupts = <8 IRQ_TYPE_EDGE_FALLING>; |
---|
| 312 | + wakeup-gpios = <&gpio6 8 GPIO_ACTIVE_HIGH>; |
---|
| 313 | + }; |
---|
274 | 314 | |
---|
275 | 315 | ov5640: camera@3c { |
---|
276 | 316 | compatible = "ovti,ov5640"; |
---|
.. | .. |
---|
410 | 450 | interrupts = <7 2>; |
---|
411 | 451 | wakeup-gpios = <&gpio6 7 0>; |
---|
412 | 452 | }; |
---|
| 453 | + |
---|
| 454 | + magnetometer@e { |
---|
| 455 | + compatible = "fsl,mag3110"; |
---|
| 456 | + reg = <0x0e>; |
---|
| 457 | + pinctrl-names = "default"; |
---|
| 458 | + pinctrl-0 = <&pinctrl_i2c3_mag3110_int>; |
---|
| 459 | + interrupt-parent = <&gpio3>; |
---|
| 460 | + interrupts = <16 IRQ_TYPE_EDGE_RISING>; |
---|
| 461 | + vdd-supply = <®_sensors>; |
---|
| 462 | + vddio-supply = <®_sensors>; |
---|
| 463 | + }; |
---|
| 464 | + |
---|
| 465 | + light-sensor@44 { |
---|
| 466 | + compatible = "isil,isl29023"; |
---|
| 467 | + reg = <0x44>; |
---|
| 468 | + pinctrl-names = "default"; |
---|
| 469 | + pinctrl-0 = <&pinctrl_i2c3_isl29023_int>; |
---|
| 470 | + interrupt-parent = <&gpio3>; |
---|
| 471 | + interrupts = <9 IRQ_TYPE_EDGE_FALLING>; |
---|
| 472 | + vcc-supply = <®_sensors>; |
---|
| 473 | + }; |
---|
413 | 474 | }; |
---|
414 | 475 | |
---|
415 | 476 | &iomuxc { |
---|
.. | .. |
---|
491 | 552 | >; |
---|
492 | 553 | }; |
---|
493 | 554 | |
---|
| 555 | + pinctrl_i2c1_mma8451_int: i2c1mma8451intgrp { |
---|
| 556 | + fsl,pins = < |
---|
| 557 | + MX6QDL_PAD_SD1_CMD__GPIO1_IO18 0xb0b1 |
---|
| 558 | + >; |
---|
| 559 | + }; |
---|
| 560 | + |
---|
494 | 561 | pinctrl_i2c2: i2c2grp { |
---|
495 | 562 | fsl,pins = < |
---|
496 | 563 | MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1 |
---|
.. | .. |
---|
498 | 565 | >; |
---|
499 | 566 | }; |
---|
500 | 567 | |
---|
| 568 | + pinctrl_i2c2_egalax_int: i2c2egalaxintgrp { |
---|
| 569 | + fsl,pins = < |
---|
| 570 | + MX6QDL_PAD_NANDF_ALE__GPIO6_IO08 0x1b0b0 |
---|
| 571 | + >; |
---|
| 572 | + }; |
---|
| 573 | + |
---|
501 | 574 | pinctrl_i2c3: i2c3grp { |
---|
502 | 575 | fsl,pins = < |
---|
503 | 576 | MX6QDL_PAD_GPIO_3__I2C3_SCL 0x4001b8b1 |
---|
504 | 577 | MX6QDL_PAD_GPIO_6__I2C3_SDA 0x4001b8b1 |
---|
| 578 | + >; |
---|
| 579 | + }; |
---|
| 580 | + |
---|
| 581 | + pinctrl_i2c3_isl29023_int: i2c3isl29023intgrp { |
---|
| 582 | + fsl,pins = < |
---|
| 583 | + MX6QDL_PAD_EIM_DA9__GPIO3_IO09 0xb0b1 |
---|
| 584 | + >; |
---|
| 585 | + }; |
---|
| 586 | + |
---|
| 587 | + pinctrl_i2c3_mag3110_int: i2c3mag3110intgrp { |
---|
| 588 | + fsl,pins = < |
---|
| 589 | + MX6QDL_PAD_EIM_D16__GPIO3_IO16 0xb0b1 |
---|
505 | 590 | >; |
---|
506 | 591 | }; |
---|
507 | 592 | |
---|
.. | .. |
---|
550 | 635 | pinctrl_pwm1: pwm1grp { |
---|
551 | 636 | fsl,pins = < |
---|
552 | 637 | MX6QDL_PAD_SD1_DAT3__PWM1_OUT 0x1b0b1 |
---|
| 638 | + >; |
---|
| 639 | + }; |
---|
| 640 | + |
---|
| 641 | + pinctrl_sensors_reg: sensorsreggrp { |
---|
| 642 | + fsl,pins = < |
---|
| 643 | + MX6QDL_PAD_EIM_EB3__GPIO2_IO31 0x1b0b0 |
---|
553 | 644 | >; |
---|
554 | 645 | }; |
---|
555 | 646 | |
---|
.. | .. |
---|
654 | 745 | }; |
---|
655 | 746 | |
---|
656 | 747 | &pwm1 { |
---|
| 748 | + #pwm-cells = <2>; |
---|
657 | 749 | pinctrl-names = "default"; |
---|
658 | 750 | pinctrl-0 = <&pinctrl_pwm1>; |
---|
659 | 751 | status = "okay"; |
---|
.. | .. |
---|
683 | 775 | status = "okay"; |
---|
684 | 776 | }; |
---|
685 | 777 | |
---|
| 778 | +&snvs_pwrkey { |
---|
| 779 | + status = "okay"; |
---|
| 780 | +}; |
---|
| 781 | + |
---|
686 | 782 | &ssi2 { |
---|
687 | 783 | status = "okay"; |
---|
688 | 784 | }; |
---|