| .. | .. |
|---|
| 4 | 4 | // Copyright 2011 Linaro Ltd. |
|---|
| 5 | 5 | |
|---|
| 6 | 6 | #include <dt-bindings/gpio/gpio.h> |
|---|
| 7 | +#include <dt-bindings/input/input.h> |
|---|
| 7 | 8 | |
|---|
| 8 | 9 | / { |
|---|
| 9 | 10 | chosen { |
|---|
| .. | .. |
|---|
| 11 | 12 | }; |
|---|
| 12 | 13 | |
|---|
| 13 | 14 | memory@10000000 { |
|---|
| 15 | + device_type = "memory"; |
|---|
| 14 | 16 | reg = <0x10000000 0x80000000>; |
|---|
| 15 | 17 | }; |
|---|
| 16 | 18 | |
|---|
| .. | .. |
|---|
| 25 | 27 | }; |
|---|
| 26 | 28 | }; |
|---|
| 27 | 29 | |
|---|
| 30 | + gpio-keys { |
|---|
| 31 | + compatible = "gpio-keys"; |
|---|
| 32 | + pinctrl-names = "default"; |
|---|
| 33 | + pinctrl-0 = <&pinctrl_gpio_keys>; |
|---|
| 34 | + |
|---|
| 35 | + home { |
|---|
| 36 | + label = "Home"; |
|---|
| 37 | + gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; |
|---|
| 38 | + linux,code = <KEY_HOME>; |
|---|
| 39 | + wakeup-source; |
|---|
| 40 | + }; |
|---|
| 41 | + |
|---|
| 42 | + back { |
|---|
| 43 | + label = "Back"; |
|---|
| 44 | + gpios = <&gpio1 12 GPIO_ACTIVE_LOW>; |
|---|
| 45 | + linux,code = <KEY_BACK>; |
|---|
| 46 | + wakeup-source; |
|---|
| 47 | + }; |
|---|
| 48 | + |
|---|
| 49 | + program { |
|---|
| 50 | + label = "Program"; |
|---|
| 51 | + gpios = <&gpio2 12 GPIO_ACTIVE_LOW>; |
|---|
| 52 | + linux,code = <KEY_PROGRAM>; |
|---|
| 53 | + wakeup-source; |
|---|
| 54 | + }; |
|---|
| 55 | + |
|---|
| 56 | + volume-up { |
|---|
| 57 | + label = "Volume Up"; |
|---|
| 58 | + gpios = <&gpio2 15 GPIO_ACTIVE_LOW>; |
|---|
| 59 | + linux,code = <KEY_VOLUMEUP>; |
|---|
| 60 | + wakeup-source; |
|---|
| 61 | + }; |
|---|
| 62 | + |
|---|
| 63 | + volume-down { |
|---|
| 64 | + label = "Volume Down"; |
|---|
| 65 | + gpios = <&gpio5 14 GPIO_ACTIVE_LOW>; |
|---|
| 66 | + linux,code = <KEY_VOLUMEDOWN>; |
|---|
| 67 | + wakeup-source; |
|---|
| 68 | + }; |
|---|
| 69 | + }; |
|---|
| 70 | + |
|---|
| 28 | 71 | clocks { |
|---|
| 29 | 72 | codec_osc: anaclk2 { |
|---|
| 30 | 73 | compatible = "fixed-clock"; |
|---|
| .. | .. |
|---|
| 33 | 76 | }; |
|---|
| 34 | 77 | }; |
|---|
| 35 | 78 | |
|---|
| 36 | | - regulators { |
|---|
| 37 | | - compatible = "simple-bus"; |
|---|
| 38 | | - #address-cells = <1>; |
|---|
| 39 | | - #size-cells = <0>; |
|---|
| 79 | + reg_audio: regulator-audio { |
|---|
| 80 | + compatible = "regulator-fixed"; |
|---|
| 81 | + regulator-name = "cs42888_supply"; |
|---|
| 82 | + regulator-min-microvolt = <3300000>; |
|---|
| 83 | + regulator-max-microvolt = <3300000>; |
|---|
| 84 | + regulator-always-on; |
|---|
| 85 | + }; |
|---|
| 40 | 86 | |
|---|
| 41 | | - reg_audio: regulator@0 { |
|---|
| 42 | | - compatible = "regulator-fixed"; |
|---|
| 43 | | - reg = <0>; |
|---|
| 44 | | - regulator-name = "cs42888_supply"; |
|---|
| 45 | | - regulator-min-microvolt = <3300000>; |
|---|
| 46 | | - regulator-max-microvolt = <3300000>; |
|---|
| 47 | | - regulator-always-on; |
|---|
| 48 | | - }; |
|---|
| 87 | + reg_usb_h1_vbus: regulator-usb-h1-vbus { |
|---|
| 88 | + compatible = "regulator-fixed"; |
|---|
| 89 | + regulator-name = "usb_h1_vbus"; |
|---|
| 90 | + regulator-min-microvolt = <5000000>; |
|---|
| 91 | + regulator-max-microvolt = <5000000>; |
|---|
| 92 | + gpio = <&max7310_b 7 GPIO_ACTIVE_HIGH>; |
|---|
| 93 | + enable-active-high; |
|---|
| 94 | + }; |
|---|
| 49 | 95 | |
|---|
| 50 | | - reg_usb_h1_vbus: regulator@1 { |
|---|
| 51 | | - compatible = "regulator-fixed"; |
|---|
| 52 | | - reg = <1>; |
|---|
| 53 | | - regulator-name = "usb_h1_vbus"; |
|---|
| 54 | | - regulator-min-microvolt = <5000000>; |
|---|
| 55 | | - regulator-max-microvolt = <5000000>; |
|---|
| 56 | | - gpio = <&max7310_b 7 GPIO_ACTIVE_HIGH>; |
|---|
| 57 | | - enable-active-high; |
|---|
| 58 | | - }; |
|---|
| 96 | + reg_usb_otg_vbus: regulator-usb-otg-vbus { |
|---|
| 97 | + compatible = "regulator-fixed"; |
|---|
| 98 | + regulator-name = "usb_otg_vbus"; |
|---|
| 99 | + regulator-min-microvolt = <5000000>; |
|---|
| 100 | + regulator-max-microvolt = <5000000>; |
|---|
| 101 | + gpio = <&max7310_c 1 GPIO_ACTIVE_HIGH>; |
|---|
| 102 | + enable-active-high; |
|---|
| 103 | + }; |
|---|
| 59 | 104 | |
|---|
| 60 | | - reg_usb_otg_vbus: regulator@2 { |
|---|
| 61 | | - compatible = "regulator-fixed"; |
|---|
| 62 | | - reg = <2>; |
|---|
| 63 | | - regulator-name = "usb_otg_vbus"; |
|---|
| 64 | | - regulator-min-microvolt = <5000000>; |
|---|
| 65 | | - regulator-max-microvolt = <5000000>; |
|---|
| 66 | | - gpio = <&max7310_c 1 GPIO_ACTIVE_HIGH>; |
|---|
| 67 | | - enable-active-high; |
|---|
| 68 | | - }; |
|---|
| 105 | + reg_can_en: regulator-can-en { |
|---|
| 106 | + compatible = "regulator-fixed"; |
|---|
| 107 | + regulator-name = "can-en"; |
|---|
| 108 | + regulator-min-microvolt = <3300000>; |
|---|
| 109 | + regulator-max-microvolt = <3300000>; |
|---|
| 110 | + gpio = <&max7310_b 6 GPIO_ACTIVE_HIGH>; |
|---|
| 111 | + enable-active-high; |
|---|
| 112 | + }; |
|---|
| 113 | + |
|---|
| 114 | + reg_can_stby: regulator-can-stby { |
|---|
| 115 | + compatible = "regulator-fixed"; |
|---|
| 116 | + regulator-name = "can-stby"; |
|---|
| 117 | + regulator-min-microvolt = <3300000>; |
|---|
| 118 | + regulator-max-microvolt = <3300000>; |
|---|
| 119 | + gpio = <&max7310_b 5 GPIO_ACTIVE_HIGH>; |
|---|
| 120 | + enable-active-high; |
|---|
| 121 | + vin-supply = <®_can_en>; |
|---|
| 69 | 122 | }; |
|---|
| 70 | 123 | |
|---|
| 71 | 124 | sound-cs42888 { |
|---|
| .. | .. |
|---|
| 214 | 267 | }; |
|---|
| 215 | 268 | |
|---|
| 216 | 269 | &ecspi1 { |
|---|
| 217 | | - cs-gpios = <&gpio3 19 0>; |
|---|
| 270 | + cs-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>; |
|---|
| 218 | 271 | pinctrl-names = "default"; |
|---|
| 219 | 272 | pinctrl-0 = <&pinctrl_ecspi1 &pinctrl_ecspi1_cs>; |
|---|
| 220 | 273 | status = "disabled"; /* pin conflict with WEIM NOR */ |
|---|
| 221 | 274 | |
|---|
| 222 | | - flash: m25p80@0 { |
|---|
| 275 | + flash: flash@0 { |
|---|
| 223 | 276 | #address-cells = <1>; |
|---|
| 224 | 277 | #size-cells = <1>; |
|---|
| 225 | 278 | compatible = "st,m25p32", "jedec,spi-nor"; |
|---|
| .. | .. |
|---|
| 241 | 294 | &fec { |
|---|
| 242 | 295 | pinctrl-names = "default"; |
|---|
| 243 | 296 | pinctrl-0 = <&pinctrl_enet>; |
|---|
| 244 | | - phy-mode = "rgmii"; |
|---|
| 297 | + phy-mode = "rgmii-id"; |
|---|
| 245 | 298 | interrupts-extended = <&gpio1 6 IRQ_TYPE_LEVEL_HIGH>, |
|---|
| 246 | 299 | <&intc 0 119 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 247 | 300 | fsl,err006687-workaround-present; |
|---|
| 301 | + status = "okay"; |
|---|
| 302 | +}; |
|---|
| 303 | + |
|---|
| 304 | +&can1 { |
|---|
| 305 | + pinctrl-names = "default"; |
|---|
| 306 | + pinctrl-0 = <&pinctrl_flexcan1>; |
|---|
| 307 | + xceiver-supply = <®_can_stby>; |
|---|
| 308 | + status = "disabled"; /* pin conflict with fec */ |
|---|
| 309 | +}; |
|---|
| 310 | + |
|---|
| 311 | +&can2 { |
|---|
| 312 | + pinctrl-names = "default"; |
|---|
| 313 | + pinctrl-0 = <&pinctrl_flexcan2>; |
|---|
| 314 | + xceiver-supply = <®_can_stby>; |
|---|
| 248 | 315 | status = "okay"; |
|---|
| 249 | 316 | }; |
|---|
| 250 | 317 | |
|---|
| .. | .. |
|---|
| 377 | 444 | VLC-supply = <®_audio>; |
|---|
| 378 | 445 | }; |
|---|
| 379 | 446 | |
|---|
| 447 | + touchscreen@4 { |
|---|
| 448 | + compatible = "eeti,egalax_ts"; |
|---|
| 449 | + reg = <0x04>; |
|---|
| 450 | + pinctrl-names = "default"; |
|---|
| 451 | + pinctrl-0 = <&pinctrl_egalax_int>; |
|---|
| 452 | + interrupt-parent = <&gpio2>; |
|---|
| 453 | + interrupts = <28 IRQ_TYPE_EDGE_FALLING>; |
|---|
| 454 | + wakeup-gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>; |
|---|
| 455 | + }; |
|---|
| 380 | 456 | }; |
|---|
| 381 | 457 | |
|---|
| 382 | 458 | &i2c3 { |
|---|
| .. | .. |
|---|
| 409 | 485 | pinctrl_ecspi1_cs: ecspi1cs { |
|---|
| 410 | 486 | fsl,pins = < |
|---|
| 411 | 487 | MX6QDL_PAD_EIM_D19__GPIO3_IO19 0x80000000 |
|---|
| 488 | + >; |
|---|
| 489 | + }; |
|---|
| 490 | + |
|---|
| 491 | + pinctrl_egalax_int: egalax-intgrp { |
|---|
| 492 | + fsl,pins = < |
|---|
| 493 | + MX6QDL_PAD_EIM_EB0__GPIO2_IO28 0xb0b1 |
|---|
| 412 | 494 | >; |
|---|
| 413 | 495 | }; |
|---|
| 414 | 496 | |
|---|
| .. | .. |
|---|
| 445 | 527 | MX6QDL_PAD_NANDF_CS3__ESAI_TX1 0x1b030 |
|---|
| 446 | 528 | MX6QDL_PAD_ENET_MDIO__ESAI_RX_CLK 0x1b030 |
|---|
| 447 | 529 | MX6QDL_PAD_GPIO_9__ESAI_RX_FS 0x1b030 |
|---|
| 530 | + >; |
|---|
| 531 | + }; |
|---|
| 532 | + |
|---|
| 533 | + pinctrl_flexcan1: flexcan1grp { |
|---|
| 534 | + fsl,pins = < |
|---|
| 535 | + MX6QDL_PAD_KEY_ROW2__FLEXCAN1_RX 0x17059 |
|---|
| 536 | + MX6QDL_PAD_KEY_COL2__FLEXCAN1_TX 0x17059 |
|---|
| 537 | + >; |
|---|
| 538 | + }; |
|---|
| 539 | + |
|---|
| 540 | + pinctrl_flexcan2: flexcan2grp { |
|---|
| 541 | + fsl,pins = < |
|---|
| 542 | + MX6QDL_PAD_KEY_COL4__FLEXCAN2_TX 0x17059 |
|---|
| 543 | + MX6QDL_PAD_KEY_ROW4__FLEXCAN2_RX 0x17059 |
|---|
| 544 | + >; |
|---|
| 545 | + }; |
|---|
| 546 | + |
|---|
| 547 | + pinctrl_gpio_keys: gpiokeysgrp { |
|---|
| 548 | + fsl,pins = < |
|---|
| 549 | + MX6QDL_PAD_SD2_CMD__GPIO1_IO11 0x1b0b0 |
|---|
| 550 | + MX6QDL_PAD_SD2_DAT3__GPIO1_IO12 0x1b0b0 |
|---|
| 551 | + MX6QDL_PAD_SD4_DAT4__GPIO2_IO12 0x1b0b0 |
|---|
| 552 | + MX6QDL_PAD_SD4_DAT7__GPIO2_IO15 0x1b0b0 |
|---|
| 553 | + MX6QDL_PAD_DISP0_DAT20__GPIO5_IO14 0x1b0b0 |
|---|
| 448 | 554 | >; |
|---|
| 449 | 555 | }; |
|---|
| 450 | 556 | |
|---|
| .. | .. |
|---|
| 694 | 800 | }; |
|---|
| 695 | 801 | |
|---|
| 696 | 802 | &pwm3 { |
|---|
| 803 | + #pwm-cells = <2>; |
|---|
| 697 | 804 | pinctrl-names = "default"; |
|---|
| 698 | 805 | pinctrl-0 = <&pinctrl_pwm3>; |
|---|
| 699 | 806 | status = "okay"; |
|---|
| 700 | 807 | }; |
|---|
| 701 | 808 | |
|---|
| 809 | +&pcie { |
|---|
| 810 | + status = "okay"; |
|---|
| 811 | +}; |
|---|
| 812 | + |
|---|
| 702 | 813 | &spdif { |
|---|
| 703 | 814 | pinctrl-names = "default"; |
|---|
| 704 | 815 | pinctrl-0 = <&pinctrl_spdif>; |
|---|