diff options
author | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2019-11-27 13:03:23 +0200 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2020-02-12 11:06:10 +0100 |
commit | 63e33323d571b4103dd8a863451233ef610bca8d (patch) | |
tree | ec81048e744b172ec63e9f0b21068de606eacbac /arch/arm64/boot/dts/freescale/fsl-imx8qm-apalis.dtsi | |
parent | e66d2464a2de65fb0de2df954ab07e56b94d341d (diff) |
ARM64: fsl-imx8qm-ixora: Add support of Ixora v1.1
Ixora board has several differences from the Apalis Evaluation one.
Some important differences are reflected in personalized device-tree files.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/fsl-imx8qm-apalis.dtsi')
-rw-r--r-- | arch/arm64/boot/dts/freescale/fsl-imx8qm-apalis.dtsi | 42 |
1 files changed, 41 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qm-apalis.dtsi b/arch/arm64/boot/dts/freescale/fsl-imx8qm-apalis.dtsi index ddb7c996b5b9..8ed8a644972c 100644 --- a/arch/arm64/boot/dts/freescale/fsl-imx8qm-apalis.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-imx8qm-apalis.dtsi @@ -22,6 +22,22 @@ enable-gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>; /* Apalis BKL1_ON */ }; + /* Apalis WAKE1_MICO */ + gpio-keys { + compatible = "gpio-keys"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpio_keys>; + status = "disabled"; + + wakeup_key: wakeup-key { + label = "Wake-Up"; + gpios = <&gpio2 20 GPIO_ACTIVE_LOW>; + linux,code = <KEY_WAKEUP>; + debounce-interval = <10>; + wakeup-source; + }; + }; + pcie_sata_refclk: clock-generator { compatible = "fixed-clock"; #clock-cells = <0>; @@ -63,6 +79,17 @@ startup-delay-us = <100000>; }; + reg_usb_host_vbus: regulator-usb-host-vbus { + compatible = "regulator-fixed"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usbh_en>; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + enable-active-high; + /* Apalis USBH_EN */ + gpio = <&gpio4 4 GPIO_ACTIVE_HIGH>; + }; + reg_vref_1v8: regulator-vref-1v8 { compatible = "regulator-fixed"; regulator-name = "+V1.8"; @@ -215,6 +242,17 @@ /* xceiver-supply = <®_can_stby>; */ }; +&gpio2 { + /* + * Add GPIO2_20 as a wakeup source: + * Pin: SC_P_SPI3_CS0 (MXM3_37/WAKE1_MICO) + * Type: SC_PAD_WAKEUP_FALL_EDGE + * Line: 20 + */ + pad-wakeup = <101 5 20>; + pad-wakeup-num = <1>; +}; + /* Apalis HDMI1 */ &hdmi { compatible = "fsl,imx8qm-hdmi"; @@ -694,7 +732,9 @@ fsl,pins = < SC_P_ADC_IN4_LSIO_GPIO3_IO22 0x00000021 SC_P_ADC_IN5_LSIO_GPIO3_IO23 0x00000021 - >; + SC_P_ADC_IN6_LSIO_GPIO3_IO24 0x00000021 + SC_P_ADC_IN7_LSIO_GPIO3_IO25 0x00000021 + >; }; pinctrl_touchctrl_gpios: touchctrl_gpios { |